AutomationDirect Technical Support
AutomationDirect | Direct Sales in US and Canada | 1-800-633-0405

CPU Communication Port Setup Parameters:
DL450 Non Sequence (ASCII) AutomationDirect Logo



WORD 1
0000 0000 mmmm m000
450: V772
Protocol Mode
0000 0000 0001 0000
10 Hex = Non Sequence

 

WORD 2
0000 0000 0000 aaaa
(V773 value + 1)
Data format
0000 = 7 data, 1 stop, none parity
0001 = 7 data, 2 stop, None parity
0010 = 7 data, 1 stop, Even parity
0011 = 7 data, 2 stop, Even parity
0100 = 8 data, 1 stop, None parity
0101 = 8 data, 2 stop, None parity
0110 = 8 data, 1 stop, Even parity
0111 = 8 data, 2 stop, Even parity
1010 = 7 data, 1 stop, Odd parity
1011 = 7 data, 2 stop, Odd parity
1110 = 8 data, 1 stop, Odd parity
1111 = 8 data, 2 stop, Odd parity

 

WORD 3
450: V773
Parameter locations
Hex value of the V location to store the port parameters. Set this to an unused V location

 

WORD 4
(V773 value + 0)
Constant Value
must be 5555 Hex

 

WORD 5
0000 r000 0101 1011

RTS Flow control
r
Constant Value
Must be 5E hex
(V773 value + 2)
0 = RTS Normal
1 = RTS Always On
5E hex = 1011011

 

WORD 6
(V773 value + 3)
Constant Value
must be 0D Hex

 

WORD 7
(V773 value + 4)
V Memory Location
This register must be the Hex value of V773 +7. Example: If V773 = Hex 400 (Octal 2000) then V2004 must be Hex 408 (Octal 2010)

 

WORD 8
(V773 value + 5)
Constant Value
Must be 00 Hex

 

WORD 9
0000 0000 0000 0bbb

Baud Rate
bbb
(V773 value + 6)
000 = 300  
001 = 600
010 = 1200
011 = 2400
100 = 4800
101 = 9600
110 = 19200

 

WORD 10
(V773 value + 7)
Constant Value
Must be 00 Hex

 

WORD 11
260: 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 available port. 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.

Copyright © 1999- AutomationDirect.com. ALL RIGHTS RESERVED