Rockwell-automation Logix5000 Controllers Tasks, Programs, and Routine Manuale Utente

Navigare online o scaricare Manuale Utente per Apparecchiature Rockwell-automation Logix5000 Controllers Tasks, Programs, and Routine. Rockwell Automation Logix5000 Controllers Tasks, Programs, and Routines Programming Manual User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - Programming Manual

Programming Manual Logix5000 Controllers Tasks, Programs, and Routines Catalog Numbers 1756 ControlLogix, 1756 GuardLogix, 1768 Compact GuardLogix,

Pagina 2 - Important user information

Chapter 1 Manage tasks If you want to run a section of your logic Then use this type of task Description • At a constant period (fo

Pagina 3 - Summary of changes

Manage tasks Chapter 1 For this example situation Use this type of task In a production line, if any of the programs detect an un

Pagina 4

Chapter 1 Manage tasks The number of priority levels depends on the controller. This Logix5000 controller Has this many priority le

Pagina 5 - Table of contents

Manage tasks Chapter 1 System overhead System overhead is the time that the controller spends on unscheduled communication. • Un

Pagina 6

Chapter 1 Manage tasks Description Initially, the controller runs the motion planner and the I/O task (if one exists). After runni

Pagina 7 - Studio 5000 environment

Manage tasks Chapter 1 The following guidelines generally leave enough time for unscheduled communication. • Adjust the period of

Pagina 8 - Additional resources

Chapter 1 Manage tasks Manually check for overlaps Follow these steps to manually see if overlaps are occurring for a task. 1. In t

Pagina 9 - Manage tasks

Manage tasks Chapter 1 2. On the Task Properties dialog box, click the Monitor tab. The Task Overlap Count shows the number of o

Pagina 10

Chapter 1 Manage tasks If you want to Then access the object and attribute Object Attribute Data Type Description Determine if

Pagina 11 - Prioritize periodic and

Manage tasks Chapter 1 At the end of a task, the controller performs overhead operations (output processing) for the I/O modules i

Pagina 12 - Additional considerations

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

Pagina 13 - Example

Chapter 1 Manage tasks Choose how to configure output processing for a task. 20 Rockwell Automation Publication 1756-PM005-EN-P

Pagina 14 - Leave enough time for

Manage tasks Chapter 1 Manually configure output processing Follow these steps to manually configure output processing. 1. In the

Pagina 15 - Avoid overlaps

Chapter 1 Manage tasks 4. Configure output processing for the task. If you want to Then Enable the processing of outputs at the en

Pagina 16 - Manually check for overlaps

Manage tasks Chapter 1 If Condition_1 = 1 then do not let Task_2 process outputs when it is done. 1. The ONS instruction limits

Pagina 17

Chapter 1 Manage tasks Manually inhibit or uninhibit a task Follow these steps to manually inhibit or uninhibit the running of a tas

Pagina 18

Manage tasks Chapter 1 3. Do one of these steps to inhibit or uninhibit the task. If You Want to Then Let the task run when its

Pagina 19 - Configure output

Chapter 1 Manage tasks EXAMPLE If Condition_1 = 0 then let Task_2 run. 1. The ONS instruction limits the true run of the SSV inst

Pagina 20

Manage tasks Chapter 1 2. Enter task information in the New Task dialog box. Topic Description Name Type a name for the task.

Pagina 21

Chapter 1 Manage tasks 1. In the Controller Organizer, right-click the MainTask folder and choose Properties. 2. On the Task Prop

Pagina 22

Manage tasks Chapter 1 3. Enter the following information in the Task Properties dialog box. Topic Description Type Choose Perio

Pagina 23 - Inhibit a task

Summary of changes This manual contains new and updated information. There are a number of minor changes throughout this publication that were made t

Pagina 24

Chapter 1 Manage tasks A Logix5000 controller communicates with other devices, I/O modules, controllers, HMI terminals, and so forth

Pagina 25

Manage tasks Chapter 1 The same applies for 66% and higher, except that there are multiple 1 ms intervals. For example, at 66% the

Pagina 26 - Create a task

Chapter 1 Manage tasks 4. Use either Run Continuous Task (default) or Reserve for System Tasks. • Select the Run Continuous Task r

Pagina 27 - Create a periodic task

Manage tasks Chapter 1 Adjust the watchdog timer for a task Follow these steps to change the watchdog time of a task. 1. In the C

Pagina 28

Chapter 1 Manage tasks 2. On the Task Properties dialog box, click the Configuration tab. 3. In the Watchdog box, type a numeric

Pagina 29 - Language switching

Chapter 2 Manage event tasks An event task, if configured correctly, interrupts all other tasks for the minimum amount of time required to respond to

Pagina 30 - Adjust the system-overhead

Chapter 2 Manage event tasks To trigger an event task when Use this trigger With these considerations Motion planner completes its

Pagina 31

Manage event tasks Chapter 2 To trigger an event task based on data from an input module, use the Module Input Data State Change t

Pagina 32 - Adjust the system

Chapter 2 Manage event tasks Term Definition • The RPI specifies when the module multicasts the current contents of the input data

Pagina 33 - Properties

Manage event tasks Chapter 2 COS and RTS Configuration Examples If you want this Then configure the input module like this (Point

Pagina 35 - Manage event tasks

Chapter 2 Manage event tasks Make sure your module can trigger an event task To use an input module to trigger an event task, the mo

Pagina 36

Manage event tasks Chapter 2 4. Change of state (COS) If a digital device triggers the event, enable COS for only the point tha

Pagina 37 - Change trigger

Chapter 2 Manage event tasks Example – Input Event Task As parts move past a diverter location, the controller logic determines whet

Pagina 38

Manage event tasks Chapter 2 The event task uses the following logic to control the diverter. If Diverter_Photoeye = 1 (part is in

Pagina 39

Chapter 2 Manage event tasks The following table lists nominal hardware response times for 1756 I/O modules with event tasks. Cat. N

Pagina 40

Manage event tasks Chapter 2 Consideration Value 1. What is the input filter time of the module that triggers the event task? 0

Pagina 41

Chapter 2 Manage event tasks To couple the running of an event task with the running of the motion planner, use the Motion Group Exe

Pagina 42 - Example – Input Event Task

Manage event tasks Chapter 2 The Motion Group Execution trigger works as follows: • The base update period for the motion group t

Pagina 43 - Estimate throughput

Chapter 2 Manage event tasks Checklist for a motion group task For This Make Sure You 1. Scan time Make sure the scan time of th

Pagina 44

Manage event tasks Chapter 2 • In the configuration of the event task, specify which registration input you want to trigger the t

Pagina 45

Table of contents Studio 5000 environment ... 7 Additional resource

Pagina 46 - Motion group trigger

Chapter 2 Manage event tasks Example – axis registration trigger In a line that packages candy bars, you have to make sure that the

Pagina 47

Manage event tasks Chapter 2 Task_1 (event task) The GSV instruction sets Task_Status (DINT tag) = Status attribute for the event

Pagina 48 - Axis registration trigger

Chapter 2 Manage event tasks To configure the watch position of an axis to trigger an event task, use the Axis Watch trigger. Let

Pagina 49

Manage event tasks Chapter 2 When the axis reaches the position that is specified as the watch position, it triggers the event tas

Pagina 50

Chapter 2 Manage event tasks Example – axis watch trigger At the labeling station of a bottling line, you want to check the position

Pagina 51

Manage event tasks Chapter 2 The GSV instruction sets Task_Status (DINT tag) = Status attribute for the event task. In the Instanc

Pagina 52 - Axis watch trigger

Chapter 2 Manage event tasks To trigger an event task based on data from a consumed tag, use the Consumed Tag trigger. Let an even

Pagina 53

Manage event tasks Chapter 2 Description In Controller A, logic updates the values of a produced tag. Once the update is complet

Pagina 54 - Example – axis watch trigger

Chapter 2 Manage event tasks Maintain the integrity of data An event task with a consumed tag trigger provides a simple mechanism to

Pagina 55

Manage event tasks Chapter 2 Synchronize multiple controllers You can also use the produced/consumed tag relationship to synchroni

Pagina 56 - Consumed tag trigger

Table of contents Additional considerations ... 45 Motion group trigger ...

Pagina 57

Chapter 2 Manage event tasks 2. Produced tag properties On the New Tag dialog box for the produced tag, click Connection to open t

Pagina 58

Manage event tasks Chapter 2 Example – producer controller and consumer controller As parts move along a production line, each sta

Pagina 59

Chapter 2 Manage event tasks The CPS instruction sets Produced_Tag_1 = Source_Tag_1. The IOT instruction updates Produced_Tag_1 and

Pagina 60

Manage event tasks Chapter 2 To trigger an event task based on conditions in your logic, use the EVENT Instruction Only trigger.

Pagina 61 - Producer controller

Chapter 2 Manage event tasks Description Program A runs an EVENT instruction. The event task that is specified by the EVENT instruc

Pagina 62 - Consumer controller

Manage event tasks Chapter 2 Example – EVENT Instruction trigger A controller uses multiple programs except for a common shut down

Pagina 63 - EVENT Instruction trigger

Chapter 2 Manage event tasks Ladder Diagram in Program_B If Shut_Down_Line = on (conditions require a shut down) then run the Shu

Pagina 64

Manage event tasks Chapter 2 Assign a timeout value to an event task Follow these steps to assign a timeout value to an event task

Pagina 65 - Ladder Diagram in Program_A

Chapter 2 Manage event tasks Programmatically configure a timeout To programmatically configure a timeout, use a Get System Value (G

Pagina 66 - Define a timeout value for

Manage event tasks Chapter 2 Attribute Data Type Instruction Description Status DINT GSV SSV Provides status information abou

Pagina 67

Preface This manual details how to set up controller tasks and the programs and routines for the proper execution of these tasks. This manual is one

Pagina 69

C change of state configure for I/O module 40 communication impact on execution 14 configure output processing for a task 21 consumed tag ma

Pagina 70

Index T tag trigger event task 58 task avoid overlap 17 choose event trigger 37 create periodic 29 define timeout 70 inhibit 25 manuall

Pagina 71

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

Pagina 72

Preface These documents contain additional information concerning related Rockwell Automation products. Resource Description Industrial Automation W

Pagina 73 - Rockwell Automation support

Chapter 1 Manage tasks The default project provides a single task for all your logic. Although this is sufficient for many applications, some situati

Commenti su questo manuale

Nessun commento