Cylinder Is Home, the Sensor Light Is On, and the Machine Still Will Not Move

Magnetic cylinder switch not triggering - electrical diagnosis

The cylinder extends, the position looks right, and the machine does not advance to the next step. Glancing down, the magnetic switch is lit.

So what is missing? Possibly not the cylinder motion, but the "in position" message - it may not have arrived at the control system intact.

Before changing the switch, separate three different questions: did the cylinder actually reach position, did the switch produce an output, and did the controller receive it?

What a magnetic switch is actually sensing

It does not detect the rod by contact, and it does not measure how far the cylinder has extended.

On a typical magnetic cylinder, a magnet ring is fitted to the piston. As the piston moves inside the barrel, the ring moves with it; a switch mounted on the outside of the barrel senses the ring passing and changes output state.

The switch is detecting the magnet ring entering its sensing zone - it is not directly measuring stroke.

For the machine to continue, more has to happen: the switch sends a signal, the PLC receives it, and the program confirms the next step's conditions are satisfied. The PLC is the industrial controller in the machine - think of it as the coordinator of the sequence. Until it confirms receipt, it may simply keep waiting.

Safety: the checks below involve mounting and wiring. Before adjusting position or disconnecting wiring, stop the machine per the equipment procedure, isolate the relevant energy sources, and deal with residual pressure and any risk of a falling load. Live diagnosis is carried out by qualified electrical personnel under controlled conditions - do not short an in-position signal, and do not bypass safety interlocks.

The cylinder has stopped, but the light flickers

First establish whether the cylinder is genuinely, stably in position, or merely "looks about right".

For example, a fixture on the rod may be blocked by a workpiece, so the cylinder did not actually reach the intended position. In that case a switch that does not light is not necessarily faulty.

The other case is that the cylinder is genuinely in position, but the switch is mounted slightly off, putting the magnet ring at the edge of its sensing zone. A small change in position can then make the signal come and go.

The most common mistake here is moving the switch until the light comes on. If the cylinder never reached position, moving the switch to sense earlier can simply teach the machine that the motion completed when it did not.

Work in the opposite order: verify the actual motion position first, then confirm the mounting position against the documentation for that cylinder and switch. After adjusting and fixing it, check signal stability over repeated cycles under safe test conditions - not just one lit LED.

The light is steady, so why is the controller still waiting?

Do not focus only on the small LED on the switch. Have electrical personnel check the corresponding PLC input state.

Switch lit, PLC input not changing. Continue along the signal chain between switch and controller. For example, the output wire may be on the wrong terminal, or a replacement switch may have an output type that does not match the existing input wiring. The supply, output and input should be checked against the machine wiring diagram and the switch model - not guessed from wire colour.

One easily missed case: a switch that operates does not prove the downstream load will work. Some switches have an internal voltage drop. Where supply and load are not well matched, the switch can operate while the downstream input or load still fails to reach its operating condition. This needs measurement against the specific model, not an indicator lamp.

So replacing a magnetic switch is not just a matter of "same shape, fits in". Number of wires, supply, output type and wiring requirements all have to match.

PLC has received it, and the machine still will not start the next step

At this point the magnetic switch is no longer the place to keep looking.

Consider a case where the program requires both "cylinder in position" and "workpiece detected" before the next action is permitted. The cylinder signal may be correct while the workpiece detection is not satisfied - and the machine waits.

Electrical personnel need to look at the condition the program is currently waiting for, rather than repeatedly moving the magnetic switch - and certainly not shorting the signal to force the machine to run.

Separate the three questions next time

First confirm where the cylinder actually is, then whether the switch output is stable, then whether the PLC has received it.

Before receipt: check sensing and signal transmission. After receipt: check what other condition the next step is missing.

That is how you distinguish a cylinder that never arrived, a switch that never detected, and a control system waiting on something else entirely.

Reference

SMC - MRQ operating instructions. Installation, wiring and diagnosis must follow the specific cylinder and switch documentation and the equipment safety procedure.


Frequently asked questions

The cylinder looks in position and the switch is lit, but the machine will not continue. Why?

Separate three things: whether the cylinder truly reached position, whether the switch output is stable, and whether the PLC actually received the signal. Any one of them can stop the sequence.

How does a magnetic switch detect cylinder position?

A magnet ring on the piston moves with it, and a switch mounted outside the barrel senses the ring as it enters the sensing zone. It does not measure stroke directly.

Should I move the switch to make the light come on?

No. If the cylinder never reached position, moving the switch to sense earlier can make the machine believe the motion completed. Verify the actual position first, then set the switch per the documentation.

The switch light is on but the PLC input does not change. What next?

Check the signal chain: terminal assignment, output type against the existing input, supply, and any internal voltage drop specified for that switch model, using the wiring diagram and datasheet.

Could the machine be waiting for another condition?

Yes. Programs often require more than one condition before the next step. Check what the program is waiting for rather than adjusting the cylinder switch repeatedly.

Pneumatic components

elechub.ls supplies pneumatic push-in fittings, tubing, valves, silencers and cylinders - sourced factory-direct from Liushi, China and inspected before dispatch.

Need a second price on pneumatic components? Send us the part numbers. Request a quote.


Related reading