
B–61803E–1/10
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
53
Table 6 (b) Functions of the Macro Executor and the Associated G Codes and Macro Variables (1/2)
No. Function
Associated G
code
Associated macro vari-
able
Conversa-
tional
Auxiliary
Executa-
ble
6.1 Screen display function G01, G02, G03, G202,
G204, G206, G240,
G242, G243, G244,
G249
#8509 Ę
(NOTE 1)
∆
(NOTE 1)
6.2 Address function Ę Ę Ę
6.3 Writing at PMC addresses G310 Ę Ę Ę
(NOTE 2)
6.4 Reader/punch interface con-
trol
G330, G331, G335,
G336, G337, G338,
G339
#8539 Ę Ę
6.5 Memory card control by mac-
ro executor
G330, G331, G335,
G336, G337, G338,
G339
#8539 Ę Ę
6.6 Reading and writing of an NC
program
G320, G321, G325,
G326, G327, G328,
G329
#8520, #8521, #8522, #8523,
#8529
Ę Ę
6.7 Continuous input with the cur-
sor and page keys
#8501 Ę
6.8 Masking the display of O and
N numbers
Ę
6.9 Reading and presetting the
cutting time and cutting dis-
tance
#8553, #8554 Ę Ę
6.10 Reading and presetting the
relative coordinates
G310 #8998, #8999 Ę Ę Ę
6.11 Key/data input control #8501, #8502, #8503, #8504,
#8552
Ę
6.12 Cursor control #8505, #8506, #8507 Ę Ę
6.13 Processing of P-CODE vari-
ables of array type
G315 #8511, #8512, #8513, #8514,
#8515, #8516, #8517, #8519
Ę Ę
6.14 Torque limit control #8621, #8622, #8623, #8624 Ę Ę Ę
6.15 Reading of A/D converter data #8631, #8632, #8633, #8634 Ę
(NOTE 3)
Ę
(NOTE 3)
6.16 Key-in line function #8561, #8562, #8563, #8564,
#8565
Ę
6.17 Reading the status indicating
editing in the background
#8526 Ę Ę
6.18 Reading the number of regis-
tered programs
#8527 Ę Ę
6.19 Reading the unused capacity
of CNC program memory
#8528 Ę Ę
6.20 Reading the remaining travel
distance
#5181 to #5188 Ę Ę
6.21 Use of offset memory and ex-
tended system variables in
the workpiece coordinate sys-
tem
#100000 and up Ę
(NOTE 3)
Ę
(NOTE 3)
Ę
6.22 PMC axis control G340, G341, G344,
G345, G346, G348,
G349
#8602, #8700
#8710 to #8713, #8715,
#8720 to #8723, #8725
#8730 to #8733, #8735
#8740 to #8743, #8745
Ę
(NOTE 4)
Ę
(NOTE 4)
Ę : Usable ∆ : Partially usable : Unusable