Rockwell-automation Logix5000 Controllers I/O and Tag Data Programming Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Équipement Rockwell-automation Logix5000 Controllers I/O and Tag Data Programming. Rockwell Automation Logix5000 Controllers I/O and Tag Data Programming Manual User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 86
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Programming Manual
Logix5000 Controllers I/O and Tag Data
1756 ControlLogix, 1756 GuardLogix, 1768 Compact GuardLogix, 1769 CompactLogix, 1789
SoftLogix, PowerFlex with DriveLogix
Vue de la page 0
1 2 3 4 5 6 ... 85 86

Résumé du contenu

Page 1 - Programming Manual

Programming Manual Logix5000 Controllers I/O and Tag Data 1756 ControlLogix, 1756 GuardLogix, 1768 Compact GuardLogix, 1769 CompactLogix, 1789 SoftLog

Page 2 - Important user information

Preface These documents contain additional information concerning related Rockwell Automation products. Resource Description Logix5000 Controllers P

Page 3 - Summary of changes

Chapter 1 Communicate with I/O modules To communicate with an I/O module in your system, you add the module to the I/O Configuration folder in the Con

Page 4

Chapter 1 Communicate with I/O modules The Logix5000 controller uses connections to transmit I/O data. Term Definition Connection A communicatio

Page 5 - Table of Contents

Communicate with I/O modules Chapter 1 formats. Each format uses a different data structure. The communication format that you choose also determin

Page 6 - Data access control

Chapter 1 Communicate with I/O modules Ownership In a Logix5000 system, modules multicast data. This means that multiple devices can receive the s

Page 7

Communicate with I/O modules Chapter 1 If module is And another controller And you want to Then use this type of connection Owns the module ---

Page 8

Chapter 1 Communicate with I/O modules Important: Changing Electronic Keying parameters online interrupts connections to the device and any dev

Page 9 - Studio 5000 environment

Communicate with I/O modules Chapter 1 • Same catalog number• Same or higher Major Revision • Minor Revision as follows: • If the Major Revision is

Page 10 - Additional resources

Chapter 1 Communicate with I/O modules I/O information is presented as a set of tags. • Each tag uses a structure of data. The structure depends

Page 11 - Communicate with I/O modules

Communicate with I/O modules Chapter 1 Where Is SubMember Specific data related to a Member. Bit Specific point on a digital I/O module; depends

Page 12 - Communication format

Important user information Read this document and the documents listed in the additional resources section about installation, configuration, and oper

Page 13

Chapter 1 Communicate with I/O modules The drill routine executes the logic for the drill machine. The map_outputs routine copies the values of ou

Page 14 - Ownership

Chapter 2 Organize tags With a Logix5000 controller, you use a tag (alphanumeric name) to address data (variables). Term Definition Tag A text-based

Page 15 - Electronic Keying

Chapter 2 Organize tags Example: Tags Item Description Analog I/O Device Integer Value Storage Bit Counter Timer Digital I/O Device The tag type

Page 16 - Compatible Module

Organize tags Chapter 2 Term Definition Data type The data type defines the type of data that a tag stores, such as a bit, integer, floating-poin

Page 17 - More information

Chapter 2 Organize tags The minimum memory allocation for a tag is four bytes. When you create a tag that stores data that requires less than four

Page 18 - Address I/O data

