Function description

This function is to reset and normally start sequences.

In relation to all functions and function blocks for sequence control, INITCHART has the highest priority.

  • Reset sequence

    With a 1 signal at the input InitSequence, 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.

    Since the sequence is permanently reset as long as there is a 1 signal at the input InitSequence, you should take the following measures to prevent a permanent blocking of the sequence:

    • Conditional call of the function INITCHART via the input EN.

    • Conditional call of the function INITCHART via e.g. IF statement in the programming language ST.

    • Use edge recognition (R_TRIG) at the input InitSequence.

  • Start sequence normally

    With a 1->0 edge at the input InitSequence, the sequence is started normally, i.e. the initial step is activated. This is shown for one cycle with a 1 signal at the output InitState.

NOTE: The output InitState shows the current status of the sequence, i.e. the sequence can also be normally started with the function block SFCCNTRL (input INIT) or another external control command.

EN and ENO can be configured as additional parameters.

Representation in FBD

Representation:

Representation in LD

Representation:

Representation in IL

Representation:

LD SectionName
INITCHART InitializeChart
ST InitState

Representation in ST

Representation:

InitState := INITCHART (SectionName, InitializeChart) ;

Parameter description

Description of input parameters:

Parameter

Data type

Description

CHARTREF

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 SFCCHART_STATE. The variable that is created always has the name of the respective SFC section.)

INIT_I

BOOL

0->1: Reset all active steps in the sequence.

1->0: Start standard sequence (set initial step)

Description of output parameters:

Parameter

Data type

Description

INIT_O

BOOL

1: Sequence was started normally (on for only one cycle)