
!"##$%&'()&%*+,-."$*-+)-/
7"8$9/
!"#$%&'()
5–3
For information on creating an RS-232-C asynchronous link driver for
your computer, refer to the Data Highway/Data Highway Plus Protocol and
Command Set Reference Manual (publication 1770-6.5.16).
AI!5J(K*'+#:(L-$'*%&/%&9(M'.%&
This example writes 4 words (8 bytes) of data to the PLC-5’s PLC-2
compatibility file (file 32), word locations 20 through 23. The following
paragraphs show line monitor examples for this command:
1.
Computer sends command to the 1785-KE:
DLE
STX
DST
SRC
CMD
STS
TNS
TNS
ADR
ADR
------------DATA-------------
DLE
ETX
BCC
10
02
29
20
08
00
44
01
28
00
22 11 44 33 66 55 88 77
10
03
DE
2.
1785-KE responds to computer:
DLE
ACK
10
06
3.
1785-KE sends command to the PLC-5:
The 1785-KE sends the command onto Data Highway Plus and the PLC-5 node at address 51 (octal).
4.
PLC-5 sends the reply to the 1785-KE:
The PLC-5 receives the command, executes the command, formats a reply, and sends the reply back to the
1785-KE.
5.
1785-KE sends the PLC-5 reply back to the computer:
DLE
STX
DST
SRC
CMD
STS
TNS
TNS
DLE
ETX
BCC
10
02
20
29
48
00
44
01
10
03
2A
6.
Computer responds to the 1785-KE.
DLE
ACK
10
06