Sets the execution pointer of the NC program for the MDI or Memory operation.
If there are some blocks that CNC has already read, these blocks will be executed before the block specified by this function.
Universal Fanuc Driver
Fanuc Focas Library CD
Specify the library handle. See "Library handle" for details.
When you write the MDI program, you have to specify -1.
You can set the pointer for the current selected program. If the selected program is called by calling macro or sub-program (that is a nested program), you also can set the pointer to it(16i/18i/21i/30i/31i/32i/0i-D/F, PMi-A only).
Type of the execution pointer you will set.
|0||:||Absolute pointer (The block number from the top of the program when the top is 0.)|
|1||:||Relative pointer (The relative value from the current execution pointer.)|
Pointer to the long type variable holding the block number to set.
In case of 30i, 0i-D/F and PMi-A, when the block number which is not present is specified in MDI program, the cursor moves to the last line.
- Specify the block number from the top of the program when the top is 0.
- Specify the relative value from the current execution pointer.
- When the specified block number is 0, the execution pointer is not changed and the actual absolute block number is stored into (*blk_no).
|Selected NC program||Absolute||Relative|
|G00 X0. Z0.;||1||-2|
|G01 X10. Z5. F100.;||2||-1|
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|
Type 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/F and 30i 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/F and 30i 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 not related to CNC parameter.
|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.