Translations:I/O Mapping Matrix/31/en

Материал из Wiren Board

Using the Mapping matrix

More complex scenarios of interaction between inputs and relays can be implemented using a Mapping matrix. To use the Mapping matrix, write the value 0 in the holding register 5:

modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x06 -r5 4

And registers the settings of the interaction of inputs/outputs — value 4:

modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x10 -r 9 4 4 4 4 4 4
modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x06 -r16 4