SF_Equivalent
Help version 1.1 / Issue date: 2018.03
The following description is valid for the function block SF_Equivalent_V2_0z, Version 2.0z (where z = 0 to 9).
| Short Description | The safety-related SF_Equivalent function block monitors the signals of two safety-related input terminals for the same signal states. Typically, these signals come from two-channel sensors or switches such as an emergency-stop control device.The enable signal S_EquivalentOut becomes SAFETRUE when the function block is activated, has not detected an error and the S_ChannelA and S_ChannelB inputs both show the SAFETRUE state within the time set at DiscrepancyTime.For this to happen, the function block must be activated (Activate = TRUE) and it must not have detected any errors (Error = FALSE).
|
||||||||||||||||||||||||||||
| Block Icon | ![]() |
||||||||||||||||||||||||||||
| Inputs | Activate
Refer to the topic "Activate" for details. S_ChannelA
Refer to the topic "S_ChannelA" for details. S_ChannelB
Refer to the topic "S_ChannelB" for details. DiscrepancyTime
Refer to the topic "DiscrepancyTime" for details. |
||||||||||||||||||||||||||||
| Outputs | Ready
Refer to the topic "Ready" for details. S_EquivalentOut
Refer to the topic "S_EquivalentOut" for details. SafetyDemand
Refer to the topic "SafetyDemand" for details. ResetRequest
Refer to the topic "ResetRequest" for details. Error
Refer to the topic "Error" for details. DiagCode
Refer to the topic "DiagCode" for details. |
||||||||||||||||||||||||||||
| Detailed information | Signal sequence diagram
The example below shows the signal curve which occurs if both inputs switch to SAFETRUE or SAFEFALSE within the discrepancy time.
Application example
This example illustrates two-channel control of the safety-related SF_EmergencyStop function block with the help of the safety-related SF_Equivalent function block. The emergency-stop control device is connected to the inputs 1.1 and 2.1 of the safety-related input device PSDI with an ID of 1.
Function block instantiation
The IEC 61131-3 standard defines function block instantiation. Instantiation means, a function block is defined once and can be used (instantiated) several times. This applies to all FBs (user-defined POUs as well as library FBs, such as IEC standard FBs, firmware FBs, user library FBs).
Why instantiation? The following applies:
The user-defined function block 'TLC' ("Two Level Controller") is added to the 'Functions & Function Blocks' category (COMPONENTS area). It shall be called twice in the program POU 'Container' to control the filling level and the temperature of a boiler. For both FB instances, an instance name declaration is added to the 'Variables' table of the calling program POU 'Container': TLCTemperature and TLCLevel. Thus the 'TLC' function block can be called twice in the code worksheet of the calling POU by means of these instance names. |

Activate


