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

Not ready to sign up? Run a live lab now — no signup →

Lesson 3 — Two-Hand Press (AND) scenario preview

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_L

Left-hand button (NO)

BOOL · %I0.0

HAND_R

Right-hand button (NO)

BOOL · %I0.1

Outputs

PRESS

Press solenoid

BOOL · %Q0.0

Your program will be tested against:

All test cases run automatically when you submit. Assertions are hidden until you pass.

  1. #1Both hands pressed → PRESS on

    PRESS should activate with both hands pressed

  2. #2Left hand only → PRESS off

    PRESS must not activate with only one hand

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

Not ready to sign up? Run a live lab now — no signup →

Competency and practice field guide

Two-hand press curriculum scenario: practice plan

Direct answer

The learner can explain why two true inputs are only the starting point, then test simultaneity, release, cycle completion and restart cases.

Written for pLC beginners moving from a simple AND condition toward explicit state, timing and release requirements.

a guarded machine-safety training cell with an emergency stop, two-hand station, safety mat, light curtain and inspectable relay panel while studying two-input Boolean logic, simultaneity, anti-repeat behavior and press-cycle boundaries
System map / 02

NODE 01observable

Scope

Left and right commands, Boolean AND truth, input edges, simultaneity window, cycle request, completion, release and restart state.

NODE 02observable

Signal path

Physical buttons through inputs, edge and time logic, cycle state, output request, modeled press response and completion feedback.

NODE 03observable

Baseline practice

Both buttons changing from released to actuated as required and producing one bounded cycle followed by complete release.

NODE 04observable

Edge cases

One button held, delayed second button, bounce, early release, repeated scan, incomplete cycle, restart and power return.

NODE 05observable

Fault practice

An input, Boolean, edge, timing, state, output-request, feedback, release or restart mismatch.

NODE 06observable

Transfer to the job

The learning behavior documented separately from any production safety-system requirement and target implementation.

Answer surface / 07

Why is a two-hand press exercise more than an AND gate?

An AND gate proves only that both values are true. A complete behavioral exercise also defines timing, anti-tie-down, release, cycle ownership, stopping and restart.

Should holding both buttons repeat the cycle?

Normally the training requirement should prevent repeat until both controls return to the declared released state, but the exact application contract must be explicit.