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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 6
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 4
© 2011 Cypress Solutions MODBUS Operation (Revision 1.3)
5
MODBUS Slave Gateway
4 MODBUS Slave Gateway
4.1 MODBUS Serial 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 device(s), and using MODBUS
RTU over UDP for over-the-air communications.
cmd modbusmode 0 #Set gateway to be a MODBUS slave gateway
cmd modbusctm130 1 # Use RTU over UDP for over the air communication. 0=TCP
cmd port 1 9600 8 n 1 0 #Set serial port settings
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.
cmd modbusadd #List all entries in MODBUS slave list
cmd mode 6 #MODBUS host interface
cmd save #Save configuration
cmd pwr mode 2 #Power cycle modem
5 MODBUS Master
Refer to MODBUS Master application note for more setup details
Vista de página 4
1 2 3 4 5 6

Comentários a estes Manuais

Sem comentários