Mitsubishi — 2.11 Functions of Special Auxiliary Relays and Special Registers

2 Functions of Devices in DVP-PLC  The program: M1002 EI M0 M0 FEND I001 M1000 IRET END M0 FEND I001 M1000 IRET e) Program explanation: END  When M0 turns from Off to On, Y0 will start to output pulses. After the external input interruption X0 occurs during the output, Y0 will immediately decelerate and output 50,000 pulses before it stops and set M1538 (pause status flag) to 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.

DVP-PLC Application Manual 2-114 MOV K100 D1343 MOV K100 D1348 SET M1156 DMOV K50000 D1232 DMOV K40000 D1026 DDRVI K100000 K100000 Y0 Y1 INCP D100 DDRVI K100000 K100000 Y0 Y1 INCP D100