Reads the contents of NC program being executed on CNC.
In case of 15, 0i-F, 30i and PMi-A, the acquired character string is a analyzed character string.
If you want the acquisition of the analyzed character string on the FS0i-D, set parameter No.13104#2=1.
Note) In 16/18/21, 0i, Power Mate i, and 15, 30i, PMi-A the single block operation is different as follows.
Universal Fanuc Driver
Fanuc Focas Library CD
Specify the library handle. See "Library handle" for details.
Specify the address of the variable which shows the number of characters to be read.
Set the number of characters to be read to this variable *length(length).
After reading, the number of characters actually read is set in this variable *length(length) again.
Specify the address of the variable to store the number of blocks read in advance.
Specify the top address of the string to store with the executing NC program.
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|
Length of the block (length) is illegal.
The extended driver/library function is necessary.
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 16i/18i/21i-B, 0i-B/C/D/F, Series 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 16i/18i/21i-B, 0i-B/C/D/F, Series 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.
This function is related to the following CNC parameter.
See the manual of CNC parameter for details.
This function can be used in any CNC mode.
|P (Punch press)||-|
|Power Mate i-D|
|Power Mate i-H|
|Power Motion i-A||O|
|"O"||:||Both Ethernet and HSSB|
|"X"||:||Cannot be used|
Note) 0i-C does not support the HSSB function.