
Specify one of following values corresponding with each parameter
as axis number in "axis".
axis 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
Any values are allowed for "axis" to read none axis type parameters.
In case that any axis type parameter exists in the specified range,
error will be returned by specifying "axis=0".
The read parameters are stored in "buf" in following order.
+-----------------------+
│ Parameter number 1 │ <-- buf[0].datano
│-----------------------│
│ Type 1 │ <-- buf[0].type
│-----------------------│
│ Data 1 │ <-- buf[0].u.cdata/idata/ldata/rdata
│ │ cdatas/idatas/ldatas/rdatas
│-----------------------│
:
│-----------------------│
│ Parameter number n │ <-- buf[n].datano
│-----------------------│
│ Type n │ <-- buf[n].type
│-----------------------│
│ Data n │ <-- buf[n].u.cdata/idata/ldata/rdata
│ │ cdatas/idatas/ldatas/rdatas
+-----------------------+
"Type" includes both parameter type in the upper byte and 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
The parameter data is stored in "Data".
The parameter data of none axis type parameter or the axis type
parameter data which was read for one specified axis is stored in
"buf[i].u.cdata/idata/ldata/rdata". The axis type parameters which
were read for all axes are stored in "buf[i].u.cdatas/idatas/ldatas/
rdatas" in axis number order. The array size of each members of
"iodbpsdr.u.cdatas/idatas/ldatas/rdatas" which is used for reading
all axes's data is always MAX_AXIS regardless of the amount of
controlled axes. In case that the amount of controlled axes is less
than MAX_AXIS, no data are stored in the members corresponding with
the axes No. (amount of controlled axes + 1),..,MAX_AXIS.
Each buf[i] is suffixed with dummy data so that the total data size
is a multiple of 4-bytes.
The data format depends on each parameter. The format of
Byte/Word/2-Word parameter is generally signed binary.