Transcription of Logix 5000 Controllers Design Considerations Reference ...
1 Reference ManualOriginal InstructionsLogix 5000 Controllers Design ConsiderationsControlLogix, GuardLogix, CompactLogix, Compact GuardLogix, SoftLogix2 Rockwell Automation Publication 1756-RM094L-EN-P - March 2022 Logix 5000 Controllers Design Considerations Reference ManualImportant User InformationRead this document and the documents listed in the additional resources section about installation, configuration, and operation of this equipment before you install, configure, operate, or maintain this product. Users are required to familiarize themselves with installation and wiring instructions in addition to requirements of all applicable codes, laws, and including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are required to be carried out by suitably trained personnel in accordance with applicable code of this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be 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 labels may also be on or inside the equipment to provide specific following icon may appear in the text of this : 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 information that is critical for successful application and understanding of the 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 FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to potential Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL Regulatory requirements for safe work practices and for Personal Protective Equipment (PPE).
4 Identifies information that is useful and can help to make a process easier to do or easier to Automation Publication 1756-RM094L-EN-P - March 20223 Table of ContentsPreface About This Publication .. 9 Download Firmware, AOP, EDS, and Other Files.. 9 Summary of Changes.. 9 Additional Resources.. 9 Chapter 15580 and 5380 ControllersControlLogix 5580 and GuardLogix 5580 Controllers .. 13 CompactLogix 5380 and Compact GuardLogix 5380 Controllers .. 14 Process Controllers .. 15 controller Memory.. 15 Data Types .. 16 Extended Data Types .. 16 Date and Time Data Types.. 17 Programming Techniques .. 18 Data Alignment Rules.. 18 Produced and Consumed Data .. 18 Connections.. 18 Chapter 25480 ControllerCompactLogix 5480 controller .
5 19 controller Memory.. 20 Data Types .. 20 Extended Data Types .. 21 Date and Time Data Types.. 21 Programming Techniques .. 22 Data Alignment Rules.. 22 Produced and Consumed Data .. 22 Connections.. 23 Chapter 35570 Controllers and 5370 ControllersControlLogix 5570 and GuardLogix 5570 Controllers .. 25 CompactLogix 5370 and Compact GuardLogix 5370 Controllers .. 26 controller Memory.. 27 CompactLogix 5370 and Compact GuardLogix 5370 Controllers .. 27 controller Connections.. 27 Determine Total ConnectionRequirements.. 28 System Overhead Percentage.. 29 Manage the System Overhead Timeslice Percentage .. 31I/O Processing.. 32 Data Types .. 32 Programming Techniques .. 32 Produced and Consumed Data.
6 32 Messages .. 344 Rockwell Automation Publication 1756-RM094L-EN-P - March 2022 Table of ContentsChapter 4 Logic ExecutionDecide When to Use tasks , programs , and Routines.. 37 Specify Task Priorities.. 38 Manage User tasks .. 38 Pre-defined tasks in ControlLogix and CompactLogix Process Controllers .. 39 Considerations that Affect TaskExecution .. 39 Configure a ContinuousTask .. 40 Configure a Periodic Task.. 40 Configure an Event Task.. 41 Guidelines to Configure an Event Task .. 41 Additional Considerations for Periodic and Event tasks .. 41 Access the Module Object .. 42 Develop Application Code in Routines .. 42 Comparison of Programming Languages .. 43 Programming Methods.
7 43 Inline Duplication .. 43 Indexed Routine.. 44 Buffered Routine .. 44 controller Prescan of Logic .. 45 Add-On Instruction Prescan Logic .. 45 controller Postscan of SFCL ogic .. 46 Add-On Instruction Postscan Logic.. 46 Timer Execution .. 46 SFC Step Timer Execution.. 47 Edit an SFC Online.. 47 Chapter 5 Modular Programming TechniquesGuidelines for Code Reuse .. 50 Naming Conventions.. 50 Parameter Name Prefixes.. 52 Guidelines for Subroutines .. 53 Guidelines for User-defined Data Types.. 53 Naming Conventions for User-Defined Data Types .. 54 UDT Member Order Impact .. 54 Guidelines for Add-On Instructions.. 57 Add-On Instruction Design Concepts.. 57 Naming Conventions for Add-On Instructions.
8 58 Comparison of Subroutines and Add-On Instructions.. 58 Comparison of Partial Import/Export and Add-On Instructions.. 59 Guidelines for Program Parameters .. 59 Comparison of Program Parameters and Add-On Instructions.. 60 Compare controller Organizer and Logical Organizer.. 61 Rockwell Automation Publication 1756-RM094L-EN-P - March 20225 Table of ContentsChapter 6 Structure Logic According to StandardsPhysical Model.. 64 Separate a Process Unit into Equipment Modules and Control Modules.. 65 Physical Model Naming Conventions.. 66 Procedural Model .. 68 Identify Operations and Phases.. 69 Procedural Control Modes .. 70 Procedural Control States.. 70 Procedural Control Commands.
9 71 Procedural Model Naming Conventions .. 72 State Model .. 73 Chapter 7 Produced and Consumed DataGuidelines for Produced and Consumed Tags.. 75 Guidelines for Produced and Consumed Axis .. 76 Guidelines to Specify an RPI Rate for Produced and Consumed Tags .. 76 Guidelines to Manage Connections for Produced and Consumed Tags.. 77 Configure an Event Task Based on a Consumed Tag.. 77 Compare Messages and Produced/Consumed Tags.. 77 Chapter 8 Data StructuresGuidelines for Data Types.. 79 Arrays .. 80 Guidelines for Arrays.. 81 Indirect Addresses ofArrays .. 81 Guidelines for Array Indexes.. 82 Guidelines for User-defined Data Types (UDT).. 83 Select a Data Type for BitTags.
10 84 Serial Bit Addresses .. 85 Guidelines for String DataTypes .. 86 Configure Tags .. 87 Guidelines for Base Tags.. 87 Create Alias Tags.. 88 Guidelines for Data Scope .. 88 Guidelines for Tag Names .. 89 Guidelines for Extended Tag Properties.. 89 Tag Descriptions.. 90 Protect Data Access Control at Tag Level .. 906 Rockwell Automation Publication 1756-RM094L-EN-P - March 2022 Table of ContentsChapter 9 Communicate with I/OBuffer I/O Data .. 91 Guidelines to Specify an RPI Rate for I/O Modules .. 92 Communication Formats for I/O Modules.. 92 Direct Connection .. 92 Rack-optimized Connection .. 93 Peer Control .. 93 Electronic Keying .. 94 More Information .. 95 Guidelines to Manage I/O Connections.