Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 114
6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.13.30 G98, G99 Preread disable/enable
Code G98, G99
Function Preread disable/enable
Preread disable (G98)
Preread enable (G99)
Format
98 ;G
99 ;G
[Explanation]
(1) The preread disable mode after that when G98 is executed.
As this command is a modal instruction, it is valid until the preread enable (G99)
being commanded.
(2) The preread enable mode after that when G99 is executed.
As this command is a modal instruction, it is valid until the preread disable (G98)
being commanded.
(3) It is preread enable (G99) at the axis designation program starts.
(4) Command G98 and G99 without the argument alone.
[Program Example]
N10 N20 N30
t
G90 ;
G98 ;
N10 G01 X10. F10. ;
N15 IF [#100 EQ150] GOTO30 ;
N20 G01 X20. ;
N30 G01 X30. ;
N10 N20 N30
G90 ;
G99 ;
N10 G01 X10. F10. ;
N20 IF [#100 EQ150] GOTO30 ;
N20 G01 X20. ;
N30 G01 X30. ;
N10 N30 N10 N30
The continuous operation is not executed
and a stop once in the preread disable
mode as for the G01 continuous block.
Even if # 100
changes in the
preread disable
mode while
executing this line, it
is reflected below
IF.
t
V
V
V
V
t
t
#100 150
#100 150
#100 = 150
#100 = 150