Micrologix: Rslogix 500 Lab#3
Micrologix: Rslogix 500 Lab#3
Micrologix: Rslogix 500 Lab#3
1100
RSLogix 500 LAB#3
S:1/15 MOV
MOVE
• Here we will program and run a Sequencer.
][ Source 2112
3.Create a subroutine
6.Put the MicroLogix 1100 into RUN mode and test your program.
2. Select Controller
– Enter Processor Name “M-LAB3”
– Using the down arrow, move to the center of
the list
– “Click” Bul.1763 MicroLogix 1100 Series A or
ask the instructor
– (Either double click, or select and then click
OK)
Dest N7:10
S:1/15 MOV
MOVE
][ Source 33
Dest N7:10 8a
7. Add an Input Instruction 8b
– Click, hold and Drag the XIC button onto the
left side of the rung you just created. When
you see a green box, release the mouse
7
button.
– Type S:1/15 [Enter]. Notice this address
location is already documented. This
instruction will be true only for the first
program scan.
10a
10b
18.Create Subroutine 6
– Right mouse click on “Program Files”
– Select “New”
– Type 6 for Number
– Type SUB #6 for name
– Select “OK”. 18
RET
RETURN
RET
RETURN
22
24
30
31
32
Subroutine File 6
Rung 0- Address S:4/4 pulses ON and
OFF based on an internal clock. This
turns output 4 ON and OFF.
Rung 1- RET instruction tells the program
scan to return to the main program
file. Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 30
Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 31