Reads the current status of FOCAS2 library's optional specifications.
The readable options are as follows.
|LIB_MODE(0)||long||0||Gets the advanced mode(0) or the traditional mode(1).|
|MOVE_RDPRGPTR(1)||long||1||Gets if the execution pointer would be moved(1) or not moved(0) after invoking cnc_rdpdf_line function.|
(As for the advanced/traditional mode, see "FS16i compatible mode")
Universal Fanuc Driver
Fanuc Focas Library CD
Specify the library handle. See "Library handle" for details.
Specify the kind of the option to be stored.
Specify the pointer to the buffer to be stored the data.
Specify the pointer to the variable which shows the number of bytes to be stored. Set the number of bytes to be read to this variable (*optlen). After reading, the number of bytes actually read is set in this variable(*optlen).
EW_OK is returned on successful completion, otherwise any value except EW_OK is returned.
The major error codes are as follows.
|Return code||Meaning/Error handling|
Size(optlen) is wrong.
Kind of the option(optname) is wrong.
As for the other return codes or the details, see "Return status of Data window function"
For HSSB connection,
For Ethernet connection,
The Ethernet function and the extended driver/library function are necessary. However, in case of Series 0i-F, 30i and PMi-A, the required CNC option is as follows. When Embedded Ethernet is used,
above two optional functions are not required.
The Ethernet function and the extended driver/library function are necessary.
However, in case of Series 0i-F, 30i and PMi-A, the required CNC option is as follows.
When Embedded Ethernet is used,
When Ethernet board is used,
- only Ethernet function is required.
|P (Punch press)||-|
|Power Mate i-D|
|Power Mate i-H|
|Power Motion i-A||H|
|"O"||:||Both Ethernet and HSSB|
|"X"||:||Cannot be used|
Note) 0i-C does not support the HSSB function.