·122·
Programming manual
CNC 8055
CNC 8055i
7.
ADDITIONAL PREPARATORY FUNCTIONS
·M· & ·EN· MODELS
SOFT: V02.2X
Scaling factor (G72)
7.6.1 Scaling factor applied to all axes.
The programming format is:
G72 S5.5
Following G72 all coordinates programmed are multiplied by the value of the scaling factor defined
by S until a new G72 scaling factor definition is read or the definition is canceled.
Function G72 is modal and is cancelled when another scaling factor with a value of S1 is
programmed, or on power-up, after executing M02, M30 or after EMERGENCY or RESET.
The following subroutine defines the machining of the part.
G90 X-19 Y0
G01 X0 Y10 F150
G02 X0 Y-10 I0 J-10
G01 X-19 Y0
The programming of the parts would be :
Execution of subroutine Machines "a".
G92 X-79 Y-30 ; Coordinate preset
(zero offset)
G72 S2 ; Applies a scaling factor of 2
Execution of subroutine Machines "b".
G72 S1 ; Cancel the scaling factor
M30 ; End of program
Programming example (starting point X-30 Y10)
G90 G00 X0 Y0
N10 G91 G01 X20 Y10
Y10
X-10
N20 X-10 Y-20
; Scaling factor
G72 S0.5
; Repeats from block 10 to block 20
(RPT N10,20)
M30
Examples of application of the scaling factor.
G90 G00 X20 Y20
N10 G91 G01 X-10
Y-20 X-10
X20 Y10
N20 Y10
; Scaling factor
G72 S0.5
; Repeats from block 10 to block 20
(RPT N10,20)
M30