Example Commreq Data Block For Configuring Serial I/O Protocol - Emerson PaCSystems VersaMax Series User Manual

Table of Contents

Advertisement

User Manual
GFK-1503F
12.2.7
Example COMMREQ Data Block for Configuring Serial
I/O Protocol
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-
21
Address + 22*
Address + 22*
Note:
Note:
Serial I/O / SNP / RTU Protocols
Values
FFF0H
005
0 = Slave
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)
0 = Long
0=7 bits, 1=8 bits
0 = 1 stop bit, 1 = 2 stop bits
not used
0 = 2-wire, 1 = 4-wire
not used
0-255 (units of 10ms, e.g.
10=100ms)
0-255 (units of 10ms, e.g.
10=100ms)
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.
If Serial I/O 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
Reserved for COMMREQ use.
Command
Protocol: 0005=Serial IO
Port Mode
Data Rate
Parity
Flow Control
Turnaround delay
Timeout
Bits per Character
Stop Bits
Interface
Duplex Mode
Device Identifier
Receive to transmit delay
RTS drop delay
Chapter 12
Jan 2020
209

Advertisement

Table of Contents
loading

Table of Contents