GSTART Statement in SFC Action

Starts a Sequential Function Chart (SFC) child program or function block by placing a token into each of its initial steps. The abbreviated syntax is equivalent to an SFC Child action block having the S qualifier. The extended syntax only applies to SFC child function blocks.
Children of the child program are not automatically started by the GSTART statement.
Since GSTART is not part of the IEC 61131-3 standard, it is preferable to use the S qualifier attached to the child name.
GSTART Statement
Name
GSTART
Syntax
GSTART ( <
child_name
> );
or
GSTART ( <
child_name,step_name,input1,input2,...inputn
> )
where
child_name
represents the name of the SFC child POU
step_name
represents the name of the active step. step_name must be preceded by two underscore characters (for example, __S1)
input1,input2,...inputn
indicate the values of the input parameters of the SFC child POU
Operands
the specified SFC program must be a child of the one in which the statement is written
Return value
(none)
Example
stx_gstssfca1
To insert a GSTART statement
  • In the language container, type
    GSTART
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal