Siemens LOGO! Conveyor Chain Pulse Monitor: Jam Detection Setup

David Krause15 min read
PLC HardwareSiemensTutorial / How-to
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview

The classic small-continuous-conveyor fault mode is a clutch-protected drive that is electrically commanded to run while the chain has seized against the sprocket. A single proximity sensor aimed at the sprocket teeth is the cheapest way to detect this, but a plain off-delay on that one bit fails under exactly the failure mode you need to catch: a tooth that parks under the sensor keeps the input true, so the timer never expires and the PLC happily reports "moving" while the chain is welded in place. A Siemens LOGO! 8 logic module with a frequency / pulse threshold trigger (sometimes called the frequency monitor or threshold trigger block) instead counts edges over a sliding measurement window and treats a stalled stream as a fault, regardless of the static state of the discrete input.

This reference documents the working pattern: pick a sprocket-tooth count and a normal running speed, derive a minimum pulses-per-second value, configure a Frequency Threshold Trigger with an On-Delay upstream to mask the start-up ramp, latch the fault output into a coil that drops the motor contactor, and provide a manual reset path. The same pattern applies to belt-slip detection on a tachometer roller, auger rotation monitoring, and slow-speed detection on mixer shafts.

Prerequisites

Item Specification Notes
LOGO! controller LOGO! 8.3 (6ED1052-xxx08-0BA1) or LOGO! 8.4 (6ED1052-xxx08-0BA2) FS04 firmware or later recommended; frequency threshold trigger parameters identical to LOGO! 8.2 baseline
LOGO!Soft Comfort V8.3 or later (FS02) Required for offline simulation of the threshold trigger
Pulse sensor Inductive proximity, M12, 10–30 V DC, NPN or PNP, 3-wire Must source into LOGO! digital input; check input type (see wiring section)
Sprocket Tooth count Z already known Used to compute expected pulses per revolution
Drive Contactor + thermal overload, or VFD with enable input LOGO! output must drop the holding coil or the VFD enable
Power 24 V DC for LOGO! and sensor, or 115/230 V AC LOGO! variant Match LOGO! part number (12/24, 24, 230)
Verify the LOGO! base module has a free digital input and a free digital output on the local base before adding an expansion; the frequency threshold trigger must reference a fast input (I1–I4 on most LOGO! 8 bases; I7/I8 on certain variants) to count edges reliably above ~5 Hz.

System Architecture

The conveyor is treated as three logical objects: the drive command (a Start pushbutton plus maintained run permissive), the motion evidence (pulse train from the sprocket sensor), and the fault latch (a self-holding coil that drops the contactor on either Start release, E-stop, or pulse-train loss). The motion evidence is the new element; the drive command and fault latch are conventional LOGO! patterns.

START PB + E-STOP (NC) drive command Sprocket Sensor → I3 (LOGO! input) motion evidence LOGO! Program FS trigger + latch decision logic Motor Contactor Coil / VFD Enable Q1 (LOGO! output) — drops on fault

Figure 1 — Logical flow: drive command and motion evidence feed the decision block; the decision block drives the contactor output.

Sensor Selection and Mounting

An inductive proximity sensor aimed at the tooth root of the driven sprocket is the most common, lowest-cost choice. Mount it within its rated switching distance (Sn) of the tooth tip; a typical M12 sensor has Sn = 4 mm with a 1 mm hysteresis band. For a worn chain with possible tooth deformation, mount on a smooth roller that the chain rides over and let every roller tooth pulse the sensor — that gives a higher effective pulses-per-revolution and more headroom against the threshold.

Parameter Typical value Comment
Output type PNP (sourcing) Matches LOGO! PNP inputs; for NPN sensors use a base module with NPN input type
Supply 10–30 V DC Take from LOGO! 24 V sensor supply terminal
Switching frequency ≥ 1 kHz Far above conveyor requirement; protects against electrical noise
Mounting Brass or plastic nut, M12 thread Observe minimum bend radius on cable
Connector M12 4-pin or PVC cable Cable gland at the conveyor frame
For chains running faster than about 600 pulses per second, switch to a thru-beam photoelectric or a small incremental encoder; the inductive sensor begins to miss teeth due to its finite switching speed.

Wiring the Sensor into LOGO!

Wire the brown lead to +24 V on the LOGO! sensor-supply terminal, blue to 0 V, and black (PNP output) to a fast digital input. On a LOGO! 8 base with relay outputs (e.g., 6ED1052-1MD08-0BA1), inputs I1–I4 are the high-speed capable inputs used by the counter, frequency trigger, and high-speed counter blocks. Connect the E-Stop NC contact in series with the Start pushbutton into a different input (I1), and the sprocket sensor into I3. The motor contactor coil returns to a relay output (Q1) or transistor output rated for the coil inrush.

Shielded cable is recommended for runs longer than 5 m; ground the shield at the cabinet end only to avoid ground loops. If the conveyor runs through a VFD-controlled section, route the sensor cable at least 200 mm from VFD motor cables and cross them at 90 degrees when unavoidable.

Computing the Threshold Frequency

The frequency threshold trigger fires when the measured frequency falls below a configurable threshold for a configurable on-delay time. The threshold must be set below the normal running frequency and well above zero so that a single missed pulse does not trip, but a stalled chain trips within a small number of pulse periods.

Use the formula:

f_run = (N_motor × Z_sprocket) / (i_gear × 60)

where N_motor is motor RPM at running speed, Z_sprocket is the number of teeth being sensed, and i_gear is the overall gear ratio between motor and sprocket shaft. For a 1450 RPM motor, a 14-tooth sprocket, and a 1:5 reducer: f_run = 1450 × 14 / (5 × 60) ≈ 67.7 Hz. A reasonable threshold is 70% of that, or about 47 Hz, with a 2-second on-delay inside the trigger block. At 47 Hz the inter-pulse gap is 21 ms; a 2-second window therefore expects ~94 missed pulses before the fault fires, which absorbs chain stretch and transient tooth bounce without allowing a true stall to look healthy.

Parameter Symbol Example value Selection rule
Running frequency f_run 67.7 Hz Computed from speed, teeth, ratio
Threshold f_th 40 Hz 0.5 × f_run typical; 0.3 × f_run conservative
On-delay inside trigger T_on 2.0 s ≥ 3 × (1 / f_th)
Measurement window g 0.5 s Default; raise to 1.0 s for very low f_run (< 5 Hz)
Start-up bypass T_start 3.0 s Longer than the longest expected run-up ramp

For the source application — "one pulse every five seconds when speed is correct" — that is f_run = 0.2 Hz. In that regime, the trigger block's threshold trigger with hysteresis parameter set to 0.1 Hz and an on-delay of 10 s is more appropriate, because the discrete on/off nature of the measurement dominates at such low rates. The user explicitly noted the 5-second figure is adjustable, so either increase the sensed target (sense every tooth on a multi-tooth sprocket so f_run climbs above 1 Hz) or shift to the threshold-trigger block with appropriate parameter scaling.

Programming the LOGO! Program

Build the program in LOGO!Soft Comfort as a Function Block Diagram (FBD). The minimum viable logic consists of four blocks chained together:

  1. On-Delay (B001): Input is the drive command. Output goes true T_start seconds after drive command rises. Used to bypass the frequency trigger during start-up.
  2. Frequency Threshold Trigger (B002): Sensor input I3 feeds the trigger. Threshold f_th, on-delay T_on, gate input = B001 output. While the gate input is false, the trigger output is forced false (no fault). While the gate is true, the trigger output goes true when f < f_th for longer than T_on.
  3. RS Latch / Self-holding (B003): Set input = Start PB (or drive command rising edge). Reset input = the OR of E-Stop and the trigger output. Output Q is the motor run command.
  4. Output (B004): Q1 drives the contactor coil or VFD enable from the latch output.

Wire the blocks with the FBD editor as follows:

I1 (Start/E-Stop) ──►[B003 RS]──►[B004]──► Q1 Motor
I2 (E-Stop)      ──┘                  ▲
I3 (Sensor)   ──►[B002 F.Thresh]──┐   │
                  gate: B001_out ──┘   │
B001: On-Delay      trigger ──────────┘
    input: I1 (drive command)
    T_start = 3.0 s
B002: Frequency Threshold Trigger
    input: I3
    f_th = 40 Hz
    T_on = 2.0 s
    g (window) = 0.5 s
    gate = B001 output
The gate parameter on B002 is the critical detail. Without it, the trigger output goes true the instant the conveyor is stopped at power-on and the operator presses Start — because f = 0 Hz is below threshold. The on-delay gate ensures the trigger is only evaluated once the drive has had time to spin up.

Timing Behavior

t 0 Start press Jam occurs Fault trip Drive cmd (low) Run permissive (high) + pulses healthy Pulses lost Q1 drops B001 gate high (after T_start = 3 s)

