13. Program Support Functions
13.5 User Macro Specifications
345
Example of parameter read macro program
<Macro specifications>
Q341 A_. Q_ . ;
A_. ...... Storage common variable
Designates the common variable No. for storing the
data read in.
Q_....... Parameter # designation
For an axis/spindle parameter, designates the
axis/spindle No. with one digit after the decimal point.
<Macro contents>
#100000 = FIX [#17] ;
..........
Designates parameter #.
#100002 = FIX [#17
∗
10] MOD 10 ;
..........
Designates axis/spindle No.
#[#1] = #100010 ;
...........
Reads parameter data.
M99 ;
Precautions for reading parameters
(1) The number of axes and spindles is the maximum number in the specifications determined by
the model.
(2) The inch/metric changeover function for the setting and display is valid even for the data read
in.