
4. FA LIBRARY B-75044EN/02
-142-
6 F_CopyToolLifeParameter takes out the information of the tool
group number specified by F_Seek.
ID specifies the descriptor ID returned by F_ReadToolLife(Ex).
ToolGroupNumber points to the buffer for placing the tool group
number.
ToolUsed points to the buffer for placing the tool life counter.
ToolLife points to the buffer for placing the tool life.
ToolCount points to the buffer for placing the number of tools.
Each buffer must be the four-byte integer.
If the specified tool group is not registered in the NC, the value of 0 is
placed in ToolUsed, ToolLife, and ToolCount .
F_CopyToolLife takes out the information of the tool which belongs
to the tool group number specified by F_Seek.
ID specifies the descriptor ID returned by F_ReadToolLife(Ex).
Count specifies the number of you want to read.
ToolLengthCompensation points to the array for placing the tool
length offset.
CutterCompensation points to the array for placing the cutter offset.
ToolInformation points to the array for placing the tool information.
Each array pointed to by ToolLengthCompensation,
CutterCompensation, and ToolInformation must be composed of
the four-byte integral elements of the same number as Count specifies.
CopiedCount points to the four-byte integral buffer for placing the
actual copied number.
F_CopyToolLife takes out the tool life information from the descriptor
ID, and places them in the arrays pointed to by
ToolLengthCompensation, Cutter Compensation and
ToolInformation.
Count specifies the number of tool life data you want to read at a time.
The actual copied number is placed in the buffer pointed to by
CopiedCount.
The following value is placed in ToolInformation .
0 : The current using tool
1 : The registered tool
2 : The tool life is run out.
3 : The tool is skipped