SF_TestableSafetySensor (FB)¶
FUNCTION_BLOCK SF_TestableSafetySensor
- InOut:
Scope
Name
Type
Initial
Comment
Input
ActivateBOOLFALSE
Activation of the FB.
S_OSSD_InBOOLFALSE
Status of sensor output, e.g., light curtain. FALSE: Safety sensor in test state or demand for safety-related response. TRUE: Sensor in the state for normal operating conditions.
StartTestBOOLFALSE
Input to start sensor test. Sets “S_TestOut” and starts the internal time monitoring function in the FB. FALSE: No test requested. TRUE: Test requested.
TestTimeTIMETIME#10ms
Test time of safety sensor. Range from 0 to 150ms.
NoExternalTestBOOLFALSE
Indicates if external manual sensor test is supported. FALSE: The external manual sensor test is supported. Only after a complete manual sensor switching sequence, a automatic test is possible again after a faulty automatic sensor test. TRUE: The external manual sensor test is not supported. An automatic test is possible again without a manual sensor switch-ing sequence after faulty automatic sensor test.
S_StartResetBOOLFALSE
Start behaviour of safety FB
S_AutoResetBOOLFALSE
Behaviour on error of safety FB
ResetBOOLFALSE
Manual reset of FB
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.
S_OSSD_OutBOOLFALSE
Safety related output indicating the status of the ESPE. FALSE: The sensor has a safety-related action request or test error. TRUE: The sensor has no safety-related action request AND no test error.
S_TestOutBOOLFALSE
Coupled with the test input of the sensor. Although specified as SAFEBOOL, in practice this signal will often be connected to a BOOL output. FALSE: Test request issued. TRUE: No test request.
TestPossibleBOOLFALSE
Feedback signal to the process. FALSE: An automatic sensor test is not possible. TRUE: An automatic sensor test is possible.
TestExecutedBOOLFALSE
A positive signal edge indicates the successful execution of the au-tomatic sensor test. FALSE: An automatic sensor test was not executed yet or an automatic sensor test is active or an automatic sensor test was faulty. TRUE: A sensor test was executed successfully.
SafetyDemandBOOLFALSE
Output indicating that the FB is active and the primary safety function is demanded (e.g. related to the safety functionality).
ResetRequestBOOLFALSE
Output which can be used to signal the operator to press the reset functionality to continue.
ErrorBOOLFALSE
Error flag
DiagCodeWORD0
Diagnostic register