Mitsubishi — 6.3 Motion Instructions

6 Motion Instructions & G-Code Instructions system accelerates to V RT (500kHz) by 100ms and operates at V RT until DOG is triggered. When DOG is triggered, the system decelerates to V CR (10kHz) by 100ms. In this case, zero return mode is set as normal mode and PG0 signal is set as falling-edge triggered by DOG. Therefore, once the falling edge of DOG signal is triggered, the system will stop after the specified PG0 signals (N) plus the specified pulse signals (P) is reached. However, in this example both PG0 signals and pulse signals are set to 0, so the zero return will complete as soon as falling edge of DOG is triggered. BRET Subroutine OX0 DRVZ Remarks: 1. Relevant flags: 2.

Relevant special registers: DVP-PM Application Manual 6-24 MOVP H8000 D1868 OUT M1074 X0 MOVP H0 D1846 MOVP H8000 D1868 OUT M1074 MOVP H0 D1846 DMOV K500000 D1828 DMOV K10000 D1830 MOV K100 D1836 MOV K100 D1837 MOV K0 D1832 MOV K0 D1833 MOV H0030 D1816 SET M1825 M1745 Disable zero return of X axis in OX M1825 Disable zero return of Y axis in OX M1985 Disable zero return of Z axis in OX M1074 Enable OX motion subroutine D1816 Parameter setting of X axis D1846 Operation commands for X axis D1868 Setting up the No. of OX D1828 Zero return speed of X axis: V (low word) RT D1829 Zero return speed of X axis: V (high word) RT