BeginnerInput Map~12 min

Input Map

Field wiring gives you awkward signal polarities an NC-wired stop, a sensor that's TRUE when there's NO part. Map raw inputs to clean internal tags first, so the rest of the program reads like plain English.

Your goal

  • Map StopNC (TRUE = healthy, NC-wired) to internal StopOK.
  • Map PartNC (TRUE = no part present) to internal PartPresent inverted.
  • Motor runs only when Run is ON, StopOK is ON, and PartPresent is ON.
Stuck? Show hints (3)
  1. Rung 1: NO StopNC β†’ OTE StopOK (a straight copy the mapping documents intent).
  2. Rung 2: NC PartNC β†’ OTE PartPresent (the inversion happens HERE, once, instead of all over the program).
  3. Rung 3: NO Run, NO StopOK, NO PartPresent in series β†’ OTE Motor. Notice how readable that rung is.

Pattern from Contact & Coil's classic ladder logic series.

I/O for this exercise

Inputs
StopNCStop circuit, NC-wired (TRUE = not pressed)
PartNCPart sensor (TRUE = NO part)
RunRun command switch
Outputs
MotorMotor contactor
Internal coils
StopOKMapped: stop circuit healthy
PartPresentMapped: part present
Loading the editor…