Method | Description | Example result in Step7 syntax |
---|---|---|
Comment | The comment to the relevant object. | //Clamps the workpiece |
Call | Generates a block call for the POU | CALL"Axis","XAxis"(Release:="KoRelease") |
<VAR-TYP>VariableDeclaration | Creates the declaration for the relevant variable type. This method is used, if no variables of that type are declared in the template. Variables types are:
|
VAR_TEMP SwitchAhead:BOOL; END_VAR |
<VAR-TYP>Variables | Declares the variables of the relevant variable type. This method is used, if variables of that type are already declared in the template. Variables types are:
|
SwitchAhead:BOOL; |