
© 2011 Cypress Solutions MODBUS Operation (Revision 1.3)
MODBUS Configuration Commands
to maintain backward compatibility with CTM13x modems
configured as MODBUS gateways
cmd modbusmode 1 Set gateway to be a MODBUS serial RTU master gateway
cmd port 1 9600 8 n 1 0 Set primary serial port as MODBUS serial master with baud rate
of 9600bps, 8 data bits, no parity, 1 stop bit and no flow control
cmd modbusidmap 1 123.2.1.2 502 Add an entry to the MODBUS ID to slave gateway IP map.
Repeat this command for MODBUS IDs = 2 to 247.
cmd modbusidmap List all entries in MODBUS ID to slave gateway IP map
cmd mode 6 Set the gateway to auto connect to both the wireless network
and the MODBUS host interface
cmd save Save the gateway configuration to non-volatile memory
cmd pwr mode 2 Power cycle the gateway for the configuration to take effect
2.2 MODBUS Slave Gateway Configuration
The following set of gateway commands will configure the gateway to act as a MODBUS slave gateway
using MODBUS RTU between the gateway and the MODBUS serial slave devices, and using MODBUS RTU
over UDP over-the-air.
cmd factory Reset gateway configuration to factory defaults
cmd modbusctm130 1 Set gateway to use MODBUS RTU over UDP over-the-air
to maintain backward compatibility with SCADA master devices
that polled CTM13x modems configured as MODBUS slave
gateways
cmd modbusmode 0 Set gateway to be a MODBUS slave gateway
cmd modbusdel 0 Delete all previously configured entries of MODBUS slave IDs
cmd port 1 9600 8 n 1 0 Set primary serial port as MODBUS serial slave device with baud
rate of 9600bps, 8 data bits, no parity, 1 stop bit and no flow
control
cmd modbusadd 1 Serial R Set the serial port slave device to have a slave ID of 1 and to use
MODBUS RTU as the serial transmission mode.
Kommentare zu diesen Handbüchern