
!"##$%&'()&%*+,-."$*-+)-/
7"8$9/
!"#$%&'()
5–18
To verify that the example programs above are executing properly, follow
these steps:
1.
Look at the PLC-5 file contents of integer file 7 by typing:
<DISPLAY MONITOR> N7:0
2.
Change any value in word locations 0 through 7 in this file.
3.
These values in word locations 10 through 17 should be the same as
the values in word locations 0 through 7.
Important:
These PLC-5 slave to PLC-2 master example is for testing
only. Toggling the continuous bit to ON generates high network traffic
which, in most cases, is not necessary.
In this example, we send a message from the PLC-5 with Data Highway
Plus address 013 (octal), to the PLC-5 at Data Highway Plus address 011
(octal).
In this case, the PLC-5 sends the command to:
local destination: address 023
remote destination: address 011
The command remains in the 1785-KE (address 023) buffer until the
master polls address 013. The 1785-KE recognizes address 013 as an
address on the Data Highway Plus link and sends the command to the
master. The master sees that the destination address (011) is not its own
address and immediately retransmits the message onto the multidrop link.
The 1785-KE at address 021 recognizes address 011 and passes the
command through to the PLC-5 at that address. The PLC-5 at address 011
then executes the command, generates a reply, and sends it to the 1785-KE
at address 021. The 1785-KE buffers the message and awaits a poll for
address 011 from the master. The master then forwards the reply to the
PLC-5 at address 013.
Both 1785-KE modules are transparent to the master.
A'*0'#+(X&'.Y./#%.*-
7\#+$:&(OH(T:#F&(%*(T:#F&
!*++,-./#%.*-