*This is command is used when CTM200 is being used as a MODBUS Master*
Configure polling MODBUS slaves.
n = 1 to 4 | MODBUS Slave device ID |
r = 0 | Reset the configuration and disable polling (default) |
r = 1 to 65536 | Start register address |
c = 1 to 50 | Number of registers to be read (1 is default) |
dt = 0 | Data type: Single bit, discrete output |
dt = 1 | Data type: Single bit, discrete input |
dt = 2 | Data type: 2 bytes, 16-bit register input |
dt = 3 | Data type: 4 bytes, 32-bit integer input |
dt = 4 | Data type: 4 bytes, 32-bit float input |
dt = 5 | Data type: 2 bytes, 16-bit register output (default) |
dt = 6 | Data type: 4 bytes, 32-bit integer output |
dt = 7 | Data type: 4 bytes, 32-bit float output |
f = 1 to 10000 | Poll rate in ms (1000 is default) |
o = 1 to 10000 | Slave timeout in ms (1000 is default) |
e = 0 | Little-endian (default) |
e = 1 | Big-endian |
Examples:
See also: MODBUS
Firmware revision 2.0.4.2702