
[Description]
Reads the custom macro variable data stored in the CNC within the
specified range.
Types of custom macro variable are as follows.
(1) Local variables ( #1,..,#33 )
Not readable. (Use cnc_rdmacro function.)
(2) Common variables ( #100,..,#149, #500,..,#531 )
Readable. In case that Custom macro common variable 900 sets option is
added, #100,..,#199 and #500,..,#999 are available to be read.
(3) System variables ( #1000,.. )
Not readable. (Use cnc_rdmacro function.)
Refer "USER'S MANUAL" of CNC for details of custom macro
variables.
Specify the start custom macro variable number in "s_number"
and the end one in "e_number" with binary format.
The variable data is stored in both "buf.data[i].mcr_val" and
"buf.data[i].dec_val".
The formats of "mcr_val" and "dec_val" are same as ones of "Read
custom macro variable(cnc_rdmacro)". See description of "cnc_rdmacro".