
!"##$%&'()&%*+,-."$*-+)-/
7"8$9/
!"#$%&'()
5–5
AI!5O(K*'+#:(L-$'*%&/%&9(M'.%&(PM*'9(N#-0&(M'.%&Q
This example writes 4 words (8 bytes) of data to the PLC-5 address 51
(octal) integer file 10, word locations 15 through 18. When you send a
PLC-3 command to a PLC-5, the command can only have a four-level
address. In this example, the address is in logical binary form. 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 FNC PO
PO
TT
TT
|------------ADDRESS------------| |-------------DATA-------------| DLE ETX BCC
10
02
29
20
0F 00
46
01
00
00
00
04
00
0F
00
0A
0F
00
22 11 44 33 66 55 88 77 10
03
D1
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
4F
00
46
01
10
03
21
6.
Computer responds to the 1785-KE.
DLE
ACK
10
D6