Organize tags Chapter 2 When you create a tag, you define it as either a controller tag (global data) or a local tag for a specific program (local

Page 19 - Buffer I/O

Chapter 2 Organize tags • Routines cannot access data that is at the local scope (local tag) of another program.• You can reuse the tag name of a

Page 20

Organize tags Chapter 2 Program parameters are similar to tags: • You create program parameters at the program level, and use them tomanage data.•

Page 21 - Organize tags

Chapter 2 Organize tags Guideline Details Use arrays to quickly create a group of similar tags An array creates multiple instances of a data typ

Page 22 - Tag type

Organize tags Chapter 2 Guideline Details These tags are easier to read Than these tags Tank_1 TANK_1 Tank1 TANK1 tank_1 tank1 Consider the al

Page 23 - Data type

Summary of changes This manual contains new and updated information. The following table contains the changes made to this revision. Change Topic Upd

Page 24

Chapter 2 Organize tags Guideline Details Using extended properties in logic (continued) In the Function Block Editor, you can access extended

Page 25 - Tag scope

Organize tags Chapter 2 Guideline Details Using extended properties in logic (continued) • Array Tags are constrained A constraint on array tags

Page 26

Chapter 2 Organize tags 1. In the Controller Organizer, right-click Controller Tags and then clickEdit Tags.p2. In the Tag Editor, from the Scope

Page 27 - Guidelines for tags

Organize tags Chapter 2 2. If the Properties pane is not visible, click Properties.3. In the Properties pane, click Extended Properties, and select

Page 28

Chapter 2 Organize tags Data Type Range DINT -2,147,483,648...2,147, 483,647 INT -32,768...32,767 LINT 0...32535129599999999 SINT -128...127

Page 29

Organize tags Chapter 2 Item Description To expand a structure and display its members, click the + sign. To collapse a structure and hide its m

Page 30

Chapter 2 Organize tags Example: Two-dimension array A drill machine can drill one through five holes in a book. The machine requires a value

Page 31 - Create a tag

Organize tags Chapter 2 Configure an array To create an array, you create a tag and assign dimensions to the data type. 1. In the Controller Organi

Page 32

Chapter 2 Organize tags User-defined data types (structures) let you organize your data to match your machine or process. Example: User-defined

Page 33

Organize tags Chapter 2 Example: User-defined data type that stores the data that is required to run a machine. Because several drill stations

Page 35

Chapter 2 Organize tags Guidelines for user-defined data types When you create a user-defined data type, use the following guidelines. • If you i

Page 36

Organize tags Chapter 2 4. Click Add Member to add a new data type member.5. In the member Name box, type a name for the data type member.6. In the

Page 37 - Configure an array

Chapter 2 Organize tags 1. In the Properties pane, click the box next to External Access, andselect an attribute.2. To display the value of the m

Page 38 - User-defined data types

Organize tags Chapter 2 5. Select one or more properties that you want to add. The properties in the list depend on the selected data type or mem

Page 39

Chapter 2 Organize tags In version 13 or later, the Logix Designer application lets you automatically build descriptions out of the descriptions i

Page 40

Organize tags Chapter 2 Paste pass-through description—Use the data type and array description as a basis for more specific descriptions. In this

Page 41 - Organize tags Chapter 2

Chapter 2 Organize tags 3. Check Show Pass-Through Descriptions and Append to Base TagDescriptions.4. Click OK.Paste a pass-through description Ch

Page 42 - Chapter 2 Organize tags

Organize tags Chapter 2 A tag name follows this format. Where Is Name Name that identifies this specific tag. Element Subscript or subscripts

Page 43

Chapter 2 Organize tags The tags window displays alias information. Item Description drill_1_depth_limit is an alias for Local:2:I.Data.3 (a digi

Page 44 - Describe a user-defined

Organize tags Chapter 2 The following logic was initially programmed by using descriptive tag names, such as stop and conveyor_on. Later, the tags

Page 45

Table of Contents Studio 5000 environment...9 Additional resou

Page 46

Chapter 2 Organize tags 3. In the cell, click .4. Select the tag that the alias represents.To Do This Select a tag Double-click the tag name.

Page 47 - Alias tags

Organize tags Chapter 2 Example: Step through an array. The timer_presets array stores a series of preset values for the timer in the next rung.

Page 48

Chapter 2 Organize tags You can use these operators to specify the subscript of an array. Format your expressions as shown in the following table.

Page 49 - Assign an alias

Organize tags Chapter 2 For more information on handling major faults, refer to the Logix5000 Controllers Major and Minor Faults Programming Manual

Page 50 - Indirect addresses

Chapter 2 Organize tags You can store project documentation for multiple languages in a single project file rather than in language-specific proje

Page 51 - Expressions

Chapter 3 Force I/O Use a force to override data that your logic either uses or produces. For example, use forces to: • Test and debug your logic.• Ch

Page 52 - Array subscript out of range

Chapter 3 Force I/O Disable or remove a force To stop the effect of a force and let your project execute as programmed, disable or remove the for

Page 53 - Tag documentation

Force I/O Chapter 3 Force status indicator If your controller has a FORCE Status Indicator, use it to determine the status of any I/O forces. Impo

Page 54

Chapter 3 Force I/O Use an I/O force to override: • An input value from another controller (that is, a consumed tag).• An input value from an inpu

Page 55 - Force I/O

Force I/O Chapter 3 Force an input value Forcing an input or consumed tag: • Overrides the value regardless of the value of the physical device o

Page 56 - Check force status

Table of Contents Alias tags ... 4

Page 57 - GSV instruction

Chapter 3 Force I/O To force a Do this BOOL value Right-click tag and then click Force On or Force Off. Non-BOOL value In the Force Mask column

Page 58 - When to use I/O force

Force I/O Chapter 3 4. Right-click a tag or element that has the force and then click RemoveForce.Disable all I/O forces To disable, on the Menu b

Page 60 - Remove or disable forces

Chapter 4 Data access control In version 18 or later of the Logix Designer application, there are two tag attributes that allow you to control access

Page 61 - Remove all I/O forces

Chapter 4 Data access control • FactoryTalk Historian software.• Other third-party software.You configure external access from a menu when you cr

Page 62

Data access control Chapter 4 Important: For alias type tags, the External Access list is unavailable. You are not allowed to change the externa

Page 63

Chapter 4 Data access control 3. In the External Access list, choose an external access option.4. Click OK.66 Rockwell Automation Publication 1

Page 64 - Configure external access

Data access control Chapter 4 As shown in the following example, the External Access list is unavailable for an alias tag. There may be many alias

Page 65

Chapter 4 Data access control 1. In the Tag Editor, right-click a tag and then click Edit (tag name)Properties.2. In the Tag Properties dialog box

Page 66 - 4. Click OK

Data access control Chapter 4 View and select external access status on the Tag Editor You can view the external access status of a tag in the Ta

Page 67

Table of Contents Constant value tags... 76 Configure

Page 68

Chapter 4 Data access control 1. In the Tag Editor select the alias tag, and then on the Logix Designerapplication Menu bar, click Search > Go

Page 69 - Find a base tag with Go To

Data access control Chapter 4 Dialog Box/Window Considerations New Tag The External Access list is unavailable if: • The tag is an alias tag. •

Page 70 - External access availability

Chapter 4 Data access control 1. In the Controller Organizer, right-click the data type and then clickProperties.2. In the Data Type editor, click

Page 71 - User-defined type

Data access control Chapter 4 • If the member’s data type is User-defined and the child-member has adifferent external access level from its par

Page 72

Chapter 4 Data access control You can configure the external access of an Add-On Instruction’s parameters and local tags in the Add-On Instructio

Page 73 - Add-on instructions

Data access control Chapter 4 Dialog Box/Window Considerations Add-On Instruction Definition - Parameters Tab The External Access column is unav

Page 74

Chapter 4 Data access control Only tags with external access settings of Read/Write or Read Only can be mapped to a PLC-2 controller and PLC-5/SL

Page 75

Data access control Chapter 4 Use FactoryTalk security to control who is permitted to change values of constants and who can change the constant a

Page 76 - Constant value tags

Chapter 4 Data access control 2. In the New Tag dialog box, in the Type list, choose a tag type.3. Select the Constant check box.4. Click Create.S

Page 77 - Configure constant tags

Data access control Chapter 4 2. In the Parameter/Local Tag Properties dialog box, select the Constantcheck box.3. Click OK.See Constant check box

Page 79

Chapter 4 Data access control 1. In the Controller Organizer, right-click Controller Tags and then clickEdit Tags.In the Tag Editor, select the ch

Page 80 - Constant check box

Data access control Chapter 4 Dialog Box/Window Considerations Tag Monitor You can change the value of a constant tag in the Tag Monitor if yo

Page 82

A access external 63 add extended properties to a tag 32 add extended properties to user-defined data type 42 Add-On Instruction constant value c

Page 83

Index tag description 44 user-defined data type 44 E electronic keying electronic keying 17 enable force 55 exact match electronic keying 16

Page 84

Index O ownership I/O module 14 P pass-through description 44 program parameters 12, 19, 25, 27 tags 25 program parameters 12, 19, 25, 27 pr

Page 85

Rockwell Automation support Rockwell Automation provides technical information on the web to assist you in using its products. At http://www.rockwella

Page 86 - Rockwell Automation support

Preface This manual shows how to access I/O and tag data in Logix5000 controllers. This manual is one of a set of related manuals that show common pr

Commentaires sur ces manuels

Pas de commentaire