Figure 2 — Timing: the gate (B001) holds the fault logic suspended for T_start after the drive command rises, after which the frequency trigger is allowed to drop Q1 if pulses vanish for T_on.

Latching, Reset, and Indication

The fault must latch — a momentary pulse-loss event should not allow the conveyor to restart on its own, since the operator needs to walk the line and clear the jam. The RS latch block (B003) handles this: set on Start command rising edge, reset on either E-Stop NC opening or on the rising edge of the trigger output. To force a manual reset, route the Start pushbutton to a second contact that resets the latch, or add a dedicated Reset pushbutton into I4 wired to the reset input of B003.

For HMI / panel indication, expose three flags on unused outputs:

Output Source Meaning
Q2 B003 output Motor run command (mirrors Q1)
Q3 B002 output "Pulse fault" indicator lamp
Q4 B001 output "Bypass active" indicator (lit during T_start)

If a text panel (LOGO! TDE or external HMI) is present, transmit the measured frequency (B002 measured-value output) and the threshold as network inputs so the operator can view real-time pulse rate and tune T_start without re-programming.

Alternative Approaches

Two alternative block selections achieve the same goal with different tradeoffs:

  • Threshold trigger with hysteresis (B007 family): simpler — output is true while input is below threshold, false while above. Combine with an on-delay to create a "below threshold for T seconds" detector. Suitable when f_run is in the 0.1–10 Hz range where the frequency trigger's resolution is overkill.
  • Up/Down counter with comparator: count edges on I3 over a fixed measurement window using a pulse generator to gate the counter. Compare count to expected minimum. More flexible (you can compute expected pulses exactly for a known window) but more parameters to maintain.
  • High-speed counter block: only required if f_run exceeds the 5 kHz input limit of the standard counter, or if you need absolute position rather than just speed.

Verification

  1. Static test (stopped conveyor): Energize the LOGO!. Press Start. The drive command should be asserted, B001 should begin its T_start countdown, B001 output should be false until T_start elapses, then the gate opens and the trigger output should immediately rise (since f = 0). Q1 should drop the contactor. This proves the latch and trigger wiring.
  2. Spin-up test (running conveyor): Press Start while the conveyor is free. After T_start, the gate opens; the trigger should evaluate f ≥ f_th and stay false; Q1 should remain energized. The "Bypass active" indicator should extinguish after T_start.
  3. Simulated jam: With the conveyor running, manually stall the sprocket (use a gloved hand or wedge) without opening the E-Stop. Pulses stop. After T_on seconds, Q1 drops. Indicator Q3 illuminates. The latch holds Q1 off until reset.
  4. Single-tooth parking test: The case that defeats a plain off-delay. Stop the sprocket with a tooth directly under the sensor head. Sensor input stays true. Frequency trigger still trips within T_on because there are no edges, only a static level. This is the diagnostic value of the design.
  5. Slow-leak test: Reduce motor speed via the VFD to the minimum expected (e.g., 30% of nominal). f falls below f_th; Q1 should drop. Raise the VFD; manual reset required because the latch holds.

Commissioning Parameter Sheet

Site / line f_run (Hz) f_th (Hz) T_on (s) T_start (s) g (s) Date Tech
Conveyor 1 / oven infeed 67.7 40 2.0 3.0 0.5
Conveyor 2 / cooling 12.3 7.0 4.0 5.0 1.0

Photograph the LOGO!Soft Comfort program and the parameter sheet on commissioning. The measurement-window g parameter is the one most often mis-tuned in the field: too short and single skipped teeth trip; too long and the trigger becomes sluggish. Start at 0.5 s for f_run > 10 Hz and increase linearly with 1/f_run for slower belts.

Troubleshooting Matrix

Symptom Likely cause Diagnostic Fix
Trips immediately on Start B001 gate parameter not wired into B002 Online monitor B001 / B002 outputs Wire gate input of B002 to B001 output
Trips after a few seconds of running f_th set too close to f_run Read B002 measured-value output Lower f_th to ≤ 0.6 × f_run, or raise g to absorb jitter
Never trips on jam Sensor wired to wrong input; sensor sees chain link instead of tooth Toggle I3 in monitor; check indicator LED on sensor body Re-aim sensor at tooth root; move to I1–I4 fast inputs
Trips randomly during normal running Electrical noise from VFD on sensor cable Inspect shield grounding; check cable routing Re-route cable, ground shield at cabinet end, add ferrite
Trips only on cold mornings Oil on chain thickening; VFD soft-start ramp too long Log measured f over time Increase T_start to cover warm-up; verify grease spec
Q1 will not energize after reset E-Stop still mechanically latched, or latch reset input held Inspect I2; verify Reset PB wiring Twist E-Stop; check reset logic polarity
Indicator Q3 lit, conveyor running Sensor cable intermittent Tug test on cable; check connector Replace cable; re-torque connector
f_run reads 0 even though conveyor runs Sensor polarity wrong (NPN into PNP-only base) Check sensor output type vs. LOGO! input type Swap sensor or use the alternate-input LOGO! variant

