Delta Electronics — 6.26.2 Explanation of High-speed Output Instructions

Chapter 6 Applied Instructions Example 1 X0.4 external interrupt program Notes 1. When M0 changes from OFF to ON, Y0.0 starts to output pulses. After outputting more than 30,000 pulses, the external interrupt is detected on X0.4. The value in D0 increases by 1 and the pulse output stops after 15,000 pulses ( S 6 = 15,000). If the interrupt does not occur, the output does not stop until 100,000 pulses are output. 6_ 2. If the number of output pulses is between 1–30,000, they are in the fore mask section. The external interrupt occurs at X0.4 at the moment and the instruction does not perform the ramp-down stop operation. 3.

If the number of output pulses is between 70,000–100,000, they are in the rear mask section. The external interrupt occurs at X0.4 at the moment and the instruction still does not perform the ramp-down stop operation. 4. When the pulse output completes, SM461 is ON and M0 is reset. Additional remarks 1. The alignment mark function and mask function:  When DDRVM is executed, the pulse output starts.  When the interrupt occurs for the mark alignment, the ramp-down process starts and the output stops after the number of the pulses specified by S 6 . 6-833