
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–62093E–1/02
PROGRAMMING
54
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 G202, G243 #8509, #8510 Ę ∆
6.2 Address function Ę Ę Ę
6.3 Writing at PMC addresses G310 Ę Ę Ę
6.4 Reader/punch interface con-
trol
G330, G331, G335,
G336, G337, G338,
G339
#8539 Ę Ę
6.5 Reading and writing of an NC
program
G320, G321, G325,
G326, G327, G328,
G329
#8520, #8521, #8522, #8523,
#8529
Ę Ę
6.6 Continuous input with the cur-
sor and page keys
#8501 Ę
6.7 Masking the display of O and
N numbers
Ę
6.8 Reading and presetting the
cutting time and cutting dis-
tance
#8553, #8554 Ę Ę
6.9 Reading and presetting the
relative coordinates
#8998, #8999 Ę Ę
6.10 Key/data input control #8501, #8502, #8503, #8504,
#8552
Ę
6.11 Cursor control #8505, #8506, #8507 Ę Ę
6.12 Processing of P–CODE vari-
ables of array type
G315 #8511, #8512, #8513, #8514,
#8515, #8516, #8517, #8519
Ę Ę
6.13 Torque limit control #8621, #8622, #8623, #8624 Ę Ę Ę
6.14 Key–in line function #8561, #8562, #8563, #8564,
#8565
Ę
6.15 Reading the status indicating
editing in the background
#8526 Ę Ę
6.16 Reading the number of regis-
tered programs
#8527 Ę Ę
6.17 Reading the unused capacity
of CNC program memory
#8528 Ę Ę
6.18 Reading the remaining travel
distance
#5181 to #5188 Ę Ę
6.19 PMC axis control G340, G341, G344,
G345, G346, G348,
G349
#8602, #8700
#8710 to #8715,
#8720 to #8725
#8730 to #8735
#8740 to #8745
#8750 to #8755
#8760 to #8765
#8770 to #8775
#8780 to #8785
Ę
(NOTE 1)
Ę
(NOTE 1)
6.20 Interlock along each axis #8600, #8601 Ę Ę
6.21 Separation of P–CODE pro-
gram UI/UO
Ę Ę Ę
6.22 Referencing the common
variables for custom macros
#99000 and later Ę Ę Ę
6.23 Displaying the conversational
macro screen when power is
turned on
Ę
Ę : Usable ∆ : Partially usable : Unusable