If the iq_xAction input becomes True and the CMD and StartStep in StandardModuleInterface are 0, the iq_diCMD and iq_diStartStep inputs are copied into the corresponding variables of StandardModuleInterface and iq_xAction is set to FALSE.
An alternative verification is made if the iq_xAction and iq_xOverwrite inputs are activated. Whether or not the iq_diCMD or iq_diStartStep inputs are equal to the corresponding variables in StandardModuleInterface is checked. If the condition is fulfilled, then the iq_diCMD and iq_diStartStep inputs are copied into the corresponding variables of StandardModuleInterface and iq_xAction is set to FALSE.
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Error message |
Input/Output |
Data type |
Description |
---|---|---|
iq_xAction |
BOOL |
TRUE: The command shall be issued. |
iq_xOverwrite |
BOOL |
TRUE: The active command shall be overwritten. |
iq_diCmd |
DINT |
The command to be issued |
iq_diStartStep |
DINT |
The start step for the command |
iq_stStandardModuleItf |
The interface of the module to be activated |