![Allen-Bradley ControlLogix 1756-STRT3 Quick Start Manual Download Page 52](http://html1.mh-extra.com/html/allen-bradley/controllogix-1756-strt3/controllogix-1756-strt3_quick-start-manual_2900177052.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 52
Reviewing the Steps for Reusing Existing Code
With a few simple steps, the MainProgram from Controller1.ACD has been copied into the ReusableCode.ACD
file and is ready for execution. Let's review the steps for reusing code.
1. The first step required us to cut and paste the Program from one Project to another Project.
You can also accomplish this by dragging and dropping the program across projects.
FYI
You can copy Tasks, Programs, Routines, Tags, User Defined Types, Modules, Rungs
and Instructions to other projects the same way we copied the Program.
2. The second step we renamed the Program and the Routine.
This is not a required step; we renamed them to emphasize their reuse.
3. The third step we mapped the tags to I/O that already existed in our project.
FYI
All “Program Tags” get copied with the program. Therefore, since the “switch” and “light”
tags were program scoped the tags were copied over with the program.
4. Close both .ACD files and shut down one session of RSLogix 5000.
Do not save any changes you have made.
C
C
C
o
o
o
n
n
n
g
g
g
r
r
r
a
a
a
t
t
t
u
u
u
l
l
l
a
a
a
t
t
t
i
i
i
o
o
o
n
n
n
s
s
s
!
!
!
Y
Y
Y
o
o
o
u
u
u
h
h
h
a
a
a
v
v
v
e
e
e
n
n
n
o
o
o
w
w
w
c
c
c
o
o
o
m
m
m
p
p
p
l
l
l
e
e
e
t
t
t
e
e
e
d
d
d
t
t
t
h
h
h
e
e
e
s
s
s
t
t
t
e
e
e
p
p
p
s
s
s
f
f
f
o
o
o
r
r
r
E
E
E
x
x
x
e
e
e
r
r
r
c
c
c
i
i
i
s
s
s
e
e
e
4
4
4
.
.
.