Opening Two Sessions Of; Copying The Main Program And; Eusable Code; Rsl Ogix 5000 - Allen-Bradley ControlLogix 1756-STRT3 Quick Start Manual

Starter kit
Table of Contents

Advertisement

Exercise 4:
Demonstrating Reusable Code
Explore the power of reusable code in the ControlLogix system. You will copy existing code and tags from one
project to another, and map the copied tags to existing I/O.
Follow the steps below to complete Exercise 4. Place a checkmark in the square next to each step as you
complete it. This will help you keep your place as you work through the steps.
Opening Two Sessions of RSLogix 5000
Open two sessions of the RSLogix 5000 software.
1. From the File menu, choose Open to open the controller file Controller1.ACD that you created in
Exercise 1.
2. Double click on the RSLogix 5000 icon on the desktop to open another session of RSLogix 5000.
3. Open the ReusableCode.ACD controller file in the second session of RSLogix 5000.
You should now have both Controller1.ACD and ReusableCode.ACD opened in the two sessions of
RSLogix 5000.
Copying the Main Program and Pasting Reusable Code
Copy the main program from Controller1.ACD and paste it into the ReusableCode.ACD file.
1. In the Controller1.ACD controller file right click on the MainProgram icon and choose Copy.
2. In the ReusableCode.ACD controller file right click on the Main Task icon and choose Paste.
3. Verify in the ReusableCode.ACD controller file that MainProgram was pasted under the task,
MainTask, as MainProgram1.
Allen-Bradley Parts
1
7
5
6
-
Q
S
1
0
4
A
-
E
N
-
P
C
o
1
7
5
6
-
Q
S
1
0
4
A
-
E
N
-
P
C
n
t
r
o
l
L
o
g
i
x
Q
u
i
c
k
S
t
a
r
t
o
n
t
r
o
l
L
o
g
i
x
Q
u
i
c
k
S
t
a
r
t
Page 49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents