User Manual
PLUS+1® Compliant
MP1 NFPE Function Blocks
powersolutions.danfoss.com
User Manual
PLUS+1® Compliant MP1 NFPE Function Blocks
Revision history |
Table of revisions |
|
|
|
|
|
|
|
Date |
Changed |
Rev |
|
|
|
|
|
March 2018 |
Changed hex values for Hardware and General in the fault table. Fixed formatting and layout |
0102 |
|
|
issues. |
|
|
|
|
|
|
February 2018 |
First edition |
0101 |
|
|
|
|
2 | © Danfoss | March 2018 |
AQ00000245en-US0102 |
User Manual |
|
PLUS+1® Compliant MP1 NFPE Function Blocks |
|
Contents |
|
MP1_12V_NFPE_CTRL and MP1_24V_NFPE_CTRL Function Blocks |
|
Inputs.................................................................................................................................................................................................... |
4 |
Function Block Internal Constants............................................................................................................................................. |
4 |
Function Block Parameters........................................................................................................................................................... |
5 |
Outputs................................................................................................................................................................................................ |
6 |
Function Block Connections......................................................................................................................................................... |
6 |
Status and Fault Logic..................................................................................................................................................................... |
7 |
Status Logic................................................................................................................................................................................... |
7 |
Fault Logic..................................................................................................................................................................................... |
7 |
Configuration Values....................................................................................................................................................................... |
8 |
Modify the Config Page............................................................................................................................................................... |
11 |
Relationship between Function Block Input and Output Signals................................................................................ |
12 |
Calibrate the Function Block...................................................................................................................................................... |
13 |
Calibrate an Individual Parameter...................................................................................................................................... |
14 |
Calibrate Function Block Manually..................................................................................................................................... |
15 |
Using Namespaces........................................................................................................................................................................ |
15 |
Change Name Space Value................................................................................................................................................... |
15 |
Include Advanced Checkpoint with Namespace in Compiled Application........................................................ |
16 |
MC Controller Configurations |
|
Configure an MFOut for Out_A and Out_B.......................................................................................................................... |
18 |
SC Controller Configurations |
|
Configure an MFOut for Out_A and Out_B.......................................................................................................................... |
20 |
Customizable Service Screens |
|
Pre-Made Service Screen Panel Components..................................................................................................................... |
21 |
All Signals Service Screen............................................................................................................................................................ |
22 |
Status and Fault Codes Service Screen.................................................................................................................................. |
23 |
Calibration Service Screen.......................................................................................................................................................... |
24 |
Overview Service Screen............................................................................................................................................................. |
25 |
© Danfoss | March 2018 |
AQ00000245en-US0102 | 3 |
User Manual
PLUS+1® Compliant MP1 NFPE Function Blocks
The MP1 NFPE function blocks interface between your application and a Danfoss Non-Feedback Proportional Electronic (NFPE) control that is used with Danfoss pumps.
The function block’s output drives coils that control both the flow direction and the flow magnitude through the A and B ports of the pump.
•The NFPE 12V function block is used to calibrate an MP1 12V pump.
•The NFPE 24V function block is used to calibrate an MP1 24V pump.
PLUS+1® I/O modules do not have the fault-checking feedback signals that are needed by these function blocks. Applications that use these function blocks to control an I/O module do not compile.
For more about these function blocks’ connections and signals, see Function Block Connections.
If you are using more than one of these function blocks in your application, see Using the Name Space
Feature.
The inputs of the function block are described.
Item |
Type |
Range |
Description |
|
|
|
|
Pwr |
Bus |
—— |
Reports controller power supply voltage. |
|
|
|
The function block uses this voltage when it calculates the measured resistance of the control circuit. |
|
|
|
|
Fdbk_A |
Bus |
—— |
Reports the status of the MFOut (Multifunction Output) block that receives the function block’s Out_A |
|
|
|
bus. |
|
|
|
(Each MFOut block in the Outputs page has a corresponding MFOut block in the Inputs page that |
|
|
|
reports on its status through a Status bus.) |
|
|
|
|
Fdbk_B |
Bus |
—— |
Reports the status of the MFOut (Multifunction Output) block that receives the function block’s Out_B |
|
|
|
bus. |
|
|
|
(Each MFOut block in the Outputs page has a corresponding MFOut block in the Inputs page that |
|
|
|
reports on its status through a Status bus.) |
|
|
|
|
Setup |
Bus |
—— |
Allows common configuration values to be applied to multiple function blocks. |
|
|
|
See Configuration Values for more information. |
|
|
|
|
Enable |
BOOL |
—— |
Enables the OutputValue signals in the Out_A and Out_B buses. |
|
|
|
• True = OutputValue signals follow the CmdIn signal. |
|
|
|
• False = Holds both OutputValue signals at zero. |
|
|
|
• False/True = Clears latched faults if CmdIn is zero. |
|
|
|
|
CmdIn |
S16 |
±11,000 |
Specifies the requested speed and direction. |
|
|
|
• +10,000 = Requests the maximum Out_A output. |
|
|
|
• 0 = Requests neutral (stop). |
|
|
|
• –10,000 = Requests the maximum Out_B output. |
|
|
|
+10,000 = +100.00%. |
|
|
|
-10,000 = -100.00%. |
|
|
|
If you want to override the command to the pump, use a value greater than 10,000. |
|
|
|
|
The function blocks include constant values for setting limits.
You cannot edit these constants.
Item |
12V_CTRL |
24V_CTRL |
Description |
|
|
|
|
MaxCurr |
1,800 mA |
920 mA |
The maximum current for displacement or proportional control. |
|
|
|
|
Nominal Ω |
3.66 Ω |
14.2 Ω |
The resistance of the load normally connected to Out_A and Out_B. |
|
|
|
|
4 | © Danfoss | March 2018 |
AQ00000245en-US0102 |
User Manual
PLUS+1® Compliant MP1 NFPE Function Blocks
MP1_12V_NFPE_CTRL and MP1_24V_NFPE_CTRL Function Blocks
This topic describes function block parameters that are stored in the controller’s non-volatile memory.
W Warning
Using the PLUS+1® Service Tool to download new parameter values to an application can result in unexpected and sudden machine movements.
Unexpected and sudden machine movements can result in personal injury and equipment damage.
Always secure your machine against unexpected and sudden movements before you use the PLUS+1® Service Tool to download new parameter values.
You can change these values by:
•Execution of the calibration process.
•Direct access to parameters stored in non-volatile memory through the PLUS+1® Service Tool.
•Recalling default values.
Function Block Parameters
Parameter |
Type |
Range |
Description |
|
|
|
|
|
|
NV_A_Thld |
U16 |
CalThldMin to CalThldMax |
Calibrated threshold values for Out_A and Out_B. |
|
NV_B_Thld |
|
|
1000 is |
1,000 mA. |
|
|
|
|
|
NV_A_EndCrnt |
U16 |
Thld + 1 to MaxCurr |
Calibrated end current values for Out_A and Out_B. |
|
NV_B_EndCrnt |
|
|
1000 is |
1,000 mA. |
|
|
|
|
|
NV_A_CalFlg |
U8 |
—— |
Calibration flags for Out_A and Out_B. |
|
NV_B_CalFlg |
|
|
• Bit 1 |
= 1 (0x0001)—Threshold is not calibrated. |
|
|
|
• Bit 2 |
= 1 (0x0002)—End current is not calibrated. |
|
|
|
The CalFlg signal in the Diag bus contains both pairs of flags, |
|
|
|
|
with the Out_B bits shifted to positions 3 and 4. |
|
|
|
|
|
|
These parameters determine the values used as threshold and end current for each direction during normal operation. However, the values actually applied might be different because:
•Thld and EndCrnt are both subject to range limits.
•Thld is modified by the ThldMult value.
The following intermediate values represent the values that are actually applied:
•EndCrntApplied = MIN (NV_EndCrnt, MaxCrnt).
•ThldApplied = MIN ((NV_Thld × ThldMult), EndCrntApplied).
This assures that:
•EndCrntApplied never exceeds MaxCurr.
•ThldApplied never exceeds EndCrntApplied.
Also note that, while the CalTask value is set to select a calibration task:
•EndCrntApplied = MaxCurr.
•ThldApplied = 1.
The applied values are available in the Diag bus as Thld_A, Thld_B, EndCurr_A, and EndCurr_B.
© Danfoss | March 2018 |
AQ00000245en-US0102 | 5 |
User Manual
PLUS+1® Compliant MP1 NFPE Function Blocks
MP1_12V_NFPE_CTRL and MP1_24V_NFPE_CTRL Function Blocks
This topic describes the outputs of the function block.
Item |
Type |
Range |
Description |
|
|
|
|
Diag |
Bus |
—— |
Outputs a bus with signals that report the following calibration values: |
|
|
|
• CalFlg (Calibration Flag). |
|
|
|
• EndCurr_A (End Current A). |
|
|
|
• FltTimer_A (Fault Timer A). |
|
|
|
• MeasOhm_A (Ohm A). |
|
|
|
• ThldCurr_A (Threshold A). |
|
|
|
• EndCurr_B (End Current B). |
|
|
|
• FltTimer_B (Fault Timer B). |
|
|
|
• MeasOhm_B (Ohm B). |
|
|
|
• ThldCurr_B (Threshold B). |
|
|
|
The Diag bus also has Config and Define sub-buses with signals that report the configuration and |
|
|
|
setup values used by the function blocks. |
|
|
|
Use these signals for troubleshooting. |
|
|
|
|
Status |
Bus |
—— |
Reports the function block’s status through a bus with Status_A and Status_B signals |
|
|
|
|
Status_A |
U16 |
|
Reports status conditions for the A output. |
|
|
|
|
Status_B |
U16 |
|
Reports status conditions for the B output. |
|
|
|
|
Fault |
Bus |
—— |
Reports the function block’s faults through a bus with Fault_A and Fault_B signals. |
|
|
|
|
Fault_A |
U16 |
—— |
Reports fault conditions for the A output. |
|
|
|
|
Fault_B |
U16 |
—— |
Reports fault conditions for the B output. |
|
|
|
|
Out_A |
Bus |
—— |
Outputs a bus with an OutputValue signal that drives the A coil. |
|
|
|
|
OutputValue |
U16 |
0–30,000 |
Drives the A coil. |
|
|
|
10,000 = 1000 mA. |
|
|
|
|
Out_B |
Bus |
—— |
Outputs a bus with an OutputValue signal that drives the B coil. |
|
|
|
|
OutputValue |
U16 |
0–30,000 |
Drives the B coil. |
|
|
|
10,000 = 1000 mA. |
|
|
|
|
Connections you can make with the function block are described.
Item |
Description |
|
|
1 |
Reports controller power supply voltage. |
|
|
2 |
Reports the status of the MFOut (Multifunction Output) block that receives the function block’s Out_A. |
|
|
3 |
Reports the status of the MFOut (Multifunction Output) block that receives the function block’s Out_B. |
|
|
4 |
Allows common configuration values to be applied to multiple function blocks. |
|
|
6 | © Danfoss | March 2018 |
AQ00000245en-US0102 |
User Manual
PLUS+1® Compliant MP1 NFPE Function Blocks
MP1_12V_NFPE_CTRL and MP1_24V_NFPE_CTRL Function Blocks
Item |
Description |
|
|
5 |
• True = OutputValue signals (inside the Out_A and Out_B buses) follow the CmdIn signal. |
|
• False = Holds both OutputValue signals at zero. |
|
• False/True = Clears latched faults if CmdIn is zero. |
|
|
6 |
• +10,000 = Requests maximum Out_A output. |
|
• 0 = Requests neutral (stop). |
|
• –10,000 = Requests maximum Out_B output. |
|
|
7 |
Outputs a bus with signals that report calibration values. |
|
|
8 |
Reports the function block’s status. |
|
|
9 |
Reports the function block's status |
|
|
10 |
Outputs a bus with an OutputValue signal that drives the A coil. |
|
|
11 |
Outputs a bus with an OutputValue signal that drives the B coil. |
|
|
Status and fault codes indicate the calibration state of the function block and how faults impact the output values of the function block.
Function block status codes indicate the calibration state of the function block.
Status |
Hex* |
Binary |
Cause |
|
Block is not |
0x8001 |
0001 |
Any CalFlag bit is set to 1. |
|
calibrated. |
|
|
|
|
|
|
|
|
|
Calibration active. |
0x8002 |
0010 |
Enable is True and the CalTask = –2, –1, +1, or +2. |
|
|
|
|
|
|
Parameters are |
0x8004 |
0100 |
(NV_EndCrnt > MaxCurr) or (NV_Thld × ThldMult) > EndCrntApplied for either direction A or |
|
corrupt. |
|
|
direction B. |
|
|
|
|
The actual tests in the software are: |
|
|
|
|
• EndCrntApplied ≠ NV_EndCrnt—This happens when NV_EndCrnt > MaxCurr. It means that |
|
|
|
|
|
EndCrntApplied = MaxCrnt. |
|
|
|
• ThldApplied = EndCrntApplied—This happens when (NV_Thld × ThldMult) ≥ EndCrntApplied). |
|
|
|
|
|
|
Invalid setup/ |
0x8008 |
1000 |
Any of the following setup and configuration values are not within their valid ranges: |
|
calibration. |
|
|
• CalThldMin (for either direction). |
|
|
|
|
• CalThldMax (for either direction). |
|
|
|
|
• |
ThldMult. |
|
|
|
• |
FltDelay. |
|
|
|
• |
CalTask. |
|
|
|
Also reported while PinStatus reports a configuration error (value =1) for either direction A or direction |
|
|
|
|
B. |
|
|
|
|
|
|
Value too low. |
0x8040 |
0100 000 |
Threshold calibration is active and the OutputValue < CalThldMin for the calibration direction. |
|
|
|
|
|
|
Value too high. |
0x8080 |
1000 000 |
Threshold calibration is active and the OutputValue > CalThldMax for the calibration direction. |
|
|
|
|
|
|
* Position of set bit in a 16 bit fault or status code. Bit 1 is the least significant bit. Bit 16 set to 1 identifies a standard Danfoss status code or fault code.
This topic describes function block faults and how the faults affect OutputValue.
The function block’s Out_A and Out_B buses each contain an OutputValue signal that drives the forward and reverse coils on the NFPE control.
© Danfoss | March 2018 |
AQ00000245en-US0102 | 7 |
User Manual
PLUS+1® Compliant MP1 NFPE Function Blocks
MP1_12V_NFPE_CTRL and MP1_24V_NFPE_CTRL Function Blocks
Fault |
Hex* |
Binary |
Cause |
Response |
Delay† |
Latch‡ |
Correction |
Input value too low. |
0x8001 |
0001 |
CmdIn < -10,000. |
OutputValue held |
No. |
No. |
Fix CmdIn. |
|
|
|
|
at 0. |
|
|
|
Input value too high. |
0x8002 |
0010 |
CmdIn > +10,000. |
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
Open circuit. |
0x8004 |
0100 |
Measured Ω > |
|
Yes. |
Yes. |
Check for open circuit or high |
|
|
|
(Nominal Ω x 3).§ |
|
|
|
resistance between output pin |
|
|
|
|
|
|
|
and ground. See Function Block |
|
|
|
|
|
|
|
Internal Constants for more |
|
|
|
|
|
|
|
about Nominal Ω. |
|
|
|
|
|
|
|
|
Short circuit. |
0x0008 |
1000 |
Measured Ω < |
|
|
|
Check for short circuit or low |
|
|
|
(Nominal Ω ÷ 3).§ |
|
|
|
resistance between output pin |
|
|
|
|
|
|
|
and ground. See Function Block |
|
|
|
|
|
|
|
Internal Constants for more |
|
|
|
|
|
|
|
about Nominal Ω. |
|
|
|
|
|
|
|
|
Hardware. |
0x8020 |
0010 0000 |
Current exceeds |
|
|
|
Correct cause of overload. |
|
|
|
continuous or peak |
|
|
|
|
|
|
|
rating. |
|
|
|
|
|
|
|
|
|
|
|
|
General. |
0x8040 |
0100 0000 |
Current flow |
|
|
|
Correct open ground |
|
|
|
between Out_A |
|
|
|
connection. |
|
|
|
and Out_B. |
|
|
|
|
|
|
|
Possible cause is |
|
|
|
|
|
|
|
loss of a common |
|
|
|
|
|
|
|
ground |
|
|
|
|
|
|
|
connection. |
|
|
|
|
|
|
|
|
|
|
|
|
* Position of set bit in a 16 bit fault or status code. Bit 1 is the least significant bit. Bit 16 set to 1 identifies a standard Danfoss status code or fault code.
† A delayed fault gets reported if the detected fault condition persists for a specified delay time. A delayed fault cannot be cleared until the fault condition remains undetected for the delay time.
‡ A latched fault report maintains until the latch is released. A release is attempted each time that Enable becomes True while CmdIn is 0.
§ The nominal Ω value is an internal constant of each function block. It can be viewed, with other defined constants, in the Define sub-bus of the Diag bus. The other constants specify the maximum current and the range limits for configuration values.
The default Config page contains constant values that set the function block’s operating characteristics. Typically, you do not have to change any of these values for the correct operation of the function block. Optionally, you can:
•Modify the constant values on this page.
•Replace some or all of the constant values on this page with signals brought in on the Setup bus, which is connected to the function block’s Setup input. For more information, see Modify the Config Page.
8 | © Danfoss | March 2018 |
AQ00000245en-US0102 |
User Manual
PLUS+1® Compliant MP1 NFPE Function Blocks
MP1_12V_NFPE_CTRL and MP1_24V_NFPE_CTRL Function Blocks
Default Values for MP1_12V_NFPE_CTRL Function Block
Default Values for MP1_24V_NFPE_CTRL Function Block
© Danfoss | March 2018 |
AQ00000245en-US0102 | 9 |