Download turbo pmac ladder

Transcript
Turbo PMAC Ladder
Example of a function block:
A function block constitutes an autonomous network. Input and output operands that are not used will not
be assigned variable identifiers. The corresponding connectors will then remain without labels. If
parameters are passed outside the function block, the function block symbol will be drawn without any
connectors.
There are two kinds of function blocks. Manufacturer’s function blocks and User function blocks. The
user function blocks are those created by the user to be used in the program.
Sequential Function Chart (SFC)
This is a graphical language for depicting sequential behavior of a control system. It is used for defining
control sequences that are time- and event-driven. This is an extremely effective graphical language for
expressing both the high level sequential parts of a control program as well as programming low-level
sequences, e.g. to program an interface to a device.
Elements of the Sequential Function Chart
SFC-plans are a tool for formulation of control flow of a technical process, which are characterized by
change of states. Every state transition is coupled on certain conditions.
The sequential function chart offers the following language elements:
Step:
A step contains many actions. Actions contain code fragments.
A step that is executing is called “active.”
If a step is active, the contained actions will execute.
A step can be activated by:
switching of a previous transition,
a jump element,
Setting the initial flag (c.f. initial step).
STEP 1
STEP 1
T1
22
Initial step:
Initial steps are active at the beginning of the program.
Positions in the plan could be marked by initial steps, at
which the execution starts on program start.
Transition:
Switching of transitions controls the program flow
temporally and structurally. A transition will switch if the
transition condition is true and all previous steps are active. Once the transition switches, all previous steps become inactive and all following steps become active.
Fundamentals of Ladder, Function Block and SFC