12.2.7 Example COMMREQ Data Block for
Configuring Serial I/O Protocol
Values
Meaning
First 6 words Reserved for COMMREQ use.
Address + 6 FFF0H Command
Address + 7 005 Protocol: 0005=Serial IO
Address + 8 0 = Slave Port Mode
Address + 9
4=4800, 5=9600, 6=19200, 7=
38400*, 8=57600**
Data Rate
*CPU models IC200CPU005
and CPUE05 only
Address + 10
0 = None, 1 = Odd, 2 = Even
Parity
Address + 11
0 = Hardware, 1 = None
Flow Control
Address + 12
0-255 (units of 10ms,e.g. 10=
100ms)
Turnaround Delay
Address + 13
0 = Long
Timeout
Address + 14
0=7 bits, 1=8 bits
Bits per Character
Address + 15
0 = 1 stop bit, 1 = 2 stop bits Stop Bits
Address + 16 not used Interface
Address + 17
0 = 2-wire, 1 = 4-wire
Duplex Mode
Address + 18–21 not used Device Identifier
Address + 22*
0-255 (units of 10ms,e.g. 10=100ms)
Receive to transmit
delay
Address + 22*
0-255 (units of 10ms,e.g. 10=100ms) RTS drop delay
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 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.
232 GFK-1503E VersaMax PLC User Manual
For public disclosure