13. Program Support Functions
13.27 Coordinate Read Function; G14
504
(2) An example of reading skip coordinates are given.
N7
X
Y
-150 -75
-25
-100
-75
-50
N6
N4
N3
Skip signal input
-X
N1 G91 G28 X0 Y0 Z0 ;
N2 G90 G00 X0 Y0 ;
N3 X0 Y-100. ;
N4 G31 X-150. Y-50. F80 ;
N5 G14 X100 Y101 P4 ;
N6 G00 Y0 ;
N7 G31 X0 ;
N8 G14 X110 Y111 P4 ;
N9 M02 ;
The coordinates read by the above program is as follows.
#100 = 75. +
ε
#101 = 75. +
ε
#110 = 25. +
ε
#111 = 75. +
ε
(Note1)
"
ε
" is an error caused by response delay. (For details, see the section of skip function.)
(Note2)
The skip signal input coordinates of N4 block will be read to #111 because there is no
Y command in the N7 block
Precautions
(1) The program error (P241) will occur if an illegal variable No. is commanded.