Rockwell-automation Logix5000 Controllers Add-on Instructions Programm Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Rockwell-automation Logix5000 Controllers Add-on Instructions Programm. Rockwell Automation Logix5000 Controllers Add-on Instructions Programming Manual User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 104
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Programming Manual
Logix5000 Controllers Add On Instructions
Catalog Numbers 1756 ControlLogix, 1756 GuardLogix, 1768 CompactLogix, 1768 Compact
GuardLogix, 1769 CompactLogix, 1789 SoftLogix, PowerFlex with DriveLogix
Zobrazit stránku 0
1 2 3 4 5 6 ... 103 104

Shrnutí obsahu

Strany 1 - Programming Manual

Programming Manual Logix5000 Controllers Add On Instructions Catalog Numbers 1756 ControlLogix, 1756 GuardLogix, 1768 CompactLogix, 1768 Compact Gua

Strany 2 - Important user information

Preface Resource Description Compact GuardLogix Controllers User Manual, publication 1768-UM002C Guide for using Compact GuardLogix™ controllers. Des

Strany 4

A access Add-On Instructions 77 Add Element dialog box 77 Add-On Instruction Definition Editor 42 alias parameter 31, 42 array 31 C Change H

Strany 5 - Table of contents

Index changing 23 copy 64 definition 19 generate 64 language switching 23 remove 64 restricted actions 19, 23 source protection 23 L lang

Strany 6 - Chapter 2

Index tags 34 safety Add-On Instruction copy 90 import 96 safety application instructions restrictions 28 safety instruction signature 19, 24

Strany 7 - Add-On Instructions

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

Strany 8 - Table of Contents

Preface Term Definition Passed by value When an argument is passed to a parameter by value, the value is copied in or out of the parameter when the

Strany 10 - Understanding terminology

Chapter 1 Designing Add-On Instructions Add-On Instructions are available beginning with RSLogix 5000, version 16. Add-On Instructions are custom inst

Strany 11

Chapter 1 Designing Add-On Instructions An Add-On-Instruction can be used across multiple projects. You can define the instructions, the instruct

Strany 12

Designing Add-On Instructions Chapter 1 Class information for safety controller projects appears on the General tab as well. The class can be sta

Strany 13 - About Add-On Instructions

Chapter 1 Designing Add-On Instructions Parameters The parameters define the instruction interface; that is, how the instruction appears when use

Strany 14 - Instruction

Designing Add-On Instructions Chapter 1 See Creating an Alias Parameter for a Local Tag on page 31. Data Type Parameters and local tags are used t

Strany 15

Chapter 1 Designing Add-On Instructions Logic routine The logic routine of the Add-On Instruction defines the primary functionality of the instru

Strany 16 - Parameters

Designing Add-On Instructions Chapter 1 Optional Scan Modes routines You can define additional routines for scan mode behavior. Instruction signat

Strany 17 - Data Type

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

Strany 18 - Logic routine

Chapter 1 Designing Add-On Instructions Once generated, the instruction signature seals the Add-On Instruction, preventing it from being edited w

Strany 19 - Instruction signature

Designing Add-On Instructions Chapter 1 Change history The Change History tab displays the creation and latest edit information that is tracked by

Strany 20 - Signature history

Chapter 1 Designing Add-On Instructions The Instruction Help Preview shows how your instruction will appear in the various languages, based on pa

Strany 21 - Change history

Designing Add-On Instructions Chapter 1 direct programmatic access to controller or program scope tags. This lets the Add-On Instruction be a stan

Strany 22 - Instructions

Chapter 1 Designing Add-On Instructions • Copy the instruction signature • Create or copy a signature history entry• Create instances of the Add-

Strany 23 - Safety Add-On Instructions

Designing Add-On Instructions Chapter 1 Each of the programming languages supported in Logix Designer application is targeted for different types

Strany 24 - Programming languages

