
Drive PLC Developer Studio
Editors
7-64
l
DDS EN 2.3
Example of a declaration
PROGRAM flags
VAR
SFCEnableLinit:BOOL;
SFCError:BOOL;
SFCErrorStep:STRING;
SFCReset AT %IX1.0.2: BOOL;
SFCInit AT %IX1.0.3:BOOL;
END_VAR
SFCQuitError
Variab le of t yp e BOOL.
Processing of the SFC diagram will be suspended as long as this variable is TRUE , resetting a
potential timeout in variable SFCError . Resetting the variable to FALSE will reset all previous times
in the active steps.
SFCPause
• Variab le of t yp e BOOL.
• Processing of the SFC diagram will be suspended as long as this variable is TRUE .
SFCTrans
• Variab le of t yp e BOOL.
• This variable is set to TRUE if a transition becomes TRUE.
SFCError
• Variab le of t yp e BOOL.
• This variable will be set if a timeout has occurred in an SFC diagram.
SFCErrorStep
• Variab le of t yp e String.
• In the event of timeout, this variable saves the name of the step that caused the timeout.
SFCErrorPOU
• Variab le of t yp e String.
• In the event of a timeout, this variable saves the name of the organization unit in which the
timeout occurred.
SFCCurrentStep
• Variab le of t yp e String.
• This variable saves the name of the active step independently of the time limits.
• In the case of parallel branching, the step will be saved in the branch on the extreme right.
SFCTip, SFCTipMode
These variables of type BOOL allow the tip area of SFC. If that is activated by
SFCTipMode= TRUE , advance to the next step is possible only by setting SFCTip to TRUE.Aslong
as SFCTipMode is set to TRUE , advance is also possible via the transitions.
SFCErrorAnalyzation
This variable is of type STRING.IftheSFCflagSFCError registers a timeout,
SFCErrorAnalyzation will output the responsible variables or transition expressions.
This function requires the library Analyzation.lib to be integrated into the DDS project.
Comentarios a estos manuales