3 Functions of Devices in DVP-PMDVP-PM Application Manual3-44regardless of the scan cycle. When the interrupt subroutine is completed, the program execution will returnto the previous program before interrupt occurs. Timer interrupt: The interrupt subroutine will be executed repeatedly by the interrupt interval set up inD1401.Function Group: Clearing M-code In ExecutionNumber: M1744, M1794, D1703Explanations:1. Set M1744 = 1 to clear the executing M-code instruction. When M1744 is executed, D1703 will be cleared andM1794 will be reset.2. M1794 is the flag indicating OX subroutines are being executed. D1703 is the register storing the executingM-code.Function Group: Ready flagsNumber: M1792, M1872, M2032, M2112Explanations:1. There are 4 ready flags indicating the ready status of X-Y-Z-A axes. X-axis: M1792, Y axis: M1872, Z axis: M2032and A axis: M2112.2. For example, if X-axis is ready before operation, M1792 will be ON. During the operation of X-axis M1792 will beOFF and then turn ON again when the operation on X-axis is comnpleted.Function Group: Current position write in functionNumber: M1751, M1831, M1991, M2071Explanations:1. If the user needs to write in (change) the current position of X-Y-Z-A axes, set ON flags M1751, M1831, M1991,M2071 and the attribute of current position register will be changed from read only to read/write available. Forexample, when M1751 = ON, its corresponding current position register D1848 will become available forchanging current position.2. In addition, if D1848 is written when M1751 = OFF, the value in D1848 will be cleared.Function Group: Stop Single Axis Movement at Fixed PositionNumber: M1761, M1841, M2001Explanations:1. The function can be used on controlling the stop position of X/Y/Z axis and should be enabled with JOG+ functionof manual mode.2. How to set stop position: If start position is 0 degree, pulses per round is set as 20,000, and the target stop angleis 90 degree, the stop position should be set as 5,000.