Chapter 1 Designing Add-On Instructions Limits cannot be accessed inside Add-On Instruction logic. The maximum data instance supported (which in

Strany 25 - Instruction size

Designing Add-On Instructions Chapter 1 Aspect Main Routine Subroutine Add-On Instruction Accessibility N/A Within program (multiple copies, o

Strany 26 - Nesting Add-On Instructions

Chapter 1 Designing Add-On Instructions Programmatic access to data Input and Output parameters and local tags are used to define an instruction-

Strany 27

Designing Add-On Instructions Chapter 1 Safety application instructions, such as Safety Mat (SMAT), may be used in safety Add-On Instructions only

Strany 28 - Programmatic access to data

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

Strany 29 - ’this’ as the Instance Name

Chapter 1 Designing Add-On Instructions Attribute Name Data Type Attribute Description MajorRevision DINT Major revision number of the Add-On

Strany 30 - Considerations when

Designing Add-On Instructions Chapter 1 Selecting a data type for a parameter The Logix5000 controllers perform DINT (32 bit) and REAL (32 bit) ma

Strany 31

Chapter 1 Designing Add-On Instructions Tip: When you monitor an array InOut parameter inside of the logic routine, the parameter definition is

Strany 32

Designing Add-On Instructions Chapter 1 The following picture shows Simulation instruction in a ladder. • If you want the parameter’s value displa

Strany 33

Chapter 1 Designing Add-On Instructions Tip: When you are using your Add-On Instructions, the Visible setting may be overridden in Function

Strany 34 - Data access control

Designing Add-On Instructions Chapter 1 Constant values InOut parameters may be designated as constant value tags to prevent their data from being

Strany 35 - External Access

Chapter 1 Designing Add-On Instructions Take time to plan your instruction design. Advance planning can identify issues that need to be addressed

Strany 36 - Instruction design

Designing Add-On Instructions Chapter 1 Parameters • What data needs to be passed to the instruction?• What information needs to be accessible ou

Strany 37 - Nesting - reuse instructions

Chapter 1 Designing Add-On Instructions • Identify local tags you might use in your instruction. Local tags are useful for items such as intermed

Strany 38 - Help documentation

Chapter 2 Defining Add-On Instructions Follow these steps to create a New Add-On Instructions. 1. Open a new or existing project.2. Right-click the A

Strany 40 - Creating a parameter

Chapter 2 Defining Add-On Instructions The Class field is available on the Add-On Instructions dialog box for safety controller projects. 6. In th

Strany 41

Defining Add-On Instructions Chapter 2 4. In the Data Type list, choose the type based on the parameter usage: • An Input parameter is a passed by

Strany 42 - Creating a module

Chapter 2 Defining Add-On Instructions 11. In the Constant list, select InOut parameters check box you want todesignate as constant values.12. Rep

Strany 43

Defining Add-On Instructions Chapter 2 • Program parameters that reference a module must connect to a module, andcannot reference other module re

Strany 44 - Creating local tags

Chapter 2 Defining Add-On Instructions Use the Add-On Instruction Definition Editor to create the local tags for your instructions. Local tags con

Strany 45 - Editing parameters and

Defining Add-On Instructions Chapter 2 Default values are loaded from the Add-On Instruction definition into the tag of the Add-On Instruction dat

Strany 46 - Updates to arguments

Chapter 2 Defining Add-On Instructions If you edit an Add-On Instruction by adding, deleting, renaming, reordering, or changing the status or usag

Strany 47 - Copying parameter or local

Defining Add-On Instructions Chapter 2 parameters have the same name, but different operational definitions, importing or pasting may impact the b

Strany 48 - Add-On instruction

Chapter 2 Defining Add-On Instructions If you want to select which specific tags and values to copy, click the pull-down arrow of the copy defaul

Strany 49 - Defining operation in

Defining Add-On Instructions Chapter 2 3. Edit your logic by using the available language editors.Execution considerations for Add-On Instructions

Strany 50 - Enabling scan modes

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

Strany 51 - Prescan routine

Chapter 2 Defining Add-On Instructions Scan Mode Description Prescan Occurs when the controller either powers up in Run mode or transitions fr

Strany 52

Defining Add-On Instructions Chapter 2 Prescan routine When the controller transitions from Program mode to Run mode or when the controller powers

Strany 53 - Postscan routine

Chapter 2 Defining Add-On Instructions 3. Click New for Prescan routine.4. On the New Scan Mode Routine dialog box, from the Type list, select the

Strany 54 - EnableInFalse routine

Defining Add-On Instructions Chapter 2 Postscan routine Postscan mode occurs only for logic in a Sequential Function Chart Action when the Action

Strany 55

Chapter 2 Defining Add-On Instructions 4. On the New Scan Mode Routine dialog box, from the Type list, select the type of programming language; La

Strany 56 - EnableOut parameters

Defining Add-On Instructions Chapter 2 • Values are passed to Input parameters from their arguments in the instruction call.• Values are passed

Strany 57 - Add-On Instruction

Chapter 2 Defining Add-On Instructions 4. On the New Scan Mode Routine dialog box, from the Type list, select the type of programming language; La

Strany 58 - Testing the Add-On

Defining Add-On Instructions Chapter 2 EnableIn parameter and ladder diagrams In the ladder diagram environment, the EnableIn parameter reflects t

Strany 59

Chapter 2 Defining Add-On Instructions If any parameters or tags become unverified due to the change of class, they are identified on the Paramet

Strany 60 - Defining source protection

Defining Add-On Instructions Chapter 2 Monitoring logic with data context views You can simplify the online monitoring and troubleshooting of your

Strany 61 - Generating an Add-On

Table of Contents Using standard and safety tags ... 34 Data access control...

Strany 62

Chapter 2 Defining Add-On Instructions Instruction Description True This is simply the execution of the main logic routine. False In a ladder

Strany 63 - Creating instruction help

Defining Add-On Instructions Chapter 2 For procedures on how to use the Source Protection feature, refer to the Logix5000 Controllers Security Pr

Strany 64

Chapter 2 Defining Add-On Instructions 1. On the Signature tab on the Add-On Instruction Definition Editor, clickAdd to History.2. In the Create

Strany 65

Defining Add-On Instructions Chapter 2 Tip: When an instruction is sealed, the instruction signature is displayed on the faceplate of the inst

Strany 66 - Project documentation

Chapter 2 Defining Add-On Instructions This is an example of the Extended Description Text field in the Help tab on the Add-On Instruction Definit

Strany 67 - Motor starter instruction

Defining Add-On Instructions Chapter 2 a. For the logic routine, describe execution of the instruction whenEnableIn is true.b. For the EnableInFal

Strany 68 - Example Definition Editor

Chapter 2 Defining Add-On Instructions Project documentation With RS Logix 5000 software, version 17 and later, you have the option to display pro

Strany 69

Defining Add-On Instructions Chapter 2 Project documentation that supports multiple translations includes these variables: • Component description

Strany 70

Chapter 2 Defining Add-On Instructions If the stop pushbutton is pressed (opened), then the motor stops. The following screen capture shows the Ge

Strany 71 - Simulation instruction

Defining Add-On Instructions Chapter 2 The following screen capture shows the Motor Starter Example ladder logic. Rock well Automati on Publicati

Strany 72 - Ladder diagram configuration

Table of Contents Verifying individual scan modes... 59 Defining source protection f

Strany 73

Chapter 2 Defining Add-On Instructions The following diagrams show the Motor Starter instruction called in three different programming languages.

Strany 74

Defining Add-On Instructions Chapter 2 The Simulation_DT_1st Add-On Instruction adds a dead time and a first-order lag to an input variable. The f

Strany 75

Chapter 2 Defining Add-On Instructions The following image shows the Simulation example logic. Ladder diagram configuration In this example, the i

Strany 76

Defining Add-On Instructions Chapter 2 Function block diagram configuration The PIDE instruction sends the control variable to the Simulation_DT_1

Strany 78

Chapter 3 Using Add-On Instructions Add-On Instructions are used in your routines like any built-in instructions. You add calls to your instruction a

Strany 79 - Referencing a hardware

Chapter 3 Using Add-On Instructions 2. From the Element list, select the Add-On Instruction you want to add to your routine.76 Rockwell Automati

Strany 80

Using Add-On Instructions Chapter 3 3. Click to display the instruction help for any instruction in the browser.4. Click OK.Follow this procedure

Strany 81 - Programmatically access a

Chapter 3 Using Add-On Instructions 5. Define arguments for each Parameter on the instruction call.The instruction appears as follows in each of t

Strany 82 - Starter Add-On Instructions

Using Add-On Instructions Chapter 3 Structured Text: The instruction expects arguments for required parameters as listed in the instruction tool

Strany 83

Table of Contents Importing an Add-On Instruction... 94 Import considerations...

Strany 84 - Monitoring the value of a

Chapter 3 Using Add-On Instructions 5. In the routine that that includes the Add-On Instruction, create anothermodule reference parameter.1. In t

Strany 85 - Viewing logic and monitor

Using Add-On Instructions Chapter 3 the down arrow and choose the module reference parameter from the program. You can now access the attributes

Strany 86

Chapter 3 Using Add-On Instructions The following procedures demonstrate how to use the Jog parameter of the Motor Starter Add-On Instructions. Us

Strany 87 - Instruction is source

Using Add-On Instructions Chapter 3 Using the Jog command in function block diagram Any parameter can be made visible or invisible except those de

Strany 88 - Copying an Add-On

Chapter 3 Using Add-On Instructions 4. Wire to the pin for the parameter.Using the Jog command in structured text Follow this procedure when you

Strany 89 - Storing your Add-On

Using Add-On Instructions Chapter 3 a. For either a Function Block or Ladder Diagram, click Propertiesfor the instruction. b. For Structured Text

Strany 90

Chapter 3 Using Add-On Instructions 1. Right-click the instruction call in any routine.2. Select Open Instruction Logic.The Language Editor opens

Strany 91 - Creating an export file

Using Add-On Instructions Chapter 3 To edit the logic of the Add-On Instruction, select the instruction <definition> in Data Context. You ca

Strany 92

Chapter 3 Using Add-On Instructions If the Source Protection attribute is not listed, then the instruction is not protected. You can copy an Add-O

Strany 93 - Exporting to a single file

Using Add-On Instructions Chapter 3 4. Go to the other project where you want to paste the instruction.5. Right-click the Add-On Instructions fold

Strany 94 - Importing an Add-On

Preface This manual shows how to use Add-On Instructions, which are custom instructions that you design and create, for the Logix Designer application

Strany 96 - Instruction to a newer

Chapter 4 Importing and Exporting Add-On Instructions When you export an Add-On Instruction, the exported Add-On Instruction includes all of its para

Strany 97

Chapter 4 Importing and Exporting Add-On Instructions Follow these steps to export to separate files. 1. In the Controller Organizer, right-click

Strany 98

Importing and Exporting Add-On Instructions Chapter 4 To use Add-On Instructions that have been exported in a separate file, without references,

Strany 99

Chapter 4 Importing and Exporting Add-On Instructions 3. In the File name box, type a name for the file.4. Select the Include referenced Add-On In

Strany 100

Importing and Exporting Add-On Instructions Chapter 4 User-Defined Data Types Add-On Instructions cannot overwrite User-Defined Data Types. Add-

Strany 101

Chapter 4 Importing and Exporting Add-On Instructions Tip: You can only rename an Add-On Instruction if it has not been sealed with an instruct

Strany 102

Importing and Exporting Add-On Instructions Chapter 4 2. Select the file with the Add-On Instruction and click Open.3. Review the Import Configurat

Strany 103

Chapter 4 Importing and Exporting Add-On Instructions The Property Compare tab shows the differences between the instructions, in this case, the

Strany 104 - Rockwell Automation support

Importing and Exporting Add-On Instructions Chapter 4 Important: Check each routine where your Add-On Instruction is used to make sure that your

Komentáře k této Příručce

Žádné komentáře