Input DescriptionΒΆ
EN (enable)
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
The Function Block is activated (EN = TRUE) or deactivated (EN = FALSE) via input EN. If the Function Block is active, the current values are available at the outputs.
CH
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BYTE | - | - | - |
Input CH (channel) is used to specify the channel of the PM5xx to be addressed.
Valid values: 1 and 2.
DATA
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| DWORD | - | - | - |
Input DATA is used to specify the address of the variable the user data are to be copied to. DATA must contain an address of a variable of the type ARRAY or STRUCT.
Note
Specify the size of the variable according to the maximum amount of data expected in order to avoid memory area overlapping.
DATA_LEN
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | Byte |
Output DATA_LEN displays the length of the received data. The output value at DATA_LEN is only valid if DONE = TRUE.