Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Level 3: Project
Development
Student Manual
properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell
Automation or third--party provided instructions, warnings, recommendations and documentation;
ensuring that only properly trained personnel use, operate and maintain the Products at all times;
staying informed of all Product updates and alerts and implementing all updates and fixes; and
all other factors affecting the Products that are outside of the direct control of Rockwell Automation.
Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell
Automation is prohibited.
Throughout this manual we use the following notes to make you aware of safety considerations:
Identifies information about practices or circumstances
that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property
damage, or economic loss.
Comment Form
Email: ratps@ra.rockwell.com
or Fax:
440.646.4425
Page 1 of
Date:
Contact Information:
Name:
Company and Location:
Phone:
Email:
Page 2
Table of Contents
Introduction
Course Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Course Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Who Should Attend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Meeting Course Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Student Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hands-On Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Certificate Candidates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration and Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ControlLogix/RSLogix 5000 Curriculum Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I
I
I
II
II
III
IV
IV
IV
V
V
Lessons
Updating Logix5000 Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
When You Will Do This . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Updating Module Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Demonstration Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1- 1
1--1
1--1
1--1
1--1
1--1
1--3
1--3
1- 5
1--5
1--6
1--8
1--8
2- 1
2--1
2--1
2--1
2--1
2--1
2--2
2--2
2--3
2--3
ii
Table of Contents
Inhibited Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating a Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adjusting a Program Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Actual Program Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating a Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Program Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
System Overhead Timeslice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Asynchronous Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Project Organization Best Practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example: Project Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Verifying Tasks, Programs, and Routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Demonstration Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2--4
2--4
2--5
2--5
2--6
2--8
2--8
2--9
2--10
2--11
2--11
2--12
2--12
2--13
2--13
2--15
2--17
2--18
2--18
3- 1
3--1
3--1
3--1
3--1
3--2
3--2
3--3
3--4
3--4
3--5
3--6
3--6
3--6
3--7
3--7
3--7
3--8
3--8
3--9
3--9
Table of Contents
iii
3--11
3--12
3--14
3--14
4- 1
4--1
4--1
4--1
4--1
4--2
4--3
4--4
4--4
4--5
4--5
4--5
4--6
4--6
4--7
4--7
4--8
4--8
4--9
4--9
4--9
4--9
4--10
4--10
4--10
4--10
4--11
4--11
4--11
4--11
4--11
4--12
4--12
4--12
4--12
4--13
4--13
4--14
4--15
iv
Table of Contents
4--15
4--16
4--17
4--17
4--17
4--17
4--18
4--18
4--18
4--19
4--21
4--21
4--21
4--22
4--22
4--25
5- 1
5--1
5--1
5--1
5--1
5--2
5--3
5--3
5--3
5--3
5--4
5--5
5--5
5- 7
5--7
5--9
5--10
5--10
6- 1
6--1
6--1
6--1
6--2
Table of Contents
6--2
6--2
6--3
6--4
6--4
6--4
6--5
6--6
6--7
6--8
6--9
6--9
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project 6- 11
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6--11
6--13
6--14
6--14
7- 1
7--1
7--1
7--1
7--1
7--2
7--2
7--3
7--3
7--4
7--4
7--4
7--4
7--5
7--5
7--5
7--6
7--6
7--7
7--8
7--9
7--10
7--11
7--13
vi
Table of Contents
Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7--14
7--14
8- 1
8--1
8--1
8--1
8--1
8--2
8--2
8--3
8--4
8--4
8--6
8--7
8--7
8--8
8--10
8--10
8--11
8--13
8--13
8--14
8--16
8--16
8--18
9- 1
9--1
9--1
9--1
9--1
9--2
9--3
9--3
9--4
9--4
9--5
9--6
9--6
9--6
9--7
9--7
Table of Contents
vii
9- 9
9--9
9--11
9--12
9--12
10--1
10--1
10--1
10--1
10--1
10--2
10--2
10--2
10--3
10--4
10--5
10--6
10--8
10--8
11--1
11--1
11--1
11--1
11--2
11--2
11--2
11--3
11--3
11--4
11--4
11--5
11--5
11--5
11--6
11--6
11--6
11--7
11--7
viii
Table of Contents
Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scan Time Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Event Task Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Event Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IOT Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UID/UIE Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPS Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Demonstration Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11--8
11--9
11--9
11--9
11--10
11--10
11--11
11--12
11--12
11--13
11--13
11--14
11--16
11--16
11--18
11--20
11--20
11--21
11--23
12--1
12--1
12--1
12--1
12--2
12--2
12--2
12--2
12--3
12--4
12--5
12--5
12--6
12--6
12--6
12--7
12--7
12--8
12--8
12--8
12--9
Table of Contents
ix
12--10
12--10
12--10
12--12
12--12
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV
Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12- 13
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercise C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercise C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12--13
12--14
12--14
12--15
12--15
12--17
12--18
12--18
12--19
12--22
13--1
13--1
13--1
13--3
13--3
13--3
13--4
13--4
13--5
13--5
13--6
13--8
13--8
14--1
14--1
14--1
14--1
14--1
14--2
14--2
Table of Contents
14--3
14--4
14--4
14--5
14--6
14--6
14--7
14--9
14--9
14--11
14--12
14--12
14--14
15--1
15--1
15--1
15--1
15--2
15--3
15--4
15--5
15--5
15--6
15--7
15--8
15--9
15--9
15--9
15--9
15--10
15--10
15--10
15--11
15--12
15--12
15--12
15--12
15--13
15--13
15--14
15--14
Table of Contents
xi
15--15
15--16
15--16
15--16
15--17
15--17
15--17
15--18
15--18
15--19
15--19
15--19
15--19
15--20
15--20
15--20
15--20
15--21
15--22
15--23
15--23
15--24
15--27
15--27
15--28
15--30
15--30
15--31
15--31
15--31
15--31
15--33
16--1
16--1
16--1
16--1
16--2
16--3
16--4
16--5
16--5
xii
Table of Contents
Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Demonstration Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16--6
16--6
16--7
16--9
16--10
16--10
17--1
17--1
17--1
17--1
17--1
17--2
17--2
17--3
17--3
17--4
17--5
17--5
17--6
17--6
18--1
18--3
18--8
18--10
18--10
Optional Lessons
Configuring Logix5000 Controllers to Share Data over a ControlNet Network . . . . . 19- 1
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
When You Will Do This . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ControlNet Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19--1
19--1
19--1
19--1
19--1
Table of Contents
Cable System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scheduled Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unscheduled Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Information Exchange on the ControlNet Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NUT (Network Update Time) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example: NUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SMAX (Scheduled Maximum Node) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example: SMAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UMAX (Unscheduled Maximum Node) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example: UMAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Media Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Update Intervals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RPI (Requested Packet Interval) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
API (Actual Packet Interval) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example: RPI and API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration Overview and Software Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adding a ControlNet Module and Controller to an I/O Configuration . . . . . . . . . . . . . . . . . . . .
Produced and Consumed Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scheduling a New ControlNet Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Demonstration Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xiii
19--3
19--4
19--4
19--4
19--5
19--5
19--5
19--6
19--6
19--7
19--7
19--8
19--8
19--9
19--9
19--9
19--10
19--10
19--11
19--11
19--11
19--14
19--14
19--15
19--15
19--17
19--18
19--18
20--1
20--1
20--1
20--1
20--2
20--2
20--3
20--4
20--6
20--6
xiv
Table of Contents
Appendices
I/O Wiring Diagrams For The Assembly Application . . . . . . . . . . . . . . . . . . . . . . . . . A- 1
Slot 0 -- 1756-OB16D Digital Output Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Slot 2 -- 1756-IB16D Digital Input Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Slot 4 -- 1756-OB16D Digital Output Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
........................................................................
Slot 7 -- 1756-OF6VI Analog Output Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Slot 8 -- 1756-IF6I Analog Input Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A--1
A--2
A--3
A--3
A--4
A--5
B--2
Node Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C- 1
Course Overview
Course Overview
Course Purpose
CompactLogix controllers
SoftLogix controllers
DriveLogix controllers
This course builds upon your knowledge of common controller terms
and operation and your experience with basic ladder logic
programming.
This course presents a deeper understanding of project development
tasks that are common to all Logix5000 controllers. Such tasks
include organizing tasks and routines, organizing controller data,
configuring modules, and sharing data.
You will also use Producer/Consumer technology to multicast input
and output devices, share data between controllers, and control
remote I/O.
Course Overview
II
Prerequisites
Agenda
15 minutes
20 minutes (40 minutes with optional
exercise)
90 minutes
60 minutes
160 minutes
30 minutes
Course Overview
Updating Logix5000 Firmware
Creating and Organizing a New RSLogix 5000 Project
Creating a Periodic Task in an RSLogix 5000 Project
Organizing Data in an RSLogix 5000 Project
Creating a User-Defined Data Type in an RSLogix 5000 Project
Day 2
60 minutes
185 minutes
90 minutes
90 minutes
Course Overview
III
Day 3
45 minutes
120 minutes
90 minutes
60 minutes
105 minutes
90 minutes
40 minutes
60 minutes
225 minutes
120 minutes
65 minutes
-----
IV
Course Overview
Student Materials
Hands-On Exercises
Throughout this course, you will have the opportunity to practice the
skills you have learned through a variety of hands-on exercises.
These exercises focus on the skills introduced in each lesson.
You will also have the opportunity to combine and practice several
key skills by completing an integrated practice.
To complete the exercises and the integrated practice, you will use a
ControlLogix hardware workstation. Because the basic skills taught
in the course apply to all Logix5000 platforms, you can apply what
you have learned to the specific platform that you use in your plant.
Certificate Candidates
Tip "
Course Overview
Configuration and
Programming Examples
ControlLogix/RSLogix
5000 Curriculum Map
VI
Course Overview
Lesson
Note that this lesson briefly reviews
prerequisite concepts before presenting
the firmware piece. Tailor this lesson as
needed.
Review
AutoFlash Function
Devices Supported
Controllers, communication
modules, I/O modules,
SERCOS drives, and other
devices.
Communication Supported
Valid CIP path to device being
updated (includes serial,
DeviceNet, ControlNet,
EtherNet/IP).
(Continued)
1--2
Method
Firmware Supervisor
How Used
Devices Supported
Supports local and remote
devices that:
Are in the I/O tree and
configured as Exact Match.
Support firmware upgrades
via ControlFLASH.
Are at a hardware revision
that supports the firmware
stored for that device.
Communication Supported
Tip "
Heres How
IMPORTANT: When performing
Exercise A, be sure to run the
Quick Start video for the
students on the overhead. This
will eliminate the need for
earphones or the distraction of
overlapping audio during the exercise.
1--3
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the steps below and the information
on the Demonstration Checklist to help
guide you during the demonstration:
IMPORTANT: Before performing this
demonstration, ensure that the controller
in slot 3 of your demonstration
workstation has been back-flashed to
a firmware version below version 17.
Use the FW3_1756R_DEM1.acd file to
download and go online to the controller
in Slot 1.
1--4
1--5
Context:
Before flash updating the new ControlLogix controllers you recently
received, you will review the proper flash update procedure and
answer the corresponding questions.
Directions:
1. If it is closed, open RSLogix 5000 software.
2. View the Start Page.
3. Click the Learning Center tab.
4. From the How Do I? menu, select the Maintain folder.
5. View the Update a Modules Firmware tutorial.
Tip "
1--6
1--7
1--8
Answers
Exercise A
6. Your controllers, motion modules, and SERCOS drives all must
match the version of RSLogix 5000 software you are using.
7. A maintainer is most likely to update other module firmware
when replacing a failed module.
8. The ControlFLASH tool can be used to update module
firmware.
Lesson
Key Terms
Project/Project File: The RSLogix 5000 software file used to store
all programming and configuration information for a Logix5000
controller.
Project Organization
State that the multitasking system is like
32 separate PLC-5 controllers that take
turns controlling.
Note that task execution is based on
priorities that are assigned by the user.
This will be discussed in detail later.
2--2
Tip "
Default Structure
and Names
Task Type
Usage
Continuous
Periodic
Event
Icon
2--3
Answer: 4 (4+4 = 8)
Continuous Task
By default, has the lowest priority (one lower than the lowest
each completion)
Can be interrupted by a periodic or event task
periodic or event task)
Tip "
Point out that the last scan and max
scan can be viewed online. In a different
lesson, students will learn to monitor the
scan times using ladder logic
instructions.
2--4
To inhibit a task:
Inhibited Task
The following icon in the Controller Organizer indicates that the task
has been prevented from executing by a user option or instruction:
Inhibited Task
Tip "
State that tasks can also be inhibited or
uninhibited using SSV instructions.
Creating a Program
A program is the second level of scheduling within a project. A
program has the following characteristics:
Each task can schedule up to 100 programs.
Programs within a task can access input and output data directly
from controller-scoped memory:
Code within any program can modify controller-scoped data.
2--5
Program
Schedule
Unscheduled
Programs
"
2--6
Creating a Routine
A routine provides the executable code, or decision-making
instructions, for a project. Each routine contains a set of elements for
a specific programming language:
Ladder Logic -- suited for relay or discrete applications
Function Block Diagram -- suited for continuous process and
drives control applications
Tip "
2--7
The main routine is always listed first, followed by a fault routine (if
any), and then all subroutines in alphabetical order:
Main Routine
Fault Routine
Subroutines
Function Block
Diagram Routine
Subroutine
2--8
When enabled, the ladder logic JSR instruction directs the logic
execution to the specified subroutine and, if needed, passes
parameters to the subroutine:
Numeric, structured parameters, and BOOL data type tags can be
passed.
The SBR (Subroutine) instruction receives the input parameters and
copies their values into the specified tags:
The optional SBR instruction identifies the tags that store the
incoming parameters.
The RET (Return) instruction ends the subroutine and, if needed,
returns parameters to the JSR instruction:
-- Use the RET instruction only if you are returning parameters
to the JSR instruction.
2--9
Asynchronous Updates
Asynchronous: Actions that occur independently of each other and
lack a regular pattern.
In Logix5000 controllers, I/O values update asynchronously with the
execution of code:
1. Input modules multicast their data to the backplane at the RPI rate
set in the modules.
2. The code is scanned and the output tags are updated immediately
after the execution of each output instruction.
Because of the update process, input devices may change state within
one program scan and at a different rate than the program scan:
Single Scan
Physical Device Data is
received by the input card
RPI Rate
Rung
100
COS
Rung
250
Optional
RPI Rate
Rung
400
2--10
Program
A. A conveyor line uses a series of diverters to sort packages. Each diverter uses
identical logic.
Task
B. You only need to update your analog devices every 250 ms, but you must update
your discrete devices every 20 ms.
Routine
C. The logic for a conveyor performs these functions: initialize, run, return status
information, handle faults.
Task
Routine
Several valves open and close to add wet and dry ingredients.
A single--speed motor mixes the ingredients.
An outlet valve opens to drain the tank.
E 2012 Rockwell Automation, Inc. All rights reserved.
2--11
Program
Main Routine
S
S
S
S
S
Subroutines
Controller Organizer
Errors
Search results
Watch
Start page
After organizing your controller project, you can verify it. In this
process, the software looks for errors such as unassigned routines.
The following buttons are available to verify the entire controller
project or routine:
Standard Toolbar
Verify
Controller
2--12
Heres How
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final
exam, you must demonstrate Tip
all lesson objectives using
the proper job aids.
"
Example
Access the files through the Help menus Learning Center How Do
I section:
2--13
Heres How
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the steps below to help guide you
during the demonstration:
Create a new RSLogix 5000 project.
When demonstrating the listed
procedures, point out the following
items:
2--14
2--15
2--16
Programs
Routines
Purpose
Paint_line_1
(Rename the
MainProgram)
MainRoutine
Paint_Control
MainRoutine
Paint_Control
MainRoutine
Paint_Control
Paint_line_2
Paint_line_3
Tip "
Tip "
2--17
2--18
Answers
Exercise A
3.
A. The System Overhead Time Slice is configured on the
Advanced tab of the Controller Properties dialog box.
5. The main routine for a program is assigned on the
Configuration tab of the program properties dialog box:
Watchdog Timer
Set to 600 ms
Assigned as
Paint_line_3
Main Routine
Assigned as
Paint_line_1
Main Routine
Assigned as
Paint_line_2
Main Routine
Assigned as
Paint_line_4
Main Routine
2--19
Check
Data_Logging
Reject
2--20
Lesson
Task Type
Usage
Continuous
Periodic
Event
Icon
3--2
Periodic Task
Add that a task that is 8 ms in duration
and is executed every 8 ms will block all
other tasks of lower priority from
executing.
Tip "
level:
-- An interrupted task does not shift its start time.
-- An interrupted task will stop mid-instruction.
When executing, scans all assigned programs once from top to
bottom
After a single scan, an output update is triggered and controller is
returned to the interrupted task at the point it was interrupted
Like a continuous or event task, periodic tasks require at least one
program and one routine.
Example: Periodic Task Use
Periodic tasks are selected for processes that require accurate and
deterministic execution:
Check pressure on a machine at regular intervals
Correct a PID loop at regular intervals
3--3
Periodic Task
(with Times
in Names)
3--4
Important
Priority
Information
Period
The period determines the start interval for the task:
The trigger time range is 1 ms (millisecond) to 2000 seconds.
3--5
Priority
Each periodic and event task in a controller has a priority level that
determines which task executes when multiple tasks are triggered:
Priorities are assigned by the user.
Highest Priority
Motion Task
Trend
Continuous Task
3--6
When executing, the software displays the maximum scan time and
the last scan time in microseconds for the selected task in the Task
Properties dialog box:
Online Properties
Length of Execution
Processor speed
Example: Periodic Task
In the graphic, point out that the rate is
when the task starts and not how long
it takes.
0 ms
20 ms
40 ms
60 ms
80 ms
3--7
60 ms
40 ms
20 ms
80 ms
44 ms
66 ms
88 ms
Continuous Task
0 ms
20 ms
60 ms
40 ms
80 ms
Two tasks can be assigned the same priority. If this occurs, the tasks
will timeslice, or alternate execution, in 1 ms intervals.
0 ms
Tip "
1 ms 2 ms 3 ms
4 ms 5 ms
3--8
Heres How
Example
Heres How
3--9
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM2.acd
project.
When demonstrating the task, point out
the following items:
S
3--10
3--11
4. You want your new periodic task to have a higher priority than
the Existing_Periodic task. What priority number will you assign
for your task based on the previous information?
3--12
13. Clear the Major Fault from the Controller Properties dialog box.
14. Configure the Quality task to have a rate of 250 ms.
15. Place the controller in Run or Remote Run mode.
16. In the Task Properties window for the Main Task, verify that the
maximum scan time is not greater than the watchdog of 500ms.
3--13
3--14
Answers
Exercise A
1. Any type of application that requires accurate and deterministic
control would be an appropriate response.
4. The only priority higher than 2 is 1.
5. If periodic tasks of the same priority attempt to execute
simultaneously, the tasks will timeslice execution in 1 ms
intervals.
7. Your New Task dialog box should look similar to the following
example:
Lesson
Organizing Data in an
RSLogix 5000 Project
What You Will Learn
Controller Memory
Traditional controllers have data files, such as Timer or Integer,
where groups of the same types of data are stored together.
Drive_Speed Data
Controller Memory
Start Data
Sensor Data
4--2
Data Types
Add that the data type maps out the data
just as it does in a PLC-5, SLC 500, or
other processor.
Data Type: The definition of how many bits, bytes, or words of data
a tag will use. The data type is based on the source of the
information.
Atomic Data Type: A simple data type made of one piece of data:
Data Type
Definition
BOOL
SINT
INT
DINT
LINT
REAL
STRING
Using these definitions, tags for the given devices require the
following data types:
Controller Memory
Drive_Speed Data
DINT, or 32 Bits
Start Data
BOOL, or 1 Bit
Sensor Data
BOOL, or 1 Bit
4--3
Tip "
Data Type
Definition
COUNTER
TIMER
CONTROL
MESSAGE
There are other less common, pre-defined data types that are used to
store specific data for function block instructions or motion
instructions.
Module Defined Data Types: Data types used for hardware data,
such as I/O tags.
Memory Allocation
The minimum memory allocation for a tag of any type is a DINT
(double integer or 32 bits). A DINT is the main Logix5000 data type.
When data is assigned by the user, the controller assigns the next
available DINT(s) of memory to any data type.
When data types such as BOOL, SINT, and INT are assigned to a
tag, the controller still consumes a full DINT (four bytes) but only
fills part of it:
BOOL
SINT
INT
Data
Type
Used Memory
DINT
REAL
4--4
A controller stores tags as they are created and as they fit into
controller memory.
Tags of the same data type are not necessarily stored together in
memory.
Tag Scope
Add that for program-scoped tags,
behind the scenes, the program name
becomes a prefix for each tag name.
This is how tags with the same names in
different programs are kept separate.
Controller-scoped
Creating a Tag
Style
Data Access Control (optional)
Description (optional)
Program-scoped
4--5
The parameters are defined in the Edit Tags tab of the Tags window:
Tag
Filter
Another Name
for the Tag
Operand Descriptions
Data Type
Wildcard Filter
Data Access
Control
Display
Style
Icon Indicating
Controller-Scoped
Tags
White = Editable
Field
Editing View
Tag Name
Tip "
Data Type
Tags can be created using the following data types:
Any pre-defined data type
4--6
"
4--7
Example: Array
To make INT records for 6 parts, a one-dimensional array of INTs
is created:
1 DINT (32 Bits)
1 INT
? What is a structure?
Answer: A data type made up of a
mixture of other data types, such as a
timer (with a mix of DINTS and BOOLS).
Part_Data[1]
Part_Data[0]
Part_Data[3]
Part_Data[5]
Part_Data[2]
Part_Data[4]
The elements in the array occupy memory in order. The array always
starts at 0 and extends to the number of elements minus 1.
An array in the Tags window is shown in the following graphic:
Array of 6 (0- 5) INTs
Single Element
4--8
Tip "
Array Storage
Relate this to a Microsoft Excel
worksheet where one dimension is a
column, two dimensions are rows and
columns (a standard worksheet), and
three dimensions are several pages of
rows and columns.
One Dimension
Three Dimensions
Tip "
4--9
Array Addressing
Note that this section presents the
formats for array addresses. Entering
the addresses will be presented in the
Entering, Editing, and Verifying Ladder
Logic in an RSLogix 5000 Project
lesson.
A variable element
A numeric bit
A variable bit
Numeric Element Addressing
Tip "
ArrayName[Element Number]
PartData[3]
This reference is fixed because the element value of 3 will not
change.
Data that is stored in two- and three-dimensional arrays can be
addressed using the same format. Additional dimensions are
separated by commas, as outlined in the following table:
Number of
Dimensions
Format
Example
Array_name[0]
Part[3]
Array_name[1, 0]
Part[2,4]
Array_name[2, 1, 0]
Part[3,5,1]
Part[8,6]
Part[8,6,4]
Part[4,5,2]
Part[2]
Part[1,3]
Part[2,3,0]
4--10
To change the array element that your logic references, use a tag or
expression to point to the element, using the following address
format:
ArrayName[Tag or Expression]
Example: Variable Element Addressing
Part[SerialNumber]
Part[SerialNumber*5]
Part[Position1--Position2]
You can use the following mathematical operators in an expression
to specify an array element:
Operator
Description
Add
--
Subtract/Negate
Multiply
Divide
And
And
Frd
BCD to integer
Not
Complement
Or
Or
Tod
Integer to BCD
Sqr
Square root
Xor
Exclusive or
4--11
Format
Example
Numeric
element
ArrayName[Element Number]
Part[5]
Variable
element
ArrayName[Tag]
Station[Position]
ArrayName[Expression]
Station[Position+5]
Numeric
bit
ArrayName[Element].Bit
Part[5].15
Variable
bit
ArrayName[Element Number].[Tag]
ArrayName[Element Number].[Expression]
Part[Index].[MyIndex]
Part[Index].[MyIndex+31]
Verifying Tags
Mention that the verification process is
similar to the RSLogix 5 and 500
process with the addition of tag
verification.
After tags are entered, they can be verified. In this process, the
software looks for tag errors.
Errors found in the verification process are displayed in the Output
window:
Double-click to
Go to the Error or
Press F4
In the Tag window, tags with errors are also marked with an
4--12
Data Type
Blue
Operand Descriptions
Arrow
(up to 512 characters)
Value in
Controller
Expand to See
Structure Members or
Bits within the Tag
Monitoring View
The Style parameter controls how data is displayed for certain tags.
Example:
The default style for a tag of the INT data type is decimal. This
can be changed to binary, octal, decimal, or hexadecimal.
Tip "
E 2012 Rockwell Automation, Inc. All rights reserved.
Style is for display only; it does not affect how data is stored in the
controller.
Rev. August 2012
TA2sb56r
4--13
From the Tag Properties View window you can monitor a tags
properties, document, toggle values or Force. The Window can also
be docked, or set to auto hide, using the Auto Hide button
located in the banner:
Tag Properties
View Window
Docked or Auto
Hide Button
Tag
Information
4--14
Parameter
Names
Parameter
Values
Parameter
Data Types
Parameter
Description (Up to
128 Characters)
Visibility
Enabled
4--15
Refresh Structured
Text Data
Changing Values
Force
Create a
Custom
Monitor
Tag Scope
The Quick Watch Tag Monitor allows you to assemble a custom list
of tags to monitor:
Tags from the controller-scope
Tip "
You can drag tags from the open routine editor to the Quick Watch
Tag Monitor.
Tip "
The tags are maintained in the monitor only while the project is
open.
4--16
Heres How
4--17
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM2.acd
project.
Read-Only Values
Your Turn
Rev. August 2012
Now its your turn. Do Exercise A and return here when youre done.
E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
4--18
The data access properties of a tag is used to control how people and
programs access the tag at run-time:
Use External Access to control how an external application, such
as an HMI, historian, or OPC data server, can access a tag:
-- Arrays -- Top level only; UDTs -- by member
-- Possible values are:
-- Read/Write: External applications can both read and
modify the tags value
-- Read Only: External applications can read the tags value,
but not modify it
-- None: External applications can neither read nor write the
tags value
Use Constant to control how controller logic can access a tag:
-- When this attribute is set, the tags value cannot be changed
programmatically
Data Access Control Selections are shown in the following graphic:
Tags Window
Data Access
Control Selections
User-Defined
Data Type
Your Turn
E 2012 Rockwell Automation, Inc. All rights reserved.
4--19
4--20
4--21
14. Verify you properly created and aliased your tags by performing
the following actions:
A. Press DI0 and observe DO0 indicator light turn on.
B. Adjust pot AI0 and confirm potentiometer AO0 updates in
value while the motor is enabled.
C. Confirm that after ten seconds indicator DO0 turns off.
D. Monitor the ClockTime array and verify the tag is populating
with system date and time information.
Tip "
Exercise B
4--22
Answers
Exercise A
3. Your Stop_Motor tag should have the following properties:
4--23
4--24
4--25
Exercise B
6. After setting the ClockTime tags external access to None, your
screen should appear similar to the following:
8. No, the ClockTime tag is not visible. Your screen should appear
similar to the following:
4--26
Lesson
Mixed
Data
Types
Members of a
TIMER Data Type
5--2
There are several identical tanks in a plant. Each tank stores data
for the following values:
Temperature
Steam Valve State
Time over Temperature
Level
Size
Members of
Tank Structure
External
Access
Settings
A tag for each tank can be created using this user-defined data
type.
5--3
Tank [0,0]
A display style
A description (optional)
One of the following data types:
-- Any pre-defined data type
-- Another user-defined data type
-- Single-dimension array of any pre-defined data types
-- Single-dimension array of any user-defined data types
The memory required by a user-defined data type depends on the
number of members, the data type for each member, and how the
members are organized.
User-Defined Data Type Addressing
Just as you addressed TIMER members in other projects (T4.EN or
T4.TT), you can address members of a user-defined structure using
the following addressing structure:
Tag.Member
Examples: User-Defined Data Type Addressing
SystemTimer.Pre
WaterTank.Level
Input_Location.Load_Info.Height
5--4
Export a UDT
using a .L5X File
Obtain
collision
information
Heres How
5--5
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the steps below to help guide you
during the demonstration:
Open the Start Pages and use the
following tools to demonstrate each task:
5--6
5--7
Data Type
Active
BOOL
Fault
BOOL
ProcessTime
DINT
MotorSpeed
REAL
5--8
5--9
5--10
Answers
Exercise A
2. Your Motor_Status UDT should look similar to the following
example:
5--11
5--12
Lesson
Note that this lesson briefly reviews
some concepts from the prerequisite
course before presenting more
advanced concepts such as Quick Keys.
Tailor this lesson as needed.
Quick keys
6--2
6--3
Same
Program_Scoped
Tag Name
Different Program
Same
Program_Scoped
Tag Name
Easy Copy and Paste
6--4
Other Short-Cuts
These additional methods will also make you a more efficient
programmer:
RSLogix 5000 software also offers the ability to open a second
instance of the software:
-- This allows you to easily copy and paste ladder logic between
two open files.
For ladder logic and structured text, you can save instruction
defaults:
-- These defaults are saved to the computer and apply to all
projects opened on the computer.
State that up to four instances of the
software can be opened at one time.
Modifying code online can help you quickly make changes without
stopping production.
Online Safety Warning
When editing ladder logic online, keep the following warning in
mind:
6--5
When editing in
this mode . . .
Start edits
Verify edits
Accept edits
Start edits
Verify edits
Description . . .
Accept edits
Test edits
Assemble edits
Single-Rung Options
Program-Level Options
Tip "
Rev. August 2012
6--6
Double-Click to
Go to the Error or
Press F4
The Finalize Edits option allows you to complete online edits in one
step.
For equipment and personnel safety, the full
sequence of steps (verify, accept, test, assemble)
should be used as it requires the programmers to
check the steps and test them before assembling
them in the controller. The Finalize Edits option
should be reserved for changes that will not impact
safety.
6--7
Edit Rung
Original Rung
(Active in Controller)
During the editing and verifying process edit zone markers indicate
the type of edit that is being performed:
Once the edit in Remote Run mode is accepted
into the controller memory, the markers change to
uppercase letters.
Uppercase (in
controller
memory)
Description
i
r
I
R
D
6--8
Selected
Controller Unlocked
Controller Locked
Controller Locked by Another User
Project Changed by Another User
Keep the following points in mind about editing ladder logic when
multiple users are online:
A common best practice is to lock the controller:
-- This ensures only one person can be making edits to the logic
at one time.
If more than one programmer must be making changes at the
same time, carefully coordinate your work so changes arent
being made to the same routine at the same time:
-- Edits to a routine by one programmer can wipe out pending
edits by other users.
If possible, avoid having two programmers working on different
routines in the same program:
-- The routine edit commands (Accept, Test, Untest, Assemble,
and Cancel) are performed on a program basis.
-- Executing one of these commands affects another users edits,
causing potential loss of work.
E 2012 Rockwell Automation, Inc. All rights reserved.
Heres How
6--9
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM2.acd
project during the demonstration:
" To copy and reuse rungs,
instructions, and branches, refer to
the Copying and Reusing Project
Components procedure.
6--10
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
6--11
6--12
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
G. What does your ASCII text entry line look like for this rung?
(What syntax did you use?)
H. Save and accept the edits and test for proper operation of this
rung.
I. Test the operation by setting analog input 0 (AI0) to a value
between 100 and 200.
J. Check that digital output 0 (DO1) turns on. If not, return and
modify your work.
K. Once your work is correct, turn analog input 0 all the way to
the left to shut off the light.
L. Copy the rung you created in step 4. A. and reuse it to
program the following logic, modifying the rung as
necessary:
If the value from AI0 exceeds 700, turn on DO2.
M. Save the edits.
N. Test the operation by setting analog input 0 (AI0) to a value
over 700.
O. Check that digital output 2 (DO2) turns on. If not, return and
modify your work.
P. Enable the quick keys.
E 2012 Rockwell Automation, Inc. All rights reserved.
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
6--13
5. When you are finished editing the program, unlock the controller.
6--14
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
Answers
Exercise A
4.
A. The rung should look similar to the following example:
G. BST LIM 100 AI0 200 NXB EQU AI0 300 BND OTE DO1
L. The rung should look similar to the following example:
P. To enable the quick keys, from the Tools menu, perform the
following actions:
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
6--15
6--16
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
Lesson
Question: What does the term local I/O mean? Remote I/O?
Question: When do you usually add I/O modules to your projects?
Electronic Keying
Before you add an I/O module, plan your electronic keying:
Electronic Keying
and Revision Level
7--2
Tip "
Product Code
Major Revision
Minor Revision
Example: Exact Match Keying Prevents Communication
Module Configuration
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 1
Communication is Prevented
Physical Module
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 2
7--3
Module Configuration
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 3
Communication is Prevented
Physical Module
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 2
Module Configuration
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 2
Minor Revision = 1
Communication is Allowed
Physical Module
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 2
7--4
Disabled Keying
With Disabled Keying, I/O communication may occur with a module
other than the type specified in the I/O Configuration tree with
unpredictable results.
We generally do not recommend using Disabled Keying.
Be extremely cautious when using Disabled
Keying; if used incorrectly, this option can lead to
personal injury or death, property damage, or
economic loss.
Tip "
The automatic output processing that occurs at the end of a task can
be disabled in the properties of the task.
7--5
Single Scan
Physical Device Data is
received by the input card
Rung
RPI Rate
100
COS
Rung
250
Optional
RPI Rate
Rung
400
7--6
Multicast the updated channel data and other status data to the
backplane of the local chassis
Tip "
Output States
For output modules, output states during specific situations can be
set on the Configuration tab:
Output States During
Program Mode
Output States During
Fault Mode
7--7
Diagnostics
On the Configuration screen of the wizard, the following other
parameters must be defined:
Diagnostic Features
I/O Points
Pulse Test: Briefly sends a signal that verifies the output without
energizing the load.
7--8
Heres How
7--9
7--10
Heres How
IMPORTANT: To meet IACET
CEU requirements and fully
prepare certificate students for
the final exam, you must
demonstrate all lesson objectives
using the proper job aids.
To demonstrate:
1. Open the
CCP143_1756r_DEM3.acd project.
2. Have students talk you through
adding a digital module.
3. Have student talk you through
adding an analog input module.
4. Have student talk you through
adding an analog output module.
7--11
Device
Tag (Alias)
Slot
Chan
Min / Off
Max / On
IO2_1756r_A1
12
24 VDC Sink
No Part
Part
CH0_Analog_Input
Conveyor
0--10 VDC
0.0
100.0
CH0_Analog_Meter
Conveyor
0--10 VDC
0.0
100.0
Weld Pressure
Transmitter
CH1_Analog_Input
Conveyor
0--10 VDC
0.0
1000.0
Weld Pressure
Indicator
CH1_Analog_Meter
Conveyor
0--10 VDC
0.0
1000.0
Conveyor Motor
Starter
Conveyor
Conveyor
24 VDC
Source
Conveyor Start
Pushbutton
Start
Conveyor
24 VDC Sink
Start
Conveyor Stop
Pushbutton
Stop
Conveyor
24 VDC Sink
Stop
Press Actuator
Station_Output
Station_1_Press
24 VDC
Source
Press
Command
Stake Actuator
Station_Output
Station_2_Stake
24 VDC
Source
Stake
Command
Part Present
Photoeye
Part_Sensor
Scope
Signal
Start
Command
Chan
Device
Part_Sensor_PointFlt
Conveyor
12
24 VDC Sink
Point Fault
Start_PointFlt
Conveyor
24 VDC Sink
Point Fault
Stop_PointFlt
Conveyor
24 VDC Sink
Point Fault
Conveyor_PointFlt
Conveyor
24 VDC Source
Point Fault
Alarm_High
Station_1_Press
0--10 VDC
>60
Alarm_Low
Station_1_Press
0--10 VDC
<40
Alarm_High
Station_2_Weld
0--10 VDC
>600
Alarm_Low
Station_2_Weld
0--10 VDC
<400
Scope
Signal
Trip
7--12
Slot
Assembly_Digital_Outputs
System_Digital_Inputs
Assembly_Pressure_Meters
Assembly_Pressure_Sensors
CH0_Analog_Input
CH1_Analog_Meter
CH1_Analog_Input
CH0_Analog_Meter
6. Convert the tags on the alarm list to aliases for the correct fault or
alarm bits.
7. Save your project and download it to the controller.
7--13
Monitor the tag in logic and confirm that its minimum and
maximum values match the I/O list specification.
Monitor the tag in logic and confirm that its minimum and
maximum values match the I/O list specification.
Monitor the tag in logic and confirm that its minimum and
maximum values match the I/O list specification.
Monitor the tag in logic and confirm that its minimum and
maximum values match the I/O list specification.
High and low alarms for Press and Stake Pressure Transmitter
trip on specified limits.
Monitor the alarm bits in logic and confirm they turn on at the
specified limits.
Monitor the alarm bits in logic and confirm they turn on at the
specified limits.
A. Remove the terminal block of the digital output module and
confirm the Conveyor_Flt bit turns on.
B. Replace the terminal block.
7--14
Answers
Exercise A
4. The complete I/O configuration for the should look like this:
7--15
7--16
7--17
7--18
Lesson
Scheduled Data
Scheduled Data: Information that is sent across a control-level
network, such as ControlNet or EtherNet/IP, on a regular basis. This
data has the following characteristics:
Is time critical, such as I/O status and control interlocking data
Has top priority in information exchange
8--2
8--3
Produce Option
Data Access
Options
Highest Possible
Number of
Consumers
Advanced
Settings
8--4
Local Controllers
8--5
Source Controller
(as Named in the I/O
Configuration)
Exact Name of the Produced
Tag in the Producing Controller
8--6
Tag Names
Point out that this is not the consumed
tag name.
Tip "
The Remote Data (source tag name) must be exactly the same as the
produced tag name in the producing controller.
For accuracy, the source project should be opened and the tag names
should be copied:
Producer
Consumer
Same
Producer
DINT
DINT
BOOL
TIMER
Producer
DINT
DINT
BOOL
TIMER
E 2012 Rockwell Automation, Inc. All rights reserved.
Data
Consumer
TIMER
BOOL
DINT
DINT
Data
Consumer
DINT
DINT
BOOL
TIMER
Rev. August 2012
PC3sb56r
8--7
The number (and not size) of consumed tags is totaled and counted
against the number of connections a system can support.
To limit the number of connections used, consider
grouping data into an array or a user-defined data
type and producing only that array or structure.
8--8
8--9
Advanced Tab
Enable RPI
Negotiation Here
8--10
Heres How
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM4.acd
project during the demonstration.
Use the CCP143_1756r_DEM5.acd file
to download to the controller in slot 3.
8--11
Producer
Consumer
8--12
-- Select the appropriate data type to consume the data from the
Tank_Level tag in the slot 1 controller.
8--13
15. Verify that the data from the controller in slot 1 is being
consumed by the controller in slot 3 by performing the following:
Open the Controller Tags editor for the project in slot 1 and
enter a value of 300 for the Tank_Level tag.
Confirm that 300 is now the value of the Slot1_Tank_Level
tag in the slot 3 project.
16. Go offline and close both projects.
Exercise B
8--14
Tip "
8--15
8--16
Answers
Exercise A
2. Tags must be controller-scoped to be produced or consumed.
3. Data types that can be produced would include REAL, DINT,
and user-defined data types.
4. The following configurations are required for the Tank_Level
tag:
12.
A. The following is an example of how the I/O Configuration
should look in the slot 3 controller:
8--17
8--18
Exercise B
2. The following configurations are required for the
Controller_Status tag:
10. You should first copy the Status UDT from the producing
controllers project into the consuming controllers project:
8--19
8--20
Lesson
office networks
9--2
Overview of IP Addresses
Let the students know that their will be a
brief discussion on private IP addresses
later in this lesson.
9--3
Private IP Addresses
There are a finite number of IP addresses that have been designated
as private IP addresses. The private IP addresses prohibit message
traffic from being routed to the Internet thereby avoiding conflicts
that would otherwise arise whenever two or more enterprises used
the same IP address:
Class
Private IP Addresses
10.0.0.0 -- 10.255.255.255
172.16.0.0 -- 172.31.255.255
192.168.0.0 -- 192.168.255.255
9--4
Subnet masks allow for two devices to determine whether or not they
exist on the same subnet:
If two devices are on the same subnet, they are able to
communicate directly with one another.
If two devices are on different subnets, the data must first be sent
to a router before the targeted device receives the data sent by the
source device.
9--5
9--6
Heres How
9--7
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the steps below to help guide you
during the demonstration:
Be sure to use the
CCP143_1756R_DEM6.acd file and
CCP143_1756R_DEM7.acd file. When
demonstrating the listed procedures, be
sure to point out the following items:
9--8
9--9
Production Line 2
Production Line 1
EtherNet/IP Network
Consumed
n Produced
In this exercise, you will share data with the other workstation on
your EtherNet/IP network. One controller will produce data and the
other will consume the data.
When you see underlined text, refer to the related procedure or
information in your job aid.
Directions:
1. Open the ENT_1756r_A1.acd file (the producer controller.)
2. Create a user-defined data type called Station_Data that will
store the following information from the local controller:
Member
Data type
Description
AI0
REAL
AI1
REAL
DI
DINT
Digital Inputs
9--10
Tip "
9--11
9--12
Answers
Exercise A
2. The user-defined data type should look similar to the following
example:
9--13
9--14
11. Your ladder logic should look similar to the following example:
9--15
12. Your ladder logic should look similar to the following example:
9--16
Lesson
10
10--2
Communications Formats
Give students a few minutes to
read the benefits and
considerations of each, and then
ask the questions.
Heres How
Give students a few minutes to
read the guidelines.
10--3
Situation
None
Rack Optimization
Rack Optimization
10--4
Heres How
IMPORTANT: To meet IACET
CEU requirements and fully
prepare certificate students for
the final exam, you must
demonstrate all lesson objectives
using the proper job aids.
To demonstrate:
1. Continue with either the
CCP143_1756R_DEM6.acd file or
CCP143_1756R_DEM7.acd project.
2. Have students talk you through
adding a remote module using a
direct connection.
3. Have students talk you through
adding a remote module using a
rack optimization connection.
10--5
Local
Chassis
Remote
Chassis
10--6
6. Make a new tag, DI12, an alias tag for bit 12 of the local digital
input card in slot 2.
7. Make a new tag, DO11, an alias tag for bit 11 of the the remote
digital output card in slot 4
8. Enter the following ladder logic in your MainRoutine:
10--7
10--8
Answers
Exercise A
3. Your main configuration screen for the local EtherNet/IP
module in slot 6 should look similar to the example (The
modules IP address will vary depending on your workstation
setup.):
(Continued)
10--9
10--10
Lesson
11
Task Type
Usage
Continuous
Periodic
Event
Icon
11--2
Event Task
Note that the fastest or shortest task will
not necessarily be the highest priority.
In the graphic, point out that an event
task icon has a forward arrow because
the task executes once based on a
certain conditional event.
Also, note that like a continuous task or
periodic task, an event task contains
programs, tags, and routines.
Benefits
Tip "
11--3
In this example, the event task is triggered only when the packing
tape is low:
Event Task
The properties for each event task determine when the task is
executed:
11--4
Trigger
The following triggers can initiate an event task:
Axis Registration 1
Axis Registration 2
Axis Watch
Consumed Tag
Because a controller produces and consumes data asynchronous to
the execution of its control program, the program may begin
processing with a mixture of old and new data.
Event tasks provide a way to synchronize data exchange to ensure
that a consuming controller receives all of the data before processing
begins:
After the producing controller loads the data into its produced tag,
the controller initiates an IOT (immediate output) instruction.
11--5
Tip "
Quick-Response Events
Example: A packaging line requires a
label each time a product is detected.
Because of the speed with which
product moves by the labeler, an event
task is the only way to guarantee that
every load is detected and labeled.
11--6
Ensures capture of inputs that turn on and off faster than the
continuous task scan time
Synchronized-Execution Event
Example: Synchronized-execution
event tasks work for applications such
as packaging, process loops, drive
control loops
With an event task, you can synchronize the PID calculation to the
arrival of flow transmitter data to avoid this potential error.
Throughput depends on module type, input
voltage, module temperature, filter and response
time settings, backplane size and loading, and
controller type.
11--7
Sends Data
When the
Input
Changes
from Off to
On and On
to Off
The following checklist will help you efficiently use input triggers:
- Limit the number of other modules that are in the same chassis
as the event module and controller. Additional modules
increase the potential for backplane delays.
- For digital inputs, restrict the triggering input to a single point
on the module. Disable COS for the other points. When you
enable COS, all inputs on the module trigger a single event,
increasing the chance of a task overlap.
- In general, set the priority of your event task as the highest
priority.
- Increasing the number of event tasks increases the load on the
CPU, increasing the chance of a task overlap.
- Choose modules with the best current response times.
11--8
Priority
Each periodic and event task in a controller has a priority level that
determines which task executes when multiple tasks are triggered:
Priorities are assigned by the user.
Highest Priority
Motion Task
Trend
Continuous Task
11--9
Online Properties
Length of Execution
Event Instructions
The following instructions impact event tasks:
IOT (Immediate Output)
UID/UIE (User Interrupt Disable/Enable)
11--10
IOT Instruction
An IOT instruction causes a value to be sent immediately, thus
improving response latency:
Can operate on a produced tag or an output module tag
UID/UIE Instructions
These instructions work together to prevent a small number of
critical rungs from being interrupted by other tasks:
UID instruction prevents higher-priority tasks from interrupting
the current task but does not disable execution of a fault routine
or the Controller Fault Handler.
11--11
CPS Instruction
This instruction is considered part of the
File/Misc. group of instructions. It can be
found on the File tab of the Language
Elements toolbar.
The CPS instruction copies the value(s) in the Source to the values in
the Destination:
Performs double buffering of values and manages interrupts/event
tasks:
11--12
Heres How
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM2.acd
project during the demonstration.
Timeout option
11--13
In this exercise, you will practice the basic steps for creating an
event task.
When you see underlined text, refer to the related procedure or
information in your job aid.
Directions:
1. Open the EVT_1756r_A1.acd project.
2. Create a new Event task with the following properties:
Name: Alarms
Trigger: EVENT Instruction Only
Priority: 5
Watchdog: 100 ms
3. Add the unscheduled Alarm_Control program to your new
Event tasks program schedule.
4. Open the MainRoutine within the MainProgram of the
Continuous task.
5. Create a rung of ladder that will momentarily trigger execution of
the Alarms Event task when DI12 (Local:2:I.Data.12,
program-scoped tag) is enabled.
6. Save your project.
7. Verify you correctly configured your Event task by performing
the following:
A. Download the project to the controller in slot 1.
B. Change the controller operating mode to Remote Run.
C. Toggle selector switch DI12 and confirm the output lights on
your workstation begin to flash.
8. Close your project.
11--14
Exercise B
DI12
DI13
DI14
DI15
Tip "
11--15
8. In the space below, list your tasks from highest priority to lowest
priority according to the values assigned:
Tip "
So far, this is a simple application with only a few short tasks and
little task overhead.
9. In the event task, create a new program named
Low_Tape_Alarms.
10. Create a ladder diagram routine named Alarm_Control within
the program.
11. Assign Alarm_Control as the main routine of the
Low_Tape_Alarms program.
12. Make the controller-scoped tag Alarm_1 an alias for
Local:4:O.Data.10.
13. Make the controller-scoped tag Alarm_2 an alias for
Local:4:O.Data.11.
14. Enter the ladder logic to enable two alarm lights when the task is
active: Alarm_1 and Alarm_2. Put these on an unconditional
rung.
15. Save your project.
Before performing Step 16., turn the bottom row
of inputs (selector switches) off (to the left).
Tip "
11--16
G. To indicate that the width of the tape is now low, set DI15 to
the right.
H. Did DO10 and DO11 turn on?
Exercise C
Tip "
11--17
Contains the
percent of
rejects created.
11--18
18. When the station light (DO3) is off, toggle the part sensor switch
from left to right and then back to left.
Now there are two parts moving down the conveyor. You will see
two stations, Press and Stake active (DO3 and DO4).
19. When both station lights are off, toggle the part sensor switch
(DI12) from left to right and then back to left.
Now you will see all three assembly stations Press, Stake, and
Weld, activate.
Tip "
When the first part has reached station four it will be evaluated for
quality. A part will be rejected if the pressure values are out of range
(40% to 60% is acceptable).
20. Monitor the ladder logic that you entered to enable the event task.
Tip "
Tip "
11--19
11--20
Answers
Exercise A
2. Your task should contain the following information:
11--21
Exercise B
6. Your Enable Change of State options should look like the
following example:
11--22
15. The logic you created should look similar to the following:
11--23
16.
D. No, outputs DO10 and DO11 did not turn on.
F. No, outputs DO10 and DO11 did not turn on.
H. Yes, outputs DO10 and DO11 did turn on.
Exercise C
7. Your task should contain the following information:
11--24
Tip "
11--25
12. The following code will enable the task when the
Percent_Rejected value is more than (or equal to) 3:
Static Value
Program Control
Instruction
11--26
Lesson
12
12--2
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
GSV/SSV Parameters
Instance
Attribute
Source (SSV) or destination (GSV)
Class
Show students examples of object
classes in the Online Help.
Category
Instance
Note that this is one reason that naming
I/O modules with a descriptive name
(using purpose or location, for example)
is beneficial.
Specific Component
Attribute
Note that not all attributes are able to be
retrieved and set.
Property to Monitor
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--3
Source or Destination
Add that the layouts of the required
source or destination data types are
detailed in the documentation reference
guide and in the online Help system.
12--4
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Tag
User-Defined
Data Type
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--5
Status Flags
Stress that most controller values are
accessed using GSV and SSV
instructions.
Controller status and arithmetic status flags can also be examined for
specific data.
12--6
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
First scan
S:FS
Minor fault
S:MINOR
Overflow
S:V
Zero
S:Z
Sign
S:N
Carry
S:C
Fault Types
The controller detects three main categories of faults:
Non-recoverable major fault
Recoverable major fault
Minor fault
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--7
Flashing Red
(Solid in Some Controllers)
-- Power loss
-- Loss of critical I/O
-- Array subscript errors
12--8
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
When a program fault routine does not exist or could not clear an
instruction-related fault
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--9
Program
Main Routine
Subroutine
Logix5563
Flashing Red
12--10
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
If any of the faults are not cleared by the controller fault handler,
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--11
With a minor fault, the following changes take place in the system:
The program scan and normal I/O control continues.
The controller OK LED remains solid green.
Logix5563
Normal
Operating
State
Solid Green
12--12
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Heres How
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM2.acd
project during the demonstration.
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--13
Tip "
12--14
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
9. Modify your ladder logic so that the rung could be copied to any
program and still retrieve the max scan time without additional
modification.
10. Copy the Max_Scan_Time tag and the ladder logic into the main
routines of the other three programs.
11. Verify and save your project.
12. To test your work, verify that a scan time is recorded in each of
the four ladder logic instructions.
Exercise B
In this exercise, you will practice retrieving controller status data and
store this information in a user-defined data type.
Context:
Using the project in the controller in slot 3, you want to record shift
numbers based on controller status data. You are now ready to
retrieve the current controller wall clock value.
When you see underlined text, refer to the related procedure or
information in your job aid.
Directions:
1. Open the GS2_1756r_B1.acd file.
2. Based on the WallClockTime Date/Time information in the Help
system, create a user-defined data type called DateTime that will
store the current wall clock time.
3. Create a tag called Wall_Clock that uses the DateTime data type
that you just created.
4. Open the MainRoutine of the Shift_Calculation program in the
Periodic Task.
5. Draft the ladder diagram required to retrieve the current clock
time from the controller and store it in the Wall_Clock tag.
Tip "
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Tip "
12--15
14:59
15
22:59
23
6:59
Exercise C
In this exercise, you will practice retrieving controller status data and
assigning a fault routine.
Context:
You must program a fault routine that will capture a controllers
major fault record and clear the fault record. You must develop logic
that faults the controller to test the fault routine.
When you see underlined text, refer to the related procedure or
information in your job aid.
Directions:
1. Open the GS2_1756r_C1.acd file.
2. Create a user-defined data type named MajorFaultRecord with
the following elements:
Name
Data Type
TimeLow
DINT
TimeHigh
DINT
Type
INT
Code
INT
Info
DINT[8]
E 2012 Rockwell Automation, Inc. All rights reserved.
GS2e56r
12--16
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Tip "
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--17
12--18
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Answers
Exercise A
4. The fault can be cleared by selecting the Clear Majors button
from within the Controller Properties dialog box:
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--19
9. Because the THIS instance name was used, the ladder logic
could easily be copied to the three machine stations.
Exercise B
2. The following user-defined data type was created to store the
date/time information in a readable form:
12--20
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
This is a tag of a
user-defined
data type named
DateTime.
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--21
12--22
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Exercise C
2. The structure of your MajorFaultRecord data type should be
configured similar to the following:
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
12--23
10. The rung you placed the SSV instruction on should now look
similar to the following:
12--24
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Lesson
13
The destination (Dest) bit identifies the lowest bit number to start
with in the destination (Dest).
The Source value remains unchanged.
13--2
Source Bit
value_1
Before BTD
Instruction
value_1
After BTD
Instruction
AFTER MOVE:
Heres How
Example
BTD Instruction
13--3
This example gets status information about an I/O module and uses a
BTD instruction to make the information easier to use:
1.
2.
3.
4.
5.
13--4
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the BTD_1756R_DEM1.acd file for
your demonstration.
After you demonstrate, ask each key
point as a question and have the
students tell you what they noticed.
Your Turn
13--5
Bits 11--8
Bits 13--12
Bits 15--14
Bit Pattern
Meaning
Reserved
0000
0001
0010
0011
0100
0101
0110
0111
0001
0010
0100
1000
01
10
11
01
10
reserved
flash update in progress
reserved
reserved
flash is bad
faulted
run
program
recoverable minor fault
unrecoverable minor fault
recoverable major fault
unrecoverable major fault
keyswitch in run
keyswitch in program
keyswitch in remote
controller is changing modes
debug mode if controller is in Run
mode
13--6
Directions:
1. Open the BTD_1756R_A1.acd project file.
2. Open MainRoutine.
RUN
REM
13--7
13--8
Answers
Exercise A
3. The following graphic shows how to set up the BTD
instruction:
Rung 0
Rung 1
Lesson
14
Unscheduled Data
Unscheduled Data: Non-deterministic information that is not time
critical. This type of data has the following characteristics:
Transmits after all scheduled data has been sent
Can be any of the following:
-- Connection establishment
-- Programming data (uploads and downloads)
-- Ladder-initiated, peer-to-peer messaging data (MSG
instruction)
14--2
3. Program an
MSG Instruction
4. Configure the
MSG Instruction
14--3
the data you want to read in the target device. Use the
addressing syntax of the target device.
-- For a write message type, the source tag is the tag of the data
in the Logix5000 controller that you want to send to the target
device.
Number of Elements: The number of elements to be transferred.
The number of elements you read/write depends on the type of
data you are using.
Destination Element: The tag or logical address to which the
data will be transferred:
-- For a read message type, the destination tag is the tag in the
Logix5000 controller where the data being read from the
target device will be stored.
-- For a write message type, the destination element is the
address in the other device (remote device) where the data will
be written.
Rev. August 2012
14--4
Tip "
Point out the following in the address:
S
1, ENET_Module, 2, 130.151.138.104, 1, 3
Numeric Communications Path
Module Name
14--5
Tip "
-----
Message Execution
Have the students open the
Documentation Reference Guide.
Review the MSG bits and their functions.
Point out the information on MSG error
codes.
Note that the enhanced message debug
tools also provide error codes that
reduce ambiguity in error messages.
14--6
Heres How
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM2.acd
project during the demonstration.
14--7
Network
Local Line
14--8
Tip "
Tip "
Tip "
14--9
16. Test your system by performing the following actions and placing
a check in each completed box:
Press DI7.
Monitor the Count_Passed_Line_2 tag.
Record the value: _____________________
At the other production line (workstation) create one or
more new parts.
To create a new part, toggle DI12 from the left then to the right.
Tip "
Exercise B
14--10
Tip "
Tip "
14--11
C. Verify that the diagnostic fault lights for the module are on
and that the fault tags each contain a 1.
D. Replace the wiring arm.
E. Acknowledge the alarm and reset the module by pressing
pushbutton DI6.
F. Verify that the module LEDs and the alarm light are reset.
G. Go offline.
14--12
Answers
Exercise A
5. The I/O configuration for an EtherNet/IP network should
appear as follows:
14--13
14--14
Exercise B
If your project is not functioning correctly, verify that you have
completed the following actions:
- Created a controller-scoped tag of the message type for the
message instruction
- Made the Part_Sensor_Fault tag an alias tag for
Local:2:I.OpenWire.12
- Created a source tag (DINT) with each reset value bit set to 1
- Created the ladder logic in the routine and configured the
MSG instruction
- Selected the input module in the Communications tab
The following alias tags and configurations were completed:
Alias for an
Open-Wire Fault
on the Part
Sensor
Lesson
15
Tip "
Add-On Instructions
Add-On Instruction: An instruction that you build from the built-in
instructions in the controller. An add-on instruction:
Is similar to a subroutine
15--2
15--3
15--4
15--5
Parameters
When you create an add-on instruction, you set up parameters for the
instruction:
15--6
15--7
15--8
Context menu
(Controller Organizer only)
Data Monitor
Logic Editor
Watch Pane
Tip "
Version 18 improves the false scan times of AOIs that arent using an
EnableInFalse routine. See Knowledgebase ID #53903 for ways to
improve the false scan time if you need to use an EnableInFalse
routine.
Heres How
Keep the visuals open.
Example
Relate this to a real system. It could
have many gates, all of which use the
same logic to detect a jam.
15--9
Here are the parameters and local tags for the instruction:
Value
Use?
Required?
Visible?
n Input parameter
E. How long to let the photoeye stay on before the instruction flags a jam. You
want to be able to configure this value.
F. Flag that there is a jam. You want to see this and use it in your application
code.
G. Timer that times how long the photoeye is on. You really dont care about
the accumulated value.
Your Turn
Output parameter
Local tag
n
n
n
n Input parameter
Output parameter
Local tag
Input parameter
n Output parameter
Local tag
Input parameter
Output parameter
n Local tag
Now its your turn. Do Exercise A and return here when youre done.
15--10
After you plan the parameters for an add-on instruction, you have to
make these decisions about its logic:
Language for the Logic routine
Organization of the Logic routine
Structured text
You can use the instruction in any language, regardless of which
language you use for the Logic routine.
Sub-Activities, Such
as Starting the Motor
and Watching for Jams
15--11
1.
2.
3.
4.
The controller . . .
Notes
15--12
Heres How
Keep the visuals open. Present the
decision. Then apply it to the example.
Example
Your Turn
Now its your turn. Do Exercise B and return here when youre done.
15--13
Once you have your general design, its time to create and test the
definition. To do that, youll need to be familiar with:
Accessing parameters via logic
Editing the instruction
15--14
Export
Import
Tip "
15--15
15--16
Heres How
IMPORTANT: To meet IACET
CEU requirements and fully
prepare certificate students for
the final exam, you must
demonstrate all lesson objectives
using the proper
job aids.
Use AOIL_1756R_DEM1.acd for
the rest of the demonstration.
Tip "
Youve already done the first part of this procedure when you
planned the parameters for the instruction.
Example
15--17
15--18
Input Parameter
DINT
Not Required
Input Parameter
BOOL
Required
Not Visible
Local Tag
Output Parameter
BOOL
Not Required
Visible
Example
15--19
Technologies
15--20
Heres How
Add the example below to the project.
Then use the maintained switched on
the workstation to simulate a jam. Make
sure to show the instructions logic as it
executes.
Example
Point out that youre seeing the data for
this instance. This would be more
difficult if this were a subroutine with
multiple calls to it. The data may be
constantly changing to reflect each call.
Heres How
IMPORTANT: To meet IACET
CEU requirements and fully
prepare certificate students for
the final exam, you must
demonstrate all lesson objectives
using the proper job aids.
15--21
You also want the option to do the following actions based on the
application:
Jog the motor
Set a fault if the auxiliary contact of the motor doesnt open or
close within a specified time
Directions:
For each of the values in the following table, check whether youll
use it as an input parameter, output parameter, or local tag. Also
check if it will be required or visible. Use the context information to
help you decide.
15--22
Value
Use?
C. State of the pushbutton that jogs the motor. You want the option to use a
jog pushbutton or not use one based on the application.
D. Bit that stores the combined status of the start and stop inputs. The
instruction uses this bit and the jog input to determine whether to run the
motor.
F. State of the motors auxiliary contact. It signals the instruction that the
motor is running. You want the option to use the auxiliary contact or not
based on the application.
G. Timeout value in milliseconds to wait for the auxiliary contact to open or
close. The instruction signals a fault if the contact doesnt open or close
within this time. Youll use the auxiliary contact for some applications but
not others. You also want to be able to set the timeout value based on the
application.
H. Bit that tells the instruction that youre using the auxiliary contact of the
motor. You dont want to have to set this bit. Youll set up the instructions
logic to control this bit based on whether or not theres a timeout value.
I. Fault bit that shows you that the auxiliary contact timed out and the motor
didnt start or stop as commanded
J. Timer that creates a timeout for the auxiliary contact. You can easily write
code to move the timeout value from above into the timers preset value.
K. Bit that youll turn on to clear the fault bit. You want to option to use it or not.
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Input parameter
Output parameter
Local tag
Required?
Visible?
Exercise B
15--23
Yes
No
Yes
No
15--24
Exercise C
Value
Name
Motor_Starter
Description
Type
Ladder diagram
Yes
Open Definition
Yes
15--25
Usage
Alias for
Data type
Description
Stop
Input parameter
BOOL
Enter the tag that gives the stop command for the motor.
Start
Input parameter
BOOL
Enter the tag that gives the start command for the motor.
Jog
Input parameter
BOOL
Jog command for the motor. To jog the motor, turn on this bit.
To stop the jog, turn off this bit.
AuxContact
Input parameter
BOOL
ClearFault
Input parameter
BOOL
Out
Output parameter
BOOL
Fault
Output parameter
BOOL
Fault_Time
Input parameter
DINT
Enter the time (ms) to wait for the auxiliary contact to open or
close. The Fault bit turns on when that time is up.
RunCommand
Local tag
BOOL
CheckAuxContact
Local tag
BOOL
FaultTimer
Local tag
TIMER
Fault_Timer.PRE
15--26
6. Click the Help tab of the instructions definition to see how the
instruction looks.
It should look like this:
And simulates . . .
DI12_Stop
Switch DI12
DI0_Start
Pushbutton DI0
DO1_Motor
Light DO1
Motor
15--27
A. Turn on DI12
B. Press DI0
D. Turn on DI12
13. Add a rung of logic that lets Motor_Starter_01 read the state of
DI13_Aux_Contact. This simulates using the auxiliary contact of
the motor.
14. Add a rung of logic that turns on DO2_Fault if the fault bit of
Motor_Starter_01 turns on.
15. Set the Fault_Time parameter of Motor_Starter_01 to 1000 ms.
Make sure you set the Fault_Time for this
instance of the instruction. Dont change the
definition.
16. Test that Motor_Starter_01 sets its fault bit if the auxiliary
contact of the motor doesnt close:
Do this . . .
Nothing. This simulates the normally closed position of the stop pushbutton.
D. Turn on DI12.
Nothing. This simulates the normally closed position of the stop pushbutton.
Exercise D
15--28
Directions:
1. Export the Motor_Starter instruction.
2. Close the RSLogix project but leave RSLogix 5000 software
open.
3. Open the AOIL_1756R_D2.acd project file.
4. Import the Motor_Starter instruction.
15--29
15--30
Answers
Exercise A
Value
Use?
A. State of the
pushbutton that
starts the motor
n Input parameter
B. State of the
pushbutton that
stops the motor
n Input parameter
C. State of the
pushbutton that jogs
the motor
n Input parameter
Output parameter
Local tag
Output parameter
Local tag
Output parameter
Local tag
Input parameter
Output parameter
G. Timeout value in
milliseconds to wait
for the auxiliary
contact to open or
close.
H. Bit that tells the
instruction that
youre using the
auxiliary contact of
the motor.
n Output parameter
n
n
n
n
n
n
n
Local tag
n Input parameter
Output parameter
Local tag
n Input parameter
Output parameter
Local tag
Input parameter
Output parameter
n Local tag
Input parameter
Local tag
Input parameter
Output parameter
n Output parameter
Reason
Its an input parameter because you pass this value
into the instruction. Make it required so you can
assign the tag for the pushbutton directly to the
parameter. All required parameters are also visible.
Input parameter
Visible?
n Local tag
Required?
n Local tag
n Input parameter
Output parameter
Local tag
15--31
Exercise B
1. No, you dont need an EnableInFalse routine. The Logic routine
will execute all the time since the rung condition will always be
true.
2. Yes, you need the EnableInFalse routine if you use input
conditions to make the rung false. In that case, use the
EnableInFalse routine to reset outputs. Otherwise, the motor
could be left running even when the rung goes false.
Exercise C
2. The New Add-On Instruction dialog box should look like this:
15--32
15--33
15. Open the properties for Motor_Starter_01 and enter 1000 into
Fault_Time:
Exercise D
4. The Add-On Instructions folder should look like this:
15--34
Lesson
16
File Storage
RSLogix 5000 projects can be stored using the following file
formats:
.acd -- a standard file format
.l5k -- an exported text file
Tip "
16--2
Save
Bottling.acd
Tip "
Bottling.acd
Export
(Save As)
Bottling.acd
Export
(Save As)
16--3
Bottling.l5k
Import
(Open)
Import/Export Version
16--4
Bottling.l5x
Import
(Open)
The .l5x file contains the project file in XML format, as shown in the
following graphic:
The .l5x file allows users to manipulate the application source using
text editing tools; build tools to auto-generate projects; and extract or
merge code fragments to build new projects.
Rev. August 2012
FI2sb56r
16--5
Tip "
Note that the Compare tool must be
installed and launched separately from
the main software. It is available on the
RSLogix 5000 software CD-ROM
(version 12 or later).
Add that the report can be saved as an
HTML file or XML file.
Compare Tool
This tool allows you to perform project-to-project comparisons:
Project structure
Tip "
This tool can only be used for .acd files created in version 10 or later.
Tip "
16--6
Heres How
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM2.acd
project during the demonstration.
16--7
Tip "
Save the project using the same name. Save it in the default project
directory.
5. Open Windowsr Explorer.
6. Locate the RSLogix 5000 software default project directory.
7. From the View drop-down list or using the toolbar icon shown
below, select Details so that the file sizes and dates of the projects
are displayed.
16--8
B. Import/Export version:
C. Major revision:
D. Minor revision:
E. Chassis size:
12. How would you find the elements listed in Step 11. using the .acd
file?
16--9
16. Open the .l5x file to see how its structure is different from the .l5k
text file.
17. Open a new instance of RSLogix 5000 and import the .l5x file.
16--10
Answers
Exercise A
9. The approximate size of the .acd file is 400KB. The
approximate size of the .l5k file is 20KB. The approximate size
of the .l5x file is 65KB.
11. The text file uses this format:
Import/Export Version
Major Revision
Major Revision
Chassis Size
Minor Revision
12. Using the .acd file, you can find the RSLogix 5000 software
version from the Help menu. The Major revision, minor
revision, and chassis size information can be accessed using the
Controller Properties feature. The import/export version is not
viewable from the .acd file.
13. For some, RSLogix 5000 .acd files may be easier to modify
because of the graphical nature. For others, text files may be
easier to modify. XML files can offer more flexibility when
reusing code. Remember that text files and XML files cannot be
downloaded directly to a controller.
Lesson
17
Allocating Connections in a
Logix5000 System
What You Will Learn
Connections
A connection is an established communications link between two
devices or components in a Logix5000 system. Connections may
take many forms, including the following:
Controller to I/O (local or remote)
Controller to communications modules
17--2
? What is an array?
Answer: A numerically indexed
sequence of tags, for example,
Size[3,5].
Produced Tags
Connections
Height (Dint)
Height
Width (Dint)
Width
Weight (Real)
Weight
W_Flag (Dint)
W_Flag
L_Flag (Dint)
L_Flag
3
15 connections
Produced Tag
Load_Info (user-defined
data type made of source
tags)
Connections
3 connections
17--3
Message Connections
Note that the cache bit is set or cleared
in the Message Configuration dialog
box, which is accessed through the
ellipses button in the MSG instruction.
Note that opening a new connection for
each message execution increases
execution time.
Continuous
Connection
Heres How
IMPORTANT: To meet IACET
CEU requirements and fully
prepare certificate students for
the final exam, you must
demonstrate all lesson objectives
using the proper job aids.
2. Briefly read the tables for local and remote connection tallies.
17--4
Heres How
2.
3.
4.
17--5
17--6
Answers
Exercise A
1. Your answer should be similar to the following example:
Connection Type
Device Quantity
Connections per
Module
Total
Connections
Produced tags
--
--
--
Consumed tags
Block-transfer message
0
14
Lesson
18
18--2
18--3
Tip "
Channel
High Signal
High Eng.
Low Signal
Low Eng.
10.0
10.0
0.0
0.0
10.0
10.0
0.0
0.0
0
OF6VI
(0--10V)
1
Alarms
Limits
High High
High
Low
Low Low
----
High
Clamp
------
Low
Clamp
10
--10
10
--10
18--4
Tag Name
Read_Order
Read_Order
Local:2:I.Data.0
Local:2:I.Data.4
Process_Order
Apply_Paint
Local:0:O.Data.3
Local:0:O.Data.4
Process_Order
Meter
Local:7.O.Ch0Data
Local:7.O.Ch1Data
Process_Order
Order_In_Progress
Local:0:O.Data.0
Local:0:O.Data.1
Process_Order
Process_Order
Local:2:I.Data.1
Local:2:I.Data.5
Process_Order
Shrink_Wrap
Local:4.O.Data.6
Local:4.O.Data.7
Tip "
DI0
DO0
DI1
DO3
DI2
DO6
DI4
DO1
DI5
DO4
DI6
DO7
AI0
AO0
Analog Meter
Analog Meter
Digital Outputs
Analog Outputs
Label
Description
Slot
I/O Tag
DI4
DI5
DO1
DO4
DO7
Digital Input 4
Digital Input 5
Digital Output 1
Digital Output 4
Digital Output 7
2
2
0
0
4
Local:2:I.Data.4
Local:2:I.Data.5
Local:0:O.Data.1
Local:0:O.Data.4
Local:4:O.Data.7
AO1
Analog Output 1
Local:7:O.Ch1Data
Tip "
Analog Input
AI1
AO1
Digital Inputs
18--5
Analog Input
Routine Name
Tag Name
Line_A
Read_Order
MSG_Read_LineA
Line_B
Read_Order
MSG_Read_LineB
Line_A
Read_Order
Order_QuantityA
Line_B
Read_Order
Order_QuantityB
18--6
15. Within the same rung as the message instruction, change the
operand of the XIC instruction that utilizes the
MSG_Read_LineA.DN tag to the MSG_Read_LineB.DN tag.
16. Cross-reference the MSG_Read_LineA tag and go to the rung
within the Line_A program that utilizes this tag.
17. Modify the communications path of the MSG_Read_LineA
message control tag to point to the remote controller in slot 3
18. Verify your changes and correct any errors.
19. Download the project to the controller in slot 1.
20. Place the controller in Remote Run mode.
Tip "
B
C, H
D
E
F
G
Remote
Workstation
Analog Meter
Analog Meter
Analog Input
Analog Input
18--7
B
C, H
D
E
Analog Meter
G
F
Analog Input
A
Analog Meter
Remote
Workstation
Analog Input
C. Now insert the controller back into slot 3 and push the
Read_Order button again. The Order_In_Progress light
should now be on.
Tip "
18--8
Tip "
18--9
18--10
Answers
Exercise A
2. The main configuration screens for the analog module are
shown in the following graphics:
(Continued)
18--11
18--12
4. The tag properties for Meter should look like the following
example:
18--13
10. MainRoutine should now be the main routine for the Line_B
program:
18--14
11. Your Line_B Program Tags editor should now look similar to
the following:
(Continued)
18--15
18--16
15. The rung with the message instruction in the Line_B program
should be configured similar to the following:
18--17
26.
B. The Order_In_Progress light will not come on if the
controller in slot 3 is removed because the logic tests for the
done bit of a message instruction to that controller in slot 3.
If the controller is not there, the done bit will not go high.
27. The following examples show the event task configuration and
the Shrink_Wrap_Low tag alias information:
18--18
29. The following example shows the produced tag in the slot 1
controller:
(Continued)
18--19
Tip "
18--20
Optional Lesson
19
Key Terms
The following terms are defined as they relate to a ControlNet
network in a Logix5000 system:
ControlNet Nodes
Note that the 1784-PCICS card is used
for computers with faster processing
speeds.
If you do not have these cards available
but there is a Logix5000 system on the
network with an EtherNet/IP card, you
can use EtherNet/IP as a bridge to the
ControlNet network when working with
RSNetWorx for ControlNet software.
ControlNet-compatible devices
Rev. August 2012
19--2
ControlLogix System
ControlLogix System
ControlNet Network
VersaView
Operator Interface
PLC-5/40C Controller
CompactLogix
System
ControlLogix System
A CompactLogix controller
A PLC-5C processor
An SLC 500 processor
There can be up to 99 nodes on a ControlNet network. Nodes on a
ControlNet network must meet the following requirements:
Nodes must be in the range of 1 to 99.
19--3
Cable System
Point out each component of the
ControlNet cable system connecting
workstations in the classroom. If you
have a repeater, show it to the students.
Segment
Tap
Terminator
Repeater
Node
Cable connectors
Trunk cable:
-- RG-6 coax cable or special-use cable
-- 1000 m with 2 devices and 250 m with 48 devices
-- Each tap subtracts 16.3 m from allowable segment length
-- Flexible topology including bus, tree, and/or star
Terminators
Repeaters, depending on the design
Up to 99 nodes can be connected on a ControlNet
network. 48 nodes can exist on one segment; after
48, a repeater must be used.
Tip "
19--4
Tip "
Note that this document is part of the
Logix5000 Documentation Reference
Guide.
Network Services
The ControlNet networks function is to transmit the following two
types of information on the same link:
Scheduled (time-critical data)
Unscheduled (non-time critical data)
Scheduled Service
Data that is sent across a network on a regular basis is transmitted as
scheduled data. This data has the following characteristics:
Is time critical, such as I/O status and control interlocking data
Tip "
Unscheduled Service
Stress that scheduled data, such as
control and I/O data, is given highest
priority on the ControlNet network. Other
information, such as programming or
upload and download operations, does
not interfere with the transport of control
and I/O data.
19--5
Communication
Close
Connection
The connection is
closed.
The NUT is the repeatable base time at which the network transmits
data (scheduled, unscheduled, and maintenance data). The NUT has
the following characteristics:
A configuration of 2 to 100 milliseconds is possible for the NUT.
The value of the NUT includes peer-to-peer, digital, and analog
data.
Data cannot be transferred faster than the NUT.
19--6
Tip "
NUT
Scheduled
Operations
Unscheduled
Operations
Maintenance Update
(Guardband)
...
...
The SMAX is the maximum node number (1 to 99) that can transmit
and receive data during the scheduled portion of the NUT. Keep in
mind the following guidelines when determining the SMAX value:
Nodes at or below the maximum scheduled node transmit every
NUT in the same sequential order (i.e., 1, 2, 3, then 1, 2, 3 . . .).
SMAX.
Each node falling under SMAX can transmit up to 510 bytes of
data during its turn:
-- More than 500 bytes can be sent by one node. However, only
500 bytes can be transferred at one slot time.
-- The bandwidth in this portion of the NUT is reserved and
configured in advance to support real-time data transfer.
-- The boundary for the scheduled portion of the NUT will move
depending on the use of bandwidth.
Slot time is the calculated time a node will wait for a missing
address before taking its turn to transmit:
-- Slot time is based on the physical attributes of the network
including the cable length and the number of repeaters.
Rev. August 2012
CN2sb56r
19--7
Example: SMAX
Here is the order of scheduled data transfer:
NUT
1
3
4...n
1
3
4...n
4...n
...
...
SMAX
Slot Time
19--8
Example: UMAX
Answer: Node 1.
In the graphic, point out that
if time remains after the
UMAX is reached, the
remaining time starts over
with node one (scheduled . .
nodes).
8
9
9
10
11
1
2
10
3
11
12
...
UMAX
Media Redundancy
19--9
Update Intervals
The configured or requested node transmit time may be different
than the actual transmit time, as described in the following intervals:
RPI (Requested Packet Interval)
19--10
Answer: 64 ms
2. 31 ms
Answer: 16 ms
3. 2 ms
Answer: 2 ms
Producer/Consumer model
2 ms
2 ms
2 ms
2 ms
Data
Data
Interval 1
Interval 2
Interval 3
Interval 4
Interval 5
19--11
19--12
Online Option
Enable Edits
Option
Online Bandwidth
Percentages
Network
Diagram
UMAX -- Up to 24 programming or
other nonscheduled devices.
Current Online
Values
19--13
Pending
Changes
Tip "
19--14
Heres How
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Be sure to use the
CCP143_1756R_DEM6.acd file and
CCP143_1756R_DEM7.acd file.
19--15
Production Line 2
Production Line 1
ControlNet Network
Consumed
n Produced
Member
Data type
Description
AI0
REAL
AI1
REAL
DI
DINT
Digital Inputs
19--16
Tip "
19--17
19--18
Answers
Exercise A
2. The user-defined data type should look similar to the following
example:
19--19
19--20
11. Your ladder logic should look similar to the following example:
19--21
12. Your ladder logic should look similar to the following example:
19--22
Optional Lesson
20
Digital Input
Digital Output
N/A
An output receives data from the owner-controller only at the RPI rate.
Analog Input
The RPI only determines when the owner- controller receives the data
over the network.
Analog Output
N/A
An output receives data from the owner-controller only at the RPI rate.
" The timing may not coincide with the exact value of the RPI;
however, the owner-controller will receive data at least as often as
the RPI.
20--2
Heres How
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully prepare
certificate students for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Continue with the RSLogix 5000 project
you used for sharing data over a
ControlNet network.
Note that if you saved the demonstration
file from the Configuring Logix5000
Controllers to Share Data over a
ControlNet Network lesson, it is not
required to configure the remote I/O
module.
20--3
Production Line
Local
Chassis
Tip "
ControlNet Network
Remote
Chassis
20--4
10. When both lines are ready, reschedule the ControlNet network.
11. Test the project and verify that you have correctly configured the
remote I/O by performing the following actions:
A. Start the conveyor by energizing DI12.
B. Verify that the remote I/O light DO11 on the other
workstation is on.
C. Turn off DI12 and verify that the remote I/O light on the
other workstation is off.
D. When the project functions correctly, go offline.
20--5
20--6
Answers
Exercise A
3. Your main configuration screen for the local ControlNet module
in slot 5 should look similar to the example (The ControlNet
node number will vary depending on your workstation setup.):
20--7
20--8
(Continued)
20--9
10. If you did not receive the appropriate system response after
rescheduling the ControlNet network, verify that you have
completed the following actions:
- Set the SMAX to be equal to the highest number node that
can use scheduled time on the network
- Set the UMAX to be equal to the highest number node that
can use unscheduled time on the network
- Reschedule the network if any changes were made after the
first rescheduling
20--10
Appendix
+DC- 0
+DC- 0
+DC- 0
+DC- 0
+DC- 0
+DC- 0
+DC- 0
OUT- 0
DO0
OUT- 1
DO1
OUT- 2
10
OUT- 3
DO3
12
OUT- 4
DO4
11
OUT- 5
DO5
6
8
14
16
+DC- 1
30
GND- 1
GND- 1
Not Used
32
BLACK
GND- 0
+DC- 1
+DC- 1
+DC- 1
+DC- 1
+DC- 1
+DC- 1
CONVEYOR
DO2
18
20
22
24
26
28
34
36
BLACK
RED
APPLICATION
OUTPUT
24VDC
A--2
BLACK
BLACK
GND- 0
GND- 1
GND- 1
GND- 1
10
12
11
IN- 4
IN- 5
14
13
IN- 6
GND- 1
GND- 2
GND- 2
GND- 2
GND- 2
GND- 3
GND- 3
GND- 3
16
15
18
17
20
19
22
21
IN- 7
IN- 8
IN- 9
IN- 10
24
23
26
25
28
27
30
29
GND- 3
GND- 3
NOT USED
32
31
34
33
IN- 11
IN- 12
IN- 13
IN- 14
IN- 15
NOT USED
36
35
NOT USED
DI0
DI1
DI2
DI3
DI4
DI5
DI6
DI7
DI8
DI9
DI10
DI11
DI12
APPLICATION
OUTPUT
+24VDC
START
PART SENSOR
DI13
DI14
DI15
BLACK
BLACK
IN- 0
IN- 1
IN- 2
IN- 3
GND- 0
GND- 0
GND- 0
LABEL
A--3
+DC- 0
+DC- 0
+DC- 0
+DC- 0
+DC- 0
+DC- 0
+DC- 0
2
4
6
8
12
13
GND- 0
+DC- 1
+DC- 1
+DC- 1
+DC- 1
+DC- 1
+DC- 1
+DC- 1
16
15
18
17
GND- 1
GND- 1
NOT USED
32
BLACK
14
22
21
24
23
OUT- 11
19
G
A
R
G
A
R
DO6
DO7
DO8
DO9
DO10
DO11
26
28
30
34
36
BLACK
RED
OUT- 6
OUT- 7
OUT- 8
OUT- 9
OUT- 10
20
APPLICATION
OUTPUT
WORKSTATION LABEL
DEVICE
10
+24VDC
A--4
AO1 (Channel 1)
AO0
Return
WORKSTATION
DEVICE
OUT- 1
OUT- 0
NOT USED
NOT USED
RTN- 1
RTN- 0
OUT- 3
OUT- 2
NOT USED
10
NOT USED
RTN- 3
12
11
RTN- 2
NOT USED
14
13
NOT USED
OUT- 5
16
15
OUT- 4
NOT USED
18
17
NOT USED
RTN- 5
20
19
RTN- 4
AO0 (Channel 0)
AO1
Return
A--5
+10VDC
WORKSTATION
DEVICE
AI1
(Channel 1)
AI1
Return
WORKSTATION
DEVICE
IN- 1/V
IN- 0/V
IN- 1/I
IN- 0/I
RET- 1
RET- 0
IN- 3/V
IN- 2/V
IN- 3/I
10
IN- 2/I
RET- 3
12
11
RET- 2
NOT USED
14
13
NOT USED
IN- 5/V
16
15
IN- 4/V
IN- 5/I
18
17
IN- 4/I
RET- 5
20
19
RET- 4
AI0
(Channel 0)
AI0
Return
A--6
DI6
DI5
DI11
DO11
DI15
DI10
DO8
DI14
DO5
DI13
DI12
DO10
DI7
DI3
DO9
DI9
DO4
DO6
DO3
DO7
DI2
DI1
DI8
DO2
DI4
DO1
DI0
DO0
Ch01 Analog
Meter Output
Ch00 Analog
Meter Output
Ch01 Analog
Meter Input
Ch00 Analog
Meter Input
Appendix
B--2
The devices used in the workstation have the following I/O base
tags:
Module
Digital Input
wired to Slot 2
Digital Output
wired to Slot 0
Digital Output
wired to Slot 4
Workstation Device
DI0
DI1
DI2
DI3
DI4
DI5
DI6
DI7
DI8
DI9
DI10
DI11
DI12
DI13
DI14
DI15
D00
D01
D02
D03
D04
D05
D06
D07
D08
D09
D010
D011
Appendix
Node Assignments
If you are in an environment with multiple workstations on a
ControlNet or EtherNet/IP network, ask your network specialist to
supply the following information:
EtherNet or EtherNet/IP
Network
Workstation
Number
1756-ENBT IP Address
ControlNet Network
1756-CNB
or
1756- CN2
Node
Address*
1784- PCICS
Card Node
Address
1784- PCC
Card Node
Address
1784-KTCX15 Interface
Card
10
C--2
Node Assignments
1336 IMPACT
CompactLogix
ControlLogix
DH+
FactoryTalk
FlexLogix
Logix5550
PanelView
PHOTOSWITCH
RediSTATION
RSLogix
RSNetWorx
SLC
Ultra
PowerPoint
Windows NT