Mitsubishi — 6.5 G-Code Instructions

6 Motion Instructions & G-Code Instructions G-Code Explanations: 1. 20D model does not support 3-axis positioning control. For 3 rd axis control, an additional single-axis positioning module DVP-01PU is required 2. For 20D model, when G00 sets Z-axis target position (built-in 3 rd axis control), the 3 rd axis control will be independently executed first. For example: G00 X1000 Y1000 Z100 ↓ G00 Z100 (A) G00 X1000 Y1000 (B) In step (A), DVP-PM writes target position K100 on Z axis into registers D1328, D1329. The moving speed of G00 instruction is fixed at maximum speed V MAX . Therefore, PLC writes K-1 into D1330, D1331 (K-1 refers to positioning at max speed).

After this, call and execute P255 subroutine. Operation of step (A): G00 Z100 M1000 Operation of step (A) . P255 is a subroutine for controlling the 3 rd axis (e.g. pen lifting, clipping and release, and so on). When the target position is achieved by the control data set in DD1328, DD1330, the operation in P255 will be executed. Moving data 3 axis control rd . Because D1328~D1331, and P255 could be occupied by 3 rd axis control, care should be taken on using these registers, and we suggest you avoid using these registers and also P255 repeatedly. G-Code Explanations: The instruction is mainly for high-speed positioning on 20D model without specifying Z-axis.

See Remarks of MON 00 DRV for usages and relevant special registers. DVP-PM Application Manual 6-46 Mnemonic Operands Function Controllers 20PM - G00 Z P 3 3-axis High-speed Positioning (3rd axis control) Controllers 20PM - DMOV K100 D1328 DMOV K-1 D1330 CALL P255 Execute G-Code instruction Set the target position in DD1328 Write K-1 into Dd1330 P255 controls the movement of 3 rd axis (designed by user) Mnemonic Operands Function Controllers 20PM - G00 X P Y P 1 2 2-axis High-speed Positioning Controllers 20PM -