CPU Communication Port Setup Parameters


250 Port 2 (15-Pin)
350 Port 2 (25-Pin)
450 Port 1 (25-Pin)

Under normal conditions, the communication port parameters are configured using the AUX functions of the handheld programmer or with the Secondary Port Setup in DirectSoft. All parameters can be set that way except for the RTS Off-Delay, which is a new feature in the 250, 350 and 450(Port 1 only) CPUs. In order to configure this parameter, the program will have to be modified to set the appropriate V-memory locations with the desired values.

WORD 1
0yyy 0ttt mmmm mxxx

RTS On-delay
yyy
Communication Timeout
(in % of standard timeout)
ttt
Protocol Mode
mmmmm
RTS Off-delay
xxx
450: V772
350: V7655
250, 260: V7655
05, 06: V7655
000 = 0mS
001 = 2mS
010 = 5mS
011 = 10mS
100 = 20mS
101 = 50mS
110 = 100mS
111 = 500mS
000 = 100%
001 = 120%
010 = 150%
011 = 200%
100 = 500%
101 = 1000%
110 = 2000%
111 = 5000%
10000 = K-Sequence
01000 = DirectNet
00100 = Modbus
000 = 0mS
001 = 2mS
010 = 5mS
011 = 10mS
100 = 20mS
101 = 50mS
110 = 100mS
111 = 500mS

 

Word 2
K-Sequence, DirectNet, & Modbus

pps0 0bbb xaaa aaaa
Parity
pp
StopBits
s
Baud Rate
bbb
Protocol Mode
(DirectNet)
x
Secondary Address
xaaaaaaa (DirectNet)
_aaaaaaa (K-Seq & Modbus)
450: V773
350: V7656
250, 260: V7655
05, 06: V7655
00 = None
10 = Odd
11 = Even
0 = 1 bit
1 = 2 bits
000 = 300  
001 = 600
010 = 1200
011 = 2400
100 = 4800
101 = 9600
110 = 19200
111 = 38400
0 = Hex
1 = ASCII
K-Sequence: 1-90
DirectNet: 1-90
Modbus: 1-247

 

Word 3 
450: V767
350: V7657
250, 260: V7657
05, 06: V7657
The CPU will accept the setup values when a 'setup complete' flag is written to this V-memory location. For the 450 this flag is a value of K5555, representing the 4 available ports, and a value of K0500 for the 250 and 350 CPUs. When the CPU checks this value, it will change the '5' to an 'A' if the port settings have been accepted, or an 'E' if there was an error.

To see an example of how this is done with a 450 CPU, please see the ladder example.