Allen Bradley ControlLogix Overview
with RsLogix 5000
Chapter 1
Hardware Overview
After completing this lesson, you will be able to perform the following tasks:
Identify the architecture options for the Logix5000 system Identify the function of the 1756 Logix5000 modules in Identify the hardware features of each of these modules
ControlLogix System Example
ControlLogix System
ControlNet DeviceNet
MicroLogix Optic Work Station Pushbutton Station Motor Controller
ControlLogix Controller
LOGIX5555
The status LEDs help when troubleshooting the controller.
RUN FORCE BAT
I/O RS232 OK
RUN
REM
PROG
Use the key switch to select controller mode.
Install battery here. Use a 1756-BA1
The 9-pin D-shell serial port supports standard EIA RS-232C.
Producer/Consumer Model
Input Module
Produced Data Controller Input/Output Database
I N P U T O U T P U T I N P U T
Output Module Output Data Consumed & Status Data Produced Consumed Data Controller Scan Produced Data (status bits)
Input Data Produced
1756-IB16 DC Input Module
DC INPUT Indicators
ST 0 1 2 3 4 5 6 7
Locking Tab
1756-IB16 Wiring Example DC Input
2 1
IN-1
4 3
IN-0
IN-2
6 5
IN-3 IN-5
8 7
IN-4 IN-6
10 9
IN-7
Connector Pins Top and Bottom Guides ControlBus Connector
GND-0
12 11
GND-0 IN-8
14 13
Slots for keying the RTB
IN-9 IN-11
16 15
IN-10 IN-12
18 17
IN-13 IN-15
20 19
IN-14 GND-1
GND-1
Removable Terminal block (20 terminals)
1756-IB16 Status Indicators
DC INPUT
ST 0 1 2 3 4 5 6 7
ST 8 9 10 11 12 13 14 15
O K
1756-OB16E DC Output Module
DC OUTPUT
Indicators
ST 0 1 2 3 4 5 6 7
Locking Tab
1756-OB16E Wiring Example DC Output
OUT-1 OUT-3 OUT-5 OUT-7 DC-0(+) OUT-0 OUT-2 OUT-4 OUT-6 RTN OUT-0 OUT-8 OUT-10 OUT-12 OUT-14 RTN OUT-1
Connector Pins Top and Bottom Guides ControlBus Connector
OUT-9
Slots for keying the RTB
OUT-11 OUT-13 OUT-15 DC-1(+)
RTB 20 Removable Terminal block (20 terminals)
1756-OB16E Status Indicators
DC OUTPUT
ST 0 1 2 3 4 5 6 7 FUSE
ST 8 9 10 11 12 13 14 15
O K
FUSE
ELECTRONICALLY FUSED
1756 ControlNet Bridge
top of module
A#24
module status display and network address module status indicator (red or green)
ControlNet status indicator(s) RJ-45 Connector BNC Connector
This modules network address is 24
10
1756 DeviceNet Bridge
Backplane Connector Product Label Health and Status Indicators
MOD/NET I/O OK
Front of Module
Door Label
Manual Configuration Button Wiring Color Codes
DeviceNet Connector
Side View
Front View 11
1756 DNB Status Indicators
DeviceNetTM
Alphanumeric Display
E#70
Status Indicators
MOD/NET
I/O
OK
12
Power Supply and Chassis
1756-PA72 Power Supply 1756-A4 Chassis
Slot 0
13
Chapter 2
Software Overview
After completing this lesson, you will be able to perform the following tasks:
Open an existing RSLogix 5000 project Identify the functional elements of RSLogix 5000 software Configure the display options Customize a toolbar Use the available help functions
14
RSLogix 5000 Software
15
Title Bar
Menu Bar Standard Toolbar Language Element Toolbar Language Editor Editing Toolbar
Online Toolbar
Ladder Edit Toolbar
Controller Organizer Window COW
Ladder Logic Window
16
Continuous Task Program Program Tags
Routine
Periodic Task
RSLogix Controller Organizer Window (COW)
Data Types
I/O Module Configuration
17
File Menu
Edit Menu
View Menu
Search Menu
Logic Menu
18
Communications Menu
Tools Menu
Window Menu
Help Menu
Tool Tips
19
Chapter 3
Configuring Local and Remote I/O
After completing this lesson, you will be able to perform the following tasks:
Configure local 1756 I/O Identify software created I/O tags Create paths to remote digital I/O
20
21
22
Electronic Keying
Name appears in COW (optional) Slot location is chassis
Major Revision
Minor Revision
Electronic Keying Options
23
Communications Format
24
Requested Packet Interval, Inhibit and Fault Option
25
Change of State and Filter Timer Configuration
26
Output State and Diagnostic Configuration
Last State of outputs when controller is in program mode Last State of outputs when controller faults Point by point configuration of diagnostics
27
Delimiters
Location: Slot# : Type . Member [Submember] . Bit
I/O Tag Examples
Local I/O:
Local Chassis slot 3 Input Data Local : 3 : I . Data . 11
Bit 11
Remotely Located I/O:
Remote Chassis Name Slot 2 Input Data Element Bit 08
Direct Connect:
C01N02: 2 : I . Data . 08 Input Slot Element Bit 08
Remote Chassis Name
Rack Optimized:
C01N02: I . Slot[2] . 08
28
Chapter 4
Memory Organization
After completing this lesson, you will be able to perform the following tasks:
Identify the function of Tasks, Programs, and Routines, in a ControlLogix project Create new Programs and Routines Identify data organization in a ControlLogix project including Program Tags, Controller Tags, Basic Data Types, Predefined Data Types, and User Defined Data Types Create new Program Tags and Controller Tags Deleting Programs
29
Program Program Tags
STATION 10
Program Data
Main Routine
JSR CloseClamp
JSR OpenClamp
Routines
CloseClamp
Jump To Subroutine (JSR) function calls other routines in the program
OpenClamp
30
Continuous Task
STATION 10 Program Data ROBOT 1 Program Data
Periodic Task
Genesis S10 Program Data
S40 Program Data
ROBOT 2 Program Data
STATION 20 Program Data
31
Starting Point for Program execution Fault, Mode, and Cycle Indicators 20-Hour Run Routine Robot Safety E-Stop and Faults ControlNet and DeviceNet Status Routine
32
Creating New Programs and Routines
33
Controller Tags
Controller Data
STATION 10 Program Data ROBOT 1 Program Data ROBOT 2 Program Data
S10 Program Data S20 Program Data
Program Tags
STATION 20
Program Data
34
Base Tags with Tag description s
Alias Tag Base Tag
Alias Tag Name
Base Tag Name
Mode.Auto
1
WD_03F3MC001.Mode.Auto
Cell 1
Cell 40
Produced Tag InterlocksFromCell1ToCell40 Consumed Tag InterlocksFromCell40ToCell1
Consumed Tag InterlocksFromCell1ToCell40 Produced Tag InterlocksFromCell40ToCell1
35
Timer Data Type Example
36
37
Right Click the Asterisk to Select Edit Tag Properties
38
Delete all Subroutines
Assign Main: to <none>
Unschedule and Delete Program
39
Tag Addressing Using UDT
40
One Dimensional Array
CarrierStatus[3] Tag Name [Row]
41
Two Dimensional Array
CarrierStatus[4,3] Tag Name [Row, Column]
42
Three Dimensional Array
CarrierStatus[2,4,2] Tag Name [Row, Column, Depth]
43
Chapter 5
Going Online to a ControlLogix Controller
After completing this lesson, you will be able to perform the following tasks:
Configure a ControlNet Driver Go Online to a ControlLogix Controller Change the Operating Mode of the Controller Upload and Download Project Files to the Controller Correct Revision Conflicts on ControlLogix Controllers and Project Files Configure the Serial Port for Direct Connect
44
RSLinx
45
Configuring Drivers
Configure Drivers Button
46
Verifying Driver Setup
Status of Configured Drivers
This Button is Used to Modify Driver Configuration This Button is Used to Start a Driver This Button is Used to Stop a Driver This Button is Used to Delete a Stopped Driver
47
Communications Terminology
48
Who Active Lets You Select a Path for Communications Go Online to Defined Path
Upload Project From Controller
Download Opened Project From WorkstationA
49
Online Toolbar Functions
Select Who Active or Recent Path
Go Online, Upload, or Download Based on Project Path
Select the Controllers Mode of Operations
Toggle Between Lock/Unlock of Workstation Edit Resource
50
Revision Conflicts
51
Configuring the Serial Port Driver
52
Chapter 6
ENTERING AND EDITING LADDER LOGIC
After completing this lesson, you will be able to perform the following tasks:
Enter and edit bit level instructions and tags Enter and edit branch instructions Enter and edit Timer/Counter instructions and tags Copy, cut, and paste instructions and rungs
53
54
55
Use the Tool Menu to Select Auto Verify Option Verify Buttons
Double-Click Error Listing to AutoNavigate
Verification Errors
56
Edit Zone Designations
Edit Zone Designations
57
Online Editing
Start Rung Edits Accept Pending Rung Edits Cancel Pending Rung Edits Test Edits UnTest Edits
Assemble Pending Rung Edits
Cancel Program Edits Assemble Pending Program Edits
Cancel Rung Edits
Cancel Pending Program Edits Accept Pending Program Edits
58
Online Program Mode Edits
Step Description
1) Before Edit
2) Click on Start Rung Edits Edit done in workstation. Two rungs on screen, the one to edit, the one being replaced. 3) Perform the rung edit
Edit Zone Marker Status
Normal, no marker
i current rung r- original rung
e current rung r- original rung
4) Click on Accept Pending Edits Edits sent to controller.
Normal, no marker
59
Online Remote Run Edits
Step Description
1) Before Edit
Edit Zone Marker Status
Normal, no marker
2) Click on Start Rung Edits Edit done in workstation. Two rungs on screen, the one to edit, the one being replaced.
3) Perform the rung edit
e current rung r- original rung
e current rung r- original rung
4) Click on Accept Pending Edits Edits sent to controller. Still 2 rungs, I- to be inserted, and R to be replaced. R rung being solved.
5) Click on Test Edits I rung now being solved. 6) Click on Assemble Edits The I rung saved and made permanent, the R rung was discarded.
I to be inserted rung R original rung
I (highlighted) R (original rung) Normal, no marker
60
Copy Instruction (COP)
Copying Data from Scanner Module to Controller Tag
Copying Data from Controller Tag to Scanner Module
61
Standard Branch
Branch Levels
Nested Branch
62
These Add Rung, Add Branch, and Add Branch Level elements can be found on any tab.
Clicking and dragging creates this ghosted icon to place your branch. The green dot next to it represents where the branch will be placed when the mouse button is released.
63
Chapter 7
USING GET SYSTEM VALUE (GSV) AND SET SYSTEM VALUE (SSV) INSTRUCTIONS
Interpret and modify Get System Value instruction Interpret and modify Set System Value instruction
64
Figure 7-1 Example of GSV and SSV Instruction
65
GSV and SSV Descriptions
Get System Value
Output instruction Programmed into logic Retrieves specified controller status information
Output instruction Programmed into logic Modifies specified controller attributes
Set System Value
66
Instruction Operands Used in GSV/SSV Operations
Class name Instance name Attribute name Source for SSV Destination for GSV
67
Class Name Description
CONTROLLERDEVICE
SERIAL PORT
CONTROLLER
PROGRAM MODULE TASK FAULTLOG WALLCLOCKTIME
MESSAGE
DF1 CST AXIS ROUTINE MOTIONGROUP REDUNDANCY
68
Figure 7-2 Example of Help Menu used to Display GSV/SSV Objects
69
Instance Name Description
The Program Instance S10FA
No Instance Defined for This Class
Figure 7-3 GSV and SSV Instance Name Examples
70
Attribute Name Description
Retrieve Attribute for Maximum Scan Time
Set the Wall Clock Attribute Date and Time
Figure 7-4 GSV and SSV Attribute Name Examples
71
GSV Destination and SSV Source Tags
Destination for MAXSCANTIME is the Tag ProgramScan
The Source for DateTime is the Tag Array SetData
7.5 GSV and SSV Source and Destination Tag Examples
72
Chapter 8
After completing this lesson, you will be able to perform the following tasks:
Add and modify rung components
Add and modify tag descriptions
73
Rung Comment Field
Right Click Rung Number to Enter New or Edit Existing Rung Comments
Figure 8.1 Rung Comment and Editing Example
74
Tag Description
Right-Click Tag to Enter New or Edit Main Operand Descriptions
Figure 8.2 Tag Descriptions and Editing Example
75
Chapter 9
NAVIGATING A CONTROLLOGIX PROJECT
After completing this lesson, you will be able to perform the following tasks:
Use the Find function to navigate the project file Use the Find and Replace function to modify the project file Use the Go To function to navigate to specific rungs or tags in the project file Use the Cross Reference function to display relationships and navigate the project file Use the Language Editor Editing Toolbar to Create Bookmarks
76
Figure 9.1 Search Menu Navigation Options
77
Character String to Find Special Options
All Routines
All Routines in Current Task All Routines in Current Program Scope of Search
Current Routine
Will search be up/down the program? Will it wrap around at the end? Will look for only a whole word match to the text string? What Ladder Elements are included in the Search?
9.2 Find Function Dialog Description
78
String to Find
Find Next Find Previous Find All
Find All Results Window
Figure 9.3 Example of Standard Toolbar used for Find Function
79
Figure 9.4 Replace Function Example
80
Figure 9.5 Go To Function Example
81
Refers to Whether an Instruction Can Change the State of the Tag
Double Clicking Any Listing Will Navigate the Ladder Display to That Rung
Right Click a Tag in Ladder Logic to Select CrossReference
Figure 9.6 Example Cross Reference Functions
82
Go To Previous Bookmark Go To Next Bookmark Insert / Remove Bookmark View All or Go To Bookmark Remove All Bookmarks
Figure 9.7 Diagram of Language Editor Editing Toolbar
83
Select Horizontal Tile Through the Window Menu
Bookmark Rungs as You Navigate Through the Logic String
Cross Reference the Tag for XIC Not Passing Power to Locate the Coil and Double Click OTE Listing to Navigate to OTE Rung
Figure 9.8 Example of Using Combined Navigation Methods
84
Chapter 10
CONFIGURING PRODUCED/CONSUMED TAGS FOR PEER COMMUNICATIONS
After completing this lesson, you will be able to perform the following tasks:
Configure a remote ControlLogix peer Create Produced/Consumed Tags Schedule ControlNet Communications
85
Cell 1
Cell 40
Produced Tag
Consumed Tag
InterlocksFromCell1ToCell40
InterlocksFromCell1ToCell40
Consumed Tag
Produced Tag
InterlocksFromCell40ToCell1
InterlocksFromCell40ToCell1
Figure 10.1 Concept for Produced and Consumed Tags
86
Figure 10.2 Examples for Creating Produced Tags
87
Local CNB
Remote CNB Producing Controller
Figure 10.3 Examples COW Showing Producing Controller Configuration
88
Consumed Tag Name
Consumed Tag Type Selected RPI for Tag Data Update Interval
Name of Producing Controller from Controller Organizer
Data Type to Match Produced Tag Data Type
Exact Name of Produced Tag
Figure 10.4 Example of Consumed Tag Configuration
89
Figure 10.5 Tag Structure for Rack-Optimized Digital I/O
90
This controller is going to own modules that are remotely located. A path to the target ControlNet Bridge must be made first (in this case, Node 5 on the CNet network at slot 0 of its chassis. This connection is using Rack-Optimization to reduce network connections. RSLogix 5000 automatically creates the tag C00N05:I for all possible inputs on that remote chassis. The Slot[0-9] represents each slots data according to the size of the chassis (in this case, a 10-slot chassis). An input module on slot 5 of that chassis would have its data and faults at C00N05:I.Slot[5]. When the final destination path to the actual input module being owned is created on a remote chassis, Alias Tags are automatically created.
Base I/O tag
The Alias Tags get their information from the Base Tag C00N05:I.Slot[5] and insert that data into 00N05:5:1.Data
Figure 10.6 Rack-Optimized Alias I/O Tag Example
91
Figure 10.7 Diagram of Network Parameters NUT, SMAX, and UMAX
92
Figure 10.8 Example of RSNetWorx Network Scheduling
93
Chapter 11
USING TREND CHARTS IN A CONTROL LOGIX PROJECT
After completing this lesson, you will be able to perform the following tasks:
Create a Trend Chart using RSLogix 5000
94
Start Sampling Trend Chart Data Stop Sampling Trend Chart Data
Sampling Rate
Color Code Key of Trend Chart Tags
Trend Chart Transition Displays Display Oldest Data Display One Screen Time Span Back Display One Half of Screen Time Span Back
Display Newest Data Display One Screen Time Span Forward Display One Half of Screen Time Span Forward Pause Display Update
95
Figure 11.1 Example Trend Chart Diagram
Right Click Trend Folder to Create a New Chart
Right Click on Chart to Select Chart Properties
Figure 11.2 Example for Creating a New Trend Chart
96
Figure 11.3 Example of Trend Chart Properties General Tab
97
Figure 11.4 Example of Trend Chart Properties Display Tab
98
Figure 11.5 Example of Trend Chart Properties Pens Tab
99
Figure 11.6 Example of Trend Chart Properties X-Axis Tab 100
Figure 11.7 Example of Trend Chart Properties X-Axis Tab 101
Figure 11.8 Example of Trend Chart Properties Template Tab
102
Figure 11.9 Example of Trend Chart Properties Sampling Tab
103
Chapter 12
FORCING I/O IN A CONTROLLOGIX CONTROLLER
After completing this lesson, you will be able to perform the following tasks:
Identify precautions when forcing I/O Perform I/O Forcing and Removal Monitor Existing I/O Forces Perform Toggle Function
104
State of Actual Input is Off
Override Input Status by Forcing ON
Figure 12.1 Example of Forcing an Input
105
Online Toolbar Displays Whether Forces are Installed
Online Toolbar Displays Whether Forces are Enabled
The Word ON or OFF Will Appear Below Instructions with Forced Tags The Word Forced Appears in the Force Mask Column of Forced Tags
Specific I/O within a Tag are Displayed In the Force Mask
Figure 12.2 Examples of Forced I/O Indications
106
Forced Input Tags
Forced Output Tags
Figure 12.3 Examples of Forced Input and Output Effect on Tag Data
107
Right Click Tag in Ladder Window to Select Force On or Force Off
In the Tag Force Mask column, use a 1 to Force a Tag On, 0 to Force a Tag Off, and Delete to Remove Force
Figure 12.4 Examples for Installing Forces
108
Click This Arrow of the Online Toolbar to Select Enable or Disable All Forces
Click This Arrow of the Online Toolbar to Select Remove All Forces or Disable All Forces
Figure 12.5 Example for Enable/Disable Forces and Remove All Forces 109
Right Click the Tag in the Ladder Logic to Select Toggle or Use [Ctrl] [T] Keys
Enter a 1 or 0 in the Value Column of the Tag to be Toggled
Figure 12.6 Examples of Toggling Tag Bits
110
Chapter 13
After completing this lesson, you will be able to perform the following tasks:
Use a Systematic Approach to Troubleshooting ControlLogix
111
Controller Faults
I/O Field Side Faults
Communication Network Faults
Figure 13.1 Example Fault Categories Diagram
112
START Analyze the Problem: What was supposed to happen next?
ControlLogix related?
NO
Outside the Scope of this Procedure!
Review the System Indicators! Controller fault? YES Resolve Controller Fault using RSLogix
Communication Network fault?
YES
Resolve Communications Network Fault using Fault Codes on Bridge Module
Locate the related output modules
Is module functioning?
NO
Replace Failed Module
Review Logic State of Coil Controlling Output
Does State of Output Match Needed State?
YES
Replace Failed Output Module, Wiring to Working Device or Working Device
Trace Logic String Using RSLogix Find, Cross Reference and Bookmarks until Failed Condition is Located.
113
Right Side Rail
Front Assembly
Rear Assembly
Left Side Rail
Sequence Step Failed
Figure 13.3 Example Overview for Engine Cradle Load Fixture
114
Is the Controller Connected to All Configured I/O Modules? Is the Controller in Run Mode? Is There a Forced Tag Affecting the Machine Operation?
LOGIX5555
RUN FORCE BAT I/O RS232 OK
E#78
Does the DNB Detect a Failed Device? See Appendix B
RUN
REM
PROG
Has the Controller Faulted? See Appendix A
Figure 13.4 Controller and DNB System Indicators
115
Output Point Controlling Failed Sequence Step
Related Working Device (Cylinder Unit 07B) for Sequence Step that Failed
Figure 13.5 Example Hydraulic and Electrical Drawings
116
Figure 13.6
117
Horizontal Tile Allows Ladder and Cross Reference Display Windows Bookmark Rungs for Easy Retracing of Steps
Cross Reference for Controlling Logic
Figure 13.7 Example of Logic String Tracing
118