User Manual
PLUS+1® Compliant
H1 EDC Angle Sensor Function Block
www.danfoss.com
User Manual
PLUS+1® Compliant H1 EDC Angle Sensor Function Block
Revision history |
Table of revisions |
|
|
|
|
|
|
|
Date |
Changed |
Rev |
|
|
|
|
|
September 2021 |
Resolved isses with status and fault signals |
0204 |
|
|
|
|
|
March 2020 |
Changed document number from 'AQ00000218' to 'AQ220986485489' |
0203 |
|
|
|
|
|
December 2018 |
NV_Cal_Min, NV_Cal_Mid, and NV_Cal_Max for displacement |
0202 |
|
|
|
|
|
February 2017 |
First edition |
0201 |
|
|
|
|
2 | © Danfoss | September 2021 |
AQ220986485489en-000204 |
User Manual |
|
PLUS+1® Compliant H1 EDC Angle Sensor Function Block |
|
Contents |
|
H1 EDC Angle Sensor Function Block |
|
Inputs.................................................................................................................................................................................................... |
4 |
Outputs................................................................................................................................................................................................ |
5 |
Diagnostic Signals............................................................................................................................................................................ |
6 |
[Remove this section] Function Block Connections............................................................................................................. |
6 |
Status Logic........................................................................................................................................................................................ |
7 |
Fault Logic........................................................................................................................................................................................... |
7 |
Parameter Values.............................................................................................................................................................................. |
8 |
Relationship of Input to Output Signals................................................................................................................................... |
9 |
[Remove this section] Para Input.............................................................................................................................................. |
11 |
xxx Unmodified H1_EDC_Ang_Snsr Function Block................................................................................................... |
11 |
xxx Modified H1_EDC_Ang_Snsr Function Block......................................................................................................... |
12 |
Identical Function Blocks Need Different Namespace Values to Successfully Compile...................................... |
12 |
Change Namespace Value..................................................................................................................................................... |
13 |
MC Controller Configurations................................................................................................................................................... |
14 |
Configure MFIn for SIG Input................................................................................................................................................ |
14 |
Configure DigAn for SIG Input............................................................................................................................................. |
15 |
Configure AnIn for SIG input................................................................................................................................................ |
15 |
SC Controller Configurations..................................................................................................................................................... |
16 |
Configure MFIn for SIG input................................................................................................................................................ |
16 |
Configure DigAn for SIG input............................................................................................................................................. |
17 |
Pre-Made Service Screens........................................................................................................................................................... |
18 |
H1 EDC Angle Sensor Screen................................................................................................................................................ |
18 |
H1 EDC Angle Sensor Calibration Screen ........................................................................................................................ |
20 |
© Danfoss | September 2021 |
AQ220986485489en-000204 | 3 |
User Manual
PLUS+1® Compliant H1 EDC Angle Sensor Function Block
The H1_EDC_Ang_Snsr function block monitors the angle sensor output from an H1 EDC Angle Sensor installed in an H1 EDC pump.
The output of this function block provides your application with the pump's:
•Swash plate angle position in percent.
•Direction of pump flow.
See:
•Function Block Connections for more about this function block's connections and signals.
•Identical Function Blocks Need Different Namespace Values to Successfully Compile if you are using more than one of these function blocks in your application.
The following section describes input signals to the H1 EDC Angle Sensor function block.
This function block ships with its NV_Cal_Min, and NV_Cal_Max values set at 0.
Item |
Type |
Range |
Description [Unit] |
|
|
|
|
Para |
Bus |
—— |
Input for external parameter values. |
|
|
|
See Para Input for more information. |
|
|
|
|
Cal Task |
U8 |
0–5 |
Controls the function block's calibration process: |
|
|
|
• 0 = Disable calibration. |
|
|
|
• 1 = Calibrate the percentage of Snsr Pwr that the SIG1 input must reach for the pump to output its |
|
|
|
minimum displacement. Store this percentage as the NV_Cal_Min value. |
|
|
|
For example, if the pump outputs its maximum reverse displacement with SIG1 input at 1000 mV |
|
|
|
and a Snsr Pwr of 5000 mV, then the function block stores an NV_Cal_Min value of 2000 (20.00%). |
|
|
|
• 2 = Calibrate the percentage of Snsr Pwr that the SIG1 input must reach for the pump to output its |
|
|
|
maximum displacement. Store this percentage as the NV_Cal_Max value. |
|
|
|
For example, if the pump outputs its maximum forward displacement with SIG1 input at 4000 mV |
|
|
|
and a Snsr Pwr of 5000 mV, then the function block stores an NV_Cal_Max value of 5000 (50.00%). |
|
|
|
• 3 = Set NV_Cal_Min and NV_Cal_Max to their default values. |
|
|
|
• 4 = Clear calibration values. |
|
|
|
|
Snsr Pwr |
Bus |
—— |
Voltage supplied to the swash plate angle sensor. |
|
|
|
The function block uses the Snsr Pwr and SIG1 signals and the NV_Cal_Min and NV_Cal_Max values |
|
|
|
to make a ratiometric calculation of the swash plate angle sensor's position and its faults. |
|
|
|
The function block receives this value through either a Volt signal or a Voltage signal: |
|
|
|
• On Legacy MC controllers, the value inputs through the Volt signal. |
|
|
|
• On SC and Non-Legacy MC controllers, the value inputs through the Voltage signal. |
|
|
|
|
|
|
|
|
4 | © Danfoss | September 2021 |
AQ220986485489en-000204 |
User Manual
PLUS+1® Compliant H1 EDC Angle Sensor Function Block
H1 EDC Angle Sensor Function Block
Item |
Type |
Range |
Description [Unit] |
|
|
|
|
Volt |
U16 |
4750–5250 |
Voltage supplied to the swash plate angle sensor. |
|
|
|
[mV] |
|
|
|
|
Voltage |
U16 |
4750–5250 |
Voltage supplied to the swash plate angle sensor. |
|
|
|
[mV] |
|
|
|
|
SIG1 |
Bus |
—— |
Signal from the swash plate angle sensor that indicates, through voltage, the position of the pump |
|
|
|
swash plate. |
|
|
|
The function block uses the Snsr Pwr, SIG1, and SIG2 signals and the NV_Cal_Min and NV_Cal_Max |
|
|
|
values to make a ratiometric calculation of the swash plate angle sensor's position and its faults. |
|
|
|
The function block receives this value through either a Volt signal or a Voltage signal: |
|
|
|
• On Legacy MC controllers, the value inputs through the Volt signal. |
|
|
|
• On SC and Non-Legacy MC controllers, the value inputs through the Voltage signal. |
|
|
|
|
Volt |
U16 |
0-5250 |
Voltage read from the swash plate angle sensor. |
|
|
|
[mV] |
|
|
|
|
Voltage |
U16 |
0-5250 |
Voltage read from the swash plate angle sensor |
|
|
|
[mV] |
|
|
|
|
SIG2 |
Bus |
—— |
Signal from the swash plate angle sensor that indicates, through voltage, the position of the pump |
|
|
|
swash plate. |
|
|
|
The function block uses the Snsr Pwr, SIG1, and SIG2 signals and to make a ratiometric calculation of |
|
|
|
the swash plate angle sensor's position and its faults. |
|
|
|
The function block receives this value through either a Volt signal or a Voltage signal: |
|
|
|
• On Legacy MC controllers, the value inputs through the Volt signal. |
|
|
|
• On SC and Non-Legacy MC controllers, the value inputs through the Voltage signal. |
|
|
|
|
Volt |
U16 |
0-5250 |
Voltage read from the swash plate angle sensor. |
|
|
|
[mV] |
|
|
|
|
Voltage |
U16 |
0-5250 |
Voltage read from the swash plate angle sensor |
|
|
|
[mV] |
|
|
|
|
Outputs |
|
|
|
|
|
This section describes output signals of the H1 EDC Angle Sensor function block. |
|
|
|
|
|
Item |
Type |
Range |
Description [Unit] |
|
|
|
|
Status |
U16 |
—— |
Reports the status of the function block. |
|
|
|
0x0000: Status is OK. |
|
|
|
0x0001: Cal_Min value is not calibrated. |
|
|
|
0x0002: Cal_Mid value is not calibrated. |
|
|
|
0x0004: Cal_Max value is not calibrated. |
|
|
|
0x0008: Invalid setup or a parameter is out of range. |
|
|
|
|
Fault |
U16 |
—— |
Reports the faults of the function block. |
|
|
|
0x0000 = No fault. |
|
|
|
0x8001 = SIG1 input is too low. |
|
|
|
0x8002 = SIG1 input is too high. |
|
|
|
0x8004 = SIG1 input is at Sensor Power. |
|
|
|
0x8008 = SIG1 input is at Ground. |
|
|
|
0x8010 = An input is out of range. |
|
|
|
0x8040 = Redundant signal indicates error. |
|
|
|
|
Pct |
U16 |
0–10,000 |
Swash plate angle as a percentage. |
|
|
|
• 0 = Minimum swash plate angle. |
|
|
|
• 10000 = Maximum swash plate angle. |
|
|
|
[0.01%] |
|
|
|
|
Displ |
U16 |
0–300 |
Pump displacement based on measured angle. |
|
|
|
|
Diag |
Bus |
—— |
Contains input, parameter, diagnostic, and output signals. |
|
|
|
|
© Danfoss | September 2021 |
AQ220986485489en-000204 | 5 |
User Manual
PLUS+1® Compliant H1 EDC Angle Sensor Function Block
H1 EDC Angle Sensor Function Block
Entering the Checkpoints page on the second level of the function block provides access to the function block’s diagnostic signals.
It contains checkpoints on input, output and internal signals. Only the internal signals are explained here. Input and output signals are described in other chapters.
Item |
Type |
Range |
Description |
|
|
|
|
Input_Ratio |
U16 |
0-10,000 |
The ratiometric calculation value of the SIG1 voltage as a percentage of Snsr Pwr. |
|
|
|
|
StatExp |
U16 |
0x00-0x7F |
Status Expanded: Bitwise signal where each bit corresponds to a parameter that is invalid. |
|
|
|
• T = Parameter invalid. |
|
|
|
• F = Parameter OK. |
|
|
|
Bit0: Cal_Task |
|
|
|
Bit1: NV_Cal_Max |
|
|
|
Bit2: NV_Cal_Min |
|
|
|
Bit3: FltDetectTm |
|
|
|
Bit4: Dband |
|
|
|
Bit5: Min_Displ |
|
|
|
Bit6: Max_Displ |
|
|
|
|
Item |
Description |
|
|
|
|
1 |
Input for external parameter values. |
|
|
|
|
2 |
• 0 = Disable calibration. |
|
|
• 1 = Calibrate the percentage of Snsr Pwr that the SIG1 input must reach for the pump to output its maximum forward displacement. Store |
|
|
this percentage as the NV_Cal_Max value. |
|
|
• 2 |
= Calibrate the percentage of Snsr Pwr that the SIG1 input must reach for the pump to output its maximum reverse displacement. Store |
|
this percentage as the NV_Cal_Min value. |
|
|
• 3 |
= Calibrate the percentage of Snsr Pwr that the SIG1 input must reach for the pump to output its neutral displacement. Store this |
|
percentage as the NV_Cal_Mid value. |
|
|
• 4 |
= Set NV_Cal_Min, NV_Cal_Mid and NV_Cal_Max to their default values. |
|
• 5 |
= Clear calibration values. |
|
|
|
3 |
Voltage supplied to the swash plate angle sensor. |
|
|
|
|
4 |
Signal from the swash plate angle sensor that indicates, through voltage, the position of the pump swash plate. |
|
|
|
|
5 |
Diagnostic signals of the function block. |
|
|
|
|
6 |
Reports the status of the function block. |
|
|
|
|
7 |
Reports the faults of the function block. |
|
|
|
|
8 |
Swash plate direction indicator. |
|
|
|
|
9 |
Swash plate sensor angle as a percentage. |
|
|
|
|
6 | © Danfoss | September 2021 |
AQ220986485489en-000204 |
User Manual
PLUS+1® Compliant H1 EDC Angle Sensor Function Block
H1 EDC Angle Sensor Function Block
This topic describes how the function block indicates status.
Status |
Hex |
Binary |
Response |
Correction |
|
|
|
|
|
Status is OK. |
0x0000 |
0000 |
Not applicable. |
Correction not necessary. |
|
|
|
|
|
Cal_Min value is not calibrated. |
0x0001 |
0001 |
• Pct output = 0. |
Calibrate the Cal_Min value. |
|
|
|
• Displ output = Min_Displ. |
|
Cal_Mid value is not calibrated. |
0x0002 |
0010 |
Calibrate the Cal_Mid value. |
|
|
|
|
|
|
Cal_Max value is not calibrated. |
0x0004 |
0100 |
|
Calibrate the Cal_Max value. |
|
|
|
|
|
Invalid setup or a parameter is |
0x0008 |
1000 |
|
Correct the setup; return parameter values |
out of range. |
|
|
|
to within their valid ranges. |
|
|
|
|
|
This topic describes how the function block indicates fault logic.
Fault |
Hex |
Binary |
Response |
Correction |
|
|
|
|
|
No fault. |
0x0000 |
00000000 |
Not applicable. |
Not applicable. |
|
|
|
|
|
SIG1 input is too low. |
0x8001 |
00000001 |
• Pct output = 0. |
Repair the hardware fault. |
|
|
|
• Displ output = Min_Displ . |
|
SIG1 input is too high. |
0x8002 |
00000010 |
|
|
|
|
|
|
|
SIG1 input equals Snsr Pwr input. |
0x8004 |
00000100 |
|
|
|
|
|
|
|
SIG1 input is at ground. |
0x8008 |
00001000 |
|
|
|
|
|
|
|
An input signal is out of range. |
0x8010 |
00010000 |
|
|
|
|
|
|
|
Redundant signal indicates error. |
0x8040 |
01000000 |
|
|
|
|
|
|
|
© Danfoss | September 2021 |
AQ220986485489en-000204 | 7 |