Mitsubishi — 2.11 Functions of Special Auxiliary Relays and Special Registers

2 Functions of Devices in DVP-PLC  The program: EI M1002 M0 M0 FEND I001 M1000 IRET END c) Program explanation:  When M0 turns from Off to On, Y0 will start to output pulses and wait for the external input interruption X0 to take place. When interruption signals occur in the acceleration section or the highest speed section during the output, Y0 will immediately decelerate and stop the output after 100ms, and M1538 = On.  When M1538 = On, the user can reset (RST) M1156, and PLC will start to output the remaining pulses. When all the target pulses are completed, M1029 will be On.

 If the external interruption occurs in the planned deceleration area, the output will not decelerate or set M1538 to On. d) Example 2: Immediately decelerate and pause within the number of deceleration pulses  Application: When external interruptions occur, the high-speed output has to achieve deceleration and pause within the designated number of deceleration pulses. It is generally applied in the searching mark function in single-axis motion control. DVP-PLC Application Manual 2-113 MOV K100 D1343 MOV K100 D1348 SET M1156 DMOV K50000 D1232 DMOV K0 D1026 DDRVI K100000 K100000 Y0 Y1 INCP D100