Cypress Chameleon CTM-130 Bedienungsanleitung Seite 7

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 10
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 6
© 2011 Cypress Solutions MODBUS Operation (Revision 1.3)
7
MODBUS Command Reference
r = 57600 57600 Baud
r = 115200 115200 Baud (default)
d = 5,6,7 or 8 number of data bits (d=8, default)
p = n or N no parity (default)
p = e or E even parity
p = o or O odd parity
s = 1 or 2 number of stop bits (s=1, default)
f = 0 no flow control (default)
f = 1 software flow control
f = 2 hardware flow control
The current port setting can be queried by using the port command without parameters.
Examples:
cmd port 1 115200 8 n 1 2 configure primary serial port baud rate=115200bps, 8 data bits, no parity,
1 stop bit and hardware flow control
cmd port returns the current port configuration settings
Note 1: For MODBUS Serial Master Gateway there are 2 options only for the data bit configuration:
7 and 8 for ASCII Mode.
8 for RTU-over-UDP Mode.
Note 2: If the baud rate of the serial port is changed from the serial console using the port command, and
the baud rate of the host application is changed to match the new configuration after implementing this
command, then the serial console should still be able to accept commands. This functionality is only
available if the connection mode is mode = 1 or mode = 2 before issuing port.
A cmd save and a power cycle is required for this command to take effect.
modbusidmap n a.a.a.a p (set up MODBUS ID to gateway IP:port map)
This command is only configured when using the CTM-200 as a MODBUS master gateway (cmd
modbusmode 1 or cmd modbusmode 2). This command returns ERROR if the CTM-200 is configured as a
MODBUS slave gateway (cmd modbusmode 0).
This command sets up the MODBUS ID to gateway IP for each remote MODBUS slave device (i.e. another
CTM-200 gateway 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.
Seitenansicht 6
1 2 3 4 5 6 7 8 9 10

Kommentare zu diesen Handbüchern

Keine Kommentare