Logix5000 Controllers Import/Export - e- Controllers Import/Export 1756 ControlLogix 1756 GuardLogix 1768 CompactLogix 1769 CompactLogix 1789 SoftLogix5800 1794 ?· 2008-10-6

Download Logix5000 Controllers Import/Export - e-  Controllers Import/Export 1756 ControlLogix 1756 GuardLogix 1768 CompactLogix 1769 CompactLogix 1789 SoftLogix5800 1794  ?· 2008-10-6

Post on 31-Jan-2018

218 views

Category:

Documents

3 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>Logix5000 Controllers Import/Export1756 ControlLogix1756 GuardLogix1768 CompactLogix1769 CompactLogix1789 SoftLogix58001794 FlexLogix PowerFlex 700S with DriveLogix</p><p>Reference Manual</p></li><li><p>Important User Information Solid 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://literature.rockwellautomation.com) 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.</p><p>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.</p><p>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.</p><p>No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.</p><p>Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is prohibited.</p><p>Throughout this manual, when necessary, we use notes to make you aware of safety considerations.</p><p>Allen-Bradley, CompactLogix, ControlLogix, GuardLogix, FlexLogix, PowerFlex, DriveLogix, SoftLogix5800, Rockwell Automation, RSLinx, and RSLogix are trademarks of Rockwell Automation.</p><p>Trademarks not belonging to Rockwell Automation are property of their respective companies.</p><p>WARNINGIdentifies 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.</p><p>IMPORTANT Identifies information that is critical for successful application and understanding of the product.</p><p>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.</p><p>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.</p><p>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.</p><p>http://literature.rockwellautomation.com</p></li><li><p>Summary of Changes</p><p>This document describes how to use version 2.7 (major revision 2, minor revision 7) of the import/export feature that is included with RSLogix 5000 programming software, version 16. Changes made to this version of the manual include:</p><p> 1756-L61S and 1756-L62S GuardLogix safety controllers and safety relay ladder instructions (incorporated throughout the manual).</p><p> 1756-L64 ControlLogix controller (page 28). Updated CONTROLLER example (page 31). Add-On Instructions (55...62 and page 206). Alarms New alarm instructions: ALMA, ALMD (page 104, page 125, and </p><p>page 159). Digital and analog alarm tags (page 69...74).</p><p> New instructions New motion instructions: MCT, MCTP (page 107 and page 162). New safety instructions: DIN, RIN, ESTOP, ENPEN, LC, FPMS, </p><p>ROUT, THRS (page 105...109). Addition of ShareUnusedTimeSlice and </p><p>InhibitAutomaticFirmwareUpdate attributes to the CONTROLLER component (page 28).</p><p> Addition of UserDefinedVendor, UserDefinedProductType, userDefinedProductCode, UserDefinedMajor, and UserDefinedMinor attributes to the MODULE component (page 46).</p><p> Addition of LINT data type (page 66). Addition of Unicast and UnicastPermitted attributes to the TAG </p><p>component (page 67). Additional attributes and valid values for existing attributes to AXIS tags </p><p>(page 75). Additional attributes for COORDINATE_SYSTEM tags (page 84). Source protected routines and Add-On-Instructions appear as </p><p>encrypted data in export files. In previous releases, source protected data was not exported at all (page 62 and page 99).</p><p> Addition of SynchronizeRedundancyDataAfterExecution attribute to the PROGRAM component (page 96).</p><p> Additional CONFIG attributes (page 180). New export .TXT format for rungs and logic comments that uses tabs </p><p>to separate values. This format is similar to the .CSV format that uses commas to separate values (page 16...18 and page 187...197).</p><p>The format .CSV and .TXT formats also now include text box comments from function block and sequential function chart logic.</p><p>3 Publication 1756-RM084L-EN-P - January 2007</p></li><li><p>Summary of Changes 4</p><p>Notes:</p><p>Publication 1756-RM084L-EN-P - January 2007</p></li><li><p>Table of Contents</p><p>Chapter 1Import and Export Files Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13</p><p>Export a Project to a .L5K Text File. . . . . . . . . . . . . . . . . . . . . . . . . . . 14Import a .L5K Text File into a Project . . . . . . . . . . . . . . . . . . . . . . . . . 15Export to a Structured File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Import into a Structured File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Export to a .L5X XML File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Import into a .L5X XML File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Maintaining Controller Access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Structure a Complete Import/Export File . . . . . . . . . . . . . . . . . . . . . . 22</p><p>Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Internal File Comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Display Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Component Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24</p><p>Chapter 2Define a CONTROLLER Component Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27</p><p>Define a CONTROLLER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Specify CONTROLLER Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Specify CONTROLLER Attributes in a Safety Controller System. . . 29CONTROLLER Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30CONTROLLER Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31</p><p>END_CONTROLLER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Safety CONTROLLER Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35</p><p>Chapter 3Define a DATATYPE Component Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41</p><p>Define a DATATYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Specify DATATYPE Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Specify a DATATYPE Member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42</p><p>Specify DATATYPE Member Attributes . . . . . . . . . . . . . . . . . . . 43DATATYPE Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44DATATYPE Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44</p><p>Chapter 4Define a MODULE Component Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45</p><p>Define a MODULE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Specify MODULE Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Specify MODULE Attributes in a Safety Controller System. . . . . . . . 48Specify a MODULE Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49</p><p>Specify Attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Specify Attributes in a Safety Controller System . . . . . . . . . . . . . . 50</p><p>MODULE Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51MODULE Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Safety Partner MODULE Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 53</p><p>5 Publication 1756-RM084L-EN-P - January 2007</p></li><li><p>Table of Contents 6</p><p>Chapter 5Define an ADD_ON_INSTRUCTION_DEFINITION Component</p><p>Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Define an ADD_ON_ INSTRUCTION_DEFINITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55</p><p>Define Routines for Add-On Instructions . . . . . . . . . . . . . . . . . . . 56Specify ADD_ON_INSTRUCTION_DEFINITION Attributes. . . . . . . . . . . . . . . . . . . . 57ADD_ON_INSTRUCTION_DEFINITION Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58ADD_ON_INSTRUCTION_DEFINITION Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Specify PARAMETERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60</p><p>Specify PARAMETERS Attributes . . . . . . . . . . . . . . . . . . . . . . . . 60Specify LOCAL_TAGS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61</p><p>Specify LOCAL_TAGS Attributes. . . . . . . . . . . . . . . . . . . . . . . . . 61Export Source Protected Add-On Instructions . . . . . . . . . . . . . . . . . . 62</p><p>Source Protected Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63</p><p>Chapter 6Define a TAG Component Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65</p><p>Define a Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Define a TAG Declaration for a Non-alias Tag . . . . . . . . . . . . . . . . . . 66Define a TAG Declaration for an Alias Tag. . . . . . . . . . . . . . . . . . . . . 67Define an Array Specification within a TAG Declaration . . . . . . . . . . 67Specify TAG Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Specify Attributes for an ALARM_ANALOG Tag . . . . . . . . . . . . . . . 69</p><p>Specify an ALMMSG Record for an ALARM_ANALOG Tag . . 72Specify Parameters for an DIGITAL_ALARM Tag . . . . . . . . . . . . . . 72</p><p>Specify an ALMMSG Record for an ALARM_DIGITAL Tag . . 74Specify Attributes for an AXIS_CONSUMED, AXIS_GENERIC_DRIVE, AXIS_SERVO, AXIS_SERVO_DRIVE, and AXIS_VIRTUAL Tag. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Specify Attributes for an COORDINATE_SYSTEM Tag . . . . . . . . . 84Specify Attributes for a MESSAGE Tag . . . . . . . . . . . . . . . . . . . . . . . 86Specify Attributes for a MOTION_GROUP Tag . . . . . . . . . . . . . . . . 87Specify Attributes for a SAFETY Tag . . . . . . . . . . . . . . . . . . . . . . . . . 88Define TAG Initial Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89Define a Comment for a TAG Component . . . . . . . . . . . . . . . . . . . . . 90TAG Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90TAG Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90Safety TAG Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 ALARM_ANALOG and DIGITAL_ALARM Tag Examples . . . . . 92</p><p>Publication 1756-RM084L-EN-P - January 2007</p></li><li><p>Table of Contents 7</p><p>Chapter 7Define a PROGRAM Component Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95</p><p>Define a PROGRAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95Specify PROGRAM Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Specify PROGRAM Attributes for EquipmentPhase Programs. . . . . 97PROGRAM Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97PROGRAM Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98EquipmentPhase PROGRAM Example. . . . . . . . . . . . . . . . . . . . . . . . 98Safety PROGRAM Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Export a Source Protected Routine. . . . . . . . . . . . . . . . . . . . . . . . . . . . 99</p><p>Source Protected Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100</p><p>Chapter 8Enter Ladder Diagram Logic Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101</p><p>Enter a Ladder Logic Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101Specify ROUTINE Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . 101</p><p>Enter Rung Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102Rung Guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102Ladder ROUTINE Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103</p><p>Enter Branches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Example with a Single Branch. . . . . . . . . . . . . . . . . . . . . . . . . . . . 104Example with Two Simultaneous Branches . . . . . . . . . . . . . . . . . 104</p><p>Enter Rung Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104Enter Neutral Text for Ladder Instructions . . . . . . . . . . . . . . . . . . . . 104</p><p>Chapter 9Enter Function Block Diagram Logic</p><p>Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111Enter a Function Block Diagram Routine . . . . . . . . . . . . . . . . . . . . . 111</p><p>Specify FBD_ROUTINE Attributes . . . . . . . . . . . . . . . . . . . . . . 112Enter Function Block Diagram Logic. . . . . . . . . . . . . . . . . . . . . . . . . 112</p><p>SHEET Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113FBD_ROUTINE Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114</p><p>Export Function Block Logic While Editing Online . . . . . . . . . . . . . 116Example 1: Both Test Edits and Pending Edits Exist . . . . . . . . . 116Example 2: Only Pending Edits Exist . . . . . . . . . . . . . . . . . . . . . 117</p><p>Enter IREFs and OREFs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117IREF and OREF Guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118IREF and OREF Examples . . . . . . . . . . . . . . . . ....</p></li></ul>

Recommended

View more >