3 Functions of Devices in DVP-PM regardless of the scan cycle. When the interrupt subroutine is completed, the program execution will return to the previous program before interrupt occurs. „ Timer interrupt: The interrupt subroutine will be executed repeatedly by the interrupt interval set up in D1401. Function Group: Clearing M-code In Execution Number: M1744, M1794, D1703 Explanations: 1. Set M1744 = 1 to clear the executing M-code instruction. When M1744 is executed, D1703 will be cleared and M1794 will be reset. 2. M1794 is the flag indicating OX subroutines are being executed. D1703 is the register storing the executing M-code. Function Group: Ready flags Number:
M1792, M1872, M2032, M2112 Explanations: 1. There are 4 ready flags indicating the ready status of X-Y-Z-A axes. X-axis: M1792, Y axis: M1872, Z axis: M2032 and 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 be OFF and then turn ON again when the operation on X-axis is comnpleted. Function Group: Current position write in function Number: M1751, M1831, M1991, M2071 Explanations: 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.
For example, when M1751 = ON, its corresponding current position register D1848 will become available for changing 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 Position Number: M1761, M1841, M2001 Explanations: 1. The function can be used on controlling the stop position of X/Y/Z axis and should be enabled with JOG+ function of 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 angle is 90 degree, the stop position should be set as 5,000. DVP-PM Application Manual 3-44