Skip to content
Ladder logic (PLC) templates

Ladder - Conveyor Jam Watchdog

Six rungs where the photo-eye has been blocked for 8 s against a 6 s TON preset, so the jam latches on rung 4 after the belt coil was already solved true on rung 2 -- the one-scan lag that makes a real controller keep the belt running for one more pass -- with the beacon and horn coils drawn in series off the same latched fault.

Template previewLadder logic (PLC)
Belt conveyor - photo-eye jam detectionDECLARED INPUT STATERun_Cmd = 1E_Stop_OK = 1Guard_Closed = 1Eye_Blocked = 1Jam_Reset = 0L1N1Safety chain must be healthy before anything runsTRUEE_Stop_OK1Guard_Closed1Safe12Belt runs on command while safe and not jammedTRUERun_Cmd1Safe1Jam_Fault0Belt_Motor13Photo-eye blocked longer than 6 s while running is a jamTRUEBelt_Motor1Eye_Blocked1TONT_JamPRE 6 sACC 8 sDN4Latch the jam fault - it must survive the belt stoppingTRUET_Jam.DN1SJam_Fault15Panel reset is the only way out of the latchFALSEJam_Reset0RJam_Fault16Beacon and horn, two coils in series off one faultTRUEJam_Fault1Beacon1Horn16 rungs solved in one scan: 5 true, 1 false. 14 tags, 5 declared as inputs.No duplicate destinations, no unwritten tags, every rung drives an output and 8 tags are energised.

Make it your own.

title "Belt conveyor - photo-eye jam detection"
state: Run_Cmd, E_Stop_OK, Guard_Closed, Eye_Blocked, Jam_Reset=0

rung "Safety chain must be healthy before anything runs"
  xic E_Stop_OK
  xic Guard_Closed
  ote Safe

rung "Belt runs on command while safe and not jammed"
  xic Run_Cmd
  xic Safe
  xio Jam_Fault
  ote Belt_Motor

rung "Photo-eye blocked longer than 6 s while running is a jam"
  xic Belt_Motor
  xic Eye_Blocked
  ton T_Jam preset: 6 accum: 8 unit: s

rung "Latch the jam fault - it must survive the belt stopping"
  xic T_Jam.DN
  otl Jam_Fault

rung "Panel reset is the only way out of the latch"
  xic Jam_Reset
  otu Jam_Fault

rung "Beacon and horn, two coils in series off one fault"
  xic Jam_Fault
  ote Beacon
  ote Horn