Rockwell-automation Logix5000 Controllers I/O and Tag Data Programming Bedienungsanleitung Seite 1

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Rockwell-automation Logix5000 Controllers I/O and Tag Data Programming herunter. Rockwell Automation Logix5000 Controllers I/O and Tag Data Programming Manual User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 86
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Programming Manual
Logix5000 Controllers I/O and Tag Data
1756 ControlLogix, 1756 GuardLogix, 1768 Compact GuardLogix, 1769 CompactLogix, 1789
SoftLogix, PowerFlex with DriveLogix
Seitenansicht 0
1 2 3 4 5 6 ... 85 86

Inhaltsverzeichnis

Seite 1 - Programming Manual

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

Seite 2 - Important user information

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

Seite 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

Seite 4

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

Seite 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

Seite 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

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

Seite 8

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

Seite 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

Seite 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

Seite 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

Seite 12 - Communication format

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 20

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

Seite 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

Seite 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

Seite 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

Seite 24

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

Seite 25 - Tag scope

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 32

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 39

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 45

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

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

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

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 56 - Check force status

Table of Contents Alias tags ... 4

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 67

Table of Contents Constant value tags... 76 Configure

Seite 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

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 83

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

Seite 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

Seite 85

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

Seite 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

Kommentare zu diesen Handbüchern

Keine Kommentare