Programming Manual Logix5000 Controllers Tasks, Programs, and Routines Catalog Numbers 1756 ControlLogix, 1756 GuardLogix, 1768 Compact GuardLogix,
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
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
Chapter 1 Manage tasks The number of priority levels depends on the controller. This Logix5000 controller Has this many priority le
Manage tasks Chapter 1 System overhead System overhead is the time that the controller spends on unscheduled communication. • Un
Chapter 1 Manage tasks Description Initially, the controller runs the motion planner and the I/O task (if one exists). After runni
Manage tasks Chapter 1 The following guidelines generally leave enough time for unscheduled communication. • Adjust the period of
Chapter 1 Manage tasks Manually check for overlaps Follow these steps to manually see if overlaps are occurring for a task. 1. In t
Manage tasks Chapter 1 2. On the Task Properties dialog box, click the Monitor tab. The Task Overlap Count shows the number of o
Chapter 1 Manage tasks If you want to Then access the object and attribute Object Attribute Data Type Description Determine if
Manage tasks Chapter 1 At the end of a task, the controller performs overhead operations (output processing) for the I/O modules i
Important user information Read this document and the documents listed in the additional resources section about installation, configuration, and ope
Chapter 1 Manage tasks Choose how to configure output processing for a task. 20 Rockwell Automation Publication 1756-PM005-EN-P
Manage tasks Chapter 1 Manually configure output processing Follow these steps to manually configure output processing. 1. In the
Chapter 1 Manage tasks 4. Configure output processing for the task. If you want to Then Enable the processing of outputs at the en
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
Chapter 1 Manage tasks Manually inhibit or uninhibit a task Follow these steps to manually inhibit or uninhibit the running of a tas
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
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
Manage tasks Chapter 1 2. Enter task information in the New Task dialog box. Topic Description Name Type a name for the task.
Chapter 1 Manage tasks 1. In the Controller Organizer, right-click the MainTask folder and choose Properties. 2. On the Task Prop
Manage tasks Chapter 1 3. Enter the following information in the Task Properties dialog box. Topic Description Type Choose Perio
Summary of changes This manual contains new and updated information. There are a number of minor changes throughout this publication that were made t
Chapter 1 Manage tasks A Logix5000 controller communicates with other devices, I/O modules, controllers, HMI terminals, and so forth
Manage tasks Chapter 1 The same applies for 66% and higher, except that there are multiple 1 ms intervals. For example, at 66% the
Chapter 1 Manage tasks 4. Use either Run Continuous Task (default) or Reserve for System Tasks. • Select the Run Continuous Task r
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
Chapter 1 Manage tasks 2. On the Task Properties dialog box, click the Configuration tab. 3. In the Watchdog box, type a numeric
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
Chapter 2 Manage event tasks To trigger an event task when Use this trigger With these considerations Motion planner completes its
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
Chapter 2 Manage event tasks Term Definition • The RPI specifies when the module multicasts the current contents of the input data
Manage event tasks Chapter 2 COS and RTS Configuration Examples If you want this Then configure the input module like this (Point
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
Manage event tasks Chapter 2 4. Change of state (COS) If a digital device triggers the event, enable COS for only the point tha
Chapter 2 Manage event tasks Example – Input Event Task As parts move past a diverter location, the controller logic determines whet
Manage event tasks Chapter 2 The event task uses the following logic to control the diverter. If Diverter_Photoeye = 1 (part is in
Chapter 2 Manage event tasks The following table lists nominal hardware response times for 1756 I/O modules with event tasks. Cat. N
Manage event tasks Chapter 2 Consideration Value 1. What is the input filter time of the module that triggers the event task? 0
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
Manage event tasks Chapter 2 The Motion Group Execution trigger works as follows: • The base update period for the motion group t
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
Manage event tasks Chapter 2 • In the configuration of the event task, specify which registration input you want to trigger the t
Table of contents Studio 5000 environment ... 7 Additional resource
Chapter 2 Manage event tasks Example – axis registration trigger In a line that packages candy bars, you have to make sure that the
Manage event tasks Chapter 2 Task_1 (event task) The GSV instruction sets Task_Status (DINT tag) = Status attribute for the event
Chapter 2 Manage event tasks To configure the watch position of an axis to trigger an event task, use the Axis Watch trigger. Let
Manage event tasks Chapter 2 When the axis reaches the position that is specified as the watch position, it triggers the event tas
Chapter 2 Manage event tasks Example – axis watch trigger At the labeling station of a bottling line, you want to check the position
Manage event tasks Chapter 2 The GSV instruction sets Task_Status (DINT tag) = Status attribute for the event task. In the Instanc
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
Manage event tasks Chapter 2 Description In Controller A, logic updates the values of a produced tag. Once the update is complet
Chapter 2 Manage event tasks Maintain the integrity of data An event task with a consumed tag trigger provides a simple mechanism to
Manage event tasks Chapter 2 Synchronize multiple controllers You can also use the produced/consumed tag relationship to synchroni
Table of contents Additional considerations ... 45 Motion group trigger ...
Chapter 2 Manage event tasks 2. Produced tag properties On the New Tag dialog box for the produced tag, click Connection to open t
Manage event tasks Chapter 2 Example – producer controller and consumer controller As parts move along a production line, each sta
Chapter 2 Manage event tasks The CPS instruction sets Produced_Tag_1 = Source_Tag_1. The IOT instruction updates Produced_Tag_1 and
Manage event tasks Chapter 2 To trigger an event task based on conditions in your logic, use the EVENT Instruction Only trigger.
Chapter 2 Manage event tasks Description Program A runs an EVENT instruction. The event task that is specified by the EVENT instruc
Manage event tasks Chapter 2 Example – EVENT Instruction trigger A controller uses multiple programs except for a common shut down
Chapter 2 Manage event tasks Ladder Diagram in Program_B If Shut_Down_Line = on (conditions require a shut down) then run the Shu
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
Chapter 2 Manage event tasks Programmatically configure a timeout To programmatically configure a timeout, use a Get System Value (G
Manage event tasks Chapter 2 Attribute Data Type Instruction Description Status DINT GSV SSV Provides status information abou
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
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
Index T tag trigger event task 58 task avoid overlap 17 choose event trigger 37 create periodic 29 define timeout 70 inhibit 25 manuall
Rockwell Automation support Rockwell Automation provides technical information on the web to assist you in using its products. At http://www.rockwell
Preface These documents contain additional information concerning related Rockwell Automation products. Resource Description Industrial Automation W
Chapter 1 Manage tasks The default project provides a single task for all your logic. Although this is sufficient for many applications, some situati
Kommentare zu diesen Handbüchern