Frames
6.3 Programmable zero offset
Fundamentals
6-8 Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
Parameters
TRANS Absolute zero offset, with reference to the currently valid
workpiece zero set with G54 to G599
ATRANS as TRANS, but with additive zero offset
X Y Z Offset value in the direction of the specified geometry axis
Example of milling
With this workpiece, the illustrated shapes recur several times in the same program.
The machining sequence for this shape is stored in a subprogram.
You use the translation to set only those workpiece zeroes and then call up the subprogram.
<
;
<
0
;
0
<
;
<
;
*
N10 G1 G54 ;Working plane X/Y, workpiece zero
N20 G0 X0 Y0 Z2 ;Approach starting point
N30 TRANS X10 Y10 ;Absolute offset
N40 L10 ;Subprogram call
N50 TRANS X50 Y10 ;Absolute offset
N60 L10 ;Subprogram call
N70 M30 ;End of program