GRST Statement in SFC Action
The GRST statement automatically restarts children of the child program.
GRST is not part of the IEC 61131-3 standard.
GRST Statement | |
---|---|
Name | GRST |
Meaning | Restarts a child Sequential Function Chart (SFC) program frozen by the GFREEZE statement: all the Tokens removed by GFREEZE are restored. The extended syntax only applies to SFC child function blocks. |
Syntax | GRST ( <
child_name
> ); or GRST ( <
child_name,input1,input2,...inputn
> ); where child_name represents the name of the SFC child POUinput1,input2,...inputn indicate the value of the input parameter 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

To insert a GRST statement
- In the language container, typeGRST.
Provide Feedback