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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 10
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 8
© 2011 Cypress Solutions MODBUS Operation (Revision 1.3)
9
MODBUS Command Reference
modbusadd id Serial m (add a MODBUS serial slave)
Adds a MODBUS Serial Slave
id = 1 to 247 MODBUS ID
m = a or A ASCII transmission mode
m = r or R RTU transmission mode
Notes:
The MODBUS slave gateway will use the serial port settings configured using the port command
for all serial slaves.
For MODBUS RTU configuration to function properly d = 8 must be entered for the port
command. (This configuration is in accordance with the MODBUS specification)
modbusadd will return “Invalid IP address (Sx)” followed by an “OK” if modbusadd is configured
with parameters missing or incorrect parameters. Ensure that the modbussadd parameters
match those from the above list.
All MODBUS serial slave devices connected to a serial bus configuration such as RS485 must use
the same transmission mode. (This configuration is in accordance with the MODBUS specification)
modbusadd id (add MODBUS self slave - only one is permitted)
id = 1 to 247 MODBUS ID
Examples:
cmd modbusadd 1 192.168.100.122 add TCP slave with ID 1 and IP 192.168.100.122
cmd modbusadd 3 add itself as a MODBUS slave with ID = 3
cmd modbusadd 17 115200 N 8 1 a add serial slave with baud 115200, no parity, 8 data
bits, 1 stop bit and as ASCII transmission mode
Note: modbusadd will return “Invalid IP address (Sx)” followed by an “OK” if modbusadd is configured
with parameters missing or incorrect parameters. Ensure that the modbussadd parameters match those
from the above list.
modbusdel n (delete MODBUS entry)
This command is used to delete an entry or all entries from the MODBUS list.
n = 0 deletes all MODBUS entries
n = 1 to 247 MODBUS ID entry
Examples:
cmd modbusdel 1 delete the entry with MODBUS ID 1
cmd modbusdel 0 delete all entries in the MODBUS list
Vista de página 8
1 2 3 4 5 6 7 8 9 10

Comentários a estes Manuais

Sem comentários