Rockwell-automation Logix5000 Controllers Add-on Instructions Programm Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Equipamento Rockwell-automation Logix5000 Controllers Add-on Instructions Programm. Rockwell Automation Logix5000 Controllers Add-on Instructions Programming Manual User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 104
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 0
1 2 3 4 5 6 ... 103 104

Resumo do Conteúdo

Página 1 - Programming Manual

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

Página 2 - Important user information

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

Página 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

Página 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

Página 6 - Chapter 2

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

Página 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

Página 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

Página 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

Página 11

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

Página 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

Página 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

Página 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

Página 15

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

Página 16 - Parameters

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

Página 17 - Data Type

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

Página 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

Página 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

Página 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

Página 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

Página 22 - Instructions

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

Página 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

Página 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

Página 25 - Instruction size

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

Página 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-

Página 27

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

Página 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

Página 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

Página 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

Página 31

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

Página 32

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

Página 33

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 43

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 50 - Enabling scan modes

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

Página 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

Página 52

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 61 - Generating an Add-On

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

Página 62

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

Página 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

Página 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

Página 65

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

Página 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

Página 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

Página 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

Página 69

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

Página 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

Página 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

Página 72 - Ladder diagram configuration

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

Página 73

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

Página 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

Página 75

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

Página 76

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 83

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 97

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

Página 98

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

Página 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

Página 100

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

Página 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

Página 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

Página 103

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

Página 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

Comentários a estes Manuais

Sem comentários