The lathe can have, potentially, an X, Y, Z offset plus a radius comp value and a p value. Potentially times 2 to 4 because of a second spindle and the wear offset option if I remember correctly. How does anyone prevent an operator err.
( * ) operator errors prevention on lathe ( * )
turning possible errors:
.... X / Z offset
.... tool wear X / Z ( limited by software to -1 ... +1, so may be skipped if ±1 domain is safe )
.... tool wear X / Z : this can be omited, and all corections to be inserted into offsets value
.... nose-r
.... P ( i don't know how to read this value ... someone, please ? )
............thus : [ X / Z offset ] + [ nose-r X / Z ] > 4 values
.... nose-r can be verified under a general condition : r ≤ 1.2, if reasonable
............thus : [ X / Z offset ] > 2 values
milling possible errors:
.... X / Z / Y offset
.... tool wear X / Z : same story as above
.... nose-r : i don't know how this works on lathe; i don't use it when i program mill operations
........thus : [ X / Z / Y offset ] > 3 values
- like this, there will be only offsets for each tool
- let's verify offsets for a live tool, under M axis :
Code:
T010101
CALL OCHK V1 = VTOFX [ VETON ] V2 = - 40 V3 = 0.35
CALL OCHK V1 = VTOFZ [ VETON ] V2 = ? V3 = 0.35
- let's verify offsets for a groove knife
Code:
T030303
CALL OCHK V1 = VTOFX [ VETLN ] V2 = ? V3 = 0.35
CALL OCHK V1 = VTOFZ [ VETLN ] V2 = -12
CALL OCHK V1 = VTOFZ [ VETLN+20 ] V2 = -12+insert width
T030303
...
T030323
...
Code:
( V1 - value to check )
( V2 - limit to compare with )
( V3 - admisible deviation )
OCHK
IF [ ABS [ V1 ] - V2 ] LE V3 ] GOTO N01
GOTO N02
N01 ( nothing to worry about )
GOTO NSKIP
N02 M0 ( feeling lucky ? than continue ... )
GOTO NSKIP
NSKIP
RTS