Rockwell-automation Logix5000 Controllers Tasks, Programs, and Routine 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 Tasks, Programs, and Routine. Rockwell Automation Logix5000 Controllers Tasks, Programs, and Routines Programming Manual User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - Programming Manual

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

Strany 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

Strany 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

Strany 4

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

Strany 5 - Table of contents

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

Strany 6

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

Strany 7 - Studio 5000 environment

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

Strany 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

Strany 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

Strany 10

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

Strany 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

Strany 12 - Additional considerations

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

Strany 13 - Example

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

Strany 14 - Leave enough time for

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

Strany 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

Strany 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

Strany 17

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

Strany 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

Strany 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

Strany 20

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

Strany 21

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

Strany 22

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

Strany 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

Strany 24

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

Strany 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

Strany 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

Strany 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

Strany 28

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 33 - Properties

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

Strany 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

Strany 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

Strany 37 - Change trigger

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

Strany 38

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

Strany 39

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

Strany 40

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

Strany 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

Strany 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

Strany 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

Strany 44

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

Strany 45

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

Strany 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

Strany 47

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

Strany 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

Strany 49

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

Strany 50

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

Strany 51

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

Strany 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

Strany 53

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

Strany 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

Strany 55

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

Strany 56 - Consumed tag trigger

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

Strany 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

Strany 58

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

Strany 59

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

Strany 60

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

Strany 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

Strany 62 - Consumer controller

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

Strany 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

Strany 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

Strany 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

Strany 66 - Define a timeout value for

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

Strany 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

Strany 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

Strany 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

Strany 71

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

Strany 72

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

Strany 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

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

Žádné komentáře