Specifications

© 2010 Cypress Solutions Complete Manual: CTM-15X Firmware 1.3.0
Open CTM (Revision D)
78
Command Reference
Example:
# cmd modbusadd 5 9600 e 7 2 a
OK
# cmd port
cmd port 9600 7 E 2 0
OK
# cmd modbusadd
cmd modbusadd 5 Serial A
OK
When the modem is upgraded to firmware version R1.2.1 and has been previously set to cmd mode 6,
modem configurations containing the form modbusadd id n p d s m w will automatically be converted
upon power cycle to modbusadd id Serial m and port n d p s f (where f = 2 if w = f or F, and f = 0 in all
other cases).
After upgrading to firmware version R1.2.1, to convert from modbusadd id n p d s m w to modbusadd id
Serial m when another mode has been previously configured, enter cmd mode 6, cmd save, and power
cycle. To restore the modem to its previous mode, enter cmd mode n (where n is the previous mode),
cmd save, and power cycle.
modbusadd id
Adds MODBUS self slave - only one is permitted.
id = 1 to 247 MODBUS ID
Examples:
1. add TCP slave with ID 1 and IP 192.168.100.122
cmd modbusadd 1 192.168.100.122
2. add itself as a MODBUS slave with ID = 3
cmd modbusadd 3
3. Add serial slave with baud 115200, no parity, 8 data bits, 1 stop bit and as ASCII transmission mode
cmd port 115200 8 N 1 0
cmd modbusadd 17 Serial A
4. Display the list of modbus devices.
TCP slave device with ID = 247, self slave device with ID = 10, serial slave device (ASCII transmission mode)
with ID = 155
cmd modbusadd
(192.168.1.20,247)
(Localhost,10)
(Serial.A,155)
A cmd save is required for this command to take effect.