Download WizPLC 3.0 CoDeSys User Guide EN

Transcript
WizPLC CoDeSys User Guide
Wizcon Supervisor
EXIT instruction
If the EXIT instruction appears in a FOR, WHILE, or REPEAT loop, then the innermost loop is ended,
regardless of the break-off condition.
2.2.3
Sequential Function Chart (SFC)...
The Sequential Function Chart (SFC) is a graphically oriented language which makes it possible to
describe the chronological order of different actions within a program. For this the actions are
assigned to step elements and the sequence of processing is controlled by transition elements.
Example for a network in the Sequential Function Chart
For further information on the SFC Editor see Chapter 5.4.4.
Step
A POU written in a Sequential Function Chart consists of a series of steps which are connected with
each other through directed connections (transitions).
There are two types of steps.
• The simplified type consists of an action and a flag which shows if the step is active. If the action of
a step is implemented, then a small triangle appears in upper right corner of the step.
• An IEC step consists of a flag and one or more assigned actions or boolean variables. The
associated actions appear to the right of the step.
Action
An action can contain a series of instructions in IL or in ST, a lot of networks in FBD or in LD, or again
in Sequential Function Chart (SFC).
With the simplified steps an action is always connected to a step. In order to edit an action, click twice
with the mouse on the step to which the action belongs. Or select the step and select the menu
command 'Extras' 'Zoom Action/Transition'. In addition, one input or output action per step is possible.
CoDeSys V2.3
2-16