Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 438 -
[Description]
Alters the parameter data stored in the CNC.
This function is used for changing the various settings of CNC by the
application program, etc.
Even if "PARAMETER WRITE" is "DISABLE" in setting data, it is possible
to alter CNC's parameter data.
Data types of CNC parameter are as follows. The data types of
parameter are different for every parameters number.
Parameter type Use Byte size
-----------------------+-------------------------------+------------
Bit parameter Every bits have each definition. 1
Byte parameter 1-byte data is stored. 1
Word parameter 2-byte data is stored. 2
2-Word parameter 4-byte data is stored. 4
It is impossible to write any bit parameter bit by bit.
Do the following process to change bit data,
Read eight bits (i.e. 1 byte) which belong to the same
parameter number.
Change the target bit.
Write above eight bits at the same time.
In case of altering any axis type parameter, either data of one
specified axis or data of all axes can be written.
In case of altering any parameter data of pitch error compensation,
specify 10000,..,11023 (1024 in total) as parameter numbers.
P/S 000 alarm ("PLEASE TURN OFF POWER") may be issued when any
specific parameters are altered.
Refer "PARAMETER MANUAL" of CNC for details of each parameters.
Specify the parameter number in "buf.datano" with binary format.
Specify one of following values corresponding with each parameter
as axis number in "buf.type".
buf.type 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
For spindle parameters (No.4000,..,4799), all axes data are data of 2
axes.
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.u.cdata/idata/ldata". Store the axis type parameters which will
be written for all axes in "buf.u.cdatas/idatas/ldatas".
The data format depends on each parameter. The format of Byte/Word/
2-Word parameter is generally signed binary.