Learning RSLogix 5000 Programming - Sample Chapter
Learning RSLogix 5000 Programming - Sample Chapter
Learning RSLogix 5000 Programming - Sample Chapter
ee
"Community
Experience
Distilled"
Austin Scott
pl
C o m m u n i t y
E x p e r i e n c e
D i s t i l l e d
Sa
m
Austin Scott
Preface
In 1997, Rockwell Automation launched their current generation control platform,
Logix. It represented decades of automation technical advancement for robust,
large-scale solutions. When it launched, it included the ControlLogix 5550 controllers
(Bulletin 1756), ControlLogix I/O modules, and RSLogix 5000 programming
software platform. In 2001, CompactLogix Controller (Bulletin 1769) was added
to the Logix family to support intermediate-sized automation solutions under the
same development platform. The RSLogix 5000 programming software (in version
21 and higher, is now referred to as Logix Designer within the Studio 5000 software
package) provided a unified IEC61131-3 control platform, featuring user-friendly
interfaces and workflows. Ultimately, the Logix platform reduced programming
complexity, eased troubleshooting, and increased plant reliability.
RSLogix 5000 provides intuitive access to real-time information, easy to follow
run-time logic animations, and a comprehensive suite of online change capabilities.
Rockwell is the automation market leader in North America. Moreover, due to
Rockwell Automation's continued success and the glacial speed at which most plants
switch platforms, it will be the market leader for the foreseeable future. Outside North
America, it is widely considered to be the fourth largest automation manufacturer
(after Siemens, ABB, and Schneider). Its total global installation base is well over
2 million programmable controllers. Needless to say, as an automation professional,
learning the Logix platform suite is an excellent investment of your time.
Rockwell Automation has provided a wealth of knowledge in their web-based
Literature Library resources, which is the ultimate source of all the Logix platform
knowledge. Rockwell has created a web of over 10,000 documents that is often
difficult to navigate for beginners. Learning RSLogix 5000 Programming is in no way
a replacement for this resource (this book would need to be 100,000 pages longer),
but provides newcomers with a solid foundation in the Logix platform features and
Rockwell Automation terminology. By the end of this book, the reader will have
a clear understanding of the capabilities of the Logix platform and how to quickly
navigate through the Rockwell Automation Literature Library resources.
Preface
Preface
This book is not comprehensive for any systems using the given architecture.
It does not absolve users of their duty to uphold the safety requirements for the
equipment used in their systems or compliance with both national or international
safety laws and regulations.
ControlLogix
and CompactLogix
Overview and Firmware
In this chapter, we will introduce the ControlLogix and CompactLogix platforms by
exploring the evolution of the Allen-Bradley controllers. We will provide details of
the Rockwell Automation Integrated Architecture and then finally, we will discuss
the important role that firmware plays in the Logix5000 platform. Due to 15 to 20
years of industrial controller life span, it is common to encounter older versions of
hardware and firmware, and critical to be familiar with legacy systems.
[1]
Allen-Bradley was founded in 1904 by brothers, Harry (19 years old) and
Lynde Bradley (26 years old), with seed money from Dr. Stanton Allen. As a
teenager, Lynde Bradley developed the prototype for what would later become
Allen-Bradley's first commercial product. The primary focus of Allen-Bradley was
motor controllers for several decades until they received an unusual challenge
from General Motors (GM) in 1968. Each time GM wanted to introduce a new car,
they needed to spend two or three months rewiring all their relays to support the
production process changes. The request was to build a system to replace their
hard-wired relay logic with something more dynamicStandard Machine
Controller. Modicon ultimately won the GM contract with their highly robust
Modicon 084 Controller. As a result, Allen-Bradley acquired a company called
Information Instruments Inc and produced their first functional controller
Programmable Matrix Controller (PMC) in 1971. Shortly after the release of PMC,
Allen-Bradley released a more feature-rich product known as Programmable
Logic Controller 1 (PLC-1). Since the introduction of the first Allen-Bradley (later,
Rockwell Automation) PLC-1, we have seen several platforms released, including
PLC-2 (1978), PLC-3 (1981), PLC-5 (1986), SLC 500 (1991), MicroLogix (1994),
ControlLogix (1997), and finally, CompactLogix (2006). In 1985, Allen-Bradley was
acquired by Rockwell International and was later spun off as a part of Rockwell
Automation. In the field today, the Allen-Bradley name and logo can still be seen on
many of the Rockwell Automation's products. The focus of this book will be on the
modern ControlLogix and CompactLogix controllers and Studio 5000 Automation
Engineering and Design Environment, which I will refer to as the Logix family.
Integrated Architecture
Like many other vendors, Rockwell Automation has recently rebranded and
reorganized their offering. The ControlLogix family is a part of Rockwell
Automation's larger solution offering called Integrated Architecture. It is a relatively
new term in the world of Rockwell Automation, but the concept has been in place for
quite some time. It represents a convergence of the control and information systems
within an industrial operations environment. This convergence is in line with the
industry trend we have witnessed over the past decade and has increased the ties
between Operational Technology (OT) and traditional Information Technology
(IT). We have seen a continuous increase in demand for operational information
to be provided to the corporate information system in real time in order to fulfill
the maintenance needs, environmental reporting, accounting, and other corporate
requirements. At the same time, we have seen OT move from proprietary protocols
and data access technology to traditional IT technologies such as TCP/IP and
Ethernet. The promise of Integrated Architecture is the ability to easily implement
plant-wide optimization, reduce technical project risk, increase machine performance,
and improve long-term reliability.
[2]
Chapter 1
ControlLogix
CompactLogix
GuardLogix
DriveLogix
SoftLogix
Logix
Designer
Studio 5000
View Designer
Integrated
Architecture
Logix
ControlLogix
Kinetix
CompactLogix
Logix
Controllers
Stratix
SoftLogix
View
DriveLogix
PowerFlex
GaurdLogix
The preceding diagram outlines the Integrated Architecture structure and shows
where ControlLogix fits into the mix. The FlexLogix (bulletin 1794) controllers were
also part of the Logix PAC family and was used to communicate with PLC-5 and
SLC 500 Flex I/O blocks. However, FlexLogix has now been retired from the lineup,
so it will not be covered in this book.
The product, formally known as RSLogix 5000 (used for programming the
ControlLogix and CompactLogix controllers), is now included within the automation
engineering and design software suite called Studio 5000 and is now referred to as
Logix Designer. For the remainder of this book, we will be using the termsLogix
Designer, RSLogix, and Logixinterchangeably to refer to the Logix controller
family programming environment.
[3]
ControlLogix controllers
ControlLogix controller was first launched in 1997 as a replacement for
Allen-Bradley's previous large-scale control platform, PLC-5. The ControlLogix
platform includes a bulletin 1756 ControlLogix 5550 controller, bulletin 1756
ControlLogix I/O modules, and the RSLogix 5000 programming software platform
(now referred to as Studio 5000 Logix Designer). ControlLogix represented a
significant technological step forward that included a 32-bit ARM-6 RISC-core
microprocessor and an ABrisc Boolean processor combined with a bus interface on
the same silicon chip. At launch, the series 5 ControlLogix (also referred to as L5 and
ControlLogix 5550) controllers were able to execute the code three times faster than
PLC-5. The following diagram is an illustration of the original Logix L5 controller:
[4]
Chapter 1
The L5 controller is considered to be a PAC rather than a traditional PLC due to its
modern design, power, and capabilities beyond a traditional PLC (such as motion
control, advanced networking, batching, and sequential control). The ControlLogix
platform is built on the ControlBus backplane, which performs like a mini-network
and allows devices to be Removed or Inserted Under Power (RIUP).
Warning: Removing modules while under power can
create an arc and have disastrous consequences in
explosive environments.
L5 has since been retired from the lineup, so we will focus on the newer L6 and
L7 controllers in this book. Throughout this book, we will be referring to the
ControlLogix controllers as PACs, which are the modern day equivalent of PLCs.
Communications,
Status, Watchdog
Read Inputs
Logic
Outputs
Execution
20 ms RPI
Tasks
Logix
Asynchronous
Operation
Traditional
Synchronous
PLC Scan
Write Outputs
Execute Logic
Inputs
200 ms RPI
[5]
Communications
The performance capability doubled due to a more powerful dual core CPU.
The replacement of the 9-pin serial port with a USB 2.0 port (programs
transfer 200 times faster over USB 2.0 than serial).
The ability to store program comments and tag descriptions on the controller
(firmware v21 and higher).
[6]
Chapter 1
[7]
The ControlLogix series 6 and series 7 controllers and their software version
compatibilities are shown in the following table:
ControlLogix controllers
Controller
Minimum version
Maximum version
1756-L61
2 MB
v12
v20
1756-L62
4 MB
v12
v20
1756-L63
8 MB
v10
v20
1756-L64
16 MB
v16
v20
1756-L65
32 MB
v17
v20
1756-L71
2 MB
v18
1756-L72
4 MB
v19
1756-L73
8 MB
v18
1756-L74
16 MB
v19
1756-L75
32 MB
v20
Series 6 (L6)
Series 7 (L7)
It is important to note that the L6 controllers are not supported in Version 21 and
higher of Studio 5000 Logix Designer.
[8]
Chapter 1
[9]
CompactLogix controllers
In 2006, Rockwell Automation first shipped the (bulletin 1768) L43 CompactLogix
controllers targeted at cost effective, small- to medium-size automation solutions.
At the time of launch, CompactLogix controller was planned as the long-term
replacement for the SLC 500 controller family. The CompactLogix control platform
is designed with an emphasis on the controller software. As the CompactLogix
hardware evolves with an improved performance and additional features, the
logic will easily migrate to new hardware and firmware versions. Unlike the SLC
500 platform, the CompactLogix controllers can be programmed using the same
RSLogix 5000 (Logix Designer) software suite that is used with ControlLogix. In
2006, CompactLogix L43 with integrated motion support was added to the family. It
features a CompactFlash memory card, Ethernet port, Serial RS-232 port, 1769 / 1768
modules, and a power supply module. The following is an illustration of the L43
CompactLogix controller:
Modules on L43 can only be placed to the right of the power supply.
[ 10 ]
Chapter 1
[ 11 ]
Also in 2008, Rockwell Automation released the (bulletin 1769) CompactLogix L3x
modular controllers. The 1769 CompactLogix modules do not have a chassis like the
ControlLogix modules. The 1769 CompactLogix modules can be connected together
using a DIN rail or can be screwed in directly to a panel. CompactLogix L3x features
a CompactFlash memory card, serial RS-232, ControlNet or Ethernet port, and a
power supply module. The following diagram is an illustration of the CompactLogix
L3x controller:
[ 12 ]
Chapter 1
In 2009, Compact GuardLogix, an SIL3 certified controller, with the L43S and L45S
CPU supporting integrated safety, was added to the Logix family.
Twice the performance capability due to a more powerful dual core CPU
Replacement of the 9-pin serial port with a USB 2.0 port (programs transfer
200 times faster over USB 2.0 than serial)
Added the ESM and removed the need for a lithium battery
[ 13 ]
The following table provides illustrations of the CompactLogix 5370 controllers and
their distinguishing features:
CompactLogix Controllerbulletin 1769 5370L1
Features
SD memory card
2 X Ethernet ports
USB 2.0 port
Embedded point I/O
modules
Expandable with 6 or 8
point I/O modules
Embedded power supply
Integrated motion control
Features
SD memory card
2 X Ethernet ports
USB 2.0 port
Embedded 1769 I/O
modules
Expandable with 4 x 1769
I/O modules
Embedded power supply
Integrated motion control
[ 14 ]
Chapter 1
Features
SD memory card
2 X Ethernet ports
The CompactLogix controllers and their software version compatibilities are shown
in the following table:
CompactLogix controllers
Controller
Memory
Maximum version
Bulletin 1768
1768-L43
2 MB
v16
v20
1768-L45
3 MB
v16
v20
512 KB
v16
v20
1.5 MB
v16
[ 15 ]
v20
CompactLogix controllers
Controller
Memory
Minimum version
Maximum version
384 KB
v20
5370 1769-L18
512 KB
v20
5370 1769-L24
750 KB
v20
5370 1769-L27
1 MB
v20
5370 1769-L30
1 MB
v20
5370 1769-L33
2 MB
v20
5370 1769-L36
3 MB
v20
Year
Notes
1997
1998
3,4
1998
1998
1999
2000
2001
2001
10
2002
Chapter 1
Version
Year
Notes
11
2002
SFC, ST, FBD online edits SoftLogix 5800, point I/O support
12
2003
13
2004
14
2004
GM only build
15
2005
S88, add 1756 I/O modules during runtime, user-defined data type
(UDT)
16
2007
17
2008
18
2010
19
2010
20
2012
2013
22
2014
23
2014
24
2014
25
2015
26
2015
[ 17 ]
Summary
In this chapter, we learned about the controllers available within Rockwell
Automation's Integrated Architecture. We also explored the history of Rockwell
Automation and evolution of the industry-leading Logix platform. We now have
an idea of the controller solutions available within Integrated Architecture, and are
capable of making basic solution architecture decisions. In the appendix of this book,
you can find links to Rockwell Automation Literature Library where you can dive
deeper into the topics covered in this chapter.
In the next chapter, we will introduce the various networking and communication
options available for the Rockwell Automation Logix controllers.
[ 18 ]
www.PacktPub.com
Stay Connected: