Transcription of Logix5000 Controllers IEC 61131-3 Compliance Programming ...
1 Programming ManualLogix5000 Controllers IEC 61131-3 ComplianceCatalog Numbers 1756 ControlLogix, 1769 CompactLogix, 1789 SoftLogix, 1794 FlexLogix, PowerFlex 700S with DriveLogixImportant User InformationSolid-state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication available from your local Rockwell Automation sales office or online at ) describes some important differences between solid-state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid-state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is no event will Rockwell Automation, Inc.
2 Be responsible or liable for indirect or consequential damages resulting from the use or application of this examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is this manual, when necessary, we use notes to make you aware of safety , Rockwell Software, Rockwell Automation, and TechConnect are trademarks of Rockwell Automation, not belonging to Rockwell Automation are property of their respective : Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which may lead to personal injury or death, property damage, or economic : Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss.
3 Attentions help you identify a hazard, avoid a hazard, and recognize the consequenceSHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous voltage may be HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may reach dangerous information that is critical for successful application and understanding of the Automation Publication 1756-PM018C-EN-P - November 20123 Summary of ChangesThis manual contains new and updated following Controllers are no longer supported in the Logix Designer application, version throughout this revision are marked by change bars, as shown in the margin of this 5000 Programming software is now known as Studio 5000 Logix Designer application, a component of Studio 5000 Engineering and Design Environment.
4 Catalog NumberDescription1756-L61 ControlLogix 5561 Controller1756-L61 SControlLogix 5561S Controller1756-L62 ControlLogix 5562 Controller1756-L62 SControlLogix 5562S Controller1756-L63 ControlLogix 5563 Controller1756-L63 SControlLogix 5563S Controller1756-L64 ControlLogix 5564 Controller1756-L65 ControlLogix 5565 Controller1768-L43 CompactLogix 5343 Controller1768-L43 SCompactLogix 5343S Controller1768-L45 CompactLogix 5345 Controller1768-L45 SCompactLogix 5345S Controller1769-L23E-QBF1 CompactLogix 5323E-QB1 Controller1769-L23E-QBFC1 CompactLogix 5323E-QBFC1 Controller1769-L23-QBFC1 CompactLogix 5323-QBFC1 Controller1769-L31 CompactLogix 5331 Controller1769-L32 CCompactLogix 5332C Controller1769-L32 ECompactLogix 5332E Controller1769-L35 CRCompactLogix 5335CR Controller1769-L35 ECompactLogix 5335E Controller4 Rockwell Automation Publication 1756-PM018C-EN-P - November 2012 Summary of ChangesNotes:Rockwell Automation Publication 1756-PM018C-EN-P - November 20125 Table of ContentsPrefaceStudio 5000 Engineering and Design Environment and Logix Designer Application.
5 7In This Manual .. 7 IEC61131-3 ComplianceIntroduction .. 9 Operating System .. 10 Data Definitions .. 10 Programming Languages .. 11 Instruction Set .. 11 IEC61131-3 Program Portability .. 12 IEC Compliance Tables .. 136 Rockwell Automation Publication 1756-PM018C-EN-P - November 2012 Table of ContentsRockwell Automation Publication 1756-PM018C-EN-P - November 20127 PrefaceStudio 5000 Engineering and Design Environment and Logix Designer ApplicationThe Studio 5000 Engineering and Design Environment combines engineering and design elements into a common environment. The first element in the Studio 5000 environment is the Logix Designer application. The Logix Designer application is the rebranding of RSLogix 5000 software and will continue to be the product to program Logix5000 Controllers for discrete, process, batch, motion, safety, and drive-based Studio 5000 environment is the foundation for the future of Rockwell Automation engineering design tools and capabilities.
6 It is the one place for design engineers to develop all the elements of their control This ManualThis manual explains the series of specifications developed by the International Electrotechnical Commission (IEC) for programmable Controllers and how to use them with your Logix5000 controller and Programming manual is one of a set of related manuals that show common procedures for Programming and operating Logix5000 Controllers . For a complete list of common procedures manuals, see the Logix 5000 Controllers Common Procedures Programming Manual, publication term Logix5000 controller refers to any controller that is based on the Logix5000 operating system, such as: CompactLogix Controllers ControlLogix Controllers DriveLogix Controllers FlexLogix Controllers SoftLogix5800 controllers8 Rockwell Automation Publication 1756-PM018C-EN-P - November 2012 PrefaceNotes:Rockwell Automation Publication 1756-PM018C-EN-P - November 20129 Chapter 1 IEC61131-3 ComplianceIntroductionThe International Electrotechnical Commission (IEC) has developed a series of specifications for programmable Controllers .
7 These specifications are intended to promote international unification of equipment and Programming languages for use in the controls industry. These standards provide the foundation for Logix5000 Controllers and the Logix Designer IEC programmable controller specification is broken down into five separate parts each focusing on a different aspect of the control system: Part 1: General Information Part 2: Equipment and Requirements Test Part 3: Programming Lang uages Part 4: User Guidelines Part 5: Messaging Service SpecificationThe controls industry as a whole has focused on part 3 (IEC61131-3), Programming Languages, because it provides the cornerstone for implementing the other standards and provides the most significant end user benefit by reducing training cost. Because of this, only IEC61131-3 is addressed IEC61131-3 Programming language specification addresses numerous aspects of programmable controller including the operating system execution, data definitions, Programming languages, and instruction set.
8 Components of the IEC61131-3 specification are categorized as required by the specification, optional or extensions. By so doing, the IEC61131-3 specification provides a minimum set of functionality that can be extended to meet end user application needs. The downside of this approach is that each programmable control system vendor may implement different components of the specification or provide different Automation Publication 1756-PM018C-EN-P - November 2012 Chapter 1 IEC61131-3 ComplianceOperating SystemThe preemptive, multitasking operating system (OS) of Logix5000 Controllers complies with the IEC61131-3 definition. In IEC61131-3, the programmable Controllers OS can contain zero or more tasks, that can execute one or more programs each containing one or more functions or routines. According to IEC61131-3, the number of each of these components is implementation dependent.
9 Logix5000 Controllers provide multiple tasks, each containing multiple programs and an unlimited number of functions or routines. IEC61131-3 provides an option for creating different task execution classifications. Tasks may be configured as continuous, periodic, or event based. A continuous task does not need to be scheduled in that it will utilize any left over processing time when other tasks are dormant. Periodic tasks are scheduled to operate based on a reoccurring time period. The IEC61131-3 specification does not specify a time base for periodic task configuration. An IEC61131-3 event based task is triggered upon detection of the rising edge of a configured input. Logix5000 Controllers support both continuous and periodic tasks. Additionally, the period for a periodic task is configurable starting as low as 1 millisecond (ms).
10 Data DefinitionsThe IEC61131-3 specification provides access to memory through the creation of named variables. IEC61131-3 names for variables consist of a minimum of six characters (Logix Designer application supports a minimum of 1 character) starting with an underscore _ or an alpha character (A-Z), followed by one or more characters consisting of an underscore _ , alpha character (A-Z) or a number (0-9). Optionally, lower case alpha characters (a-z) can be supported as long as they are case insensitive (A = a, B = b, C = c ..). Logix5000 Controllers provide full Compliance with this definition, support the lower case option, and extend the name to support up to 40 character variables in IEC61131-3 may be defined such that they are accessible to all programs within a resource or controller , or limited access is provided only to the functions or routines within a single program.