
3.FP FUNCTIONS B-66284EN/01
- 312 -
2: Tool length compensation/wear compensation
value
3: Tool length compensation/geometric compensation
value
Lathe system
0: X-axis wear compensation value
1: X-axis geometric compensation value
2: Z-axis wear compensation value
3: Z-axis geometric compensation value
4: Tool-nose radius wear compensation value
5: Tool-nose radius geometric compensation value
6: Virtual tool tip direction
7: Virtual tool tip direction
8: Y-axis wear compensation value
9: Y-axis geometric compensation value
data Writing data value (0 is specified at the ten keys
input.)
pmc Kind of PMC address for processing result
notification
5 : R
9 : D
12 : E (PMC-SB7, PMC for Series 30i)
99 : Processing result is not notified
address PMC address where processing result is written (The
area in two bytes is used from the specified address)
Please specify 0 when you specify 99 for a kind of the
PMC address.
[Description]
Alters the tool offset amount stored in the CNC.
[Example]
wrtofs[10_1_0_9_200]
Data is written in X-axis geometric compensation value of
offset number 10 by the ten keys input in the CNC of the
lathe system, and processing result is written in D200.
wrtofs[10_1_123456_99_0_2]
Data 123.456 is written in Tool length compensation /wear
compensation value of 2path side offset number 10 in the
button control when specified that the offset is the treble
decimal position in the CNC of the machining center system,
and this processing result is not notified.
[Value of processing result written in specified PMC area]
0 Successful.
2 Incorrect data block length “length”.
3 Incorrect offset number “number”.
(This return code is returned in case that any value except
1,..,(maximum number of offset) was specified in offset
number “number”.
4 Incorrect offset type “type”.
6 There are no additional tool offset options required for the
specified offset number to be written.