Implicit variables - sfc flags, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 744
![background image](/manuals/566301/744/background.png)
L-force | PLC Designer
General Editors
742
DMS 4.1 EN 03/2011 TD29
13.13.7
Implicit variables - SFC flags
Each SFC step and IEC action provides implicitly generated variables for watching the
status of steps and IEC actions during runtime. Also variables can be defined for
watching and controlling the execution of a SFC (timeouts, reset, tip mode). These
variables also might be generated implicitly by the SFC object.
Basically for each step and each IEC action an implicit variable is generated. A structure
instance, named like the element, for example "step1" for a step with step name
"step1". Notice the possibility, to define in the element properties, whether for this flag
a symbol definition should be exported to the symbol configuration and how this
symbol should be accessible in the PLC.
The data types for those implicit variables are defined in library IecSFC.library. This
library will automatically be included in the project as soon as an SFC object is added.
Step and Action status and Step time
Basically for each step and each IEC-action an implicit structure variable of type
SFCStepType resp. SFCActionType is created. The structure components (flags)
describe the status of a step resp. action or the currently processed time of an active
step.
The syntax for the implicitly done variable declaration is:
Note: In contrast to V2.3 implicit variables for actions always are preceded by an
underscore.
The following boolean flags for step or action states are available:
For steps:
If
If
following cycle, that is
of a cycle.
For actions:
_
_