
14–6 Line Monitor Examples
Publication
17706.5.16 - October 1996
In this example three word range reads (CMD 0F, FNC 01) are sent:
• from a computer connected to a 1770-KF2 with DH node address
012 (octal)
• to the PLC-3 connected to a 1775-KA with DH node address 011
(octal)
This example requires three commands and the corresponding replies
to read 684 bytes of data from the PLC-3 processor. The following
describes the first command and reply fields only. The fields of the
second and third commands and their replies are the same except for
the TNS, PACKET OFFSET, and BCC fields:
Command #1:
DLE STX DST SRC CMD STS TNS ADDRRESS SIZE DLE ETX BCC
Path 1 10 02 09 00 0F 00 02 08 E4 10 03 6C00
Path 2
DLE ACK
10 06
Reply #1 (sometime later)
DLE STX DST SRC CMD STS TNS DATA FROM PLC3 DLE ETX BCC
Path 1 10 02 0A 09 4F 00 02 10 03 9C00
Path 2
DLE ACK
10 06
0A
<<228 bytes of data>>
FNC
01
OFFSET
00 00
PACKET
TRANS
56 01
TOTAL
2C 00
Command #2
DLE STX DST SRC CMD STS TNS ADDRRESS SIZE DLE ETX BCC
Path 1 10 02 09 00 0F 00 03 08 E4 10 03 F900
Path 2
DLE ACK
10 06
Reply #2 (sometime later)
DLE STX DST SRC CMD STS TNS DATA FROM PLC3 DLE ETX BCC
Path 1 10 02 0A 09 4F 00 03 10 03 9B00
Path 2
DLE ACK
10 06
0A
<<228 bytes of data>>
FNC
01
OFFSET
72 00
PACKET
TRANS
56 01
TOTAL
2C 00
Command #3
DLE STX DST SRC CMD STS TNS ADDRRESS SIZE DLE ETX BCC
Path 1 10 02 09 00 0F 00 04 08 E4 10 03 8600
Path 2
DLE ACK
10 06
Reply #3 (sometime later)
DLE STX DST SRC CMD STS TNS DATA FROM PLC3 DLE ETX BCC
Path 1
10 02 0A 09 4F 00 04 10 03 9A00
Path 2
DLE ACK
10 06
0A
<<228 bytes of data>>
FNC
01
OFFSET
E4 00
PACKET
TRANS
56 01
TOTAL
2C 00
Fullduplex PLC3 Line
Monitor Example
Kommentare zu diesen Handbüchern