SF_ResetButton (FB)ΒΆ
FUNCTION_BLOCK SF_ResetButton
- InOut:
Scope
Name
Type
Initial
Comment
Input
ResetRequested
BOOL
TRUE
Input which should be connected to the ResetRequest output of the paired FB. TRUE: ResetRequested, FALSE: No reset requested / no monitoring of ResetIn.
ResetIn
BOOL
FALSE
Input of reset button. FALSE: reset button released, TRUE: reset button actuated by operator.
TrailingMinimum
TIME
TIME#350ms
Minimum time that the reset switch has to be actuated. If the reset button is pushed shorter than this time, the reset is ignored. Absolut minimum value is 100msec. Minimum value 2 PLC cycles. Default value T#350MS
TrailingMaximum
TIME
TIME#2s0ms
Maximum time that the reset switch is actuated. Typical value can be around 2 sec. If the reset button is pushed longer than this time, the reset is ignored.
Output
Ready
BOOL
FALSE
Activation of the FB. TRUE indicates that the FB is activated and the outputs results are valid, FALSE the FB is not active and the program is not executed.
ResetOut
BOOL
FALSE
Pulse for the initiation of the reset procedure. This pulse is generated after the falling edge. Pulse output with rising edge first. At least 1 cycle.
Error
BOOL
FALSE
Error flag
DiagCode
WORD
ANY_TO_WORD(FBS_RESBUT.IDLE)
Diagnostic register