Basic
20 min

Robot PLC Handshake

robothandshakesequencingsafety

Ready to build this?

Sign up free — no credit card required. This scenario requires the Basic plan.

Sign up to play this scenario →

Already have an account? Log in

Robot PLC Handshake scenario preview

Briefing

Implements the standard Rockwell/ABB PLC-to-robot handshake protocol. The PLC signals PLC_READY when all preconditions are met. When a part arrives and the robot is ready, the PLC pulses CYCLE_START. The PLC then waits for ROBOT_CYCLE_DONE to confirm completion before incrementing a cycle counter and de-asserting CYCLE_START. A robot fault latches ROBOT_FAULT_LAMP and inhibits new cycle starts.

Objectives

  • PLC_READY asserts when RUN_BIT is set and no robot fault is active
  • CYCLE_START pulses (one scan) when PART_AT_ROBOT AND ROBOT_READY AND PLC_READY
  • SAFETY_OK mirrors the absence of a robot fault (NOT ROBOT_FAULT)
  • ROBOT_FAULT_LAMP latches on ROBOT_FAULT and clears only via STOP_PB
  • Cycle counter increments on each ROBOT_CYCLE_DONE acknowledgement

Hints

  • Use a one-shot on (PART_AT_ROBOT AND ROBOT_READY AND PLC_READY) to generate a single CYCLE_START pulse
  • Wait for ROBOT_CYCLE_DONE before allowing the next CYCLE_START
  • ROBOT_FAULT_LAMP: S= on ROBOT_FAULT, R= on STOP_PB AND NOT ROBOT_FAULT
  • PLC_READY := RUN_BIT AND NOT FAULT_BIT; SAFETY_OK := NOT ROBOT_FAULT

I/O Table

Inputs

ROBOT_READY

Robot ready for cycle start

BOOL · %I0.0

ROBOT_CYCLE_DONE

Robot cycle complete acknowledge

BOOL · %I0.1

PART_AT_ROBOT

Part present at robot work cell

BOOL · %I0.2

ROBOT_FAULT

Robot fault / e-stop signal

BOOL · %I0.3

START_PB

Start push-button

BOOL · %I0.4

STOP_PB

Stop / reset push-button

BOOL · %I0.5

Outputs

PLC_READY

PLC ready output to robot

BOOL · %Q0.0

CYCLE_START

Cycle start pulse to robot

BOOL · %Q0.1

SAFETY_OK

Safety OK output to robot

BOOL · %Q0.2

ROBOT_FAULT_LAMP

Robot fault indicator lamp

BOOL · %Q0.3

Your program will be tested against:

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

  1. #1PLC_READY asserts when running and no fault

    START_PB energises system; PLC_READY goes high, SAFETY_OK also high

  2. #2CYCLE_START pulses on PART_AT_ROBOT + ROBOT_READY

    With PLC_READY high, presenting a part and robot-ready signal fires CYCLE_START

  3. #3ROBOT_FAULT latches ROBOT_FAULT_LAMP and drops SAFETY_OK

    ROBOT_FAULT drops SAFETY_OK and latches fault lamp; STOP_PB clears it

Ready to build this?

Sign up free — no credit card required. This scenario requires the Basic plan.

Sign up to play this scenario →

Already have an account? Log in

Runnable simulator field guide

PLC robot handshake scenario: test checklist

Direct answer

The learner can draw the state contract, run a normal transaction and diagnose stale, missing, out-of-order and restart signals.

Written for pLC and robot programmers practicing deterministic cell coordination, ownership, timeouts, aborts and recovery without a physical robot.

an operator and instructor reviewing alarm, trend, machine-state and recovery evidence in a simulation control room while studying PLC and robot request, acknowledge, busy, complete and fault handshake
System map / 02

NODE 01observable

Scenario setup

Cell states, PLC owner, robot owner, request data, ready, acknowledge, busy, complete, fault, timeout, reset, abort and restart policy.

NODE 02observable

I/O and state map

PLC request and payload through robot acknowledgement and execution states to completion, process feedback and both-side state clearing.

NODE 03observable

Normal run

Idle, request, acknowledge, busy, complete and return-to-idle sequence repeated with recorded signal timing.

NODE 04observable

Boundary run

Stale complete, missing ready, delayed acknowledge, changed payload, timeout, abort mid-cycle, fault, power return and one-side reset.

NODE 05observable

Injected fault

An ownership, state, request-data, signal, timing, execution, feedback, reset or recovery mismatch.

NODE 06observable

Target check

The contract implemented and validated in official PLC and robot tools and the safeguarded target cell.

Answer surface / 07

What signals are needed for a PLC robot handshake?

A robust contract often includes readiness, request plus data, acknowledge, busy, complete, fault, timeout and explicit clearing or reset rules.

How do you prevent a stale robot-complete signal?

Use state-qualified edges or transaction identity and require both sides to clear and confirm the idle state before accepting a new cycle.

Real plc robot handshake footage

See this exact skill in the working simulator.

Watch the real browser product respond to the task on this page, then try the same practical workflow yourself. No slides, concept mockups, install, or credit card.

Try this in the browser
PLC Robot Handshake — Ready, Start, Busy, Complete and Fault