CampusSpark
ORIGINAL CAMPUSSPARK GUIDE

Trace a program before pressing Run

BeginnerExplanation · worked example · practice

One controlled scan makes a logic error easier to locate than watching many rapid scans.

  1. Write the requested input values.
  2. Step once and inspect each contact, branch and final output.
  3. Change one input and predict the next result before stepping again.
Start=true AND Stop=false passes a NO Start followed by NC Stop.

See the reasoning, step by step.

  1. Example branch: NO Start → NC Stop → COIL Motor. Start=true makes the NO contact true.
  2. Stop=false makes the NC contact true. Both series conditions are true, so the branch is true.
  3. Set Stop=true and Step again. NC Stop becomes false, so the standard coil writes Motor=false.

A mistake worth catching

The trap: Assuming a normally closed contact always passes.

A better approach: NC passes when its referenced BOOL tag is false. It is a logical instruction, not a physical safety circuit.

Check your reasoning

NO Start and NC Stop are in series. Start=true and Stop=true. What does a standard Motor coil write?

Your turn: use the idea.

Predict all four Start/Stop combinations before stepping your program.

Try it yourself first. This is a self-review task, not automatic marking.

Compare with a model answer

Start/Stop → Motor: false/false → false; false/true → false; true/false → true; true/true → false. This branch has no latch.

Check your own work

Go deeper with the right source.

Supporting references and further reading. The worked examples above are original CampusSpark teaching material.

PLCopen: IEC 61131-3 overview

A public overview, not the full standard or a certification of this simulator.

Siemens programming documentation

Product documentation; AutoLab uses its own documented educational model.

Lesson and answer rationale reviewed 27 October 2026. A practice answer is not an official exam score.
Trace in PLC Studio

Learning support, not an official certificate, professional assessment or automatic grade. Use original provider requirements for your examination or application.

Private AI