Rockwell-automation Logix5000 Controllers Sequential Function Charts P Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Équipement Rockwell-automation Logix5000 Controllers Sequential Function Charts P. Rockwell Automation Logix5000 Controllers Sequential Function Charts Programming Manual User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 88
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Programming Manual
Logix5000 Controllers Sequential Function
Charts
Catalog Numbers 1756 ControlLogix, 1769 CompactLogix, 1789 SoftLogix, 1794 FlexLogix, PowerFlex
700S with DriveLogix
Vue de la page 0
1 2 3 4 5 6 ... 87 88

Résumé du contenu

Page 1 - Programming Manual

Programming Manual Logix5000 Controllers Sequential FunctionCharts Catalog Numbers 1756 ControlLogix, 1769 CompactLogix, 1789 SoftLogix, 1794 FlexLogi

Page 2 - Important user information

Preface These documents contain additional information concerning related Rockwell Automation products. Resource Description Logix5000 Controllers

Page 3 - Summary of changes

Chapter 1 Design a sequential function chart A sequential function chart (SFC) is similar to a flowchart of your process. It defines the steps or sta

Page 4

Chapter 1 Design a sequential function chart A sequential function chart (SFC) is similar to a flowchart. It uses steps and transit

Page 5 - Table of contents

Design a sequential function chart Chapter 1 A selection branch chooses between different execution paths. A text box lets you add descriptive tex

Page 6 - Program a sequential

Chapter 1 Design a sequential function chart A stop lets you stop and wait for a command to restart. A wire connects one element to another eleme

Page 7 - Force steps

Design a sequential function chart Chapter 1 1. Organize your project. These functions Go into this type of task • Configure an

Page 8

Chapter 1 Design a sequential function chart If Then • The SFC is the only routine in the program • The SFC calls all the other

Page 9 - Studio 5000 environment

Design a sequential function chart Chapter 1 • When you first open an SFC routine, it contains an initial step and transition. Us

Page 10 - Additional resources

Chapter 1 Design a sequential function chart If you want to Then select or set this member Data type Details Determine how long a

Page 11 - Introduction

Design a sequential function chart Chapter 1 If you want to Then select or set this member Data type Details Do something one time when the ste

Page 12 - What is a sequential

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

Page 13

Chapter 1 Design a sequential function chart This diagram shows the relationship of the X, FS, SA, and LS bits. Once you define th

Page 14 - Define the tasks

Design a sequential function chart Chapter 1 To Use this structure With these considerations Loop back to a previous step Wire

Page 15 - Choose how to execute the

Chapter 1 Design a sequential function chart Example situation Example solution At station 12, the machine drills, taps, and bolt

Page 16 - Define the steps of the

Design a sequential function chart Chapter 1 • The SFC takes the first TRUE path. • The Logix Designer application lets you chan

Page 17 - SFC_STEP structure

Chapter 1 Design a sequential function chart Wire to a previous step You can also connect a step to a previous point in your SFC.

Page 18

Design a sequential function chart Chapter 1 Use actions to divide a step into the different functions that the step performs, suc

Page 19

Chapter 1 Design a sequential function chart To program a non-Boolean action, you have these options. If you want to Then • Execu

Page 20 - Organize the steps

Design a sequential function chart Chapter 1 Example When the S_Complete_the_Batch step is active, the S_Open_Outlet action exec

Page 21

Chapter 1 Design a sequential function chart If you want to Then select or set this member Data type Details Determine how many times an action

Page 22 - Selection branch

Design a sequential function chart Chapter 1 Each action (non-Boolean and Boolean) uses a qualifier to determine when it starts a

Page 23 - Simultaneous branch

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

Page 24 - Wire to a previous step

Chapter 1 Design a sequential function chart The transition is the physical conditions that must occur or change in order to go to

Page 25 - Add actions for each step

Design a sequential function chart Chapter 1 Example You want to complete these steps. 1. Turn on 2 compressors. When a compress

Page 26 - Use a Boolean action

Chapter 1 Design a sequential function chart If you want to Then Enter the conditions as an expression in structured text. Use

