Example Commreq Data Block For Configuring Rtu Protocol - GE VersaMax PLC User Manual

Table of Contents

Advertisement

Address + 21
First 6 words
Address + 6
Address + 7
Address + 8
Address + 9
Address + 10
Address + 11
Address + 12
Address + 13
Address + 14
Address + 15
Address + 16
Address + 17
Address + 18
Address + 19–21
Address + 22*
Address + 22*
Serial I/O / SNP / RTU Protocols
For public disclosure
Values
user-provided
The device identifier for SNP Slave ports is packed into words with the least
significant character in the least significant byte of the word. For example, if the
first two characters are "A" and "B," the Address + 18 will contain the hex value
4241.
12.2.6 Example COMMREQ Data Block for
Configuring RTU Protocol
Values
FFF0H
003
000
2=1200, 3-2400, 4=4800, 5=9600, 6=
19200,7=38400*, 8=57600**
*CPU models IC200CPU005 and
CPUE05 only
0 = None, 1 = Odd, 2 = Even
0 = Hardware, 1 = None
0-255 (units of 10ms,
e.g. 10=100ms)
not used
not used
not used
not used
0 = 2-wire, 1 = 4-wire
Station Address (1-247)
not used
0-255 (units of 10ms, e.g. 10=100ms)
0-255 (units of 10ms, e.g. 10=100ms)
Note The data block length (Address + 0) for a COMMREQ that includes the Receive to
transmit delay and RTS drop delay should be 12H not 10H. Both forms (Length 10H and
12H) are supported
Note If RTU is configured for 115.2K baud. a major error code 12 (0cH) and a minor
error code 2 (02H) is returned in the COMMREQ status word. This will occur for any
unsupported baud rate.
Meaning
Device identifier bytes 7 and 8
Meaning
Reserved for COMMREQ use.
Command
Protocol: 0003=RTU
Port Mode: 0000=Slave
Data Rate
Parity
Flow Control
Turnaround delay
Timeout
Bits per Character
Stop Bits
Interface
Duplex Mode
Device Identifier
Device Identifier
Receive to transmit delay
RTS drop delay
GFK-1503E User Manual 231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents