Professional Documents
Culture Documents
RSLogix™ 5000
Level 3: Project
Development
Student Manual
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 1/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
The variety of uses for the hardware, software and firmware (hereinafter “Products”) described in this Documentation,
mandates that those responsible for the application and use of those Products must satisfy themselves that all necessary
steps have been taken to ensure that each application and actual use meets all performance and safety requirements,
including any applicable laws, regulations, codes and standards in addition to any applicable technical documents.
In no event will Rockwell Automation, Inc., or any of its affiliate or subsidiary companies (hereinafter “Rockwell
Automation”) be responsible or liable for any indirect or consequential damages resulting from the use or application of
the Products described in this Documentation. Rockwell Automation does not assume responsibility or liability for
damages of any kind based on the alleged use of, or reliance on, this Documentation.
No patent liability is assumed by Rockwell Automation with respect to use of information, circuits, equipment, or
software described in the Documentation.
Except as specifically agreed in writing as part of a maintenance or support contract, equipment users are responsible for:
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:
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 2/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 3/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 4/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 5/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 6/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Comment Form
Email: ratps@ra.rockwell.com
or Fax: 440.646.4425
Page 1 of
Date:
Contact Information:
Name:
Company and Location:
Phone: Email:
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 7/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 8/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Page 2
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 9/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 10/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Table of Contents
Introduction
Course Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I
Course Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I
Who Should Attend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . II
Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . II
Meeting Course Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . III
Student Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IV
Hands-On Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IV
Certificate Candidates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IV
Configuration and Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
ControlLogix/RSLogix 5000 Curriculum Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
Lessons
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 11/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
ii Table of Contents
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 12/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 13/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
iv Table of Contents
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 14/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Table of Contents v
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project 6- 11
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6--11
How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6--13
Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6--14
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6--14
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 15/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
vi Table of Contents
Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7--14
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7--14
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 16/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 17/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11--8
Scan Time Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11--9
Event Task Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11--9
Event Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-- 9
IOT Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11--10
UID/UIE Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11--10
CPS Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11--11
Here’s How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11--12
Demonstration Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11--12
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 18/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Table of Contents ix
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV
Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12- 13
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--13
How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--14
Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--14
How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--15
Exercise C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--15
How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--17
Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--18
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--18
Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--19
Exercise C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12--22
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 19/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
x Table of Contents
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 20/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Table of Contents xi
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 21/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Optional Lessons
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 22/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 23/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Appendices
Node Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C- 1
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 24/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Course Overview I
Course Overview
Course Purpose Upon completion of this course, given a functional specification for
an RSLogix 5000 application, you will be able to develop a project
to meet the requirements of the specification.
Who Should Attend Individuals who need to develop RSLogix 5000 projects for any
Logix5000 controller should attend this course.
Activity: Introduce yourself, say the company you work for, and tell
the instructor and others what you hope to take away from this
course.
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 25/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
II Course Overview
Day 1
15 minutes Course Overview
20 minutes (40 minutes with optional
exercise) Updating Logix5000 Firmware
90 minutes Creating and Organizing a New RSLogix 5000 Project
60 minutes Creating a Periodic Task in an RSLogix 5000 Project
160 minutes Organizing Data in an RSLogix 5000 Project
30 minutes Creating a User-Defined Data Type in an RSLogix 5000 Project
Day 2
60 minutes Entering, Editing, and Verifying Ladder Logic in an
RSLogix 5000 Project
185 minutes Communicating with a Local 1756-I/O Module
90 minutes Configuring a Logix5000 Controller to Produce and Consume
Data
90 minutes Configuring Logix5000 Controllers to Share Data over an
EtherNet/IP Network
(continued)
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 26/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Day 3
45 minutes Communicating with a 1756-I/O Module over an EtherNet/IP
Network
120 minutes Creating an Event Task in an RSLogix 5000 Project
90 minutes
Meeting Course Objectives The following course structure is generally used to help you
understand the content and activities:
One lesson is devoted to each task.
Typical lesson includes most or all of these sections:
-- “What You Will Learn” -- lesson objectives
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 27/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Student Materials To enhance and facilitate your learning experience, the following
materials are provided as part of the course package:
Student Manual, which contains the topical outlines and
exercises. Use this manual to follow presentations, take notes, and
work through your exercises.
RSLogix 5000 and Logix5000 Procedures Guide, which provides
all of the steps required to complete basic RSLogix 5000 software
tasks that are common to all Logix5000 hardware platforms. By
following the procedures in this job aid, you can immediately
apply what is learned in the course to your own job.
Logix5000 Controllers Design Considerations Reference Manual ,
which contains guidelines for designing a Logix5000 application.
Logix5000 Documentation Reference Guide, which contains
several relevant technical publications. This searchable, electronic
resource contains the most frequently referenced programming
information and is a quick and efficient on-the-job resource.
Reference: Your instructor will show you these job aids now.
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 If you are a candidate for a Certificate Exam, you must:
Take notes
Ask questions for clarification
Follow along with demonstrations using the job aids
Complete all labs
Tip " The Certificate Exam questions are scenario--based and may require
you to understand information from all of these areas.
To study for the exam, you must keep all class materials and your
written notes.
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 28/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Configuration and The configuration and programming examples shown in this course
Programming Examples are intended solely for purposes of example.
ControlLogix/RSLogix After completing this training, you may be interested in one or more
5000 Curriculum Map of the following courses:
RSLogix Level 4: PhaseManager Project Design
[CCP711, 1 day]
RSLogix 5000 Level 4: Motion Programming Using Ladder Logic
[CCN142, 3 days]
GuardLogix Application Development [SAF-LOG101, 2 days]
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 29/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 30/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 1
Note that this lesson briefly reviews Updating Logix5000 Firmware
prerequisite concepts before presenting
the firmware piece. Tailor this lesson as
needed.
What You Will Learn After completing this lesson, you should be able to update module
firmware.
The PowerPoint presentation Activity: Your instructor will briefly review uploading,
contains hidden slides that can downloading, and going online to a controller.
be used to conduct the review.
Topics include keyswitch positions;
uploading, downloading, and going
online; and interpreting a Updating Module Firmware
communications path.
To use all of the features of a new revision of RSLogix 5000
software, controller and servo module firmware must be in lock-step
State that customers can obtain the with software.
required revision levels at the
support.rockwellautomation.com/support
website for ControlFLASH. The firmware loaded in Logix5000 controllers and
Note that a minimum of one motion modules must match the version of
communications device is required RSLogix 5000 software you are using.
to update modules. Serial
communications can be
used, but data transfers
at the slowest rate.
There are three methods available for updating module firmware:
(Continued)
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FW3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 31/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
FW3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 32/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " If you have questions regarding the compatibility of RSLogix 5000
software with specific controllers or hardware modules, contact your
local distributor or Rockwell Automation Technical Support.
Here’s How
IMPORTANT: When performing
To update module firmware.
Exercise A, be sure to run the Activity: As your instructor demonstrates these procedures, follow
Quick Start video for the along in the associated job aid(s).
students on the overhead. This
will eliminate the need for
earphones or the distraction of
overlapping audio during the exercise.
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully
certificate students prepare
for the final exam,
you must demonstrate all lesson
objectives using the proper job aids. Pay attention to these critical aspects of the demonstration:
Use the steps below and the information
on the Demonstration Checklist to help - Download the first project and go online.
guide you during the demonstration:
- Download the second project to the controller.
IMPORTANT: Before performing this
demonstration, ensure that the controller
in slot 3 of your demonstration - What happens when the project is downloaded?
workstation has been back-flashed to
a firmware version below version 17. - How is this situation resolved?
Use the FW3_1756R_DEM1.acd file to - What tools are available for flashing module firmware?
download and go online to the controller
in Slot 1.
Use the FW3_1756R_DEM2.acd file to
download to the controller in slot 3.
When the firmware revision mismatch
occurs, show students how the
automatic firmware update feature
works.
Important: Emphasize that flashing
firmware will not be practiced in the lab.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FW3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 33/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
FW3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 34/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
unless authorized
perform to docan
this procedure Failure
so.make theto correctly
controller
inoperable.
Context:
Directions:
Tip " Although the video focuses on the CompactLogix platform, the basic
steps can be applied to any Logix5000 controller that supports flash
download.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FW3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 35/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
FW3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 36/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FW3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 37/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
FW3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 38/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 2
Creating and Organizing a New
RSLogix 5000 Project
What You Will Learn After completing this lesson, you should be able to:
Important: This lesson covers the Create a new RSLogix 5000 project file
default project organization. Periodic
tasks and event tasks are covered in Modify controller properties
separate lessons. Create a program and routine
Adjust a program schedule
Copy and reuse programs and routines
Stress that deleting project components Delete a routine, program, and task
is not as simple as selecting delete from
a right-click menu. Because deleting can Verify tasks, programs, and routines
be done online, it is a more detailed
procedure.
When You Will Do This
Note that the use of tasks and programs
is a major difference from RSLogix 5 and
500 softwares. Before you enter the logic for your application, you have to
configure the tasks, programs, and routines that will run the logic.
Project Organization
State that the multitasking system is like A Logix5000 controller is a preemptive, multitasking controller with
32 separate PLC-5 controllers that take the following characteristics:
turns controlling.
Is single-threaded in that only one task will be active at a time
Note that task execution is based on Has the ability to interrupt an executing task, switch to a different
priorities that are assigned by the user. task, then return control back to the original task when the
This will be discussed in detail later.
interrupting task is complete
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 39/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Clarify that tasks and programs are To maximize these multitasking capabilities, the following
organizing elements (like folders in containers are available to organize an RSLogix 5000 project:
Windows Explorer). Routines contain the
actual ladder logic. Task: A scheduling mechanism for executing its scheduled
programs.
Program: A set of related routines and tags.
Routine: A set or sequence of executable code.
Tip " The names and properties of these components can be modified to
suit your application.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 40/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Watchdog Timers
Note that the watchdog timer in a PLC-5 A watchdog timer monitors the execution of a task. The timer is
processor is for the entire controller. started when a task is initiated and stops when all programs within
Here, the watchdog timer is set for each
task. the task have executed.
Point out that the last scan and max Ensure that the time period is longer than the sum
scan can be viewed online. In a different of the execution time of all the programs assigned
lesson, students will learn to monitor the
scan times using ladder logic to the task. If the controller detects that a periodic
instructions. task trigger occurs for a task that is already
operating, a minor fault occurs.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 41/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Inhibited Task
Tip " This inhibit option can be used to test, diagnose, or start up a project.
State that tasks can also be inhibited or If a task is inhibited, the controller still pre-scans
uninhibited using SSV instructions. the task when the controller transitions from
Program to Run or Test mode.
When
the firsta scheduled
task is triggered, its programs
to the last scheduled.execute in sequence from
Programs within a task can access input and output data directly
from controller-scoped memory:
Code within any program can modify controller-scoped data.
Code within a program can also modify program-scoped data:
-- Code within one program cannot access or modify the data
that is local to a different program.
The Create New Program button is shown in the following graphic:
Optional Toolbar
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 42/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Adjust Order
Program
Schedule
Unscheduled
Programs
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 43/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Creating a Routine
Note that ladder logic is the most A routine provides the executable code, or decision-making
common language used. 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
Sequential Function Chart -- suited for motion or batch
applications or concurrent applications where more than one state
is active at one time. Also suitable for sequential applications
such as assemble or packaging machines.
Structured Text -- suited for complex math or array applications
or for programs converted from other projects created in
high-level languages like C
Tip " The availability of these languages will depend on the options that
have been selected and installed.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 44/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Stress that routines are not listed in the The main routine is always listed first, followed by a fault routine (if
order of execution. JSR instructions any), and then all subroutines in alphabetical order:
determine the order of the subroutine
execution.
Function Block
Diagram Routine
In the graphic point out the “1” on the The following is an example of subroutine structure:
main routine.
When the conditions are met, the main routine
calls the Level subroutine.
Example Ladder Logic in the Main Routine
Subroutine
If necessary, define a nested routine as The Create New Routine button is shown in the following graphic:
a subroutine that is activated from within
another subroutine.
Note that cross-reference reports are Optional Toolbar
part of the Documenting and Searching Create New Routine
For Ladder Logic Components lesson.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 45/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Note that the system overhead timeslice The user-configurable system overhead timeslice determines the
is located in the Advanced tab of the percentage of controller time that is available for the following
Controller Properties dialog box.
background functions:
Communicating with programing devices and programming
software
Add that because the serial port is in the Messaging
controller, it affects controller operation.
Bridging communications from the controller’s serial port to
If necessary, review RIUP.
other devices via the backplane
Re-establishing and monitoring I/O connections (RIUP
conditions)
In the graphic, point out that the far right The system overhead timeslice percentage does not affect executing
area is used for overhead functions. If periodic or event tasks:
there are no functions, the time is
available for the continuous task.
Controller Execution Time
Note that 20% is the default. Time for the Continuous Task %
System Overhead
Timeslice Percentage
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 46/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Single Scan
Physical Device Data is Tag is set or cleared in controller
received by the input card
Rung
RPI Rate
100
COS Rung
250
Optional
Rung
RPI Rate
400
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 47/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 48/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Mention that the verification process is After organizing your controller project, you can verify it. In this
similar to the RSLogix 5 and 500 process, the software looks for errors such as unassigned routines.
process with the addition of tag
verification.
The following buttons are available to verify the entire controller
project or routine:
Standard Toolbar
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 49/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Double-Click to
Go to the Error
or Warning or
Press F4
Use thethe
during steps below to help guide you
demonstration:
Access the files through the Help menu’s
Learning Center “How Do I” section.
Show one or two examples of the video
help. You can stop them after a few
moments. This is just to show how the
system works. If Lesson 20 will be used,
skip this Here’s How.
Example Access the files through the Help menu’s Learning Center “How Do
I” section:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 50/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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 Pay attention to these critical aspects of the demonstration:
during the demonstration: - Location of the procedures in the job aid
Create a new RSLogix 5000 project.
When demonstrating the listed - Revision must match the major firmware revision of the
procedures, point out the following
items: controller
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 51/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 52/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise A In this exercise, you will practice creating and organizing a new
RSLogix 5000 project.
Context:
Directions:
B. Select Controller Projects.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 53/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
B. Paint_line_1
C. Paint_line_2
D. Paint_line_4
9. Delete the Paint_line_4 program (and all of its contents).
Tip " Remember that all elements must be unassigned and removed first.
10. Verify the tasks, programs, and routines and correct any errors.
11. Save the project file.
Tip " Another programmer was assigned to create and organize the project
for the controller in slot 3 for a quality check. Although this is not
the paint line, you still want to follow the same style and conventions
for easy troubleshooting.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 54/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 55/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 56/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
B. Station_4_Quality
C. Station_5_Palletize
17. The Station_4_Quality program contains the following
subroutines:
Check
Data_Logging
Reject
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 57/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 58/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 3
Creating a Periodic Task in an
RSLogix 5000 Project
What You Will Learn After completing this lesson, you should be able to:
Determine the period (rate) for a periodic task
Create a periodic task
If you have logic you want to run at a specific time period, create a
period task for it.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 59/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Periodic Task
" Like a continuous or event task, periodic tasks require at least one
Tip program and one routine.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 60/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Periodic Task
(with Times
in Names)
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 61/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Start Interval
Priority Level
Important
Priority
Information
Period
The period determines the start interval for the task:
The trigger time range is 1 ms (millisecond) to 2000 seconds.
The default is 10 ms.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 62/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Priority
Clarify that the lower number (1) gives Each periodic and event task in a controller has a priority level that
the task a higher priority or importance. determines which task executes when multiple tasks are triggered:
Priorities are assigned by the user.
There
and 15are 15 levels
being of priority, with 1 being the highest priority
the lowest:
-- A task with a higher priority will execute first (i.e., 1 before 3)
Note that the fastest or shortest task will Task priorities are relative:
not necessarily be the highest priority.
-- If there are only three tasks, priorities of 6, 7, and 8 will
Clarify that this means the continuous function the same as priorities of 1, 2, and 3.
task automatically has the lowest priority.
A user cannot configure the priority for a Although no priority level is assigned, the motion task is always
continuous task. the highest priority.
Although no priority level is assigned, the continuous task is
always one priority level lower than all other tasks.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 63/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Online Properties
Length of Execution
The period and the priority assigned to each task determine the task
execution.
In the graphic, point out that the rate is In the following example, the periodic task is triggered every
“when the task starts” and not how long 20 ms:
it takes.
5 ms
0 ms 40 ms 60 ms 80 ms
Task Execution Every 20 ms 20 ms
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 64/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Continuous Task
0 ms 20 ms 40 ms 60 ms 80 ms
22 ms 44 ms 66 ms 88 ms
Task B (Every 22 ms) Priority 1
Task A (Every 20 ms) Priority 3
Continuous Task
0 ms 20 ms 40 ms 60 ms 80 ms
? How many periodic or event tasks Two tasks can be assigned the same priority. If this occurs, the tasks
will timeslice, or alternate execution, in 1 ms intervals.
and how many levels of priority can
there be in a ControlLogix project?
Answer: There can be up to 32 periodic Example: Equal Priorities (Timeslicing)
or event tasks (or 31 if there is a
continuous task). However, there are The following example shows how two tasks of equal priority
only 15 levels of priority. (Use this will timeslice:
difference to lead into the discussion on
timeslicing).
Task A, Priority 3
0 ms 1 ms 2 ms 3 ms 4 ms 5 ms
Tip " Timeslicing takes slightly more time than having different priorities.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 65/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 66/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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 Pay attention to these critical aspects of the demonstration:
project.
- Location of the procedure in the job aid
When demonstrating the task, point out
the following items: - Period and priority of the task
S The routines within one periodic task
enables the slot 0 outputs while the - Max scan time (when online)
other disables them
S In Run mode, you can verify when
the task execute by the lights on the
workstation
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 67/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PERsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 68/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise A In this exercise, you will practice creating and configuring a periodic
task in an RSLogix 5000 project.
Context:
You have already created an RSLogix 5000 project file to hold your
programming and configuration information. You are ready to add a
task that will execute on a regular basis.
Directions:
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?
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PERe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 69/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
13. Clear the Major Fault from the Controller Properties dialog box.
16. In the Task Properties window for the Main Task, verify that the
maximum scan time is not greater than the watchdog of 500ms.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PERe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 70/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PERe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 71/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PERe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 72/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 4
Organizing Data in an
RSLogix 5000 Project
What You Will Learn After completing this lesson, you should be able to:
Create a tag
Define an alias tag
Create an array of tags
Verify tags
Monitor and edit data
As you develop your logic, you will have to define tags, aliases, and
arrays to efficiently store your data.
For example, a PLC-5 processor has a Traditional controllers have data files, such as Timer or Integer,
pre-created timer file, where all timers where groups of the same types of data are stored together.
are stored together.
There are no such pre-defined data files in a Logix5000 controller.
Users must define the memory in a Logix5000 controller by creating
tags.
Verify that students have an Tag: An area of controller memory where data from devices,
understanding of bit, byte, and word calculations, faults, etc. is stored. Each area is given a unique name:
lengths. If not, spend some time
reviewing these terms:
Bit: The smallest unit of data “Drive_Speed” Data
represented by the digits 0 and 1.
Controller Memory
Byte: A string of 8 bits operated on
as one unit.
Word: A unit of memory in a
controller composed of 16 individual
bits or two bytes that are treated as
one unit.
Remind students that the individual bits
of a byte or word can also be monitored “Sensor” Data
or addressed. “Start” Data
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 73/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Data Types
Add that the data type maps out the data Data Type: The definition of how many bits, bytes, or words of data
just as it does in a PLC-5, SLC 500, or a tag will use. The data type is based on the source of the
other processor.
information.
Note that a tag is similar to the symbolic Pre-Defined Data Types: Commonly used memory sizes or
address in a PLC-5 or SLC 500 structures that are already defined in the software.
controller. The main difference is that
tags are stored in the controller, where
symbols are stored in the computer only. Atomic Data Type: A simple data type made of one piece of data:
Using these definitions, tags for the given devices require the
following data types:
“Drive_Speed” Data
Controller Memory DINT, or 32 Bits
“Sensor” Data
“Start” Data
BOOL, or 1 Bit
BOOL, or 1 Bit
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 74/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " There are other less common, pre-defined data types that are used to
Give an example, such as the store specific data for function block instructions or motion
TOTALIZER data type, which is used instructions.
with the TOTALIZER function block. The
data type contains a member for each
parameter of the function block. Module Defined Data Types: Data types used for hardware data,
such as I/O tags.
Memory Allocation
Add that a DINT is often called a D word The minimum memory allocation for a tag of any type is a DINT
or a double word. (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.
Use the graphic to review the definitions When data types such as BOOL, SINT, and INT are assigned to a
of BOOL, SINT, INT, DINT, and REAL. tag, the controller still consumes a full DINT (four bytes) but only
After describing each data type, point
out the unused area. fills part of it:
Minimum Memory Allocation of 1 DINT Data
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Type
Unused Memory BOOL
SINT
INT
Used Memory DINT
REAL
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 75/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Add that students will learn how to To efficiently use memory for BOOLs, SINTs, or
create these components in the next INTs, an array or a user-defined data type should
lesson.
be created.
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, Tags can be created at two different scopes:
behind the scenes, the program name
becomes a prefix for each tag name. Controller-Scoped: Tags, such as I/O tags, that are available to
This is how tags with the same names in
different programs are kept separate. every task and program within a project.
Program-Scoped: Tags that are only available to the program to
which they are associated.
Scope requirements for specific tags are outlined in the following
Mention that if tags are correctly scoped, table:
ladder logic that uses the program tags
can be reused in different programs
To use a tag . . . Then select this scope . . .
without changing tag names.
That is generated when an I/O module is configured
Note that the I/O tags listed in the table (I/O status, data, etc.)
are the tags that are automatically
created when a module is configured. In more than one program within the project
This does not refer to any alias tags that
might be created. To produce or consume data (share it with other Controller-scoped
controllers)
Mention that the scope dictates the tags
folder in which you will create the tag. In a message instruction or with a PanelViewt 1000C
terminal
In only one program (and it is not a message
Program-scoped
instruction or a produced or consumed tag)
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 76/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
The parameters are defined in the Edit Tags tab of the Tags window:
Icon Indicating
Controller-Scoped
Tags
White = Editable
Field
Editing View
Data Type
Tags can be created using the following data types:
Any pre-defined data type
Any user-defined data type
Style
State that data from a BCD thumbwheel Style is the display radix for each data type:
could be viewed in the hexadecimal
radix. For certain data types, the style can be changed to a different
display radix. E.g., the default style for a tag of the DINT data
type is decimal:
-- The style for DINT tags can be changed to binary, octal,
decimal, or hexadecimal.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 77/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Alias Tag: An additional name for a tag (or other alias tag):
The tags refer to the same area of memory.
Tell students that if a base tag is used as The tags, therefore, reflect the same values and changes.
an address, any corresponding alias
tags will not be displayed. Base Tag: The tag to which the alias refers (i.e., the tag where data is
State that if the base tag is used directly actually stored).
in an instruction, that is all that is shown.
If an alias tag is used as the address for an instruction, the alias tag is
Compare this to calling someone by always displayed.
their name instead of their employee
number, or referring to a
module by a name instead Tip " When programming, it may be confusing to sometimes use an alias
of a part number. tag and other times directly use the tag to which the alias refers.
In the following graphic, trace the chain Alias tags are commonly used to rename I/O tags that are generated
of alias tags, beginning with Start. When with complex naming structures:
you reach Alias_4, it will be easier to
explain Base tags. Alias Tag Name What the Tag is an Alias for (e.g., an I/O Tag)
Note that the hierarchy of alias tags is Use caution in developing applications that utilize
available in the cross--reference report multiple alias tags for the same base tag.
for a tag. This can be a very helpful
troubleshooting tool.
Note that there is a separate lesson that Produced and Consumed Tags
presents the steps for these tasks.
The following controller-scoped tags can be created to share data
between controllers:
If students are familiar with producing Produced Tag: A tag that is shared with other controllers over
and consuming tags, point out that the
setup in RSLogix 5000 software is the the backplane or a control network, such as ControlNet t or
same. For Ethernet, the producing EtherNet/IPt.
controller is connected to a remote
1756-ENET or 1756-ENBT module. Consumed Tag: A tag that holds the value of a produced tag that
is received from another controller over the backplane or a
control network.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 78/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Point out that if you create an array tag The elements in the array occupy memory in order. The array always
from the Tags Editor window, and starts at 0 and extends to the number of elements minus 1.
manually
numbers, enter thevalue
the first brackets and in the
entered
brackets becomes the X value. The An array in the Tags window is shown in the following graphic:
second number entered is Y and the
third is Z. Same Data Type
Array of 6 (0- 5) INTs
Note that if you enter the dimensions
from the Tags Properties window Dim0
becomes Z if you create a three Single Element
dimensional array. Depending on how
the tag is created you could end up with
two different results.
? What is a structure? An array must be created with the following rules in mind:
An array can have up to three dimensions unless it is a part of a
Answer: A data type made up of a
mixture of other data types, such as a UDT, where then it can have only one dimension.
timer (with a mix of DINTS and BOOLS).
An array can be of one data type only. Arrays support the
following data types:
-- Any pre-defined data types except Axis data types, Message,
or Motion_Group
-- A user-defined data type
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 79/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " Data of the same type is not automatically grouped in memory. To
store all timers together, create an array of timer tags.
Array Storage
Ask students to determine the total To determine the total number of elements in an array, multiply the
number of elements in each of the part number of elements in each dimension.
number arrays.
Tip " A tag uses a DINT (32 bits) even if it is smaller (8 bits). To conserve
data, put 32 BOOLs, four SINTs, or two INTs into an array.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 80/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Array Addressing
Note that this section presents the In an array, the following can be addressed:
formats for array addresses. Entering
the addresses will be presented in the A numeric element (fixed)
Entering, Editing, and Verifying Ladder A variable element
Logic
lesson.in an RSLogix 5000 Project A numeric bit
A variable bit
Note that the subscript is the value or Example: Numeric Element Addressing
expression in the square brackets.
PartData[3]
Tip " This reference is fixed because the element value of 3 will not
change.
Number of
Format Example
Dimensions
1 Array_name[0] Part[3]
2 Array_name[1, 0 ] Part[2,4]
3 Array_name[2, 1, 0] Part[3,5,1]
Part[4,5
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 81/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
ArrayName[Tag or Expression]
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
As an example, state that if Any array value that you enter must be within
Position1--Position2=48 and the array is the boundaries of the specified array.
an array of only 40, a major fault will
occur. Instructions that view arrays as a collection of
elements generate a major fault if a value
exceeds its corresponding dimension.
Note that the example addresses the Example: Numeric Bit Addressing
second bit in tag element 1 of the part
array. Part[1].2
Mix_Timer[5].DN
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 82/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Verifying Tags
Mention that the verification process is After tags are entered, they can be verified. In this process, the
similar to the RSLogix 5 and 500 software looks for tag errors.
process with the addition of tag
verification.
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 .
State that BOOL data types can now be Monitoring and Editing Data
toggled in the Monitor tags window
(right-click the tag value or press Tags values can be monitored and edited online through the Tags
[CTRL]+T).
window or certain instructions.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 83/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Value in
Controller
Expand to See
Structure Members or
Bits within the Tag
Monitoring View
Display Style
State that data from a BCD thumbwheel The Style parameter controls how data is displayed for certain tags.
could be viewed in the hexadecimal
style.
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 " Style is for display only; it does not affect how data is stored in the
controller.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 84/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
From the Tag Properties View window you can monitor a tag’s
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
Stress the difference between editing the Monitoring and Editing Tag Values through a Routine
tag (e.g., tag name) and changing the
tag data, such as the preset. Tag values can be monitored and sometimes edited online through
In this ladder logic example, point out instructions in routines:
that values can be monitored and certain
values, such as timer presets, can be
edited. Example: Ladder Logic Routine
Tag values can be monitored through the corresponding
parameters of an instruction:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 85/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Parameter
Parameter Parameter Parameter Description (Up to
Names Values Data Types 128 Characters)
Visibility
Enabled
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 86/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Note that the Watch tab is accessed Monitoring and Editing Tag Values in the Watch Tab
from the View menu.
The Watch tab displays all tags referenced by an active routine of
any type. Values can be monitored or edited:
Refresh Structured
Text Data Changing
Values Force
Create a
Custom
Monitor
Tag Scope
? Who has used Custom Data The Watch tab does not update as you make edits
Monitors in RSLogix 500 software? to a structured text routine. It is updated when you
verify the routine.
Note that the custom list of tags allows The Quick Watch Tag Monitor allows you to assemble a custom list
you to see only select tags while viewing of tags to monitor:
code. This helps you avoid the searching Tags from the controller-scope
and scrolling necessary with the
Tags monitor. Tags from the open routine
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.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 87/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 88/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully
certificate students prepare
for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM2.acd Pay attention to these critical aspects of the demonstration:
project.
- Location of the procedures in the job aid
Monitoring data in RSLinx isn’t an Monitor Data in RSLinx Classic Professional Software
objective of the lesson but it is useful for
the exercise and student. Tags can also be monitored (but not edited) in RSLinx Classic
Note that an RSLinx Classic activation Professional software.
file is required to access the data table
monitor.
Read-Only Values
Your Turn Now it’s your turn. Do Exercise A and return here when you’re done.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 89/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
The data access properties of a tag is used to control how people and
programs access the tag at run-time:
Mention that External Access Control Use External Access to control how an external application, such
does not apply
or aliases to Module Defined tags
to them. 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 tag’s value
-- Read Only: External applications can read the tag’s value,
but not modify it
-- None: External applications can neither read nor write the
tag’s value
Use Constant to control how controller logic can access a tag:
Tags Window
Data Access
Control Selections
User-Defined
Data Type
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 90/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Sample code to test your production line has been developed. This
code was written before your hardware installation. The hard-wired
addresses wereand
to create base notalias
knowntagswhen thearray
and an codeof
was created.
tags so thatYou now need
the code will
function properly.
Directions:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 91/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
13. How could the individual members of this UDT be set so they
would not be accessible from any other application?
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 92/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
14. Verify you properly created and aliased your tags by performing
the following actions:
A. Press DI0 and observe DO0 indicator light turn on.
Tip " The system date and time may not be current.
Exercise B In this exercise, you will practice setting a tag’s external access
option, and verify the setting.
Context:
You have created and organized a project file for your production
lines. You now want to protect certain tags from outside access.
Directions:
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 93/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 94/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 95/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 96/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise B
8. No, the ClockTime tag is not visible. Your screen should appear
similar to the following:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
TA2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 97/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
TA2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 98/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 5
Creating a User-Defined Data Type
in an RSLogix 5000 Project
What You Will Learn After completing this lesson, you should be able to:
Create a user-defined data type
Export and import user-defined data types
As you develop your logic, you will typically take advantage of
user--defined data types to organize your data.
Members of a
TIMER Data Type
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
UDTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 99/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Review: An element is one part of an User-Defined Data Type: A structure created by a user to group
array. data in an application.
A member is one part of a data type.
Member: One defined data type within the structure.
Level
Add that this is a more efficient use of To store this data, a user-defined data type can be created. The
memory than creating a single BOOL for data type is a template for storing the information:
the steam valve, as the single BOOL
would use a DINT (32 bits) by itself.
Size
Members of External
Tank Structure Access
Settings
Provide other examples, including A tag for each tank can be created using this user-defined data
examples of recipe parameters and type.
storage data types.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
UDTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 100/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Note that in this scenario, the Example: Arrays and User-Defined Data Types
user-defined data type is created first,
and then the array of tags is created. If there are 25 tanks (5 rows of 5), a programmer can make an
array of tags that uses a user-defined data type:
Tank [0,0] Total Array = [5,5]
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
UDTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 101/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Export a UDT
using a .L5X File
Import a UDT
into the same or
new project
Obtain
Specify final collision
name information
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
UDTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 102/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Pay attention to these critical aspects of the demonstration:
Use thethe
during steps below to help guide you
demonstration:
- Location of the procedures in the job aid
Open the Start Pages and use the
following tools to demonstrate each task: - Location of the procedures in the Start Pages
S How Do I " Tags, Data Types &
Other Data " Create a - Difference between a user--defined data type and an
User-Defined Type array
S What’s New " Import Online -
Programs, Routine and Instructions - Overwriting a user--defined data type with a newer
version
S If the Start Pages are unavailable or
if students prefer, use the
CCP143_1756r_DEM2.acd project.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
UDTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 103/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
UDTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 104/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
You have just created and organized a project file for your line 1
production line. You are now ready to develop code for a second,
identical, production line. Your application requires that you store
each production line’s output information in user-defined tags.
Directions:
5. Modify rung 4 so that member Line_1.Active is the operand of
the OTE instruction.
6. Modify rung 5 so that member Line_1.ProcessTime is the
Destination operand of the Move instruction.
7. Modify rung 6 so that member Line_1.MotorSpeed is the
Destination operand of the Move instruction.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
UDTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 105/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
workstation.
14. Place the controller in Run or Remote Run mode.
15. Verify you properly created your UDT tags by monitoring them
and confirming they update in value when Lines 1 and 2 are
operating.
16. Export the Motor_Status user-defined data type project
component.
17. Go offline.
22. Click Close.
23. Overwrite the existing Motor_Status UDT and keep the same
final name.
24. Click OK .
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
UDTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 106/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
27. Modify rung 4 so that member Line_3.Active is the operand of
the OTE instruction.
28. Modify rung 5 so that member Line_3.ProcessTime is the
Destination operand of the Move instruction.
29. Modify rung 6 so that member Line_3.MotorSpeed is the
Destination operand of the Move instruction.
30. Download your project to the controller in slot 1 of your
workstation.
31. Place the controller in Run or Remote Run mode.
32. Verify you properly created your UDT tags by monitoring them
and confirming they update in value when Line 3 is operating.
33. Go offline and close your projects.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
UDTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 107/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
UDTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 108/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12. Rungs 4--6 of the MainRoutine in the Line_2 program should
now look similar to the following example:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
UDTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 109/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
UDTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 110/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 6
Note that this lesson briefly reviews Entering, Editing, and Verifying
some concepts from the prerequisite
course before presenting more Ladder Logic in an RSLogix 5000
advanced concepts such as Quick Keys.
Tailor this lesson as needed. Project
What You Will Learn After completing this lesson, you should be able to:
Poll the students to see how many have Enter and edit ladder Logic using ASCII mnemonics
experience using a Window’s-based
programming software from their job, or Configure ladder logic quick keys
pre-requisite classes. Copy and reuse ladder logic components
Pace this lesson based on the general Verify a project or a project component (online)
experience level of your class.
Review the first two methods if needed. The RSLogix series of software offers the ability to enter or edit
Students should be familiar with these. ladder logic using the following basic methods:
Dragging method
Right-click/Insert key
The RSLogix series of software also offers faster methods for more
proficient programmers:
ASCII mnemonic editing
Quick keys
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 111/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
6--2 Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
ASCII Text
Entry Line
Graphical
Ladder
Logic
Read each mnemonic in the graphic and In the graphic, note the following items:
show the corresponding graphical
element. The mnemonics are entered, followed by the tag to be operated
on or a “?” or a space.
Note that unlike RSLogix 5 and 500 Start and end points for branches can also be entered:
software, in RSLogix 5000 the ASCII line
is not highlighted by default and -- BST (Branch start)
therefore more difficult to accidentally -- NXB (Next Branch)
erase.
-- BND (Branch End)
Describe examples of real applications, If ladder logic contains program-scoped tags, the ladder logic can be
such as auto production lines, where easily copied and reused in different programs without changing the
common machine cells are repeated.
tag names.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 112/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project 6--3
Same
Program_Scoped
Tag Name
Different Program
Same
Program_Scoped
Tag Name
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 113/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
6--4 Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
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 Verifying a Project or a Project Component Online
software can be opened at one time.
Modifying code online can help you quickly make changes without
Note that you
file, close can open
the file, also copy from one
a different file, stopping production.
and then paste into the other file. The
copied information is maintained
on the clipboard. Online Safety Warning
When editing ladder logic online, keep the following warning in
mind:
Describe any real-world situations that Use extreme caution when entering or editing
you are aware of in which online editing ladder logic or data, forcing values, or making other
caused extensive damage in a plant.
changes online that will affect the control of
devices. Mistakes can cause unintended machine
motion or loss of process control, possibly injuring
personnel and damaging equipment. Before
? Define offline and online? performing procedures online, complete these safety
Answer: Offline means that the precautions:
workstation (computer) is displaying a Determine if changes must be made online.
copy of the project stored in the
computer memory only. Online means Verify that your company permits online
that the workstation (computer) is entering and editing.
displaying and changing copy of the
project stored in the controller memory. Assess how machinery will respond to changes.
Check proposed changes for accuracy.
Notify all personnel of the changes.
Verify that you are online to the correct
controller.
Add that the Online graphic is animated Because changes in any online mode can affect
in any online mode. machine and process control, before entering
Also note that the left and right power ladder logic, verify the current communications
rails are illuminated in green in the mode using the Online toolbar.
online mode to indicate that the ladder
logic is being executed.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 114/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project 6--5
State that the additional online steps are When editing in You must perform the
another reason that online editing is this mode . . . following actions . . . Description . . .
slower and more difficult. The extra Routine(s) edits exist only in the
steps are in place for user safety.
computer. Necessary when changing
Start edits
an existing rung, but not necessary to
add a new rung.
Tell students that the Verify edits step Online in the Remote The project is examined for errors.
can be considered optional since the Program mode Verification can be done separately or
verification process will automatically Verify edits
automatically if you skip to the Accept
take place with the Accept edits step.
edits step.
The revised routine(s) are transferred
Accept edits
to the controller.
Routine(s) edits exist only in the
computer. Necessary when changing
Start edits an existing rung, but not necessary to
add a new rung.
State that “accept” puts the change into The project is examined for errors.
the controller memory. Verification can be done separately or
Verify edits
automatically if you skip to the Accept
edits step.
The revised routine(s) are transferred
Online in the Remote
Accept edits to the controller but the previous
Run mode
program continues to execute.
Important: Stress the difference The revised routine(s) executes,
between controller Remote Test mode controlling the physical outputs, but the
(outputs set according to Program mode Test edits previous program still exists in the
state) and the Test edits step in Verify,
Accept, Test, Assemble (outputs controller. You can return to the
previous program using Untest edits.
scanned and set using the program).
Program mode state is set in the output The previous routine(s) language is
module configuration. Assemble edits discarded and the revised program
continues executing.
If students are interested, review the Online verification buttons can be used to complete this process:
names of all of the buttons during the
demonstration using the Tooltips. Standard Toolbar
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 115/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
6--6 Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
For the invalid data type error, clarify When verifying, the software looks for the following errors:
that a tag of the DINT data type cannot
be used in an XIC bit instruction unless it Improper instruction placement
is specified to the bit level (e.g., DINT.0 Improper or incomplete addressing
and not just DINT).
Tags with an invalid data type for the instruction (mismatches)
Improper tag creation
Empty rungs
Shorted branches (reported in error tab as a warning)
Duplicate destructive bits (reported in error tab as a warning)
Point out that this option can be enabled The duplicate destructive bit option looks for
using Tools Options.
instructions that modify the same bit. This
Mention that this is known as “duplicate includes instructions such as OTE, ONS, OSF,
OTE detection” in PLC/SLC processors. and OSR instructions in ladder logic. This option
Note that this also includes bits used in is enabled by default.
other languages, such as OREFs in
FBD, bits in transitions in SFCs, and bit
assignments in ST.
Presence of Always False Instruction (AFI) (reported in error tab
as a warning)
Presence of forces (reported in error tab as a warning)
Note that this is an option found Auto Rung Verification: An option that can be enabled to
in the Tools Options dialog box.
automatically verify a rung.
Double-Click to
Go to the Error or
Press F4
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 116/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project 6--7
Edit Rung
Original Rung
(Active in Controller)
Mention that an asterisk “ :” on any During the editing and verifying process edit zone markers indicate
instruction, tab, etc., indicates that the the type of edit that is being performed:
element has been edited but not yet
accepted.
Once the edit in Remote Run mode is accepted
into the controller memory, the markers change to
uppercase letters.
Note that these markers are the same The following table summarizes the zone markers and their
as the edit markers in RSLogix 5 and meanings:
500 software.
Point out that for reference, this Zone Marker Description
information is in the Procedures Guide
Glossary under the term “Edit Zones.” Rung of ladder logic that is currently edited within
e
the computer RAM
Lowercase
i Rung of ladder logic that is to be inserted
r Rung of ladder logic that is to be replaced
I Rung of ladder logic that will be inserted
Uppercase (in
Rung of ladder logic that is going to be replaced by
controller R
the rung directly above it
memory)
D Rung of ladder logic that is marked for deletion
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 117/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
6--8 Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
Selected
Controller Unlocked
Controller Locked
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 aren’t
being made to the same routine at the same time:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 118/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project 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 Pay attention to these critical aspects of the demonstration:
project during the demonstration:
- Location of the procedures in the job aid
" To copy and reuse rungs,
instructions, and branches, refer to - Entering logic using the ASCII text editor
the Copying and Reusing Project
Components procedure.
- Online verification buttons
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 119/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
6--10 Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 120/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project 6--11
Exercise A In this exercise, you will practice entering, editing, and verifying
ladder logic in an RSLogix 5000 project.
Context:
You have been asked to add the ladder logic that will be used to
control the sequential portion of your application to an existing
project.
Directions:
E. Check that digital output 0 (DO0) turns on. If not, return and
modify your work.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 121/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 122/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 123/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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:
-- Select Options Ladder Editor.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 124/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project 6--15
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 125/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
6--16 Exercise: Entering, Editing, and Verifying Ladder Logic in an RSLogix 5000 Project
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 126/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 7
Communicating with a Local
1756-I/O Module
What You Will Learn After completing this lesson, you should be able to manually add a
1756-I/O module to an I/O configuration.
You can add your I/O modules to your project before, during, or after
you develop your application logic. At some point though, you have
to add the I/O modules so you can link your logic to specific devices.
In this lesson you’ll focus on Question: What does the term local I/O mean? Remote I/O?
adding local modules.
Point out that in this lesson you’ll Question: Are the modules usually installed at that point? Do you
manually add the modules. usually have access to them?
Electronic Keying
and Revision Level
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 127/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Keying Attributes
Electronic keying is based on these attributes:
Vendor
Product Type
Product Code
Major Revision
Minor Revision
Module Configuration
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 1
Communication is Prevented
X
Physical Module
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 2
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 128/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Module Configuration
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 3
Physical Module
Communication is Prevented
X
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
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 129/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Point out that this is different from other In Logix5000 controllers, I/O values update asynchronously with the
controllers that have an input scan, then execution of code:
a program scan (code), and then an
output scan within the operating cycle. 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.
3. Values are sent to the output modules at the RPI rate and at the
end of each task.
Tip " The automatic output processing that occurs at the end of a task can
be disabled in the properties of the task.
Note that these values must be set in The multicasting of digital I/O data is affected by the rates selected
the initial configuration but can be during module configuration:
adjusted at any time.
RPI (Requested Packet Interval)
COS (Change of State)
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 130/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
To clarify, state that COS multicasts An RPI for digital I/O must be specified whether
module data on any change of state and or not the COS option is enabled. Data will be
RPI multicasts module data at a
specified time. multicast at the RPI rate whether or not a change
of state occurs.
Point out that the input data is changing Example: RPI and COS
within the scan of the logic.
Single Scan
Physical Device Data is Tag is set or cleared in controller
received by the input card
Rung
RPI Rate
100
COS Rung
250
Optional
Rung
RPI Rate
400
Note that analog module multicasting The multicasting of analog data is affected by the rates selected
rates are different from digital modules during module configuration:
that multicast based on RPI or COS
parameters. RPI -- This parameter works in the same manner as it does for a
digital module
Note that RTS is actually set on a RTS - (Real Time Sampling Rate)
different screen, but is discussed now
with RPI.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 131/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " RPI multicasts the current contents of the on-board memory. RTS
scans the inputs prior to multicasting.
Output States
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 132/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Diagnostics
Diagnostic Features
I/O Points
? How are diagnostic modules Depending on the module, 1756 digital and analog diagnostic I/O
identified in the part number? modules have the following diagnostic features:
Answer: The part number has a “D” as
the suffix, e.g., 1756-IB16D. Open Wire Detection: Open wire detection senses removed or
disconnected field wiring on an input module:
A leakage resistor must be placed across the contacts of an input
device.
The modules must detect minimum leakage current or a
point-level fault is sent to the controller.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 133/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 134/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Here’s How To plan your electronic keying decisions for the module.
1756--I/O Module
procedures guide. to an I/O Configuration procedure in your
2. Find the Manually Add an I/O Module section of the procedure.
Give students several situations. 3. Briefly read through the decision table for planning your
Have them use the decision table electronic keying decision.
to determine which keying option
to use.
Activity: Who’s got the lowest rev?
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 135/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
demonstrate all lesson
using objectives
the proper job aids. he or she demonstrates them.
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. Pay attention to these critical aspects of the demonstration:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 136/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise A In this exercise, you will practice adding and configuring local
1756-I/O modules to the I/O Configuration of an RSLogix 5000
project.
Directions:
Device Tag (Alias) Scope Slot Chan Signal Min / Off Max / On
Part Present
Part_Sensor IO2_1756r_A1 2 12 24 VDC Sink No Part Part
Photoeye
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 137/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
- 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.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 138/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
- No point--level faults for any unused I/O points. Visually check the front of each digital I/O module.
Monitor the tag in logic and confirm that its minimum and
- CH0_Analog_Input shows the range of values.
maximum values match the I/O list specification.
Monitor the tag in logic and confirm that its minimum and
- CH0_Analog_Meter shows the range of values.
maximum values match the I/O list specification.
Monitor the tag in logic and confirm that its minimum and
- CH1_Analog_Input shows the range of values.
maximum values match the I/O list specification.
Monitor the tag in logic and confirm that its minimum and
- CH1_Analog_Meter shows the range of values.
maximum values match the I/O list specification.
High and low alarms for Press and Stake Pressure Transmitter Monitor the alarm bits in logic and confirm they turn on at the
- trip on specified limits. specified limits.
High and low alarms for Weld Pressure Transmitter trip on Monitor the alarm bits in logic and confirm they turn on at the
-
specified limits. 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.
Conveyor_Flt bit turns on for any point fault of the conveyor C. Reset any latched diagnostic bits.
- equipment. D. Remove the terminal block of the digital input module and
confirm the Conveyor_Flt bit turns on.
E. Replace the terminal block.
F. Reset any latched diagnostic bits.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 139/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
4. The complete I/O configuration for the should look like this:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 140/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 141/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 142/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
IO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 143/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
IO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 144/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 8
Configuring a Logix5000 Controller
to Produce and Consume Data
What You Will Learn After completing this lesson, you should be able configure a
Note that in the lesson, data will be Logix5000 controller to produce and consume data by performing
produced and consumed over the the following tasks:
backplane. While this might not be as
common as producing and consuming Configure a produced tag
them over a network, it will allow
students to practice sharing data before Add a controller to an I/O configuration
going into the details of the ControlNet Configure a consumed tag
or EtherNet/IP network.
Set RPI limits for a produced/consumed tag
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 145/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
In the graphic, point out that the Total Produced Tag: Scheduled data (controller-scoped tag) that is
tag is available to any other controller on published (multicast) by a controller and available to one or more
the backplane.
other controllers:
Note
reachthat
twothe tag is stillit multicast.
controllers, To to
does not have Total
be passed to one (like a message) then
be passed to another.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 146/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Produce Option
Data Access
Options
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 147/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Note that this is the name of the Adding a Controller to an I/O Configuration
controller and not the project (if
different). To share data, a path is created by adding the producing controller to
Note that the I/O Configuration identifies the I/O configuration of the consuming controller and defining the
if the tag is being produced locally or following parameters:
over a network (and which network).
Name of the producing controller
Slot number
Revision (major and minor):
-- Electronic keying is compatible.
Optional:
-- Description
-- Major fault option
-- Inhibit option
Local Controllers
Add thatorthe
created consumed
it can tag cantag
be an existing be that Configuring a Consumed Tag
is modified.
A controller can only consume a single tag once.
Setting up more than one consumed tag in the
same controller results in unpredictable
controller-to-controller communications.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 148/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Source Controller
(as Named in the I/O
Configuration)
Exact Name of the Produced
Tag in the Producing Controller
The Amount of Time
Between Updates of the
Data
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 149/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tag Names
Point out that this is not the consumed The Remote Data (source tag name) must be exactly the same as the
tag name. produced tag name in the producing controller.
Producer
Consumer
Same
Note that consumed tag names do not If a user-defined structure is produced, there must
require naming conventions through the be a structure with the identical size and layout in
software. However, your plant may opt
to use naming conventions to make the consuming controller. To ensure accuracy,
troubleshooting easier. copy the structures between projects.
Emphasize that if structures are the
same size but different layout, data from
the first member in structure A (e.g., a
REAL) will incorrectly transfer to the first Producer
Data Consumer
member in the other structure B (e.g., a DINT TIMER
DINT).
DINT BOOL
BOOL DINT
TIMER DINT
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 150/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Note that a separate lesson reviews the The number (and not size) of consumed tags is totaled and counted
number of connections consumed by against the number of connections a system can support.
produced and consumed tags.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 151/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tell the students that when the RPI Produce/Consume Tag RPI Limits Check
request from a consumer is
out-of-range, an automatic negotiation
will allow the consumer to connect to the If someone types a wrong RPI value for a consumed tag, it could
producer by using the default RPI value overload the network and halt production. To prevent this, you can:
configured for the produced tag.
Define a range of acceptable RPI values for each connection.
RPI negotiation
the user status will be
via the Consumed reported to
Tag Define a default RPI value for out-of-range RPIs:
Connection dialog.
Produced Tag Values
Minimum, Maximum and
Default values can be modified
Offline only.
Consumer
is RPI of 2ms
out of range. = Consumer
get RPIdefault
set to the would
value of 10ms.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 152/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Advanced Tab
Enable RPI
Negotiation Here
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 153/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements and fully
certificate students prepare
for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the CCP143_1756r_DEM4.acd Pay attention to these critical aspects of the demonstration:
project during the demonstration.
- Location of the procedures in the job aid
Use the CCP143_1756r_DEM5.acd file
to download to the controller in slot 3. - Produced check box in the Edit Tags window
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 154/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Context:
You have programmed the complete projects for the controller in slot
1 and the controller in slot 3. To exchange interlocking data between
the controllers, you must configure the controllers to produce and
consume data across the backplane.
Producer Consumer
Directions:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 155/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 156/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Context:
Directions:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 157/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
14. Verify that the data from the controller in slot 1 is being
consumed by the controller in slot 3.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 158/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 159/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
12.
A. The following is an example of how the I/O Configuration
should look in the slot 3 controller:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 160/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 161/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise B
10. You should first copy the Status UDT from the producing
controller’s project into the consuming controller’s project:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 162/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 163/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
PC3e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 164/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 9
Configuring Logix5000 Controllers
to Share Data over an EtherNet/IP
Network
What You Will Learn After completing this lesson, you should be able to:
Important: If this lesson is part of a Add an EtherNet/IP module to an I/O configuration
national school and you are using
ControlNet for remote data sharing, this Add a controller to an I/O configuration
lesson can be skipped.
Use the procedures in this lesson when you have to pass interlock
data between controllers over an EtherNet/IP network.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
ENTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 165/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Overview of IP Addresses
Tell the students that every Rockwell MAC (Media Access Control) Address: A static address that is
Automation/Allen-Bradley factory-assigned to an Ethernet and/or EtherNet/IP device. This
Ethernet/EtherNet/IP product has a MAC
address in the form address is a unique 6-byte address -- each digit is a hex number -- that
00:00:BC:XX:XX:XX. is embedded in the circuitry of every device that is on an EtherNet/IP
Inform the students that a device’s MAC network:
address is also referred to as the
device’s Hardware Address or Ethernet
Address.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
ENTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 166/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Inform the students that they will be Subnets and Subnet Masks
shown how to identify if two devices are
on the same network later in this lesson. Subnet Mask: An address that enables distinction between networks
This section may confuse your students. by “masking” IP address bits that denote the same network and
Network administrators are often
stymied by this topic. “exposing” bits that denote different networks:
Networks are often divided up into smaller units called subnets.
If pressed for additional information,
refer them to the Internet. Entering the Network administrators create subnets as a management tool:
terms subnet or subnet mask into their
favorite search engine will reward them -- Routes packets to the appropriate subnetwork based on IP
with a plethora of information. The addresses
search results will provide them
background information, subnet -- Easier to monitor the health of the entire network
calculators, and web and classroom -- Minimizes effort required to troubleshoot and isolate problems
learning opportunities.
-- Capable of isolating users based on:
-- Geography
-- Departments
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
ENTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 167/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
? How would using subnets on a plant Subnet masks allow for two devices to determine whether or not they
floor assist your company’s operations? exist on the same subnet:
Answer: Subnets would make it If two devices are on the same subnet, they are able to
possible to isolate different plant floor communicate directly with one another.
operations (e.g., welding, milling) from
each other and from the If two devices are on different subnets, the data must first be sent
office/administrative systems. This to a router before the targeted device receives the data sent by the
allows one operation to be shut down
without directly impacting the whole source device.
plant. Subnets will reduce the risk of
security threats (e.g., Trojan horse
attacks). How a Subnet Mask Operates
A subnet mask, like an IP address, is a 32-bit address that is
? How many of you have ever normally grouped into 4 bytes for ease of communication and
programmed an MVM instruction? How understanding:
does it work?
Inform the students that a subnet mask Typical Subnet Mask
operates in a manner similar to an MVM
instruction; hopefully they will be able to 255.255.XXX.XXX
translate some of that familiarity when
identifying if two IP addresses are on the
same subnet.
Binary Equivalent: 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . x x x x x x x x . x x x x x x x x
Consecutive “1’s” Represent Network Portion of IP Address
Example
Compare the EtherNet/IP addresses of two devices and determine
if they are on the same subnet:
EtherNet/IP Address: 165.88.73.129
EtherNet/IP Address: 165.88.74.187
Subnet Mask: 255.255.240.0
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
ENTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 168/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
EtherNet/IP Address: 1 0 1 0 0 1 0 1 . 0 1 0 1 1 0 0 0 . 0 1 0 0 1 0 0 1 . 1 0 0 0 0 0 0 1
EtherNet/IP Address: 1 0 1 0 0 1 0 1 . 0 1 0 1 1 0 0 0 . 0 1 0 0 1 0 1 0 . 1 0 1 1 1 0 1 1
Subnet Mask: 1 11 11 11 1. 11 11 11 11 .1 11 10 00 0. 00 00 00 00
EtherNet/IP Address: 1 0 1 0 0 1 0 1 . 0 1 0 1 1 0 0 0 . 0 1 0 0 1 0 0 1 . 1 0 0 0 0 0 0 1
EtherNet/IP Address: 1 0 1 0 0 1 0 1 . 0 1 0 1 1 0 0 0 . 0 1 0 0 1 0 1 0 . 1 0 1 1 1 0 1 1
Subnet Mask: 1 11 11 11 1. 11 11 11 11 .1 11 11 11 1. 00 00 00 00
? What are some reasons you may As demonstrated by these examples, it is possible to expand (or
want to expand your network? Contract contract) the network environment by changing the subnet masks
it? associated with the devices on a network.
Answer: Isolate devices, processes,
and enhance security. Limiting the
number of subnets you have increases Gateways
the likelihood that two devices can Gateways: Nodes on a network that act as entrance and exit portals
communicate
This may reducedirectly with each
the number other.
of routers between external networks:
you must purchase, maintain, and Data packets being shared between internal and external devices
monitor.
Gateways are glorified routers that must pass-through at least one gateway in establishing
control the flow of data between external communications.
networks and an enterprise’s internal
network. Gateways often act as a firewall and protect the resources of a
private network from users from other networks.
Gateways may have more than one IP address associated with
them -- one for internal users and one for external users.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
ENTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 169/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Note that this section is a general To share data across an EtherNet/IP network, it is necessary to
introduction to the flow of configuration complete the following procedures:
procedures. The step-by-step details
and software demonstrations will be 1. Create the required produced tag.
presented in the Here’s How section. If
this lesson is part of a national school, 2. In the controller that is consuming the data, perform the following
add that remote I/O will be discussed in actions:
a different lesson.
Encourage students to ask any A. Add the local EtherNet/IP module to the I/O configuration.
remaining questions from the
Configuring a Logix5000 Controller to B. Add the remote EtherNet/IP module to the I/O configuration.
Produce and Consume Data lesson.
C. Add the producing controller to the I/O configuration.
Note that the controller was also added Adding an EtherNet/IP Module and Controller to an I/O
to the project to share data when Configuration
producing and consuming tags across
the backplane. However, the controller is The following graphic is an example of a remote EtherNet/IP module
now added under the remote ENBT.
and remote controller added to an I/O configuration in
RSLogix 5000 software:
Add that to
possible it isadd
notthe
necessary
controllerorrunning
even the
project to the configuration.
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 170/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Pay attention to these critical aspects of the demonstration:
Use thethe
during steps below to help guide you
demonstration:
- Location of the procedures in the job aid
Be sure to use the
CCP143_1756R_DEM6.acd file and - Parent--child relationship of the EtherNet/IP and the
CCP143_1756R_DEM7.acd file. When
demonstrating the listed procedures, be controller that you add to the I/O configuration
sure to point out the following items:
- Produced and consumed tags that you create
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
ENTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 171/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
ENTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 172/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Configuring Logix5000 Controllers to Share Data over an EtherNet/IP Network 9--9
Context:
EtherNet/IP Network
Produced Consumed
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.
Directions:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
ENTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 173/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
9--10 Exercise: Configuring Logix5000 Controllers to Share Data over an EtherNet/IP Network
4. Enter ladder logic to copy your analog channel 0 data and channel
1 data as well as your discrete input data to the respective
members of the Local_Station_Data tag.
5. Verify the project, correct any errors, and download the project to
the local controller in slot 1.
6. Place the controller in slot 1 in Remote Run mode.
Tip " This project will be downloaded to the controller in slot 3 of the
remote workstation after you have completed the configuration.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
ENTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 174/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Configuring Logix5000 Controllers to Share Data over an EtherNet/IP Network 9--11
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
ENTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 175/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
9--12 Exercise: Configuring Logix5000 Controllers to Share Data over an EtherNet/IP Network
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
ENTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 176/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Configuring Logix5000 Controllers to Share Data over an EtherNet/IP Network 9--13
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
ENTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 177/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
9--14 Exercise: Configuring Logix5000 Controllers to Share Data over an EtherNet/IP Network
11. Your ladder logic should look similar to the following example:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
ENTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 178/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Configuring Logix5000 Controllers to Share Data over an EtherNet/IP Network 9--15
12. Your ladder logic should look similar to the following example:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
ENTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 179/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
9--16 Exercise: Configuring Logix5000 Controllers to Share Data over an EtherNet/IP Network
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
ENTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 180/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 10
Communicating with a 1756-I/O
Module over an EtherNet/IP
Network
What You Will Learn After completing this lesson, you should be able to add a remote
1756-I/O module to an I/O configuration for communication over an
EtherNet/IP network.
Just like with local modules, you can add remote I/O modules at any
point in your development process.
Have students find their Reference: RSLogix 5000 and Logix5000 Procedures Guide
procedures guide and use it for
the steps below. Give them a few 1. Find the Adding a Local or Remote 1756--I/O Module to an I/O
minutes to read the procedures
guide. Configuration procedure in your procedures guide.
Point out that in this lesson you’ll 2. Briefly read the Get Ready steps.
manually add remote modules.
Point out that this also applies to the Example: Effect of RPI on EtherNet/IP Communication
RTS of an analog module.
If a digital input module uses an RPI = 100 ms, the
EtherNet/IP module sends module data immediately on receiving it
if another data packet was not sent within the last 25 ms.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 181/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Communications Formats
Point out that you can still have Question: Which type of connection do you need to use if you want
direct connections with modules diagnostic data from a module?
even if the chassis has a
rack--optimized connection.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 182/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Have each student do this on Activity: For each situation below, decide which rack connection
their own. Then go over the setting to use and check the appropriate box:
answers as a group.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 183/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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. Pay attention to these critical aspects of the demonstration:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 184/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Context:
Production
Line Active
Local Remote
Chassis Ethernet I/P Network Chassis
Directions:
3. Add the local and remote EtherNet/IP modules to the project I/O
configuration (review your workstation configuration for the
appropriate IP address.)
4. Add and configure the remote output module in slot 4.
5. Add the local input module that is in slot 2 to your I/O
configuration. You will also be owning this module.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 185/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 186/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 187/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
(Continued)
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 188/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 189/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 190/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 11
Creating an Event Task in an
RSLogix 5000 Project
What You Will Learn After completing this lesson, you should be able to create an event
task in an RSLogix 5000 project.
Use an event task when you have logic you want to execute
whenever a specific condition occurs.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 191/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Event Task
An event task is a task that performs a certain function only when
Note that the fastest or shortest task will triggered by a specified event:
not necessarily be the highest priority.
Each task is assigned a trigger.
In the graphic, point out that an event Each task is assigned a priority level. When triggered, the event
task icon has a forward arrow because task interrupts any lower priority tasks (other event, continuous,
the task executes once based on a
certain conditional event. or periodic tasks).
Once initiated, all programs assigned to the event task are
Also, note that like a continuous task or
periodic task, an event task contains executed or scanned once from top to bottom.
programs, tags, and routines. Upon completion, control returns to the task that was interrupted,
at the point in which it was interrupted.
Benefits
Event tasks offer the following benefits:
Improve performance and reduce costs because tasks execute
only when needed
Note that event tasks can provide an
alternate, more effective way of Reduce the amount of code a controller must scan on a regular
balancing the need for high-speed basis
processing with CPU performance.
Free up CPU resources for other operations
Provide faster throughput and improved loop-closure times,
which translate to higher production output
Tip " Like a continuous or periodic task, event tasks require at least one
program and one routine.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 192/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Event Task
The properties for each event task determine when the task is
In the graphic, point out that the trigger executed:
option is where the user chooses how
the event task will be enabled. Tell
students that this means event tasks will
only execute if the required trigger has
occurred.
Timeout Value
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 193/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Trigger
Note
eventthat
taskthe Motion
permits Group Execution
a specialized A consumed
count tag changed value or its sequence
just changed Consumed Data State Change
algorithm to be synchronized with the COS input data on an input module has changed or
motion group processing. Since the Module Input Data State Change
planner is always a higher priority than its sequence count changed
the event task, this event always occurs EVENT instruction only
when the planner is complete. This An event instruction goes true " This code specifies the task to
allows you to use specialized control trigger. It is programmed outside
algorithms to override the normal motion of the event task.
loop processing.
The motion planner executed Motion Group Execution
The high speed registration input 1 on the motion
card or drive has fired trapping the current axis Axis Registration 1
position
Note that a physical device determines The high speed registration input 2 on the motion
the location and triggers Axis card or drive has fired trapping the current axis Axis Registration 2
Registration tasks on the off-to-on position
transition of these inputs.
The axis has crossed the assigned watch position.
A watch point is a software-based position that Axis Watch
serves as the trigger for the event
This technique lets you use smaller, Event tasks provide a way to synchronize data exchange to ensure
more modular controllers in flexible that a consuming controller receives all of the data before processing
manufacturing cells. You can reconfigure
the cells while avoiding the begins:
interlock-wiring issues that would After the producing controller loads the data into its produced tag,
otherwise exist.
the controller initiates an IOT (immediate output) instruction.
The consuming controller simply configures an event task to look
for the trigger via the consumed tag.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 194/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Poll the class to find out who is using same chassis as the controller that needs to respond to the event.
remote I/O in their application.
Input modules can be placed in a remote chassis connected via a
ControlNet or EtherNet/IP network. The associated
communications module connecting the remote I/O must support
input events.
Point out that for many applications, the Each network adds additional delays.
benefit of reducing the CPU loading
overrides the need for speed.
Quick-Response Events
Example: A packaging line requires a Quick-Response Event: The delay between the input change and
label each time a product is detected. the control of an output must be minimized:
Because of the speed with which
product moves by the labeler, an event Controls an output based on receipt of an input
task is the only way to guarantee that
every load is detected and labeled. Isolates code to ensure that execution is not impacted by long
continuous task scan times
Works for applications such as material handling, packaging,
gluing
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 195/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Synchronized-Execution Event
Example: Synchronized-execution Synchronized-Execution Event: Typically used with analog data,
event tasks work
as packaging, for applications
process such
loops, drive where the arrival of new data triggers an operation:
control loops Each analog module has its own internal sample period for
With an event task, you can synchronize the PID calculation to the
arrival of flow transmitter data to avoid this potential error.
2. Select only the bit transition you want to trigger the event. By
default all transitions are enabled.
3. If there is more than one transition you want to monitor, use code
in the event task to find out what changed.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 196/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Sends Data
When the
Input
Changes
from Off to
On and On
to Off
Review the wording of this option. To reduce task overhead, verify the disable automatic output
Selecting it will actually disable (not processing . . . option is selected and use an IOT instruction in a
enable) automatic output processing.
routine.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 197/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 198/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Online Properties
Length of Execution
Setting this option will trigger a task within a specified period of
time if the required event does not occur:
This timer is reset and started when the task is completed.
This is not the same as a periodic task.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 199/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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
Causes value to be sent, thus improving response latency
Avoids having to wait for another RPI to initiate an output update
On a produced tag, permits you to trigger a task in the consuming
controller:
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.
UIE instruction enables other tasks to interrupt the current task:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 200/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
CPS Instruction
The CPS instruction copies the value(s) in the Source to the values in
This instruction is considered part of the the Destination:
File/Misc. group of instructions. It can be
found on the File tab of the Language Performs double buffering of values and manages interrupts/event
Elements toolbar. tasks:
-- Operation cannot be interrupted by another task.
Reduces the need for application handshaking
Avoids mixture of old/new data
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 201/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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 Pay attention to these critical aspects of the demonstration:
project during the demonstration.
- Location of the procedure in the job aid
- Timeout option
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 202/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise A In this exercise, you will practice the basic steps for creating an
event task.
Directions:
Name: Alarms
Trigger: EVENT Instruction Only
Priority: 5
Watchdog: 100 ms
3. Add the unscheduled Alarm_Control program to your new
Event task’s 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.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 203/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Context:
Directions:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 204/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
the program.
11. Assign Alarm_Control as the main routine of the
Low_Tape_Alarms program.
Tip " Two outputs (DO10 and DO11) should turn on as a visual indication
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 205/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E. Enable
DI15). any of the other pushbuttons or switches (except
F. Did DO10 and DO11 turn on?
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 In this exercise, you will practice creating an event task and
configuring an event instruction.
Context:
inform the operator when a high percentage (3%) of the total parts
has been rejected. On the standard workstation, these inputs and
outputs appear as shown:
Directions:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 206/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Contains the
percent of
rejects created.
12. After the task is set up, enter the code necessary to enable the task
when the Percent_Rejected tag value is greater than or equal to
3. Enter this logic in the Station_4_Quality MainRoutine, rung
5.
13. Download this project to the controller in slot 3.
14. Set both analog inputs to 0 in order to create poor quality parts.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 207/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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 " This ladder logic should be in the main routine of the
Station_4_Quality program in the Quality task.
Tip " As soon as the Parts_Rejected value is greater than or equal to 3,
the reject light will be enabled/flashing.
21. Continue to toggle selector switch DI12 as the Press, Stake, and
Weld lights go off until the reject light (DO6) is flashing or on.
22. Go offline with the controller and close the project.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 208/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 209/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 210/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise B
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 211/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
15. The logic you created should look similar to the following:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 212/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 213/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
10. The following ladder logic will flash the alarm light when the
task is enabled. To simply turn the alarm light on without
flashing it, program rung 1 only, without the input instruction:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 214/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12. The following code will enable the task when the
Percent_Rejected value is more than (or equal to) 3:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 215/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
EVTe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 216/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 12
Retrieving and Setting Logix5000
Controller Status Values with
GSV/SSV Instructions
What You Will Learn After completing this lesson, you should be able to:
Retrieve and set a controller status value using GSV (Get System
Value) and SSV (Set System Value) instructions
Assign a fault routine
Mention that by default, the GSV and Use the GSV/SSV instructions carefully. Changes
SSV instructions are part of the to objects storing controller system data or based on
Input/Output tab on the RSLogix 5000
Instruction toolbar. controller system data can cause unintended
controller operation that may injure personnel and
damage equipment.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 217/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--2 Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Class
Show students examples of object The class is the category or type of object that is accessed:
classes in the Online Help.
Category
Instance
Note that this is one reason that naming If more than one project component relates to the class selected, an
I/O modules with a descriptive name instance must be selected:
(using purpose or location, for example)
is beneficial.
? How would the “This” option help Select “THIS” to identify the current task,
programmers work more efficiently? program, or routine. The instruction can then be
Answer: The same code can be copied easily reused.
to another task, program, or routine and
still function properly without further edit.
Attribute
Note that not all attributes are able to be The attribute is the particular property or value that is retrieved or
retrieved and set. set:
Property to Monitor
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 218/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions 12--3
Source or Destination
A source contains values that will be set by an SSV instruction. A
Add that the layouts of the required destination stores the values that are retrieved by a GSV instruction:
source or destination data types are
detailed in the documentation reference
guide and in the online Help system.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 219/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--4 Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Tag
User-Defined
Data Type
In
CIPtheobject
example
classinstructions,
and the CIPpoint out the
object This example shows how to retrieve status information from a
program class. The specified program is named “DISCRETE”:
name and then the attribute name. Note
that these instructions are not One GSV instruction retrieves the value of the last scan time.
conditioned.
The other GSV instruction retrieves the value of the max scan
time.
Both instructions place the data in different members of a
user-defined structure named Discrete_Info.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 220/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions 12--5
Add that this method can also be used In this example, an SSV instruction is used to enable or disable a
to enable or disable an I/O module, program.
which is similar to inhibiting bits within a
PLC-5 controller. Based on the value moved into the Discrete_Progr_Flag tag, the
appropriate value is placed in the disable flag attribute of the
In the example instructions, point out the program named “DISCRETE.”
object class and the object name and
then the attribute name.
Status Flags
Stress that most controller values are Controller status and arithmetic status flags can also be examined for
accessed using GSV and SSV specific data.
instructions.
Note that flags are not base tags. Most controller configuration and status values are accessed using
Programmers will never see or create the GSV and SSV instructions. There is also a set of status and
alias tags for them.
arithmetic flags that can be accessed directly in relay instruction
operands.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 221/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--6 Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 222/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions 12--7
Flashing Red
(Solid in Some Controllers)
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 223/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--8 Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Fault Routine
Tell students that the fault routine is Each program can have its own fault routine:
created in the program and assigned.
Additionally, a GSV instruction can be The controller executes the program’s fault routine when an
used to retrieve the fault code and store instruction-related fault occurs.
it in a tag.
If a fault is cleared, the routine continues executing at the
Remind students that non-instruction instruction immediately after the one that caused the fault:
level faults include I/O faults, task
watchdog faults, etc. -- The controller does not enter Fault mode.
Add that for non-instruction faults, no A fault routine normally contains logic to identify a fault and
program fault routines are called. sometimes clear it:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 224/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions 12--9
Note that the programming language At minimum, a main routine must be created and assigned:
works in the same manner as the
programming in a fault routine.
Program
Main Routine
Subroutine
Logix5563
Flashing Red
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 225/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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,
the controller goes into Fault mode:
-- The fault that was not cleared and up to two additional faults
are logged.
-- This information can be viewed via the Major Faults tab in the
controller properties.
If over 32 major faults occur at the same time, the controller goes
into Fault mode:
-- The first three major faults are logged into the controller fault
log.
Remind students that a watchdog fault If a watchdog fault occurs a second time in the same logic scan,
occurs if the sum of the execution times the controller enters Fault mode, whether or not the controller
for all programs in a task is greater than
the watchdog value. fault handler clears the fault.
Minor Fault
Minor Fault: A fault that is not severe enough to shut down the
controller:
Low battery
Serial port problems
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 226/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
A minor fault bit is set.
Logix5563
Normal
Operating
State Solid Green
operation. However,
improve scan time. clearing a minor fault may
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 227/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--12 Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
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 Pay attention to these critical aspects of the demonstration:
project during the demonstration.
- Location of the procedures in the job aid
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 228/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions 12--13
Exercise A In this exercise, you will practice retrieving controller status data.
Context:
You have completed and tested your project. You would like to test
your fault routine to verify it works correctly. For troubleshooting
purposes, you want to retrieve the maximum scan time for each
program in the project.
Directions:
Tip " Search Help for the MAXSCANTIME attribute for help configuring
your logic.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 229/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Directions:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 230/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions 12--15
Tip " Shift times are calculated using the following parameters. 24-hour
times are used:
15 22:59 2
23 6:59 3
11. Verify that the current shift is correctly calculated in the ladder
logic.
12. Monitor the Wall_Clock tag to see the values changing for all
members of the structure.
Exercise C In this exercise, you will practice retrieving controller status data and
assigning a fault routine.
Context:
Directions:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 231/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--16 Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Capture.TimeLow tag.
9. Add a SSV instruction that will use the Clear.TimeLow tag to
clear the MajorFaultRecord of any program that calls this fault
handler routine.
10. Configure the existing Clear_Fault tag as an enabling condition
for the SSV instruction.
11. Open the MainRoutine in the MainProgram of the MainTask .
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 232/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions 12--17
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 233/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--18 Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 234/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 235/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--20 Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 236/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions 12--21
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 237/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--22 Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
Exercise C
the following:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 238/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 239/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
12--24 Exercise: Retrieving and Setting Logix5000 Controller Status Values with GSV/SSV Instructions
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
GS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 240/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 13
Programming a BTD Instruction in
an RSLogix 5000 Project
What You Will Learn After completing this lesson, you should be able to program a Bit
Field Distribute (BTD) instruction in an RSLogix 5000 project.
Mention that if the length of the bit field A BTD instruction copies specified bits from the Source, shifts the
extends beyond the destination (Dest), bits to the appropriate position, and writes the bits into the
the instruction does not save the extra
bits. Any extra bits do not wrap to the destination (Dest).
next word but instead are dropped.
When enabled, a BTD instruction copies a group of bits in the
following manner:
The group of bits is identified by the Source value bit (lowest bit
number of the group) and the length (number of bits to copy).
The destination (Dest) bit identifies the lowest bit number to start
with in the destination (Dest).
The Source value remains unchanged.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
BTDsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 241/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
value_1
Before BTD
Instruction
value_1
After BTD
Instruction
The shaded boxes show the bits that changed in value_1.
AFTER MOVE:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
BTDsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 242/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
This
BTDexample gets
instruction tostatus
make information about
the information an I/O
easier to module
use: and uses a
1.
2.
3.
4.
5.
To show why you are using bits 12 to 15: 1. The GSV instruction gets status information about some part of
1. Click the GSV instruction. the system.
2. Press F1. 2. In this example, the GSV instruction gets the status of the I/O
3. Scroll through the help and click the module in slot 2 of the workstation.
GSV/SSV Objects link. It is near the
end of the Description section. 3. Bits 12 to 15 give the status of the module.
4. Click the MODULE link. 4. The BTD instruction extracts bits 12 to 15 and stores them in a
separate tag.
Remove the I/O module from the 5. It is now a lot easier to use the status information. If the value is
chassis and point out the change in the not 4, there is a problem.
status value.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
BTDsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 243/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Demonstration Checklist
IMPORTANT: To meet IACET CEU
requirements
certificate and fully
students prepare
for the final exam,
you must demonstrate all lesson
objectives using the proper job aids.
Use the BTD_1756R_DEM1.acd file for Pay attention to these critical aspects of the demonstration:
your demonstration.
- Which side of the bit pattern is the first bit
After you demonstrate, ask each key
point as a question and have the - At what number the source or destination bit starts
students tell you what they noticed.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
BTDsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 244/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Context:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
BTDe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 245/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Directions:
2. Open MainRoutine.
8. Go offline.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
BTDe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 246/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
BTDe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 247/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
Rung 0 The GSV instruction that retrieves the Status attribute of the
controller and stores it in the Controller_Status tag.
The BTD instruction copies bits 12 and 13 (length = 2) of the
Rung 1 Controller_Status tag. It puts them in bits 0 and 1 of the
Keyswitch_Position tag.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
BTDe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 248/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 14
Configuring a Logix5000 Message
What You Will Learn After completing this lesson, you should be able to:
Configure a message (read, write, and CIP generic)
Remind students how this is different Create and enter a numeric communications path
than the data they sent earlier across a
ControlNet network. Stress the
difference between produced and
consumed tags (scheduled with RPI) When You Will Do This
and messages (unscheduled).
Poll students to find out if they have Here are some situations when you may need to use a Message
programmed messages for any other (MSG) instruction:
types of controllers.
Send data to other Logix5000 controllers
Send data to PLC-5 and SLC 500 processors
Reset faulted 1756-I/O modules
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
MS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 249/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Configuring a Message
Remind students that in other To configure a message to any controller or module, the following
controllers, the data file is already items must be completed in this order:
created. In this controller, you must
define the memory area with a tag. 1. Add the destination controller to the I/O configuration (optional).
In the graphic, point out that the The flow of the configuration process is shown in the following
Message tag is the main operand in the graphic:
MSG instruction.
1. Add the Destination Controller
3. Program an
MSG Instruction
4. Configure the
MSG Instruction
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
MS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 250/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Mention that complete demonstration To continuously enable a message, condition the message with an
including how to select the values used XIO instruction that examines the message control word enable bit:
in the dialog box will be presented in the
Here’s How demonstration.
Note that RSLogix 5000, version 10 and To configure a read, write, or block transfer message, the following
higher, provides many enhancements for parameters must be configured:
sharing data with SLC 500 controllers.
Source Element: The tag or logical address currently containing
the data to be transferred:
Note that a read instruction helps -- For a read message type, the source element is the address of
identify the source of the data. Writes do the data you want to read in the target device. Use the
not identify the destination.
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.
Example: The tag timer1 is one element Number of Elements: The number of elements to be transferred.
that consists of one timer structure. 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 E 2012 Rockwell Automation, Inc. All rights reserved.
MS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 251/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " A combination of module name and numeric paths can be used:
Point out the following in the address:
1, ENET_Module, 2, 130.151.138.104, 1, 3
S 1 represents the path out the
backplane of the controller.
S ENET_Module is the name of the Numeric Communications Path
selected module.
Module Name
S 2 represents the Ethernet
port.
S The IP address is the IP address of
the destination module. Tip " Programmatic reconfiguration of the communications path, node
address, parameters, and source/destination permits one message to
S 1 represents the path from the target multiple devices, reducing the number of messages in a
destination module to the controller
across the backplane. project.
S 3 represents the slot number of the
destination controller.
CIP Generic Message Parameters
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
MS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 252/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
be defined:
Service Type: The type of service to be performed on the module
Message Execution
Have the students open the
Documentation Reference Guide. While online, message errors can be identified in RSLogix t 5000
Review
Point outthe
theMSG bits andon
information their
MSG functions.
error software:
codes. A message that is not received will not have the .DN bit set.
Note that the enhanced message debug Error codes can be found in the configuration dialog box:
tools also provide error codes that
reduce ambiguity in error messages. -- Enhanced message debug tools identify which module
generated the run-time error code.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
MS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 253/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Pay attention to these critical aspects of the demonstration:
Use the during
project CCP143_1756r_DEM2.acd
the demonstration.
- Location of the procedures in the job aid
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
MS2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 254/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise A In this exercise, you will practice configuring a message that is sent
from one Logix5000 controller to another Logix5000 controller.
Context:
Remote Line
Network
Local Line
Directions:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
MS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 255/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " Create a tag named Read_Remote_Total and make it an alias for
DI7.
Tip " Be sure that you have created the Count_Passed_Line_2 tag in your
application.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
MS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 256/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Context:
During operation, you want the controller to monitor the part sensor
input for an open-wire condition. If an open-wire condition exists,
you want the controller to turn on an alarm light. When the condition
is cleared, you want the operator to unlatch the module fault bits
using a reset pushbutton.
Directions:
Part_Sensor_Reset_Message.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
MS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 257/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
A. If the Part Sensor device has an open-wire fault, a pilot light
is illuminated.
B. If the operator pushes the reset button, a message is sent to
reset the module and turn off the light.
7. Create a controller-scoped tag named Part_Fault_Source of
DINT data type.
8. Modify the value of Part_Fault_Source tag so that each bit
within the tag has a value of 1.
Tip " Entering a value of --1 in the Part_Fault_Source tag will set each bit
to a value of 1.
9. Configure the message to reset the input module in slot 2.
Message Type: CIP Generic
Service Type: Reset Latched Diagnostics (O)
Source Element: Part_Fault_Source
Communications Path: Input module in slot 2
Tip " For help, go to the Reset Latched Diagnostics on a Digital Module
procedure within online Help.
10. Download the project to the controller in slot 3 and then place the
controller in the Remote Run mode.
11. To test the application, perform the following actions:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
MS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 258/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
MS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 259/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
Message Source
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
MS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 260/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
MS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 261/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise B
Alias for
Open-Wire an
Fault
on the Part
Sensor
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
MS2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 262/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 15
Developing an Add-On Instruction
in Ladder Diagram
What You Will Learn After completing this lesson, you should be able to:
Mention that you can also protect an Plan the parameters of an add-on instruction
add-on instruction so that people can’t
change its logic and local data. Or you Decide if you need an EnableInFalse routine
can hide the logic and local data Create an add-on instruction
completely. Protecting an add-on
instruction is outside the scope of this Use an add-on instruction in a routine
lesson.
Monitor the values and logic of an add-on instruction
Export and import an add-on instruction
Tip " Use RSLogix 5000 software to learn more. Go to Help > Learning
Center > What’s New.
Explain that add-on instructions are Use add-on instructions to save development time by making your
similar to subroutines. Point out the code more modular, re-usable, and easy to use:
advantages and tradeoffs of add-on
instructions as you go along. Encapsulate your most commonly used logic as instructions,
similar to the controller’s built-in instructions
Re-use the instructions in any of your projects
Monitor an instruction and see its logic as it executes, even when
you use the instruction multiple times in a project
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 263/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 264/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 265/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Parameters and local tags are the data that the instruction uses.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 266/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Parameters
When you create an add-on instruction, you set up parameters for the
instruction:
Local Tags
When you create an add-on instruction, you can also set up local
tags:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 267/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Compare this to a subroutine. A Local Tag: An intermediate or storage value that an add-on
subroutine may show you more data instruction uses as it executes. It is a value that you don’t need to see
than you really need to see. This makes
it more difficult to monitor and or use outside of the instruction.
troubleshoot.
Here are some examples of local tags:
Timers and counters
Storage arrays
Bits that store the sum of several input conditions
Results of intermediate calculations
You can Alias a Local tag (or one of its members) to an input or
output parameter. In this way, the local tag can be easily
monitored/ modified outside of the AOI.
You can change the language type through the General tab of the
AOI:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 268/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Suppose you add a parameter to the It ripples through each instance of the instruction.
definition.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 269/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Mention that default value changes can Change the default values within the Local Tags tab:
also be done in:
S Context menu
(Controller Organizer only)
S Data Monitor
S Logic Editor
S Watch Pane
subroutine if the JSR rung is False? EnableInFalse routine. See Knowledgebase IDan#53903 for ways to
Answer: Logic is not scanned and improve the false scan time if you need to use EnableInFalse
values in the subroutine remain routine.
unchanged.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 270/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Relate this to a real system. It could Suppose you want an instruction that checks for jammed product and
have many gates, all of which use the looks like this:
same logic to detect a jam.
Here are the parameters and local tags for the instruction:
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. Output parameter
Local tag
Input parameter
F. Flag that there is a jam. You want to see this and use it in your application
Output parameter
code.
Local tag
Input parameter
G. Timer that times how long the photoeye is on. You really don’t care about
Output parameter
the accumulated value.
Local tag
Your Turn Now it’s your turn. Do Exercise A and return here when you’re done.
Tell the students to stay at their desk
and do the exercise. They don’t need
the workstation for it. Review the
answers when they’re done. Then
continue with the lesson.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 271/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Before You Begin 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
You can program the Logic routine of an add-on instruction in any of
these languages:
Ladder diagram
Function block diagram
Structured text
You can use the instruction in any language, regardless of which
language you use for the Logic routine.
If the students ask, tell them that there’s You can’t call subroutines within an add-on instruction. You can
no defined limit to the levels of nested organize the logic of an add-on instruction in two ways:
instructions. It seems to be around 62
instructions deep. They’ll get a major Put all the logic in one routine
fault, stack overflow, if they go too deep.
Nest smaller add-on instructions within a larger add-on
instruction
Sub-Activities, Such
as Starting the Motor
and Watching for Jams
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 272/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 273/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Your Turn Now it’s your turn. Do Exercise B and return here when you’re done.
Tell the students to stay at their desk
and do the exercise. They don’t need
the workstation for it. Review the
answers when they’re done. Then
continue with the lesson.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 274/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Before You Begin Once you have your general design, it’s time to create and test the
definition. To do that, you’ll need to be familiar with:
Accessing parameters via logic
Editing the instruction
When you define the parameters, RSLogix 5000 software puts them
into an add-on-defined data type. Use that data type as the first tag
(main operand) in each instruction:
Point out that this is similar to accessing To access a parameter via logic, use this address format:
the data of a timer or counter.
Add-On-Defined_Tag.Parameter
For example, use this address to read the value of the jammed bit:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 275/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Point out that this is one advantage of If you need to change the logic of an add-on instruction, you must go
subroutines over add-on instructions. offline and edit the definition. You can’t :
You can edit a subroutine online.
Edit the logic of an add-on instruction while online
Edit just a single instance of the instruction
Compare this to a subroutine. You can You can export an add-on instruction to an .l5x file or import an
export a subroutine only if you wrote it in instruction into a project via an .l5x file:
ladder diagram.
Export
Import
Tip " Beginning with version 17 of RSLogix 5000, you can import a new
add-on instruction while online to a running controller.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 276/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Also note that the left and right power Because changes in any online mode can affect
rails are illuminated in the Run and machine and process control, before importing
Remote Run modes to indicate that the
ladder logic is active in the controller. add-on instructions, verify the current
communications mode using the Online toolbar.
Add that the Online graphic is animated
in any online mode.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 277/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 278/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 279/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
You can copy this logic from the Enter the Definition Logic
Detect_Jam_Routine in the
Unscheduled Programs folder.
Input Parameter
DINT
Not Required
Not Visible
Input Parameter
BOOL Local Tag
Required
Output Parameter
BOOL
Not Required
Visible
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 280/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
You can look for previously developed Add-On Instructions that may
fit your applications within the Rockwell website.
If“Faceplate/Add--On
you have time, show the VideoSets” to
Instruction Search the Sample Code Library
(samplecode.rockwellautomation.com)
the class.
Product Family
Product
Technologies
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 281/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Point out that you’re seeing the data for In this example, the Detect_Jam instruction continually checks for
this instance. This would be more jammed product at Gate_DI12.
difficult if this were a subroutine with
multiple calls to it. The data may be
constantly changing to reflect each call. If PE_DI12 = on for > 10 s, then Gate_DI12.Jammed = on.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 282/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise A In this exercise, you will practice planning the parameters for an
add-on instruction that starts and stops a motor.
Context:
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 doesn’t open or
close within a specified time
Directions:
For each of the values in the following table, check whether you’ll
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.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 283/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Input parameter
B. State of the pushbutton that stops the motor Output parameter
Local tag
Input parameter
C. State of the pushbutton that jogs the motor. You want the option to use a
Output parameter
jog pushbutton or not use one based on the application.
Local tag
D. Bit that stores the combined status of the start and stop inputs. The Input parameter
instruction uses this bit and the jog input to determine whether to run the Output parameter
motor.
Local tag
Input parameter
E. Bit that signals the motor to start Output parameter
Local tag
F. State of the motor’s auxiliary contact. It signals the instruction that the Input parameter
motor is running. You want the option to use the auxiliary contact or not Output parameter
based on the application.
Local tag
G. Timeout value in milliseconds to wait for the auxiliary contact to open or
close. The instruction signals a fault if the contact doesn’t open or close Input parameter
within this time. You’ll use the auxiliary contact for some applications but Output parameter
not others. You also want to be able to set the timeout value based on the
Local tag
application.
H. Bit that tells the instruction that you’re using the auxiliary contact of the Input parameter
motor. You don’t want to have to set this bit. You’ll set up the instruction’s Output parameter
logic to control this bit based on whether or not there’s a timeout value. Local tag
Input parameter
I. Fault bit that shows you that the auxiliary contact timed out and the motor
Output parameter
didn’t start or stop as commanded
Local tag
Input parameter
J. Timer that creates a timeout for the auxiliary contact. You can easily write
code to move the timeout value from above into the timer’s preset value. Output parameter
Local tag
Input parameter
K. Bit that you’ll turn on to clear the fault bit. You want to option to use it or not. Output parameter
Local tag
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 284/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Directions:
1. You plan to execute the instruction all the time and won’t use any
input conditions to disable it, like this:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 285/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise C In this exercise, you will practice creating and using an add-on
instruction.
Context:
Directions:
Property Value
Name Motor_Starter
Description Starts and stops a motor
Type Ladder diagram
Open Logic Routine Yes
Open Definition Yes
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 286/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 287/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
6. Click the Help tab of the instruction’s definition to see how the
instruction looks.
It should look like this:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 288/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
16. Test that Motor_Starter_01 sets it’s fault bit if the auxiliary
contact of the motor doesn’t close:
Exercise D In this exercise, you will practice exporting and importing an add-on
instruction.
Context:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 289/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Directions:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 290/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 291/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
Input parameter
K. Bit that you’ll turn on You want to be able to see it, but you also don’t
to clear the fault bit Output parameter
want to have to use it.
Local tag
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 292/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise B
Exercise C
2. The New Add-On Instruction dialog box should look like this:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 293/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 294/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
15. Open the properties for Motor_Starter_01 and enter 1000 into
Fault_Time:
Exercise D
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 295/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
AOILe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 296/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 16
Managing RSLogix 5000 Project
Files
What You Will Learn After completing this lesson, you should be able to manage
RSLogix 5000 project files by performing the following tasks:
Export a .acd project file
Import a .l5k text file
Import a .l5x XML file
Tip " In any format, the entire project, including tags, documentation,
ladder logic, etc. is contained in a single file.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 297/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Add that some other software packages Exporting a .acd Project File
divide the components of a single
project into separate files. In either Using a Windowsr “save” procedure, a project is stored as a .acd
format, the entire project, including tags, file:
documentation, ladder logic, etc. is
contained in a single file.
Mention
Windowsthat saving
saving is just a Other
procedure. standard
standard windows procedures, such as Save Bottling.acd
copying files, can be found in an
appendix in the Procedures Guide.
Add that you should not open a project You cannot directly save a .acd file to a disk:
from a floppy disk or CD-ROM. By
default, the software
the file back willwhich
to the disk, attempt
willtonot
save If you attempt to do so, you will receive an
error message indicating insufficient space on
work.
the disk, regardless of the size of the project
When copying files from a CD-ROM, file.
they will be marked “Read-Only”. To
make the files useable, you must first To save to a disk, a project file must be saved
copy them to the hard drive or network. to the hard drive and then copied to a disk.
Then you must clear the Read Only
check box in the file properties.
Note that in RSLogix 5000 software, Using the Windows “Save As” procedure, a .acd file can be exported
version 10, the export process was as a .l5k file, or text representation of the data for an entire project:
optimized to reduce the amount of time
required to perform a “Save As ”
operation. Programs
large quantity of tags that
with contain
commentsa
should have a significant decrease in the
time required for exporting.
Bottling.acd
Export Bottling.l5k - Export File
Note that the original .acd file is still (Save As) Original File Is Maintained
maintained as a separate file.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
FI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 298/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
To be used, a .l5k file must be imported. The original .l5k file will
remain and a separate .acd project file will be created:
Import/Export Version
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 299/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
To be used, a .l5x file must be imported. The original .l5x file will
remain and a separate .acd project file will be created:
The .l5x file contains the project file in XML format, as shown in the
following graphic:
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 300/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " Files are stored in the same location as the original.
Tip " This tool can only be used for .acd files created in version 10 or later.
Tip " The report can be saved as an HTML file or XML file.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 301/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Here’s How To manage RSLogix 5000 project files by performing the following
tasks:
Export a .acd project file
Import a .l5k text file
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 Pay attention to these critical aspects of the demonstration:
project during the demonstration.
- Location of the procedures in the job aid
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
FI2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 302/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise A In this exercise, you will practice managing RSLogix 5000 project
files.
Context:
You need to save and store a copy of an original HVAC file for
future reference.
Directions:
1. Open the FI2_1756r_A1.acd file.
2. Examine some of the file to become familiar with its contents.
Tip " Save the project using the same name. Save it in the 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.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 303/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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?
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
FI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 304/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
FI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 305/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
Import/Export Version
Major Revision
Major Revision
Minor Revision
Chassis Size
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.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
FI2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 306/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 17
Allocating Connections in a
Logix5000 System
What You Will Learn After completing this lesson, you should be able to allocate
communications connections in a Logix5000 system by performing
the following actions:
Determine the number of connections used by a Logix5000
controller
Conserve the number of connections used by a Logix5000
controller
Check connections in RSLogix 5000 with the Task Monitor tool
Connection Limits
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 307/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
? Could you make an array within this Producing 1 user-defined data type requires only 3 connections,
data type? as shown in the following table:
Answer: Yes. You can embed a
one-dimensional array of certain data Load_Info User-Defined Data Type
types (such as Dint) within a Source Tags Produced Tag Connections
user-defined data type. Here you could Height (Dint)
make
Height,anWidth,
array W_Flag,
of four Dints
and for the
L_Flag. Width (Dint) Load_Info (user-defined
Weight (Real) data type made of source 3 (1 tag plus 2 consumers)
W_Flag (Dint) tags)
L_Flag (Dint)
3 connections
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 308/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Message Connections
Note that the cache bit is set or cleared Some types of messages always require a connection. Other
in the Message Configuration dialog messages (such as a CIP messages) maintain the connection based on
box, which is accessed through the
ellipses button in the MSG instruction. the configuration of the cache bit:
Clear the cache bit for infrequent messages. This closes the
connection when not in use and frees it for other operations.
Note that opening a new connection for
each message execution increases Set the cache bit for continuous messages.
execution time.
Continuous
Connection
3. total
Countconnections
the tallies tofrodetermine the
the system.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 309/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Here’s How To check connections in RSLogix 5000 with the Task Monitor tool.
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:
1. From the tools menu select
Logix5000 Task Monitor.
2. Under Communications select
Monitor.
3. From the RSWho screen select
the processor you want to monitor.
4. From the Logix5000 task Monitor
Screen select the Networking Tab.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CO2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 310/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise A In this group exercise, you will practice allocating connections used
by a Logix5000 controller.
You have just completed a basic project. You now need to determine
the number of connections used by the controller in slot 1.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 311/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CO2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 312/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Lesson 18
Integrated Practice — Developing
an RSLogix 5000 Project
What You Will Learn After completing this lesson, you should be able to:
Modify the default task, program, and routine
Add a local 1756-I/O module to an I/O configuration
Create a tag in the Edit Tags list
Define alias tags
Draft simple ladder logic
Enter and edit ladder logic components
Verify a project
Select and change a controller’s operating mode
Download a project to a Logix5000t controller
Create an event task
Copy and reuse ladder components
Modify a communications path
Create a communications path
Configure a controller to produce and consume data
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 313/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPsb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 314/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Context:
You have completed and tested the basic project for Line_A. Now
you have been asked to duplicate this logic for Line_B.
Directions:
Tip " If you are using a ControlNet network, open the INP_1756r_A3.acd
file.
Alarms Limits
Scaling
Catalog High High High
Channel High Signal High Eng.
Number High Clamp
Low Low
Low Signal Low Eng.
Low Low Clamp
--
10.0 10.0 10
--
0
--
0.0 0.0 --10
OF6VI --
(0--10V) --
10.0 10.0 10
--
1
--
0.0 0.0 -- --10
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 315/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 316/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " Devices on the standard workstation are arranged and wired in the
following manner:
AO0 AI0
DI0 DI1 DI2
DO0 DO3 DO6
Label Description Slot I/O Tag I/O Tag for Alternate Wiring
Tip " This chart lists controller-scoped base tags (no alias information) in
the slot 1 controller:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 317/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Tip " If you are using ControlNet, you may need to reschedule the
network.
23. Create the Order_QuantityB tag and make it an alias for AI1.
24. Save your work and download the INP_1756r_A2.acd file to the
controller in slot 3 of the remote workstation.
25. To test your work, verify that the Line_A program of the project
functions as follows:
F A
B D
C, H E G Remote
Workstation
Analog Meter Analog Input
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 318/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
B
C, H D
E G Analog Meter Analog Input
F A
Remote
Workstation
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 " You may need to re-download the INP_1756r_A2.acd file to the
controller in slot 3 if the project was lost while the controller was
removed. If this is the case, press Read_Order button (DI4) again.
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 319/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
28. When the event task executes, it must increment a tag that tracks
the number of times the event task has executed. This tag is called
Event_Task_Count . Program the necessary logic for this in the
MainRoutine inside the MainProgram of the Event task you
created.
29. Produce the Event_Task_Count tag from the slot 1 controller,
and consume it from the slot 3 controller.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 320/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 321/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
(Continued)
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 322/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 323/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 324/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 325/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
(Continued)
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 326/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 327/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 328/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 329/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
29. The following example shows the produced tag in the slot 1
controller:
(Continued)
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 330/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " Your ControlNet node numbers may vary based on network
configuration.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 331/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
INPe56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 332/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Optional Lesson 19
Configuring Logix5000 Controllers
to Share Data over a ControlNet
Network
What You Will Learn After completing this lesson, you should be able to:
Important: If this lesson is part of a Add a ControlNet communication module to an I/O configuration
national school and you are using
EtherNet/IP for remote data sharing, this Add a controller to an I/O configuration
lesson can be skipped. Schedule a new ControlNet network
Stress that ControlNet and EtherNet/IP
are two Logix5000 networks designed to
share data between multiple controllers
in remote chassis or between a When You Will Do This
controller and I/O in remote chassis.
Use the procedures in this lesson when you have to pass interlock
Note that 1756-remote
introduced in a separateI/O will be
lesson. data between controllers over an ControlNet network.
Remind students that the ControlNet Determinism: The ability to reliably predict when data will be
network is the technology of the delivered.
backplane in a network.
Repeatability: Transfer times that are constant and unaffected by
devices connecting to or leaving the network.
ControlNet Nodes
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 333/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Computer
ControlLogix System ControlLogix System
ControlNet Network
VersaView
Operator Interface PLC-5/40C Controller CompactLogix
System
ControlLogix System
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 334/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Cable System
Nodes on the ControlNet network must be connected using a
Point out each component of the ControlNet cable system. The following graphic is an example of a
ControlNet cable system connecting ControlNet cable system and some of its components:
workstations in the classroom. If you
have a repeater, show it to the students.
Trunk Cable
Segment Section Connectors
Tap
Terminator
Repeater
Node
Note that ControlNet is a proven Cable system design and installation is extremely
network. Most problems occur in the important. Most complications with ControlNet
installation or configuration.
networks can be linked to the network installation.
Tip " The cable system is used for permanent nodes. An RJ45 port is
Show the front of a ControlNet available to connect a computer to the ControlNet module without
module. Point out the channel A and B breaking a connection or adding a new node to the cable system.
connectors and the RJ45 port.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 335/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " For more information on the ControlNet cabling system, refer to the
ControlNet Coax Cable System Planning and Installation Manual.
Note that this document is part of the
Logix5000 Documentation Reference
Guide.
Network Services
Scheduled Service
Data that is sent across a network on a regular basis is transmitted as
scheduled data. This data has the following characteristics:
?What type of data would be Is time critical, such as I/O status and control interlocking data
considered time critical for your
application? Has top priority in information exchange
Occurs in the same time frame during every data transmission
interval
Can be any of the following:
-- Data from an I/O module
-- Peer-to-peer interlocking data of controllers
Tip " Components that have an associated RPI (Requested Packet Interval)
send data as scheduled data.
Unscheduled Service
Stress that scheduled data, such as Non-deterministic data that is not time critical is transmitted as
control and I/O data, is given highest unscheduled data. This type of data has the following characteristics:
priority on the ControlNet network. Other
information, such as programming or Transmits after all scheduled data has been sent
upload and download operations, does
not interfere with the transport of control Can be any of the following:
and I/O data. -- Connection establishment
-- Ladder-initiated, peer-to-peer messaging data (using a
Message instruction)
-- Programming data (uploads and downloads)
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 336/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Note that this is an overview of the data The following graphic shows the transfer of information over the
transfer process. Details will be given ControlNet network using the Producer/Consumer model:
later in the lesson.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 337/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Tip " One occurrence of the NUT is referred to as a NUI (Network Update
Interval).
Example: NUT
The priority of data transfer is shown in the following graphic:
NUT
? What will happen during the second
NUI shown? Scheduled Unscheduled Maintenance Update
Operations Operations (Guardband)
Answer: Data will be transmitted again
in priority order.
... ...
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 338/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Example: SMAX
Here is the order of scheduled data transfer:
NUT
1 1 1
2 2
3 3 3
4...n 4...n 4...n
... ...
? Ask students to why it is inefficient falling below SMAX sending scheduled messages.
not to assign nodes sequentially? The second NUI shows the nodes below SMAX sending
Answer: Because nodes will wait for messages again starting over from the first scheduled node to
other nodes to transmit. E.g., node five SMAX.
will wait the entire slot times for nodes
one to four to transmit even if they are The third NUI shows a node (2) missing from the network.
not assigned. Therefore, node 3 will wait one time slot before it transmits data.
The UMAX
transmit and is the maximum
receive ControlNet
unscheduled nodeinnumber
data. Keep that
mind the can
following
Add the term UMAX to the acronym list guidelines when determining the value of the UMAX:
on the board. Ask the students for a
short definition. The time remaining after the scheduled and maintenance portions
of the NUT is allotted for unscheduled operations.
The right to transmit first in the unscheduled portion of the NUT
? What type of data might be included
Note that the 1784-KTCX15 driver node Nodes above the UMAX cannot communicate on
number default is set high, at 99. the network. Leave room for laptops to attach
Suggest that students change this to a
lower node number. Remind students using the RJ45 port. The added slot time will only
that as with all node numbers that affect the unscheduled service.
transmit and receive unscheduled data,
the driver/computer node number must
fall under the UMAX.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 339/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Example: UMAX
Here is the rotating order of unscheduled data transfer:
? If UMAX was reached in the second
NUI, which node would transmit NUT
unscheduled data first in the
third NUI?
Answer: Node 1.
In the graphic, point out that
if time remains after the 7 8 9 1
UMAX is reached, the 8 9 10 2
remaining time starts over 9 10 11 3
with node one (scheduled 11 12
nodes). .. . ...
UMAX
Note that to send data over 500 bytes in An unscheduled message can transmit only 500
chunks, frame numbers are assigned to bytes per slot time. If the message is more than
the data.
500 bytes, the data will resume transmission on its
next turn.
Media Redundancy
The network must be configured for one of the following media
redundancy options:
Add that all nodes on a network must be A only, for one cable system using channel A
the same. That is, one node cannot be
set for channel A and another node set B only, for one cable system using channel B
for channel B. A and B, for redundant media
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 340/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Update Intervals
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 341/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
1. 100 ms Answer: 64 ms RPI for discrete data = 10 ms API for discrete data = 8 ms
2. 31 ms Answer: 16 ms
2 ms 2 ms 2 ms 2 ms 2 ms
3. 2 ms Answer: 2 ms
required
interfacestoand
begin examining steps.
configuration the software Discrete data generates
has an RPIanofAPI
ten milliseconds.
The software of eight milliseconds (eight is
Break: Note that the introduction of the the closest binary multiple that is less than ten).
ControlNet network concepts ends here. The data is sent every four NUTs.
This is a good place to take a short
break if necessary.
Note that this section is a general To schedule the ControlNet network in order to share data, it is
introduction to the flow of configuration necessary to complete the following procedures:
procedures. The step-by-step details
and software demonstrations will be 1. Create the required produced tag.
presented in the Here’s How section. If
this
add lesson is partI/O
that remote of will
a national school,in
be discussed 2. In the controller that is consuming the data, perform the following
actions:
a different lesson.
Encourage students to ask any A. Add the local ControlNet module to the I/O configuration.
remaining questions from the
Configuring a Logix5000 Controller to B. Add the remote ControlNet module to the I/O configuration.
Produce and Consume Data lesson.
C. Add the producing controller to the I/O configuration.
Note that the connection will be made
through a ControlNet or Ethernet D. Create the required consumed tags.
network.
3. Schedule the ControlNet network.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 342/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Note that the controller was also added Adding a ControlNet Module and Controller to an I/O
to the project to share data when Configuration
producing and consuming tags across
the backplane. However, the controller is The following graphic is an example of a remote ControlNet module
now added under the remote CNB.
and remote controller added to an I/O configuration in
RSLogix 5000 software:
In the graphic, point out that the remote
module is node 2.
Add that it is not necessary or even
possible to add the controller running the
project to the configuration.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 343/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Online Option
Enable Edits
Option Online Bandwidth
Percentages
Network
Diagram
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 344/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Using the values in the Pending side of After going online, the NUT, SMAX, UMAX, and redundancy
the graphic, review the following terms: parameters are configured in RSNetWorx for ControlNet software:
S NUT -- Data updates every 5 ms.
S SMAX -- Up to 9 controllers or other
scheduled devices.
S UMAX -- Up to 24 programming or
other nonscheduled devices.
Note that the ControlNet scheduling Each time an additional device is added to a
information is saved in a .xc scheduled network or an RPI value is changed, the
configuration file.
ControlNet network must be rescheduled.
? What other main function Tip " RSNetWorx software communicates with the controller through
requires RSLinx Classic software? RSLinx Classic software.
Answer: Drivers are configured in
RSLinx Classic software.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 345/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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 Pay attention to these critical aspects of the demonstration:
CCP143_1756R_DEM6.acd file and
CCP143_1756R_DEM7.acd file. - Location of the procedures in the job aid
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 346/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Configuring Logix5000 Controllers to Share Data over a ControlNet Network 19--15
Context:
ControlNet Network
Produced Consumed
In this exercise, you will share data with the other workstation on
your ControlNet network. Node 1 will produce data and node 2 will
consume the data.
Directions:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 347/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
19--16 Exercise: Configuring Logix5000 Controllers to Share Data over a ControlNet Network
4. Enter ladder logic to copy your analog channel 0 data and channel
1 data as well as your discrete input data to the respective
members of the Local_Station_Data tag.
5. Verify the project, correct any errors, and download the project to
your local controller in slot 1.
6. Place the controller in slot 1 in Remote Run mode.
Tip " This project will be downloaded to the controller in slot 3 of the
remote workstation after you have completed the configuration.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 348/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Configuring Logix5000 Controllers to Share Data over a ControlNet Network 19--17
14. When both production lines are ready, take turns scheduling the
ControlNet network.
15. To verify that each production line is correctly configured to
share data, complete the following actions:
A. Verify that moving your analog channel 0 to the middle
position moves the analog channel 0 meter on the remote
workstation to its middle position.
B. Verify that moving your analog channel 1 to the middle
position moves the analog channel 1 meter on the remote
workstation to its middle position.
C. Verify that pushing the first four discrete buttons on your
workstation light the corresponding lights on the remote
workstation.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 349/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
19--18 Exercise: Configuring Logix5000 Controllers to Share Data over a ControlNet Network
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 350/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Configuring Logix5000 Controllers to Share Data over a ControlNet Network 19--19
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 351/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
19--20 Exercise: Configuring Logix5000 Controllers to Share Data over a ControlNet Network
11. Your ladder logic should look similar to the following example:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 352/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Exercise: Configuring Logix5000 Controllers to Share Data over a ControlNet Network 19--21
12. Your ladder logic should look similar to the following example:
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
CN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 353/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
19--22 Exercise: Configuring Logix5000 Controllers to Share Data over a ControlNet Network
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
CN2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 354/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
What You Will Learn After completing this lesson, you should be able to:
Note that in the prerequisite ControlNet Add a remote 1756-I/O module to an I/O configuration
lesson , students learned to schedule a
ControlNet network. In this lesson, Reschedule an existing ControlNett network
students will practice rescheduling an
existing network, a common and
important task.
When You Will Do This
RSLogix 5000 software lets you add your I/O configuration to the
project before, during, or after you develop your application logic.
Do this task when:
Your I/O modules are connected to the controller by a ControlNet
network, and
Your system is installed or you have drawings and specifications
that outline to location and configuration of your I/O modules
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RC2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 355/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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.
Pay attention to these critical aspects of the demonstration:
Continue
you used with the RSLogix
for sharing 5000a project
data over
ControlNet network. - Location of the procedures in the job aid
Note that if you saved the demonstration - Parent-child relationship with the ControlNet module and
file from the Configuring Logix5000
Controllers to Share Data over a
the remote modules
ControlNet Network lesson, it is not
required to configure the remote I/O - Module configuration, including the multicasting rates
module.
- Resulting module tags
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RC2sb56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 356/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Context:
Production
Production Line Line Active
Local Remote
Chassis ControlNet Network Chassis
Tip " In this exercise, you will share data with another workstation on a
ControlNet network. Your workstation will be the local chassis. The
other workstation will be the remote chassis.
Directions:
3. Add the local and remote ControlNet modules to the project I/O
configuration.
4. Add and configure the remote output module in slot 4. You will
be owning this module, which is located in the remote chassis.
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RC2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 357/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
7. Make a new tag, DO11, an an alias tag for bit 11 of the remote
digital output card in slot 4.
8. Enter the following ladder logic in your MainRoutine:
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.
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RC2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 358/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RC2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 359/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Answers Exercise A
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RC2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 360/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RC2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 361/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
(Continued)
Your completed I/O Configuration within the Controller
Organizer should look similar to the following:
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RC2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 362/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
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
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
RC2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 363/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
RC2e56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 364/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Appendix A
I/O Wiring Diagrams For The
Assembly Application
WORKSTATION APPLICATION
DEVICE LABEL OUTPUT
RED
+DC-0 2 1 OUT-0 G DO0
A DO1 CONVEYOR
+DC-0 4 3 OUT-1
+DC-0 6 DO2
5 OUT-2
R
8
+DC-0 10 OUT-3 G DO3 STATION OUTPUT (PRESS)
+DC-0 7
+DC-1 18
+DC-1 20
K +DC-1 22
C
A +DC-1 24
L
B
+DC-1 26
+DC-1 28
RED
+DC-1 30
GND-1 32
GND-1 34
Not Used 36
K
C
A
L
B
24VDC
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
WDAa56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 365/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
WORKSTATION APPLICATION
LABEL +24VDC
DEVICE OUTPUT
DI0 START
GND-0 2 1 IN-0
DI1
GND-0 4 3 IN-1
DI2
GND-0 6 5 IN-2
BLACK DI3
GND-0 8 7 IN-3
DI4
GND-1 10 9 IN-4
12 DI5
GND-1 11 IN-5
DI6 PART SENSOR FAULT RESET
GND-1 14 13 IN-6
BLACK DI7 READ REMOTE TOTAL
GND-1 16 15 IN-7
DI8 STOP
GND-2 18 17 IN-8
DI9
GND-2 20 19 IN-9
GND-2 22 21 IN-10 DI10
BLACK GND-2 24 23
DI11
IN-11
DI12 PART SENSOR
GND-3 26 25
IN-12
GND-3 DI13
28 27 IN-13
DI14
GND-3 30 29 IN-14
DI15
GND-3 32 31 IN-15
GND-3 34 33 NOT USED
NOT USED 36 35
NOT USED
K
C
A
L
B
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
WDAa56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 366/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
RED 2
+DC-0
+DC-0 4
+DC-0 6
+DC-0 8 APPLICATION
WORKSTATION LABEL
+DC-0 10
DEVICE OUTPUT
+DC-0 12
OUT-6 G DO6
+DC-0 14 13
+DC-1 28
RED
+DC-1 30
GND-1 32
GND-1 34
NOT USED 36
K
C
A
L
B
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
WDAa56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 367/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
WORKSTATION WORKSTATION
DEVICE DEVICE
OUT-1 2 1 OUT-0
AO1 (Channel 1) AO0 (Channel 0)
NOT USED 4 3 NOT USED
RTN-1 6 5 RTN-0
AO0 AO1
Return Return
OUT-3 8 7 OUT-2
RTN-3 12 11 RTN-2
OUT-5 16 15 OUT-4
RTN-5 20 19 RTN-4
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
WDAa56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 368/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
+10VDC +10VDC
WORKSTATION WORKSTATION
DEVICE DEVICE
IN-1/V 2 1 IN-0/V
AI1 AI0
(Channel 1) (Channel 0)
IN-1/I 4 3 IN-0/I
RET-1 6 5 RET-0
AI1 AI0
Return Return
IN-3/V 8 7 IN-2/V
IN-3/I 10 9 IN-2/I
RET-3 12 11 RET-2
IN-5/V 16 15 IN-4/V
IN-5/I 18 17 IN-4/I
RET-5 20 19 RET-4
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
WDAa56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 369/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
WDAa56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 370/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Appendix B
ControlLogix Workstation I/O
Device Assignments
g t g t
o u
l p o u
a I
n l p
n r a I
n
A e n r
A e
0 t 1 t
0 e 0 e
h M h M
C C
g t
g t o u
l p
o u
l p a t
a t n u
A
n O
u A O
1 r
e
0 r
e 0 t
h e
0 t
h e C M
C M
) )
2 4
t t
o
l o
l
S
o S
n
i
t
d 1
e 1
r - 6 7 0 8 4
i 6
( 2
I O 6 1
W I O I O 1
I
l s
t D D D D D D D
l u
A
( p
t
t u
h O
g
i
R
o )
t 0
t
f t
e o
l
L S
n n
i 5 3
u 5 1 3
I O
4
5 O
I
9
I O 1
I
R - D D D
s 0 D D D D
t (
u s
p t
n
I u
p
t
u
O
2 2
0 1
0 O
I 4 1
I O
8
I O I
D
D D D D D D
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
WI3a56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 371/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Local I/O Tags The devices used in the workstation have the following I/O base
tags:
DI1 Local:2:I.Data.1
DI2 Local:2:I.Data.2
DI3 Local:2:I.Data.3
DI4 Local:2:I.Data.4
DI5 Local:2:I.Data.5
DI6 Local:2:I.Data.6
Digital Input DI7 Local:2:I.Data.7
wired to Slot 2 DI8 Local:2:I.Data.8
DI9 Local:2:I.Data.9
DI10 Local:2:I.Data.10
DI11 Local:2:I.Data.11
DI12 Local:2:I.Data.12
DI13 Local:2:I.Data.13
DI14 Local:2:I.Data.14
DI15 Local:2:I.Data.15
D00 Local:0.O.Data.0
D01 Local:0.O.Data.1
Digital Output D02 Local:0.O.Data.2
wired to Slot 0 D03 Local:0.O.Data.3
D04 Local:0.O.Data.4
D05 Local:0.O.Data.5
D06 Local:4:O.Data.6
D07 Local:4:O.Data.7
Digital Output D08 Local:4:O.Data.8
wired to Slot 4 D09 Local:4:O.Data.9
D010 Local:4:O.Data.10
D011 Local:4:O.Data.11
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
WI3a56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 372/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
Appendix C
Node Assignments
EtherNet or EtherNet/IP
ControlNet Network
Network
1756-CNB
Workstation
or 1784-PCICS 1784-PCC
Number 1784-KTCX15 Interface
1756-ENBT IP Address 1756-CN2 Card Node Card Node
Card
Node Address Address
Address*
10
Rev. August 2012 E 2012 Rockwell Automation, Inc. All rights reserved.
NO3a56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 373/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
E 2012 Rockwell Automation, Inc. All rights reserved. Rev. August 2012
NO3a56r
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 374/375
8/16/2019 Student Manual _ ABT-CCP-TSM143 _ RSLogix 5000, Level 3 _ Project Development.pdf
All other trademarks are the property of their respective holders and are hereby acknowledged.
http://slidepdf.com/reader/full/student-manual-abt-ccp-tsm143-rslogix-5000-level-3-project-developmentpdf 375/375