Writes the work zero offset value specified by "datano", "type". The offset value must be stored in "data" of "IODBZOFS" with signed binary format.
Writes the offset value for all axes once by specifying 'ALL_AXES' in 'type'. The offset value for each axis must be stored in "data" array of "IODBZOFS".
The unit of offset value is the same as "Read work zero offset value(cnc_rdzofs)". See the description of cnc_rdzofs function.
Specify the data block length(size of IODBZOFS structure).
Pointer to the IODBZOFS structure including the work zero offset value. The IODBZOFS structure is as follows.
Specify the work zero offset number.
Size of IODBZOFS structure(length) is wrong.
Offset data(data) is out of range.
This function needs the work zero offset option.
And this function is related to the following CNC option.
However, in case of Series 16i/18i/21i-B, 0i-B/C/D/F and 30i, the required CNC option is as follows.