Skip to product information
1 of 1

Relay (normally open contact)

Regular price €2,90 EUR
Regular price Sale price €2,90 EUR
Sale Sold out
Description

The FB_Relay function block provides reliable control of NO/NC contacts with built-in error detection, simulation functionality, and clear fallbacks. Depending on the coil and input signals, the outputs are set correctly, and invalid states are detected.

Note: This module is intended as a template. Before productive use, it should be integrated and validated into the respective control system by qualified personnel. Incorrect integration can lead to undesirable system behavior.

How it works
Reset

Resets outputs and status and clears errors.

Disabled

If the block is not activated, the outputs remain off and an error is signaled.

simulation

The contact logic runs in a simulated manner without affecting real actuators. The status and diagnostic code indicate simulation mode.

Error detection

Invalid input states deactivate the outputs and set an error.

Normal operation

During normal operation, NO or NC outputs are switched according to the coil and input signals. Errors are reset.

Technical details
  • Inputs: #Reset , #Enable , #SimMode , #Coil_A1 , #In13 , #In21
  • Outputs: #Out14 , #Out22 , #Error , #Status , #DiagnosticCode
  • Diagnosis codes (selection):
    • 0 – OK
    • 1001 – Invalid inputs
    • 1002 – Disabled
    • 1004 – Simulation mode
Possible applications
  • Use in machine and plant logics after prior integration and technical approval by qualified personnel
  • Test and validation via simulation mode before real integrations take place
  • Early detection of faults to support diagnostic processes
  • Integration into higher-level process and diagnostic logic for increased transparency

Note: Before use in productive processes, a complete test and approval by responsible, qualified personnel is required.

compatibility
  • Siemens S7-1200 & S7-1500
  • Suitable for TIA Portal with SCL support
  • Integration into higher-level control architectures possible
  • Testable without real sensors/actuators in simulation mode
Scope of delivery

You receive:

  • An SCL file with implemented function block
  • 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:

  • Adapting the logic to your requirements
  • Integration into higher-level process controls or HMI
  • Evaluation and use of diagnostic information
  • Extension for special cases

Contact is possible via shop message or email. Customization options are available as an option.