Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 447 -
Store the parameter number in "Parameter number i"(buf[i].datano) with
binary format.
Store the parameter type in the upper byte of "Data i"(buf[i].type)
and the axis type in the lower byte.
Type (upper byte) Parameter type
-----------------------+----------------
0 Bit
1 Byte
2 Word
3 2-Word
Axis type (lower byte) Parameter type
-----------------------+------------------------------------
0 Ordinary (none axis type) parameter
-1 All axes data of axis type parameter
1,..,amount of One specified axis data of
controlled axis axis type parameter
Store the parameter data to be written in "Data i".
Store the parameter data of none axis type parameter or the axis type
parameter data which will be written for one specified axis in
"buf[i].u.cdata/idata/ldata". Store the axis type parameters which
will be written for all axes in "buf[i].u.cdatas/idatas/ldatas" in
axis number order. For spindle parameters (No.4000,..,4799), all axes
data are data of 2 axes.
The array size of each members of "iodbpsdr.u.cdatas/idatas/ldatas"
which is used for writing all axes's data is always 8 regardless of
the amount of controlled axes. In case that the amount of controlled
axes is less than 8, any data need not to be stored in the members
corresponding with the axes No. (amount of controlled axes + 1),..,8.
The data format depends on each parameter. The format of
Byte/Word/2-Word parameter is generally signed binary.
When the total byte size of data including each buf[i] is odd, add one
byte "dummy data" at the end of each buf[i].
The paramter stored in the CNC is changed immediately by execution of
this function. But changed parameter value is not noticed to the
automatic operation procedure of CNC while automatic operattion is
being executed (i.e., while STL signal is "1"). The automatic
operation procedure of CNC uses its own keeping setting value to
execute the automatci operations. This is for safety machine
operations. The chaned parater value is noticed to the automatic
operation procedure just after stopping automatic operation (STL
signal become "0"). For example, even if the feed rate setting is
changed during automatic operation, the axis moves at the previous
setting rate. After once the automatic operation is terminated by
reset operation, then started again, the axis moves at the newly
changed rate.