Input DescriptionΒΆ
EN (enable)
Data type: BOOL
The Function Block is activated by a TRUE at the input EN. A FALSE keeps the Function Block deactivated. Is the Function Block activated, the values being present at the inputs are processed and the output values are delivered.
SLOT (slot)
Data type: BYTE
At input SLOT, that slot (card number) is specified, from which the data shall be read.
The external slots are numbered from the right to the left and begin with the number 1.
CH (channel)
Data type: BYTE
At input CH (channel), the addressed channel is specified.
Valid values: 1 and 2.
DATA (data)
Data type: DWORD
At input DATA, the address of the variable is specified, of which the user data shall be received.
DATA must be the address of a variable of the type ARRAY or STRUCT.
Caution
:strong:Memory area overlapping
Avoid memory area overlappings by specifying the size of the variable to the max. data expected.
DATA_TYPE (data type)
Data type: WORD
At input DATA_TYPE, the type of data has to be specified. The following allocation\ is used:
- 0 = Bit
- 1 = Byte
- 2 = Word
- 4 = DWord
DATA_LEN (data length)
Data type: DWORD
At input DATA_LEN, the length of the data which should be read has to be specified.
OFFSET (offset)
Data type: DWORD
At input OFFSET, the offset within the block in bytes has to be specified.