Runnable simulator field guide
Carton-erector PLC scenario: test checklist
Direct answer
The learner can track one blank through feed, open, form, seal and discharge states while detecting missing carton, failed vacuum and blocked handoff.
Written for packaging automation learners sequencing a compact carton erector with magazine, vacuum, cylinders and downstream handoff.

Scenario setup
Magazine available, carton identity, vacuum ready, pick cylinder, open proof, flap sequence, adhesive ready, compression time, discharge clear and reject policy.
I/O and state map
Cycle request through blank pick, vacuum feedback, opening, flap commands, adhesive or seal step, compression, release and discharge confirmation.
Normal run
One available blank becomes one discharged carton with every motion confirmed and no next feed while the downstream boundary is occupied.
Boundary run
Empty magazine, double pick, vacuum leak, carton not open, cylinder timeout, adhesive unready, flap jam, discharge blocked, stop and restart.
Injected fault
A material, vacuum, sequence, cylinder, feedback, adhesive, seal, discharge, timeout or recovery mismatch.
Target check
The sequence commissioned with exact packaging material, pneumatics, adhesive system, guarding and quality checks.
How should a PLC control a carton erector?
Use explicit material and mechanism states, wait for independent feedback after each action and provide timeouts and recovery for missing or malformed cartons.
What should happen after a vacuum pick failure?
Stop the advance, preserve the blank and mechanism state, release or retry only under a bounded policy and prevent a second blank from entering unexpectedly.