The structure ST_DevControl is used for the cycle counter for the XPSU safety module itself and for the cycle counter for the safety-related outputs of the XPSU safety module. The number of cycles of a safety-related output allows you to determine the number of cycles of the equipment (actuator) connected to this safety-related output.
The structure is connected to the inputs i_astControlOut and i_stControlProc of the function block FB_XpsuMain.
The structure consists of 13 elements. The first seven elements correspond to the maximum number of safety-related outputs an XPSU safety module can have. The remaining six elements correspond to the number of safety-related outputs an XPSUEP extension module has.
Name |
Data type |
Description |
---|---|---|
udiMaxNumOp |
UDINT |
Maximum number of cycles of the safety-related outputs of the XPSU safety module or maximum number of cycles of the XPSU safety module itself. If the value is set to 0, the cycles are not counted. |
xReset |
BOOL |
If the value of this parameter is set to TRUE, the cycle counter for the corresponding safety-related output is reset to 0. Such a reset may be required if, for example, you have replaced equipment connected to a safety-related output. If the maximum number of cycles of the safety-related output is reached (and after you have replaced affected equipment), a reset is required for the counting to resume.
NOTE: After resetting the counter by setting xReset to TRUE, xReset must be set back to FALSE by the application program. If the value remains TRUE, the counter is continuously reset.
|