Edge Cases and Field Notes

  • VFD braking to stop: when an operator commands stop, f drops through f_th and the trigger would briefly try to trip. The latch accepts a reset on the falling edge of the drive command, so this is normally harmless. If nuisance tripping occurs during normal stops, suppress B002 evaluation when the drive command itself is false by ANDing the gate with the drive command.
  • Reverse rotation: the frequency trigger counts edges without direction. A jammed chain that is mechanically back-driven by an adjacent conveyor (rare but possible on shared-shaft machinery) will look healthy. If reverse rotation is plausible, replace the frequency trigger with an up/down counter plus direction input from a second sensor.
  • Sensor supply collapse: a LOGO! 24 V DC base module can source roughly 200 mA total across all sensor supplies. If multiple sensors and a TDE are powered, brown-outs during motor inrush are possible. Verify supply voltage at the sensor under motor-start conditions.
  • Chain stretch at end of life: as the chain stretches, fewer pulses per unit time appear because the sprocket diameter effectively decreases relative to the pitch. A threshold set with no headroom will false-trip on a worn chain. Aim for f_th ≤ 0.5 × f_run and schedule chain replacement before f_run falls to f_th.

Standards and Reference Reading

The pulse-based motion proof pattern aligns with category 1 / category 2 safe stop functions described in ISO 13849-1 when combined with a monitored contactor. A standalone frequency trigger is a process interlock, not a safety function — a sensor that breaks off and reads zero will stop the line just like a real jam, so the system is fail-safe in the de-energize direction. If personnel protection is the goal, add a category 1 safety stop circuit in series with the LOGO! output and certify the safety function separately.

For programming reference, consult the LOGO! 8 system manual on the Siemens Industry Online Support portal: support.industry.siemens.com. Block parameter definitions for the Frequency Threshold Trigger and Threshold Trigger blocks are in the LOGO! 8.3 / 8.4 manual set under "Special functions" → "Counter and frequency" → "Frequency threshold trigger".

FAQ

Why does my off-delay on the sensor input not detect a stalled chain?

Because a tooth can park directly under the sensor, holding the input true indefinitely. The off-delay never expires while the level stays high. The fix is to count edges rather than watch a level: use the LOGO! frequency threshold trigger, which trips when the measured pulse rate falls below the threshold regardless of the static state of the input.

What threshold frequency should I set for a 5-second pulse interval?

At one pulse every 5 seconds, f_run = 0.2 Hz. Set f_th to about 0.1 Hz and T_on to 10 seconds. For such slow rates, prefer the threshold-trigger-with-hysteresis block over the frequency threshold trigger block, since measurement resolution is coarse at sub-hertz frequencies.

Do I need the on-delay gate (B001) if the conveyor starts fast?

Yes — even on a fast-starting conveyor, f = 0 Hz at the moment of Start press. Without the gate, the frequency trigger would trip immediately because 0 Hz is below any threshold. The on-delay gate holds the trigger inactive until the drive has had time to reach nominal speed.

Which LOGO! input should I connect the sensor to?

Use one of the high-speed digital inputs on the base module: I1–I4 on a LOGO! 8 with relay outputs, I1–I8 on transistor-output bases. The frequency and counter blocks only operate correctly on these fast inputs; signals wired to expansion inputs will not be counted above a few hundred hertz.

Can I use the same sensor for both jam detection and a tachometer display?

Yes. Route the sensor input to both the frequency threshold trigger and a network analog block that publishes the measured frequency. On a LOGO! TDE or external HMI mapped over Modbus TCP, expose the measured frequency as a word that the display can read directly.

What happens if the sensor cable breaks while the line is running?

The input reads continuously low (or high, depending on wiring). The frequency trigger sees zero edges, f drops below threshold, and the trigger output trips after T_on. The fault latches and Q1 drops the contactor — fail-safe in the de-energize direction, which is the desired outcome for a jam detector.

Back to blog