![Allen-Bradley ControlLogix 1756-STRT3 Quick Start Manual Download Page 49](http://html1.mh-extra.com/html/allen-bradley/controllogix-1756-strt3/controllogix-1756-strt3_quick-start-manual_2900177049.webp)
1
1
7
7
5
5
6
6
-
-
Q
Q
S
S
1
1
0
0
4
4
A
A
-
-
E
E
N
N
-
-
P
P
C
C
o
o
n
n
t
t
r
r
o
o
l
l
L
L
o
o
g
g
i
i
x
x
Q
Q
u
u
i
i
c
c
k
k
S
S
t
t
a
a
r
r
t
t
Page 49
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