mbusm poll n r c [dt] [f] [o] [e]

*This is command is used when CTM200 is being used as a MODBUS Master*

Configure polling MODBUS slaves.

n = 1 to 4MODBUS Slave device ID
r = 0Reset the configuration and disable polling (default)
r = 1 to 65536Start register address
c = 1 to 50Number of registers to be read (1 is default)
dt = 0Data type: Single bit, discrete output
dt = 1Data type: Single bit, discrete input
dt = 2Data type: 2 bytes, 16-bit register input
dt = 3Data type: 4 bytes, 32-bit integer input
dt = 4Data type: 4 bytes, 32-bit float input
dt = 5Data type: 2 bytes, 16-bit register output (default)
dt = 6Data type: 4 bytes, 32-bit integer output
dt = 7Data type: 4 bytes, 32-bit float output
f = 1 to 10000Poll rate in ms (1000 is default)
o = 1 to 10000Slave timeout in ms (1000 is default)
e = 0Little-endian (default)
e = 1Big-endian

Examples:

  1. Poll MODBUS slave device 2 every 1 second, starting from register 4 to register 13 (10 registers). Data type is 2 bytes, 16-bit output :
    cmd mbusm poll 2 4 10 5 1000 1000 0

See also: MODBUS


Firmware revision 2.0.4.2702

Last modified 7 years ago Last modified on 12-12-06 02:30:53 PM