4. FA LIBRARY B-75044EN/02
In case of the asynchronous treatment
VB Function DeleteEx
(ByVal MachineNumber As Long, ByVal ToolPostNumber As Long,
ByVal ONumber As Long) As Long
C++ LONG F_DeleteEx
(LONG MachineNumber, LONG ToolPostNumber,
F_Delete(Ex) indicates both of the synchronous and the asynchronous
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
1 F_Delete(Ex) deletes the NC program in the NC specified by
MachineNumber and ToolPostNumber.
ONumber specifies the NC program number you want to delete. The
range is from 1 to 9999.
2 F_Delete doesn’t return until the treatment is finished. You can know
whether the function has succeeded or not by the return value.
3 F_DeleteEx requests the system to delete the NC program, 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_DeleteEx by calling F_Response.
TRUE is returned if F_Delete succeeds, FALSE is returned if it fails.
F_DeleteEx 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 calling F_GetLastError.