Button opener contact
Couldn't load pickup availability
Description
The FB_DualContactRelay function block controls main and auxiliary contacts (NO/NC) depending on a control signal ( #Coil_A1 ). Inputs for normally closed and normally open contacts are taken into account via #Klemme13 / #Klemme21 . The outputs ( #Klemme14 , #Klemme22 , #Klemme34 , #Klemme42 ) follow the logic: if the coil is activated, the NO contact is passed through; otherwise, the NC contact is passed through. The block recognizes a deactivation mode and reports its status.
Note: This logic is intended as a template. It must be integrated, reviewed, and approved by qualified personnel before productive use. Improper use may result in unexpected behavior.
How it works
Disabled
If #Enable is not active, all outputs are set to a safe initial position (all contacts deactivated). The error indicator remains active, and the status indicates deactivation.
Activated
When the block is activated, the control signal #Coil_A1 is evaluated:
-
#Klemme14 := #Klemme13 AND #Coil_A1– Main NO only if input and coil are set -
#Klemme22 := #Klemme21 AND NOT #Coil_A1– Main NC if Coil is not set -
#Klemme34 := #Klemme33 AND #Coil_A1– Auxiliary NO analog -
#Klemme42 := #Klemme41 AND NOT #Coil_A1– Auxiliary NC analog
Errors are reset, status is OK.
Technical details
-
Inputs:
#Enable,#Coil_A1,#Klemme13,#Klemme21,#Klemme33,#Klemme41 -
Outputs:
#Klemme14(NO),#Klemme22(NC),#Klemme34(Auxiliary NO),#Klemme42(Auxiliary NC) -
Status & Diagnosis:
#Error,#Status,#DiagnosticCode - Logic: Simple linking of inputs and outputs depending on the coil state with fallback when deactivated.
Possible applications
- Control of redundant NO/NC contacts in control or signaling chains
- Simple switching behavior based on a control signal
- Integration as a module in higher-level process and security logic after testing
- Linking main and auxiliary contacts for improved feedback
Note: Before productive use, a technical inspection and approval by qualified personnel is required.
compatibility
- Siemens S7-1200 & S7-1500 controllers
- Can be used in TIA Portal-based projects
- Easy integration into higher-level control architectures
- Deactivated state without unwanted switching states
Scope of delivery
You receive:
- An SCL file with implemented function block
- Complete declaration of inputs/outputs
- Annotated structure for quick integration
- Quick guide for integration
The download link will be provided after purchase.
Support
I am happy to support you with:
- Adjusting the contact logic
- Integration into control processes or HMI
- Error analysis and status interpretation
- Specific extensions
Contact is possible via shop message or email. Customization options are available as an option.