Cypress Chameleon CTM-130 Instrukcja Użytkownika Strona 5

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 6
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 4
1 2 3 4 5 6

Komentarze do niniejszej Instrukcji

Brak uwag