Specifications

© 2010 Cypress Solutions Complete Manual: CTM-15X Firmware 1.3.0
Open CTM (Revision D)
80
Command Reference
modbusgw
Use this to initiate the MODBUS gateway manually from the serial port console. In firmware version
R1.3.0 and above, "cmd freeconsole" must be run first before using this command from the SSH/Telnet
console.
Use cmd mode 6 to put the modem in permanent MODBUS mode (enter MODBUS automatically after a
power cycle).
Example:
1. Initiate the MODBUS gateway manually
cmd freeconsole
Killed
OK
cmd modbusgw
OK
See also: freesonsole, modbusadd, modbusctm130, modbusdel, modbusidmap, modbusmode,
modbusport
return to list of commands
modbusidmap n a.a.a.a p
This command is only configured when using the modem as a MASTER GATEWAY (cmd modbusmode 1
or cmd modbusmode 2). This command returns ERROR if the modem is configured as a SLAVE GATEWAY
(cmd modbusmode 0).
This command sets up the MODBUS ID to modem IP for each remote MODBUS slave device (i.e. another
CTM15x modem configured as a MODBUS slave gateway).
The default for all entries is n 0.0.0.0. Use n 0.0.0.0 0 to erase an entry. Use 0 0.0.0.0 to erase all entries.
One entry is added at a time with a limit of up to 247 entries (each entry requires a unique ID).
To change an entry, one must first erase it then enter the changed IP address and port number.
n = 1 to 247 MODBUS ID, in decimal
a.a.a.a = 0.0.0.0 to 255.255.255.255 MODBUS slave modem IP address, in decimal(wireless modem IP
address)
p = 0 to 65535 Port that the slave modem will be listening on, in decimal
Examples:
1. Set the MODBUS master gateway to forward messages designated for the slave device with ID 1 to the
modem at 123.1.2.3, port 502