Cypress Chameleon CTM-130 Manual do Utilizador Página 7

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 10
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 6
© 2011 Cypress Solutions MODBUS Operation (Revision 1.3)
7 4BMODBUS Command Reference
p = o or O odd parity
s = 1 or 2 number of stop bits
f = 0 no flow control
f = 1 software flow control
f = 2 hardware flow control
The current port setting can be queried by using the port command without parameters.
For MODBUS RTU configuration to function properly d = 8 must be entered. (This configuration is in
accordance with the MODBUS specification)
Examples:
cmd port 115200 8 n 1 2 baud rate=115200bps, 8 data bits, no parity, 1 stop bit and hardware
flow control
cmd port 9600 sets the baud rate to 9600
cmd port returns the current port value
modbusidmap n a.a.a.a p (set up MODBUS ID to modem IP:port map)
This command sets up the MODBUS ID to modem IP for each remote MODBUS slave device (i.e. another
CTM-15X 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. 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
p = 0 to 65535 Port that the slave modem will be listening on, in decimal
Examples:
cmd modbusidmap 1 123.1.2.3 502 Set the MODBUS master gateway to forward messages for the
slave device with ID 1 to port 502 of the modem at 123.1.2.3
cmd modbusidmap 1 0.0.0.0 Clear the MODBUS ID to modem IP entry for slave ID 1
cmd modbusidmap 1 123.1.2.4 502 Change slave ID 1 entry to the modem at 123.1.2.4
cmd modbusidmap 0 0.0.0.0 Clear all MODBUS ID to modem IP entries
cmd modbusidmap Query all MODBUS ID to modem IP entries
3.3 MODBUS Slave Gateway Command Reference
The following section provides commands used to configure the modem as a MODBUS slave gateway. For
the following commands to be applied, the modem must be configured for MODBUS mode using cmd
mode 6 and configured as a slave gateway using cmd modbusmode 0.
Vista de página 6
1 2 3 4 5 6 7 8 9 10

Comentários a estes Manuais

Sem comentários