SF_ESPE block
Function block
This function block is used to support an electro-sensitive protective equipment function in an application.
This function block is a safety-related function block for monitoring electro-sensitive protective equipment.
Interface
I/O |
Name |
Data type |
Initial value |
Description |
IN |
Activate |
BOOL |
FALSE |
|
IN |
S_ESPE_In |
SAFEBOOL |
SAFEFALSE |
Safety request input. Variable. FALSE: ESPE pressed, request for safety-related reaction. TRUE: ESPE not pressed, no request for safety-related reaction. The safety control system must be able to detect a very short interruption of the sensor (which is specified in 61496-1: at least 80 ms) when the ESPE is used as a triggering device in applications. |
IN |
S_StartReset |
SAFEBOOL |
SAFEFALSE |
|
IN |
S_AutoReset |
SAFEBOOL |
SAFEFALSE |
|
IN |
Reset |
BOOL |
FALSE |
|
OUT |
Ready |
BOOL |
FALSE |
|
OUT |
S_ESPE_Out |
SAFEBOOL |
SAFEFALSE |
Output for the safety-related reaction. SAFEFALSE: Safety output disabled. Request for a safety-related reaction (e.g. reset required or internal error active). SAFETRUE: Safety output enabled. No requirement for Safety-related reaction. |
OUT |
SafetyDemand |
BOOL |
FALSE |
|
OUT |
ResetRequest |
BOOL |
FALSE |
|
OUT |
Error |
BOOL |
FALSE |
|
OUT |
DiagCode |
WORD |
16#0000 |
Function description
Function block SF_ESPE is used to support an electro-sensitive protective equipment function in an application. This function block is a safety-related function block for monitoring electro-sensitive protective equipment.
Triggering the electro-sensitive protective equipment
If electro-sensitive protective equipment is triggered in the application, the function block ensures that function block release signal S_ESPE_Out is set to SAFEFALSE.
Resetting the electro-sensitive protective equipment
If triggered electro-sensitive protective equipment has been reset in the application, the function block can optionally (see Start interlock) ensure within the safe control system that release signal S_ESPE_Out is not set to SAFETRUE solely by this reset. Additional manual intervention on input parameter Reset is required for this (see Start interlock).
Additional information
Typical timing diagrams
1) Startup sequence
2) Normal operation with reset
1) Startup sequence with S_StartReset
2) Normal operation with reset
1) Startup sequence
2) Normal operation with S_AutoReset
Error detection
The function block detects a static TRUE signal on the reset input.
Error behavior
S_ESPE_Out is set to FALSE. With a static TRUE signal on input Reset, output DiagCode displays the corresponding error code and output Error is set to TRUE.
Reset must be set to FALSE to exit the error states.
Error and status messages
Function block specific error codes
DiagCode |
Name |
Description and output settings |
C001 |
Reset error 1 |
Reset is TRUE while waiting for S_ESPE_In = TRUE. Ready = TRUE S_ESPE_Out = SAFEFALSE SafetyDemand = FALSE ResetRequest = FALSE Error = TRUE |
C011 |
Reset error 2 |
Reset is TRUE while waiting for S_ESPE_In = TRUE. Ready = TRUE S_ESPE_Out = SAFEFALSE SafetyDemand = FALSE ResetRequest = FALSE Error = TRUE |
Function block-specific status codes (no error)
DiagCode |
Name |
Description and output settings |
C001 |
Idle |
Function block is not active (initial state). Ready = FALSE S_ESPE_Out = SAFEFALSE SafetyDemand = FALSE ResetRequest = FALSE Error = FALSE |
8001 |
Init |
Enabling is TRUE. The function block has been enabled. It must be checked whether S_StartReset is required. Ready = TRUE S_ESPE_Out = SAFEFALSE SafetyDemand = FALSE ResetRequest = FALSE Error = FALSE |
8802 |
Wait for S_ESPE_In 1 |
Enabling is TRUE. Whether Reset is FALSE and waiting for S_ESPE_In = TRUE must be checked. Ready = TRUE S_ESPE_Out = SAFEFALSE SafetyDemand = TRUE ResetRequest = FALSE Error = FALSE |
8402 |
Wait for Reset 1 |
Enabling is TRUE and S_ESPE_In = TRUE. Wait for the rising trigger from Reset. Ready = TRUE S_ESPE_Out = SAFEFALSE SafetyDemand = FALSE ResetRequest = TRUE Error = FALSE |
8804 |
Wait for S_ESPE_In 2 |
Enabling is TRUE. Safety request detected. Whether Reset is FALSE and waiting for S_ESPE_In = TRUE must be checked. Ready = TRUE S_ESPE_Out = SAFEFALSE SafetyDemand = TRUE ResetRequest = FALSE Error = FALSE |
8404 |
Wait for Reset 2 |
Enabling is TRUE and S_ESPE_In = TRUE. S_AutoReset must be checked or wait for the rising trigger of Reset. Ready = TRUE S_ESPE_Out = SAFEFALSE SafetyDemand = FALSE ResetRequest = TRUE Error = FALSE |
8000 |
Safety output enabled |
Enabling is TRUE and S_ESPE_In = TRUE. Function mode with S_ESPE_Out = TRUE. Ready = TRUE S_ESPE_Out = SAFETRUE SafetyDemand = FALSE ResetRequest = FALSE Error = FALSE |