Programming #CYL [RADIUS..]
Notice
The kinematic parameters in ID 78 must be set for this machining type.
Syntax to select round tube projection:
Syntax: | |
#CYL [ RADIUS=.. [ LIMIT=..] ] | modal |
RADIUS=.. | Radius of the round tube or of the lateral surface to be machined, |
LIMIT=.. | Machining limit, symmetrically relative to the tube centre. [mm, inch] If no limit is explicitly specified, LIMIT = 0.25* RADIUS applies. |
Syntax to deselect round tube projection:
Syntax: | |
#CYL OFF | modal |
Programing Example
#CYL [RADIUS..]
N10 X0 Y-1000 Z100 U0
N20 # CYL [RADIUS=35 LIMIT=31] ;Select tube projection
N30 G01 G90 X0 Y0 F5000
N40 G01 Z10
N50 $FOR P1=1, 4, 1
N60 G00 G90 X0 Y0 U[P1*90]
N70 $FOR P2=1, 5, 1
N80 P3=P2*4
N90 P4=P3+2
N100 G01 G91 Y-P3
N110 XP3
N120 Y[2*P3]
N130 X-P3
N140 G90 Y0
N150 G91 XP4
N160 $ENDFOR
N170 $FOR P2=1, 5, 1
N180 P3=P2*4
N190 P4=P3*2+2
N200 G90 G02 IP3
N210 G91 G01 XP4
N220 $ENDFOR
N230 $ENDFOR
N240 #CYL OFF ;Deselect tube projection