Function description
This function is to reset sequences.
| WARNING | |
|---|---|
| WARNING | |
|---|---|
With a 1 signal at the input ClearSequence, the sequence is stopped and all steps are
reset. As long as the 1 signal is at the input, the sequence stays
in this mode, i.e. it cannot be started.
This state remains
even if input ClearSequence reverts back to 0.
The status (sequence reset) is shown with a 1 signal at the output ClearState.
Only when there is a 0 signal at the
input ClearSequence, the sequence can be started
with the function block SFCCNTRL (Input INIT), the function INITCHART or another
external step activation command.
Since the sequence is permanently
reset as long as there is a 1 signal at the input ClearSequence, you should take the following measures to prevent a permanent blocking
of the sequence:
Conditional call of the function
CLEARCHARTvia the inputEN.Conditional call of the function
CLEARCHARTvia e.g.IFstatement in the programming languageST.Use edge recognition (
R_TRIG) at the inputClearSequence.
ClearState shows
the current state of the sequence, i.e. the sequence can also be reset
with the function block SFCCNTRL (Input CLEAR), the function INITCHART, the procedure RESETSTEP (reset the
last/only active step) or and other control command (external).EN and ENO can be configured
as additional parameters.
Representation in FBD
Representation:

Representation in LD
Representation:

Representation in IL
Representation:
LD SectionName
CLEARCHART ClearChart
ST ClearStateRepresentation in ST
Representation:
ClearState := CLEARCHART (SectionName, ClearChart) ;Parameter description
Description of input parameters:
Parameter |
Data type |
Description |
|---|---|---|
|
SFCCHART_STATE |
Association with the SFC section to be controlled is done via the name of the section. If an
SFC section is created then it is automatically assigned with a variable
of data type |
|
|
0->1: Reset all active steps in the sequence. |
Description of output parameters:
Parameter |
Data type |
Description |
|---|---|---|
|
|
1: Sequence was reset, i.e. the sequence has no active step |

