Schütz
Couldn't load pickup availability
Description
The FB_DualRelayFeedback function block controls main and auxiliary contacts (NO/NC) with feedback, integrating simulation, reset, deactivation, and safety checks. It ensures that outputs are set correctly depending on the coil status and the feedback inputs and detects invalid states early on.
Note: This module is intended as a template. Before productive use, it must be integrated into the respective control system, tested, and approved by qualified personnel. Incorrect integration can lead to undesirable system behavior.
How it works
Disabled
If #Enable
is not set, all status signals and outputs are switched off, an error is set and the status is marked accordingly.
Reset
Resets internal state and outputs, clears errors, and sets the status to reset.
simulation
The logic runs in a simulated manner: main and auxiliary outputs follow the simulated coil status; no real actuator control occurs. The status and diagnostic code indicate simulation mode.
Security check
Missing main signals lead to the deactivation of relevant outputs, setting an error. An auxiliary output (NC) may remain conditionally active depending on the feedback.
Normal operation
During normal operation, the internal state is adopted by the actual coil. Main and auxiliary outputs (NO/NC) are switched according to the feedback signals. Errors are reset.
Technical details
-
Inputs:
#Enable
,#Reset
,#SimMode
,#Coil_A1
,#In_Main11
,#In_Main21
,#In_Aux31
,#In_Aux41
-
Outputs / States:
#Out_Main12
,#Out_Main22
,#Out_Aux32
,#Out_Aux42
,#State
,#Error
,#Status
,#DiagnosticCode
-
Diagnosis codes (selection):
-
0
– OK -
1002
– Disabled -
1003
– Invalid input states -
1004
– Simulation mode
-
Possible applications
- Integration into process and diagnostic logic after prior testing and approval by qualified personnel
- Checking contact states in simulation mode before live operation
- Support in the early detection of feedback errors
- Linking main and auxiliary contacts for improved condition monitoring
Note: Complete technical acceptance and release is required before use in productive operation.
compatibility
- Siemens S7-1200 & S7-1500 controllers
- Suitable for TIA Portal with SCL support
- Integration into higher-level control architectures possible
- Testable in simulation mode without real sensor/actuator connection
Scope of delivery
You receive:
- An SCL file with the implemented function block
- Complete declaration of all inputs and outputs
- Annotated structure for quick adaptation
- Quick guide for integration into a TIA project
The download link will be provided after purchase.
Support
I am happy to support you with:
- Adaptation to your specific requirements
- Integration into higher-level control processes or HMI
- Evaluation of diagnostic information
- Extension for special feedback scenarios
Contact is possible via shop message or email. Customization options are available as an option.