logix5000 controllers iec 61131-3 compliance .programming manual logix5000 controllers iec 61131-3

Download Logix5000 Controllers IEC 61131-3 Compliance .Programming Manual Logix5000 Controllers IEC 61131-3

Post on 13-Sep-2018

215 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • Programming Manual

    Logix5000 Controllers IEC 61131-3 ComplianceCatalog Numbers 1756 ControlLogix, 1769 CompactLogix, 1789 SoftLogix, 1794 FlexLogix, PowerFlex 700S with DriveLogix

  • Important 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 SGI-1.1 available from your local Rockwell Automation sales office or online at http://www.rockwellautomation.com/literature/) 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 acceptable.

    In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.

    The 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 diagrams.

    No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.

    Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is prohibited.

    Throughout this manual, when necessary, we use notes to make you aware of safety considerations.

    Allen-Bradley, Rockwell Software, Rockwell Automation, and TechConnect are trademarks of Rockwell Automation, Inc.

    Trademarks not belonging to Rockwell Automation are property of their respective companies.

    WARNING: 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 loss.

    ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence

    SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous voltage may be present.

    BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may reach dangerous temperatures.

    IMPORTANT Identifies information that is critical for successful application and understanding of the product.

    http://literature.rockwellautomation.com/idc/groups/literature/documents/in/sgi-in001_-en-p.pdfhttp://www.rockwellautomation.com/literature/

  • Summary of Changes

    This manual contains new and updated information.

    The following controllers are no longer supported in the Logix Designer application, version 21.

    Changes throughout this revision are marked by change bars, as shown in the margin of this page.

    IMPORTANT RSLogix 5000 programming software is now known as Studio 5000 Logix Designer application, a component of Studio 5000 Engineering and Design Environment.

    Catalog Number Description

    1756-L61 ControlLogix 5561 Controller

    1756-L61S ControlLogix 5561S Controller

    1756-L62 ControlLogix 5562 Controller

    1756-L62S ControlLogix 5562S Controller

    1756-L63 ControlLogix 5563 Controller

    1756-L63S ControlLogix 5563S Controller

    1756-L64 ControlLogix 5564 Controller

    1756-L65 ControlLogix 5565 Controller

    1768-L43 CompactLogix 5343 Controller

    1768-L43S CompactLogix 5343S Controller

    1768-L45 CompactLogix 5345 Controller

    1768-L45S CompactLogix 5345S Controller

    1769-L23E-QBF1 CompactLogix 5323E-QB1 Controller

    1769-L23E-QBFC1 CompactLogix 5323E-QBFC1 Controller

    1769-L23-QBFC1 CompactLogix 5323-QBFC1 Controller

    1769-L31 CompactLogix 5331 Controller

    1769-L32C CompactLogix 5332C Controller

    1769-L32E CompactLogix 5332E Controller

    1769-L35CR CompactLogix 5335CR Controller

    1769-L35E CompactLogix 5335E Controller

    Rockwell Automation Publication 1756-PM018C-EN-P - November 2012 3

  • Summary of Changes

    Notes:

    4 Rockwell Automation Publication 1756-PM018C-EN-P - November 2012

  • Table of Contents

    Preface Studio 5000 Engineering and Design Environment and Logix Designer Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7In This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    IEC61131-3 Compliance Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Operating System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Data Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Programming Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11IEC61131-3 Program Portability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12IEC Compliance Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

    Rockwell Automation Publication 1756-PM018C-EN-P - November 2012 5

  • Table of Contents

    6 Rockwell Automation Publication 1756-PM018C-EN-P - November 2012

  • Preface

    Studio 5000 Engineering and Design Environment and Logix Designer Application

    The 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 solutions.

    The Studio 5000 environment is the foundation for the future of Rockwell Automation engineering design tools and capabilities. It is the one place for design engineers to develop all the elements of their control system.

    In This Manual This 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 software.

    This 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 1756-PM001.

    The 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 controllers

    Rockwell Automation Publication 1756-PM018C-EN-P - November 2012 7

  • Preface

    Notes:

    8 Rockwell Automation Publication 1756-PM018C-EN-P - November 2012

  • Chapter 1

    IEC61131-3 Compliance

    Introduction The International Electrotechnical Commission (IEC) has developed a series of specifications for programmable controllers. 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 application.

    The 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 Languages Part 4: User Guidelines Part 5: Messaging Service Specification

    The 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 here.

    The IEC61131-3 programming language specification addresses numerous aspects of programmable controller including the operating system execution, data definitions, programming languages, and instruction set. 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 extensions.

    Rockwell Automation Publication 1756-PM018C-EN-P - November 2012 9

  • Chapter 1 IEC61131-3 Compliance

    Operating System The 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. Logix5000 controllers provide multiple tasks, each containing multiple

Recommended

View more >