Runnable simulator field guide
Switch-to-light PLC scenario: test checklist
Direct answer
The learner can state the truth table, predict the rung, observe input and output state and explain why output indication is not universal physical proof.
Written for first-time PLC learners connecting one switch input to one lamp output while learning scan, tag and physical-response boundaries.

Scenario setup
Initial switch state, input tag, contact instruction, rung truth, lamp output, scan assumption and stopping state.
I/O and state map
User switch through simulated input, program evaluation, output image, lamp model and visible feedback.
Normal run
Switch off and on repeatedly with the input, rung, output and lamp matching the written truth table.
Boundary run
Startup, rapid toggle, inverted contact, output written twice, refresh, reset and mismatched tag.
Injected fault
An input, polarity, rung-truth, output-owner, mapping, scan or visualization misunderstanding.
Target check
The same behavior rebuilt in the target PLC with compatible I/O wiring and measured field response.
What is the simplest PLC program?
One Boolean input controlling one Boolean output is a useful first program because the entire truth and signal path can be predicted.
What should I learn after switch-to-light logic?
Add normally closed truth, start-stop seal-in logic, explicit stop priority, timers, counters and independent machine feedback.