M8013 Mitsubishi Plc 💯 Updated
At first glance, it looks like just another auxiliary relay. But in the world of industrial automation, M8013 holds a special place. It is often the first clock pulse a trainee learns, and the last debug tool an experienced engineer reaches for.
----[ M8013 ]----[ X0 ]-----( M0 ) // Latched, debounced input This ensures you only register one "press" per second, ignoring chatter. Want to record temperature or pressure once per second? Use the rising edge of M8013 ( M8013 from OFF→ON) to trigger a MOV or WRITE instruction. m8013 mitsubishi plc
Because M8013 is tied to the PLC’s scan cycle, its timing can drift slightly if you have a very long program (e.g., >50ms scan time). For precise timing (motor acceleration ramps, PID loops, safety cutoffs), use the dedicated T timers or high-speed counters. At first glance, it looks like just another auxiliary relay
----[ M8013 ]--------------( M100 ) // Heartbeat bit On the HMI, animate an invisible shape or text color based on M100. If the blinking stops, the operator knows the PLC is in STOP mode or has faulted. Mechanical pushbuttons and limit switches bounce for 5–20ms. A common trick: sample the input every 500ms using M8013. ----[ M8013 ]----[ X0 ]-----( M0 ) //
If you have ever opened Mitsubishi’s GX Works2 or GX Developer software to program an FX series PLC, you have likely stumbled upon a mysterious internal relay: M8013 .
----[ M8013 ]----[PLS M10]----[MOV D100 D200] // Log every second Do not use M8013 for critical timing or safety functions.