Create a ladder logic program, Create a ladder logic program -57 – Rockwell Automation 1747-ACNR15 ControlNet Adapter Module User Manual User Manual

Page 85

Advertising
background image

Publication 1747-UM003A-EN-P

4-57

Create a Ladder Logic Program

The final step is to write a ladder program for the SLC processor, including
configuring the 1747-SCNR for slot 3 of the processor’s chassis. After
downloading the program to your processor, place it into the RUN mode.
Your program should now be able to read data from the 1746-IA16 in word
I:3.3 and write to the 1746-OB16 in word O:3.2. The HSCE input data will
reside in words M1:3.3 through M1:3.18, while the HSCE module output data
must be copied to word M0:3.3.

Note that your ladder program should also contain an unconditional rung with
an OTE instruction addressed to the SCNR scanner’s RUN/IDLE bit,
O:3.0/10 for this example. When the SLC processor is placed into the RUN
mode, this rung sets the SCNR scanner’s RUN/IDLE bit and places the
scanner into the RUN mode as well. The scanner begins executing the
configured connections when the RUN/IDLE bit is set.

Advertising
This manual is related to the following products: