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

Page 48

Advertising
background image

Publication 1747-UM003A-EN-P

4-20 Application Examples

Create a Ladder 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.3. The analog input data resides in
words I:3.7 and I:3.8, while the analog output data must be copied to words
O:3.5 and O:3.6.

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: