logix5000 controllers io and tag data

Download Logix5000 Controllers IO and Tag Data

Post on 18-Apr-2015

56 views

Category:

Documents

2 download

Embed Size (px)

TRANSCRIPT

Logix5000 Controllers I/O and Tag DataCatalog Numbers 1756 ControlLogix, 1756 GuardLogix, 1768 Compact GuardLogix, 1769 CompactLogix, 1789 SoftLogix, PowerFlex with DriveLogix Programming Manual

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

IMPORTANT ATTENTION

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

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.

Allen-Bradley, Rockwell Automation, RSLogix 5000, Logix5000, RSLinx Classic, RSLinx Enterprise, PanelView, PLC-2, PLC-5, SLC, CompactLogix, ControlLogix, GuardLogix, FlexLogix, DriveLogix, SoftLogix, Rockwell Software, FactoryTalk Security, and TechConnect are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation are property of their respective companies.

Summary of Changes

Introduction New Information

The release of this document contains new information.

New information is marked by change bars in the side column, as shown to the right.Section Chapter 1 Chapter 4 Changes New information and examples for electronic keying. Procedures and descriptions for the external access and constant tag attributes that control access to controller tags.

3Publication 1756-PM004C-EN-P - October 2009

3

Summary of Changes

Notes:

4

Publication 1756-PM004C-EN-P - October 2009

Table of ContentsPrefacePurpose of This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Chapter 1 Communicate with I/O ModulesIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Requested Packet Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Communication Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Direct or Rack-Optimized Connection . . . . . . . . . . . . . . . . . . . . . 11 Ownership . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Electronic Keying. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Address I/O Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Buffer I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Chapter 2 Organize TagsIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Tag Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Data Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Guidelines for Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Create a Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Create an Array. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Configure an Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Create a User-defined Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Guidelines for User-defined Data Types . . . . . . . . . . . . . . . . . . . . 40 Create a User-defined Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Describe a User-defined Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Activate Pass-Through and Append Descriptions. . . . . . . . . . . . . 43 Paste a Pass-Through Description . . . . . . . . . . . . . . . . . . . . . . . . . 44 Address Tag Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Alias Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Display Alias Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Assign an Alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Assign an Indirect Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Array Subscript Out of Range. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Tag Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Language Switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

Chapter 3 Force I/OIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Enable Forces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Disable or Remove a Force . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Check Force Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 FORCE Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 GSV Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 When to Use I/O Force . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595

5Publication 1756-PM004C-EN-P - October 2009

Table of Contents

Force an Input Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Force an Output Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Add an I/O Force . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Remove or Disable Forces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Remove an Individual Force . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Disable All I/O Forces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Remove All I/O Forces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

Chapter 4 Data Access ControlIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 External Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Configure External Access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 External Access Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Configure External Access in the New Tag Dialog Box . . . . . . . . 66 Set Up External Access in the Tag Properties Dialog Box . . . . . . 68 View and Select External Access Status on the Tag Editor Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Go To Search Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 External Access Availability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 User-defined Type Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Add-On Instructions External Access Considerations . . . . . . . . . . . . 74 Tag Mapping Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Imported Tag Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Constant Value Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Configure Constant Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Set Up a Constant in the New Tag Dialog Box . . . . . . . . . .

Recommended

View more >