G2: Velocities, setpoint / actual value systems, closed-loop control
7.3 Metric/inch measuring system
Basic Functions
350
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Example
The following example is intended to demonstrate the effect of
FGROUP
on the path and path feedrate. The
variable
$AC_TIME
contains the time of the block start in seconds. It can only be used in synchronized actions.
CAUTION
The
FGREF
factor also works if only rotary axes are programmed in the block. The normal
F
value interpretation as degree/min applies in this case only if the radius reference
corresponds to the
FGREF
default:
• For
G71
/
G710
:
FGREF[A]=57.296
• For
G70
/
G700
:
FGREF[A]=57.296/25.4
Program code
Comment
N100 G0 X0 A0
N110 FGROUP(X,A)
N120 G91 G1 G710 F100
; Feedrate = 100mm/min or 100 degrees/min
N130 DO $R1=$AC_TIME
N140 X10
; Feedrate = 100 mm/min, path = 10 mm, R1 = approx.
6 s
N150 DO $R2=$AC_TIME
N160 X10 A10
; Feedrate = 100 mm/min, path = 14.14 mm, R2
= approx. 8 s
N170 DO $R3=$AC_TIME
N180 A10
; Feedrate = 100 degrees/min, path = 10 degrees, R3
= approx. 6 s
N190 DO $R4=$AC_TIME
N200 X0.001 A10
; Feedrate = 100 mm/min, path = 10 mm, R4 = approx.
6 s
N210 G700 F100
; Feedrate = 2540 mm/min or 100 degrees/min
N220 DO $R5=$AC_TIME
N230 X10
; Feedrate = 2540 mm/min, path = 254 mm, R5
= approx. 6 s
N240 DO $R6=$AC_TIME
N250 X10 A10
; Feedrate = 2540 mm/min, path = 254.2 mm, R6
= approx. 6 s
N260 DO $R7=$AC_TIME
N270 A10
; Feedrate = 100 degrees/min, path = 10 degrees, R7
= approx. 6 s
N280 DO $R8=$AC_TIME
N290 X0.001 A10
; Feedrate = 2540 mm/min, path = 10 mm, R8 = approx.
0.288 s
N300 FGREF[A]=360/(2*$PI)
; Set 1 degree = 1 inch via the effective radius.
N310 DO $R9=$AC_TIME
N320 X0.001 A10
; Feedrate = 2540 mm/min, path = 254 mm, R9
= approx. 6 s
N330 M30