
PROGRAMMING
B–63664EN/02
13. CUSTOM MACRO
243
By reading the following custom macro variables, the most recently
specified E code including program preprocessing can be read.
Table 13.2 (m) System variables for the cutting condition setting function
Variable
number
Function
#6032 Look–ahead piercing E code
#6033 Look–ahead cutting E code
S #6032 and #6033 are variables for read only. If an attempt is made to
write data to these variables, alarm 116 is issued.
S When reading these variables with the macro executor, add 100000 to
variable numbers #6032 and #6033, and specify #106032 and
#106033, respectively.
S If the cutting condition setting function option is not provided, these
variables read 0.
S Use these variables in machining programs (such as custom macro
calls and execution macro calls).
S E codes written with #6030 and #6031 cannot be read.
The Z–axis motion in the gap controlled axis automatic save/restore
function can be modified by rewriting the contents of the following
custom macro variables:
Table 13.2 (n) System variables for the gap controlled axis automatic
save/restore function
Variable
number
Function
#6048 X– and Y–axis motion start position (PRM. No.15865)
#6049 Deceleration start position (PRM. No.15866)
#6050 Function end position (PRM. No.15867)
For details of the function, refer to “FS16i–LB Connection Manual”
(B–63663EN).
The operation of the function for beam output during approach can be
modified by rewriting the contents of the following custom macro variables:
Table 13.2 (o) System variables for the function for beam output during
approach
Variable
number
Function
#6051 Gap deviation value at which beam output starts (parameter No. 15870)
#6052 Adjustment ratio of gap control axis speed (parameter No. 15871)
#6053 Gap control axis control extension time (parameter No. 15872)
For details of the function, refer to “FS16i–LB Connection Manual”
(B–63663EN).
NOTE
1 While the function for beam output during Z–axis approach
is operating, do not change the content of #6051.
2 Do not assign any negative value to #6052 and #6053.
D Cutting condition setting
function
D Gap controlled axis
automatic save/restore
function
D Function for beam output
during approach