SF_ResetButton (FB)ΒΆ
FUNCTION_BLOCK SF_ResetButton
- InOut:
Scope
Name
Type
Initial
Comment
Input
ResetRequestedBOOLTRUE
Input which should be connected to the ResetRequest output of the paired FB. TRUE: ResetRequested, FALSE: No reset requested / no monitoring of ResetIn.
ResetInBOOLFALSE
Input of reset button. FALSE: reset button released, TRUE: reset button actuated by operator.
TrailingMinimumTIMETIME#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
TrailingMaximumTIMETIME#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
ReadyBOOLFALSE
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.
ResetOutBOOLFALSE
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.
ErrorBOOLFALSE
Error flag
DiagCodeWORDANY_TO_WORD(FBS_RESBUT.IDLE)
Diagnostic register