Free
6 min
Lesson 3 — Two-Hand Press (AND)
curriculumlessonandsafety
Ready to build this?
Sign up free — no credit card required. This scenario is included in the free tier.
Sign up to play this scenario →Already have an account? Log in
Briefing
Two-hand safety control: both HAND_L and HAND_R must be pressed simultaneously before the press activates. Neither hand alone is enough. Contacts in series implement AND logic — all must be true for the rung to be true.
Objectives
- PRESS energises only when HAND_L AND HAND_R are both true
- Either hand alone must not energise the press
Hints
- Place two NO contacts — one for HAND_L and one for HAND_R — in series on the rung.
- Series contacts: | HAND_L HAND_R | := PRESS ;
I/O Table
Inputs
HAND_LLeft-hand button (NO)
BOOL · %I0.0
HAND_RRight-hand button (NO)
BOOL · %I0.1
Outputs
PRESSPress solenoid
BOOL · %Q0.0
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1Both hands pressed → PRESS on
PRESS should activate with both hands pressed
- #2Left hand only → PRESS off
PRESS must not activate with only one hand
Related scenarios
Ready to build this?
Sign up free — no credit card required. This scenario is included in the free tier.
Sign up to play this scenario →Already have an account? Log in