Professional Documents
Culture Documents
PLCopen
for efficiency in automation
Transition 1
The states in orange and blue are stable states, i.c.
they can be valid for a longer period of time. Step 2 S Empty
The states in green are states that are only valid for a
certain period of time and transfer to the next state Transition 2
without intervention from an operator. The transition
is automatically done if the state is complete (SC = Step 3
State Complete).
Shown above is the full state diagram with the state
Execute (in blue) the producing state. The loop under- One can use alternative sequences and even parallel
neath, via Suspended, is a waiting loop for material to sequences, such as commonly required in batch
be worked upon. The loop above, via Held, is the loop applications. For instance, one sequence is used for
where the operator holds the system out of the produ- the primary process, and the second for monitoring
cing state. the overall operating constraints.
After all products are made, the producing state Because of its general structure, SFC provides also a
Execute is left via Complete, and ready for a new communication tool, combining people of different
production order. backgrounds, departments or countries.
®
PLCopen
for efficiency in automation
To map the PackML state diagram, we need to De-centralized error handling example
implement the following normal operation sequences: The main states in PackML for the normal production
Stopped, Resetting, Idle (at specified pre-conditions), process (executing) looks as follows:
Starting and Execute. After Execute there are 3
alternative options: Complete, Hold, and Suspend,
STOPPED
where the last 2 will continue via Execute.
RESET AND
Error handling via the loops Stop and Abort NOT ABORT
All states can also be left via the Stop loops (in case a
stop is commanded) or the Abort loop (in case of an RESETTING
error). Concerning this error handling, there are
basically two ways of dealing with this: PRESET AND
1 Centralized – all errors in the SFC sequence are NOT ABORT
SA1
STARTING
ErrorAll Appl2Cond
NOT ABORT
SA2
EXECUTE
ErrorAll Appl3Cond
COMPLETING
AND NOT ABORT
SA3
COMPLETE
ErrorAll Appl4Cond
ErrorApplication SA2
ErrorOff
®
PLCopen
for efficiency in automation
STOPPED
RESET AND
ABORT STOP
NOT ABORT
STATE STATE
ABORT
COMPLETED COMPLETED
STATE COMPLETED
ABORT STOP
AND NOT ABORT
ABORTING
ABORTING ABORT STOPPING STOPPED
IDLE ABORTED
CLEAR
START AND
ABORT STOP
NOT ABORT
ABORTING STOPPING
STARTING CLEARING
STATE ABORT
COMPLETED
STATE COMPLETED
ABORT STOP
AND NOT ABORT
ABORTING
ABORTING STOPPING STOPPED
EXECUTE
ABORTING STOPPING
COMPLETE HOLDING SUSPENDING
UN-SUSPEND
UN-HOLD AND STOP AND NOT ABORT STOP
ABORT
NOT ABORT ABORT
The additional function blocks at the transitions deal with the multimode’s.
This state diagram is valid for several modes, like Idle Starting Execute Completing Complete
Automatic (like above), Semi-Automatic, and Stopped Stopping Clearing Aborted Aborting
Automatic mode the holding loop is not made Resetting UnSuspending Suspended Suspending
available, limiting the feed-in of products to on one Stopped Stopping Clearing Aborted Aborting
Semi-Auto
product at a time only for checking purposes. In the
Setup mode there is no production, so the ‘Execute’,
‘Suspending’, and ‘Holding’ loops are not available. Idle
Resetting
This is coupled to the function blocks in the SFC Stopped Stopping Clearing Aborted Aborting
PLCopen
for efficiency in automation
the ‘Holding’ loop if SemiAutoModeSelected is not with which the operator can move the machine at a
SET, meaning in Automatic or . reduced speed. The functional application program
The different states are linked, like shown in the defines the safely limited speed, while the safety
figure above. application checks that the limit set is not exceeded.
In order to change between these modes, one has to In addition, one can couple the emergency switch to
fulfill the applicable safety requirements. For different stop categories per motor.
instance, a safety approved mode selector can be A small overview of applicable safety function
used, coupled to the safety requirements in the blocks is shown n the next drawing. For details on
Setup mode. For this the PLCopen Safety Speci- the PLCopen Safety specification, check the website
fication is intended. This specification fulfils also www.PLCopen.org under TC5 Safety.
the requirements as specified in the ANSI / PMMI
B155.1-2006 Safety Requirements for Packaging SF_ModeSelector SF_SafelyLimitedSpeed
and Packaging-Related Converting Machines. SF_ModeSelector SF_SafelyLimitedSpeed
state Activate
S_EStopIn
Ready
S_EStopOut
Activate
S_StopIn
Ready
S_Standstill
setup mode the drives are in a safe state. For this the
Examples of PLCopen Safety Function Block
‘Safely Limited Speed’ functionality can be used,
combined with the ‘EnableSwitch’ functionality,
Introduction into PLCopen PLCopen was founded in 1992 and has headquarters
PLCopen creates software concepts that reduce the in The Netherlands with supporting offices in the
costs of industrial automation. These costs savings United States, China, and Japan.
are realized in areas such as engineering, training, For more information, please check the website
operation, and maintenance. www.PLCopen.org.
Together with its members, PLCopen creates
specifications to materialize these concepts.
The PLCopen supplier members convert these
specifications into real software products.
The PLCopen user members benefit from these
products in their operation. User members include
OEM like machine builders, as well as end-users
like manufacturing companies in the food &
beverage markets.
As association, PLCopen supports a multi-level
membership, ranging from suppliers to educational
institutes. PLCopen strongly supports the user
community. For this it created additional
membership categories.