User manual

gpio.Relais
SERIAL_MODE
Selects the mode the serial line operates on. Choose 0 for RS232 or 1 for
RS485.
MODBUS_MODE
To switch between MODBUS RTU and ASCII modes this register is used.
Changes will not affect the USB connection that always operates in MODBUS
ASCII. Choose 0 for ASCII or 1 for RTU.
OUT_VAL
15 14 13 12 11 10 9 8
reserved
7 6 5 4 3 2 1 0
E
state
D
state
C
state
B
state
reserved
Defines the state of relays B (X3), C (X4), D (X5), E (X12). This register can
also be accessed bitwise via write coils command.
IN_VAL
15 14 13 12 11 10 9 8
reserved
7 6 5 4 3 2 1 0
E
state
D
state
C
state
B
state
A4 A3 A2 A1
This register contains the input value of inputs A1 to A4 (X2) as well as the
actual state of the four relays. If the state of a relay differs from the desired
value in OUT_VAL this indicates the corresponding relay to be malicious.
CNT_CTRL
15 14 13 12 11 10 9 8
reserved
7 6 5 4 3 2 1 0
reserved START
Setting START to 1 enables frequency measurement on all four inputs of X2.
Detected frequencies can be read from the correstponding input registers which
are updated every second.
7/12