
B-75044EN/02 4. FA LIBRARY
-117-
DESCRIPTION
Proceed to the following procedure 1,2 in case of the synchronous treatment.
Proceed to the following procedure 1,3,4 in case of the asynchronous
treatment.
1 F_Select(Ex) selects the NC program in the NC specified by
MachineNumber and ToolPostNumber.
ONumber specifies the NC program number you want to select. The
range is from 1 to 9999.
2 F_Select doesn’t return until the treatment is finished. You can know
whether the function has succeeded or not by the return value.
3 F_SelectEx requests the system to select the NC program in the NC
memory, and returns at once. The return value is the descriptor ID for
pointing the result. You must check whether the request is finished or not,
and whether its result is success or not by calling F_Response.
4 Call F_FreeID to free the descriptor ID after getting the result of
F_SelectEx by calling F_Response.
RETURN VALUE
TRUE is returned if F_Select succeeds, FALSE is returned if it fails.
F_SelectEx returns the positive integer of the descriptor ID for pointing the
result if it succeeds. The value of 0 is returned if it fails.
In failure, an error code can be acquired by using F_GetLastError.
4.3.6 Deleting NC Program in NC < F_Delete >
SYNOPSIS
In case of the synchronous treatment
VB Function Delete
(ByVal MachineNumber As Long, ByVal ToolPostNumber As Long,
ByVal ONumber As Long) As Boolean
C++ BOOL F_Delete
(LONG MachineNumber, LONG ToolPostNumber,
LONG Onumber);