Two-hand start
Couldn't load pickup availability
Description
The FB_TwoHandStart function block ensures that an output is only activated when both buttons are pressed simultaneously within a defined time window. This reliably prevents unintentional or one-handed starting.
Note: All modules are designed exclusively as a learning and optimization basis and are not approved for live operation. System modules, in particular, must be finally tested and commissioned by qualified personnel before productive use.
How it works
First key press
If one of the two buttons is pressed and StartErkannt
is not yet active, a TON timer starts with the set ZeitFenster
duration and sets StartErkannt
.
Both buttons pressed
If the user presses both buttons within the running timer and Freigabe
is TRUE, AusgangAktiv
is switched on.
Termination conditions
If one of the buttons is released or the timer runs out without both being pressed at the same time, AusgangAktiv
is deactivated, the timer is stopped and StartErkannt
is reset.
Technical details
- XOR operation of the button inputs detects first key press
- TON timer monitors the time window (
ZeitFenster
) -
AusgangAktiv
only when: - both buttons pressed
- Timer is running
-
Freigabe
= TRUE - Automatic reset when timer expires or button is released
Mission
- Simple two-hand controls in machines or systems
- Meeting security requirements
- Avoiding unintentional launches
compatibility
- Siemens S7‑1200 & S7‑1500 controllers
- TIA Portal from version V13
- Simulation with PLCSIM possible from V16
Scope of delivery
You will receive an .scl
file with:
- Declaration of all inputs and outputs
- Timer instance
- Variable structure
Support
I am happy to support you with:
- Adjusting the
ZeitFenster
- Change of release conditions
- Integration into existing HMI layouts
Contact via shop message or email is possible at any time.