Page 27 - SFC_ACTION structure

Design a sequential function chart Chapter 1 Call a subroutine. Check for the required conditions. When those conditions are

Page 28 - Describe each action in

Chapter 1 Design a sequential function chart Description Step becomes active. X bit turns on. Timer clears and then begins to

Page 29 - Choose a qualifier for an

Design a sequential function chart Chapter 1 Description Step becomes inactive. X bit turns off. Timer retains its value. Alar

Page 30 - Define the transition

Chapter 1 Design a sequential function chart Programmatic reset Automatic reset Use logic to clear data Let the controller auto

Page 31 - Transition tag

Design a sequential function chart Chapter 1 The following table compares the different options for handling the last scan of a s

Page 32 - Use a BOOL expression

Chapter 1 Design a sequential function chart Use the Don’t Scan option The default option for handling the last scan of a step is

Page 33 - Transition after a specified

Design a sequential function chart Chapter 1 2. Clear the required data using any of these methods. • To your normal logic, add

Page 35 - Example

Chapter 1 Design a sequential function chart When the action is not on its last scan (conveyor_start.Q =1), this statement turns o

Page 36 - Choose a last scan option

Design a sequential function chart Chapter 1 Important: The postscan of an action actually occurs when the action goes from ac

Page 37

Chapter 1 Design a sequential function chart How do you want to control the device? To provide bumpless control of a device during

Page 38 - Use the Don’t Scan option

Design a sequential function chart Chapter 1 Example A paint operation completes these actions. 1. Transfers the product into th

Page 39

Chapter 1 Design a sequential function chart When the SFC leaves the step that stores the action, the Logix Designer application co

Page 40

Design a sequential function chart Chapter 1 In this example, a step turns on a fan and then calls another SFC. The nested SFC se

Page 41

Chapter 1 Design a sequential function chart • The X bit of the stop element turns on. This signals that the SFC is at the stop el

Page 42 - Keep something on from

Design a sequential function chart Chapter 1 Example This example shows the use of the SFC Reset (SFR) instruction to restart th

Page 43 - Store and reset an action

Chapter 1 Design a sequential function chart One method for organizing your project is to create one SFC that provides a high-level

Page 44 - Use one large step

Design a sequential function chart Chapter 1 Pass parameters To pass parameters to or from an SFC, place a Subroutine/Return eleme

Page 45 - End the SFC

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

Page 46 - Restart (reset) the SFC

Chapter 1 Design a sequential function chart Select the Execute until FALSE transition option only when either of these are true: •

Page 47 - SFC_STOP structure

Design a sequential function chart Chapter 1 The following diagram shows the execution of a sequence. This… …executes like th

Page 48 - Nest an SFC

Chapter 1 Design a sequential function chart The following diagram shows the execution of a simultaneous branch. This… …executes l

Page 49 - Configure when to return to

Design a sequential function chart Chapter 1 The following diagram shows the execution of a selection branch. This… …executes lik

Page 50 - Execution diagrams

Chapter 1 Design a sequential function chart The following diagram shows options for execution control. This SFC… …executes li

Page 51

Chapter 2 Program a sequential function chart To add SFC elements, use the SFC toolbar. Add and manually connect elements 1. On the SFC toolbar, clic

Page 52

Chapter 2 Program a sequential function chart Important: Use caution when copying and pasting components between different vers

Page 53

Program a sequential function chart Chapter 2 2. To add a path to the branch, click the first step of the path that is to the left of where you w

Page 54

Chapter 2 Program a sequential function chart 3. Add the transition that follows the simultaneous branch.4. To wire the simultaneous branch to the

Page 55 - Chapter 2

Program a sequential function chart Chapter 2 End a selection branch 1. Select the last transition of each path in the branch. To select the tran

Page 56 - Create a simultaneous

Table of contents End the SFC ... 45 Use

Page 57 - End a simultaneous branch

Chapter 2 Program a sequential function chart 2. Clear the Use default priorities check box and select a transition. Use the Move

Page 58 - Create a selection branch

Program a sequential function chart Chapter 2 Click the lower pin of the transition that signals the jump. Then click the to

