Rockwell PLC
Rockwell PLC
Logix Family
MODULAR OPEN
CompactLogixTM SoftLogixTM
ProcessLogixTM
ControlLogixTM
FlexLogixTM
ViewAnyWare™
DISTRIBUTED HMI Devices
DriveLogix
Common EMBEDDED
RSLogix5000
Programming
System Components
ControlLogix
ControlBus
Motion
RSLogix5000
green Controller OK
Controller LEDs
Important: If all LEDs are off, the problem may be
with the power supply.
4 slot 1756-A4
7 slot 1756-A7
10 slot 1756-A10
13 slot 1756-A13
17 slot 1756-A17
ControlLogix Redundant Power Supply
1756-PA75R / -PB75R
Power Supplies
• Panel Mount (-A4 footprint)
• Px75 equivalent capacity
1756-CPR Cables
• 3 Ft Length
• Only length available
1756-PSCA
Chassis Adapter Module
• Funnels power to backplane
• Series B Chassis only
Failure Annunciation
• NO Solid State Relay on each Supply
• Wire to any Input Module
ControlLogix Redundancy System
Logix5555™ ControlNET Redundancy Module
• Provides bumpless Transfer from Primary
Control System to Secondary Control
RUN I/O
A-B RS232 A#01 PRIM
Quality
Allen-Bradley BAT OK
System.
RUN REM PROG
• Software Configured
• Program Synchronization
• Ideal for High System Availability
RUN I/O
A-B RS232 A#01 PRIM
Quality
Allen-Bradley BAT OK
I/O Status
I/O Status
Fault
Status Fault
Module Status
Status
• I/O Status: The yellow status indicator shows the ON/OFF state of the
field device.
• Module Status: This green status indicator shows the module's
communication status.
• Fault Status: This display is only found on some modules and indicates
the presence or absence of various faults.
• Fuse Status: This display is only found on electronically fused modules
and indicates the state of the module's fuse.
Key Terms
Routines
Program
Tasks Folder
Task 1
Program A
The following graphic Task 2
shows how tasks,
programs, and routines
fit together within a
Routines
project:
Program B
Task 2
Creating a Task
The Create New Task button is shown in the following
graphic:
5 ms
Task (Duration
of 5 ms)
0 ms 20 ms 40 ms 60 ms 80 ms
5 ms
Continuous Task
0 ms 20 ms 40 ms 60 ms 80 ms
Continuous Task
Interrupted for 5 ms
0 ms 20 ms 40 ms 60 ms 80 ms
5 ms
0 ms 1 ms 2 ms 3 ms 4 ms
Fault Routine
Creating a Routine
1 Remove tags
2 Unassign routines and then remove them
3 Unschedule programs and then remove them
4 Delete tasks
Project Organization Best Practices
To efficiently organize a project, keep the following best
practices in mind:
• Obtain a description of the process.
• Create plant naming conventions for tasks, programs, routines, and tags.
• Name tasks, programs, and routines descriptively and consider putting
how often the task executes (in ms) in the name.
• Divide the process into functional groups or sections that represent one
or more of the following facets of the process:
– Sequence of related actions that operators perform
– Group of related process events
– Machine or machine sections
• If the section is not required to occur at a specific time interval, identify
the section as a program to run under the continuous task.
Understanding
Logix5000™ basic ladder
logic
Rungs
The following graphic shows ladder logic rungs
and their related components:
0
Rung
Numbers
1
Power Rail
Power Rail
Instructions
Instructions are commands defining operations or
evaluations to be performed by a controller. There
are two types of instructions:
Inputs
Outputs
Instructions
There are several rules for placing instructions on rungs:
• The same type of instruction can be in sequence on a rung (i.e.,
input instructions may be next to other input instructions).
• The last instruction on a rung must be an output.
• A rung does not need to contain any input instructions, but it must
contain at least one output instructions.
Parallel
Nested
Branch
Branch
I:0 – I:37
O:0 – O:37
Data Type: The definition of the size (how many bits/bytes) and layout
of memory that will be allocated when a tag of the data type is created.
Each tag must have an assigned data type, which can be one of the
following two types:
• Atomic (basic)
• Structure
Atomic Data Types
Atomic Data: Data types used to allocate bit, byte, word, or double
word (Dword) memory units and define their numeric interpretation.
This includes BOOL, SINT, INT, DINT, and REAL data types.
Atomic data types, their corresponding memory storage units, and the
range of values their tags can store are outlined in the following table:
Memory
Atomic Range of Values
Description Storage Unit
Data Type (Layout)
(Size)
1 (on) or
BOOL Single bit status Bit
0 (off)
SINT Short integer Byte (8 bits) -128 to 127
INT Integer Word (16 bits) -32,768 to 32,767
-2,147,483,648 to
DINT Double integer Dword (32 bits)
2,147,483,647
Floating-point value Very large or very
REAL Dword (32 bits)
(decimal and exponent) small
Structure Data Types
Structure Data Type: A data type that stores members that may be of
different sizes and formats.
Two of the most common structure data types and their descriptions
are outlined in the following table:
Structure
Description
Data Type
The two main factors that define tag size are the tag data type
and the amount of data stored in the tag.
Scope
Scope: The definition of where a controller can
access a tag or set of tags.
A tag must be designated as one of the following
scopes:
• Controller-Scoped Tag: A tag that can be used by all
tasks, programs, and routines within a project and is
accessible to other devices.
• Program-Scoped Tag: A tag that can be referenced only
by the routines within a specific program of a project.
Scope
The following graphic illustrates how program-scoped tags
are independent and cannot be shared with routines in
another program, whereas any routine may access
controller-scoped tags:
Program A- Routine in
Scoped Tags Program A
Controller-
Scoped Tags
Program B- Routine in
Scoped Tags Program B
Scope
Within a project, tags are located in different folders of the
Controller Organizer depending upon their scope:
Tags Controller-Scoped
Folder Tags
Icon
Program-Scoped
Tags
Program-Scoped
Tags
Abbreviated Reference
Data
Data Transfer Options
ATTENTION: Use extreme caution when entering or
! editing ladder logic or data, forcing values, or making
other changes online that will affect the control of
devices. Mistakes can cause unintended machine
motion or loss of process control, injuring personnel and
damaging equipment. Before performing procedures
online, complete these safety precautions:
Determine if changes must be made online.
Verify that your company permits online entering and
editing.
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.
Data Transfer Options
Download: Transfer a copy of a project from a computer to a controller
over a network.
Data
Data
Data Transfer Options
Save: Write a copy of a project to the computer hard drive, which will
retain projects even when power is removed from the computer.
Configured
Networks
(Drivers)
Nodes on the
Expanded
Network
RSLinx™ Software
• Run
• Program
• Remote
Selecting and Changing a Controller's
Operating Mode
RUN REM PR
OG Keyswitch Positions
Keyswitch
Selecting and Changing a Controller's
Operating Mode
The key switch position dictates the available controller modes, as
outlined in the following table:
Keyswitch Available Modes
Position ! ATTENTION!
Run Run mode: The controller is actively Run mode should only be
controlling the process/machine. used when all conditions are
safe.
Program Program mode: The Do not use Program mode
process/machine stops, allowing as an emergency stop (E-
modifications such as entering ladder stop). Program mode is not
logic to be safely made to the project. a safety device.
Remote Remote Run mode: Is identical to
Run mode except you can edit the Users are able to modify a
project online. project online in Remote
Remote Program mode: Is identical Program mode. Be sure to
to Program mode. control outputs with care to
Remote Test mode: Allows a avoid injury to personnel
program to run but disables its outputs and damage to equipment.
for troubleshooting and diagnostics.
Selecting and Changing a Controller's
Operating Mode
Physical
Current
Keyswitch in
Remote
Remote (REM)
Mode
Available
Remote
Modes
Uploading, Downloading, and Going Online to a
Logix5000 Controller
Communication
Options
Selected Driver
Module Address
Backplane
Destination
Controller Slot
Current
ommunications Path
AB_ETH-1\130.151.138.105\Backplane \3
RSLinx Who Active Dialog Box
Driver names can be changed. The following are the default driver
prefixes:
Important: Selecting the path from the tree is the safest route.
Current Path
Controller/
Project
Name
Communications
Path
Matching Project Files
Documentation: User-entered text that describes the use of
components in a project, such as tasks, tags, or rungs of ladder
logic.
Descriptive
Tags and
Text
Other Data