
B–63523EN–1/03
11. PROGRAM COMMAND
1375
12020 G–code No. for embedded macro (the 1st set)
12023 G–code No. for embedded macro (the 2nd set)
:
:
:
:
12047 G–code No. for embedded macro (the 10th set)
[Data type] Word
[Valid data range] 1 to 999
12021 Macro programs No. for embedded macro (the 1st set)
12024 Macro programs No. for embedded macro (the 2nd set)
:
:
:
:
12048 Macro programs No. for embedded macro (the 10th set)
[Data type] 2–Word
[Valid data range] 1 to 99999999
12022 G–code macro number for embedded macro (the 1st set)
12025 G–code macro number for embedded macro (the 2nd set)
:
:
:
:
12049 G–code macro number for embedded macro (the 10th set)
[Data type] Byte
[Valid data range] 1 to 255
G–code macro for embedded macro is set. These sets can be specified up
to ten sets. The priority is given from a small parameter number set when
G–code number comes in succession. When either of G–code number,
program number or macro program number parameter is set to 0, the set
is invalid.
The 1st set The 2nd set The 3rd set
G–codePrm.No.12020=100 Prm.No.12023=150 Prm.No.12026=900
O No. Prm.No.12021=8000Prm.No.12024=7500Prm.No.12027=8300
Number Prm.No.12022=10 Prm.No.12025=100 Prm.No.12028=30
When the parameters are set like above,
G–codes of G100–G109 correspond to O8000–O8009
G–codes of G150–G249 correspond to O7500–O7599
G–codes of G900–G929 correspond to O8300–O8399
NOTE
1 When the CNC power supply is turned on or the <RELOAD>
operation is done, these parameters are rewritten by the
embedded macro data in FROM.
2 When the CNC is Lock State, the embedded macro data in
FROM is used.