B–63010EN/02
4. DESCRIPTION OF PARAMETERS
475
12021 Program number for built–in macro (first set)
12024 Program number for built–in macro (second set)
12048 Program number for built–in macro (tenth set)
[Data type] Word
[Valid data range] 1 to 99999999
12022 G code macro count for built–in macro (first set)
12025 G code macro count for built–in macro (second set)
12049 G code macro count for built–in macro (tenth set)
[Data type] Byte
[Valid data range] 1 to 255
These parameters specify G code macros for built–in macros. A G code,
corresponding macro program number, and corresponding G code count
are specified. Up to ten sets of these items can be specified. If identical
G code numbers are found, the one in a younger set takes priority. If any
of the G code number, macro program number, and count is 0, the set is
invalid.
Example: Suppose that built–in macro program numbers are 7000 to 8999.
First set Second set Third set
G code No.12020=100 No.12023=150 No.12026=900
O number No.12021=8000 No.12024=7500 No.12027=8300
Count No.12022=10 No.12025=100 No.12028=30
If the parameters are specified as listed above,
The G codes from G100 to G109 correspond to O8000 to O8009.
The G codes from G150 to G249 correspond to O7500 to O7599.
The G codes from G900 to G929 correspond to O8300 to O8239.
NOTE
1 This parameter is rewritten by the built–in macro data in
FROM at power–up or at a reload operation.
2 If the key of parameter No. 12013 is locked, the built–in
macro data in FROM is used.