
Chapter 1 Design a sequential function chart
If you want to Then
Enter the conditions as an expression in structured text. Use a BOOL expression on page 32
Enter the conditions as instructions in another routine. Call a subroutine on page 68
Use the same logic for multiple transitions.
Use a BOOL expression
The simplest way to program the transition is to enter the conditions as a BOOL
expression in structured text. A BOOL expression uses BOOL tags, relational
operators, and logical operators to compare values or check if conditions are
TRUE or FALSE. For example,
tag1>65.
Call a subroutine in a transition
To use a subroutine to control a transition, include an End Of Transition (EOT)
instruction in the subroutine. The EOT instruction returns the state of the
conditions to the transition, as shown below.
- or -
32 Rockwell Automation Publication 1756-PM006F-EN-P - October 2014
Commenti su questo manuale