Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 9

Last Revision 22/11/2010

Canned Cycles Example %

SHP(0,0,0,%R31,%R32,%R33)
G64
IF( %R18 == 0 ) THEN
G292
IF(!%cn[WHO()].rc[0].21 &&(!%C33.17)) %R18=1 ; R18 is used an operation counter
SYN
ENDIF
N0 IF((!%cn[WHO()].rc[0].21) &&(!%C33.17)) JMPF (%R18) ; The program will jump the N.. label in base to the current R18 value

; Execution of a unique drillings with independent Touching cycle

N1 ;[TR1]
FVA10
G155 ; To take care of the offset between torch and drilling spindle
M05 ; To confirm spindle still
T4 ; To select T4 Tool ( In this case must be a Bit)
M6 ; To load the T4 Tool on the spindle ( or move the revolver to T4 position)
S1000 ; To set up the spindle rotation Speed
G00 X115 Y65
G212 ; To commands a plate touching . The contact tool /plate will be used to preset the Z quote for a correct dept manage
G81 DR3 DE-10 DH5 FW80 FR5000

X115 Y65 ; Drilling co-ordinates


G80 ; Canned Cycles disabling
M05 ; To stop spindle rotation
SYN
IF(!%cn[WHO()].rc[0].21 && (!%C33.17)) %R18=%R18+1
; Note
; Between G81 and G80 must be present only X Y quotes - also G1 must be removed

1
; Execution of a group of 2 drillings with only one Touching cycle ( small distance among holes)

N2 ;[TR2]
FVA10 ; To refresh the programmed Feed
G155 ; To take care of the offset between torch and drilling spindle
M05 ; To confirm spindle still
T5 ; To select T5 Tool ( In this case must be a Bit)
M6 ; To load the T5 Tool on the spindle ( or move the revolver to T5 position)
S1000 ; To set up the spindle rotation Speed
G00 X115 Y265
G212 ;To command a plate touching
G81 DR3 DE-10 DH5 FW80 FR5000

X115 Y265 ; Drilling of first hole


X115 Y365 ; Drilling of second hole
G80 ; Canned Cycles disabling
M05 ; Stop Spindle rotation
SYN
IF(!%cn[WHO()].rc[0].21 && (!%C33.17)) %R18=%R18+1

; Example of single tappings with independent Touching cycle

N3 ;[TR3]
FVA10 ; To refresh the programmed Feed
G155 ; To take care of the offset between torch and drilling spindle
M05 ; To confirm spindle still
T2 ; To select T2 Tool (In this case must be a Male)
M6 ; To load the T2 Tool on the spindle ( or move the revolver to T2 position)
G00 X115 Y65
G212 ;To command a plate touching
G84 DR3 DE-10 DH30 RW150 RR150 WE0.1 P1.5

X116 Y65 ; Tapping co-ordinate


G80 ; Canned Cycles disabling
2
M05 ; Stop Spindle rotation
SYN
IF(!%cn[WHO()].rc[0].21 && (!%C33.17)) %R18=%R18+1

; Example of a group of tappings with a single Touching cycle ( small distance among tapped holes)

N4 ;[TR4]
FVA10
G155
M05
T3 ; To select T3 Tool (In this case must be a Male)
M6 ; To load the T3 Tool on the spindle ( or move the revolver to T3 position)
G00 X115 Y265
G212
G84 DR3 DE-10 DH30 RW150 RR150 WE0.1 P1.5

X115 Y265 ; First Tapping


X115 Y365 ; Second Tapping
G80
M05
SYN
IF(!%cn[WHO()].rc[0].21 && (!%C33.17)) %R18=%R18+1

; Example of deep drilling

N5 ;[TR5]
FVA10
G155
M05
T5 ; To select the T5 Tool ( must be a Bit)
M6 ; To load the T5 Tool on the spindle ( or move the revolver to T5 position)
G00 X115 Y579
G212
G83 DR20 DE-100 DH35 FW800 NI5

X115 Y579 ; Deep drilling co-ordinates execution


G80
3
M05
SYN
IF(!%cn[WHO()].rc[0].21 && (!%C33.17)) %R18=%R18+1

SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17)) %R18=0
M30 ; End of program

4
Instruction SHP – Draw plate

Syntax : SHP( 0,0,0,X max, Ymax, Zmax )

Description:
Active only in graphic environment.
It allows to show on the screen the boundary of the plate.
Xmax defines the dimension , along X axis of the plate. Can be expressed in parametric format as %R31
Ymax defines the dimension , along Y axis of the plate. Can be expressed in parametric format as %R32
Zmax defines the dimension , along Z axis of the plate. Can be expressed in parametric format as %R33

Go Back

5
Macro Instruction G292 – Forms program origins

Syntax G292 X<>  Y<>

Description : Enables the jogging of axes X, Y displaying an adequate message on the screen.
Pressing [START] the last axes position is assumed as active origin.
It defines the working plane and initialize matrixes for displaying quote in piece and program co-ordinates.

Parameters: X quote to be forced in the formed origin . - Optional, if omitted the 0 value will be assumed

Y quote to be forced in the formed origin . - Optional, if omitted the 0 value will be assumed

Go Back

6
Standard Drilling G81

Syntax G81 DR .. DE.. DH<> FW.. FR<> WE<>

where:
DR Z quote [mm] reached at Rapid Feed (safety quote). Modal data.
DE Hole depth [mm]. Expressed as negative value. Modal data.
DH Return high quote [mm]. If not programmed is assumed DE = DH.
FW Working Feed [mm/min]. Modal data .
FR Return High Feed [mm/min]. If not programmed is assumed equal to the configured Rapid value.
WE Waiting time at the end of the drilling [s]. If not programmed is assumed equal to 0 . Used to broken
chips.

Go Back

7
Deep Drilling G83

Syntax G83 DR .. DE.. DH< > FW.. FR< > WE< > NI... WI < >

where:
DR Z quote [mm] reached at Rapid Feed (safety quote). Modal data.
DE Hole depth [mm]. Expressed as negative value. Modal data.
DH Return high quote [mm]. If not programmed is assumed DE = DH.
FW Working Feed [mm/min]. Modal data .
FR Return High Feed [mm/min]. If not programmed is assumed equal to the configured Rapid value.
WE Waiting time at the end of the drilling [s]. If not programmed is assumed equal to 0 . Used to broken
chips.
NI Number of steps. The entity of the increment is automatically computed by the NC. Modal data.
WI Waiting time at the end of every drilling step [s]. If not programmed is assumed equal to 0 .

Go Back

8
Tapping – G84

Syntax G84 DR.. DE.. DH< > RW.. RR< > WE< > P..

where:

DR Z quote [mm] reached at Rapid Feed (Safety quote) . Modal data.


DE End tapping quote [mm]. Expressed as negative value. Modal data.
DH Return high quote [mm]. If not programmed is assumed DE = DH.
Z axis Tapping Feed [mm/min]. If negative the rotation will be left hand , if positive right hand. Modal data.
RW
RR Return High Feed [mm/min]. If not programmed is assumed equal to the configured Rapid value.
WE Waiting time at the end of the tapping [s]. If not programmed is assumed equal to 0 .
P Tapping Pitch [mm] . Modal data.

Go Back

You might also like