You assign qualifiers to IEC steps. Qualifiers describe how a step action is processed.
Qualifiers are processed by the SFCActionControl
function block in the library IecSfc.library
. The library is automatically integrated into the project by the SFC plug-in.
For concrete instructions for working in the SFC editor, see: ⮫ “Programming in SFC ”, ⮫ “Creating a POU in SFC ”, ⮫ “Adding a step-transition ”, ⮫ “Adding an entry action ”, ⮫ “Adding an exit action ”, ⮫ “Adding an action ”, ⮫ “Adding an alternative branch ”, ⮫ “Adding a jump ”, ⮫ “Adding a macro ”, ⮫ “Adding an association ”
|
Non-stored |
The action is active as long as the step. |
|
overriding Reset |
The action is deactivated. |
|
Set (Stored) |
CODESYS executes this action as soon as the step is active. The action execution is continued even when the step has been deactivated until it gets a reset. |
|
time Limited |
CODESYS executes this action as soon as the step is active. The action is executed until the step is deactivated or the given time span has elapsed. |
|
time Delayed |
CODESYS starts executing the action only after the given delay time has elapsed following step activation and the step is still active. The action is executed until the step is deactivated. |
|
Pulse |
CODESYS executes the action exactly two times: one time when the step is activated and one time when the step is deactivated. |
|
Stored and time Delayed |
CODESYS starts executing the action only after the given delay time has elapsed following step activation. The action is executed until it gets a reset. |
|
Delayed and Stored |
CODESYS starts executing the action only after the given delay time has elapsed following step activation and the step is still active. The action is executed until it gets a reset. |
|
Stored and time limited |
CODESYS executes this action as soon as the step is activated. It is executed until the specified time has elapsed or it gets a reset. |
You have to specify the times for the L
, D
, SD
, DS
, and SL
qualifiers in the format of a TIME
constant.
When an IEC action is deactivated, it is executed one more time. This means that CODESYS executes this kind of action at least two times. This also applies to actions with
the P
qualifier.