Skip to product information
1 of 1

Flasher relay

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

The FB_BlinkToggleTONTOF function block generates controlled blinking behavior using alternating on (TON) and off (TOF) delays. It combines simulation, reset, and deactivation with simple contact logic for NO/NC outputs. The internal toggle state ( #tog ) controls the blinking circuit, while invalid operating states are detected and displayed.

Note: This logic is designed as a template. It must be integrated, reviewed, and approved by qualified personnel before productive use. Incorrect integration may result in unexpected behavior.

How it works
Reset

Resets all internal states, stops timers, deactivates outputs and clears errors.

Disabled

If #Enable is not set, the outputs remain off and an error is signaled.

simulation

The internal switching state changes every cycle (simulated flashing). NO/NC outputs follow this state without using a real delay. The status and diagnostic code indicate the simulated operation.

Blinking logic

The actual flashing sequence runs in two phases: In the TON phase, the device waits until the on-delay period has expired, then switches over. In the TOF phase, the device switches back after the off-delay period. The switchover state controls the NO/NC outputs.

Contact logic

The NO/NC outputs are set depending on the inputs and the current switching state:

  • #Klemme14 := #Klemme13 AND #tog – NO active when Toggle is set
  • #Klemme22 := #Klemme21 AND NOT #tog – NC active when Toggle is not set

Errors are reset, the status shows OK.

Technical details
  • Inputs: #Enable , #Reset , #SimMode , #Klemme13 , #Klemme21
  • Timer: #TON (switch-on delay), #TOF (switch-off delay) with parameters "TON IN" and "TOF IN"
  • Outputs: #Klemme14 (NO), #Klemme22 (NC)
  • Internal state: #tog (Shift/Blink)
  • Status & Diagnosis: #Error , #Status , #DiagnosticCode
Possible applications
  • Preparation and testing of flashing switching cycles in control sequences
  • Simulation of signal states for validation without direct actuator influence
  • Linking NO/NC outputs for visible flashing feedback
  • Support in diagnosing and monitoring cyclical state changes

Note: A complete technical inspection and approval by qualified personnel is required before productive use.

compatibility
  • Siemens S7-1200 & S7-1500 controllers
  • Suitable for TIA Portal with SCL support
  • Integration into higher-level control processes possible
  • Simulation without real actuators for preliminary testing
Scope of delivery

You will receive:

  • An SCL file with implemented function block
  • Complete declaration of timers and inputs/outputs
  • Commented structure for easy adaptation
  • Quick guide to integration

The download link will be provided after purchase.

Support

I am happy to support you with:

  • Adjusting the flashing times and logic parameters
  • Integration into higher-level control processes or HMI
  • Understanding status and diagnostic information
  • Special adaptations for individual requirements

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