Page 59 - Set the priorities of a

Chapter 2 Program a sequential function chart Location to which the wire goes Assign the preset time for a step 1. Click the b

Page 60 - Connect a wire to the step

Program a sequential function chart Chapter 2 Use an expression to calculate a time To calculate a time based on tags in your proj

Page 61 - Hide a wire

Chapter 2 Program a sequential function chart Enter a BOOL expression The simplest way to program the transition is to enter the con

Page 62 - Configure a step

Program a sequential function chart Chapter 2 Call a subroutine when programming a transition 1. In the SFC, right-click the tran

Page 63

Chapter 2 Program a sequential function chart 2. In the Action Properties dialog box, on the General tab, select the qualifier for

Page 64 - Program a transition

Program a sequential function chart Chapter 2 Browse for a tag Choose a function Choose an operator Create a tag 4. Enter a n

Page 65 - Configure an action

Chapter 2 Program a sequential function chart 1. Double-click the text area of the action. 2. Type the required structured text.

Page 66

Program a sequential function chart Chapter 2 5. Click OK. Actions execute in the order in which they appear. When Step_003 is

Page 67 - Program an action

Table of contents Document an SFC ... 70 Language sw

Page 68

Chapter 2 Program a sequential function chart You can document these SFC components. To document this And you want to Do this Gene

Page 69 - Assign the execution order

Program a sequential function chart Chapter 2 • Alarm Messages (in ALARM_ANALOG and ALARM_DIGITAL configuration) • Tasks • Pro

Page 70 - Document an SFC

Chapter 2 Program a sequential function chart Add a tag description 1. Click the button of the element. 2. In the element Prope

Page 71 - Add structured text comments

Program a sequential function chart Chapter 2 If you the text box to Then Stay in the same spot Stop. You are done. Move with th

Page 72 - Add a text box

Chapter 2 Program a sequential function chart 2. Select the Never display description in routine check box. 3. Click OK. The SFC

Page 73

Program a sequential function chart Chapter 2 As you program your routine, periodically verify your work. 1. In the top-most tool

Page 74 - Configure the execution of

Chapter 2 Program a sequential function chart • Modify indicator tags • Add, delete or modify an SBR/RET • Add, delete or modify

Page 75 - Edit an SFC online

Chapter 3 Force steps Use a force to override data that your logic either uses or produces. • Test and debug your logic. • Temporarily keep your pr

Page 76 - • Modify indicator tags

Chapter 3 Force steps Important: If you download a project that has forces enabled, the programming software prompts you to enab

Page 77

Force steps Chapter 3 Forces tab ----------> Forces tab status Means Enabled • If the project contains any forces of thi

Page 79 - GSV instruction

Chapter 3 Force steps Important: The ForceStatus attribute shows only the status of I/O forces. It does not show the status of SFC

Page 80

Force steps Chapter 3 To override the logic of an SFC, you have these options. If you want to Then Override the conditions of

Page 81 - When to use an SFC force

Chapter 3 Force steps For example, to exit this branch, the SFC must be able to complete these actions. • Execute Step_011 at le

Page 82 - Force a simultaneous path

Force steps Chapter 3 This path executes. This path does not execute. If you force a path of a simultaneous branch to be FALSE

Page 83 - Add an SFC force

Chapter 3 Force steps If Then Off No SFC forces currently exist. Flashing No SFC forces are active. But at least one force alread

Page 84 - Remove or disable forces

A action 71 assign qualifier 69 boolean 28 call a subroutine 72 choose between boolean and non-boolean 27 data type 29 non-boolean 27 pro

Page 85

Index P periodic task application for 16 postscan sequential function chart 37 program action 27 boolean action 28 programmatic reset option

Page 86

Index T task define 16 text box sequential function chart 76 show or hide in sequential function chart 77 transition BOOL expression 34 cal

Page 87 - Index

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

Page 88 - Rockwell Automation support

Preface This manual shows how to design and program Sequential Function Charts (SFCs) for Logix5000 controllers to execute. This manual is one of a se

Commentaires sur ces manuels

Pas de commentaire