Values
Meaning
A 21
user-provided
†
Device identifier bytes 7 and 8
†
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 A 18 will contain the hex value
4241.
12.2.6
Example COMMREQ Data Block for
Configuring RTU Protocol
Values
Meaning
First 6 words
Reserved for COMMREQ use.
A 6
FFF0H
Command
A 7
003
Protocol: 0003=RTU
A 8
000
Port Mode: 0000=Slave
A 9
2=1200, 3-2400, 4=4800, 5=9600, 6=
19200,7=38400*, 8=57600**
*CPU models IC200CPU005 and
CPUE05 only
Data Rate
A 10
0 = None, 1 = Odd, 2 = Even
Parity
A 11
0 = Hardware, 1 = None
Flow Control
A 12
0-255 (units of 10ms,
e.g. 10=100ms)
Turnaround delay
A 13
not used
Timeout
A 14
not used
Bits per Character
A 15
not used
Stop Bits
A 16
not used
Interface
A 17
0 = 2-wire, 1 = 4-wire
Duplex Mode
A 18
Station Address (1-247)
Device Identifier
A 19–21
not used
Device Identifier
A 22*
0-255 (units of 10ms, e.g. 10=100ms)
Receive to transmit delay
A 22*
0-255 (units of 10ms, e.g. 10=100ms)
RTS drop delay
Note
The data block length (A 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.
Serial I/O / SNP / RTU Protocols
GFK-1503E User Manual 231
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......