Rockwell Automation 1747-SCNR ControlNet Scanner Module Reference Manual User Manual
Page 53

Publication 1747-RM623D-EN-P - June 2006
Local Database Access Using PLC-5 MSG Instructions A-3
The following example illustrates how a PLC-5 ladder program can
read or write the 1747-SCNR Local Database using the MSG
instruction. The steps in this process correspond to the steps in the
illustrations.
1 . The ladder programmer inserts a MSG instruction into the ladder
program.
2. This message instruction sends five words from the PLC-5 N7
data file, starting at offset 0, to remote 1747-SCNR Local
Database file offset 10 (N7:10). The destination node is 22.
3. The PLC-5 processor is put into RUN mode. Then the PLC-5
processor opens an unscheduled connection to the 1747-SCNR
module and messages are exchanged.
4. The SLC 500 ladder program reads 20 words of 1747-SCNR Local
Database in slot 0 offset 700: #M0:1.700.
5. Elements from the PLC-5 N7 file are available in the SLC 500 N11
file, starting at address N11:10.
IMPORTANT
When the #M0.e.yyyy address is used in ladder
instructions, e is the 1747-SCNR slot number in the SLC
rack. If you reuse this example, and your module is not in
slot number one, update all instructions with the current
appropriate number.