0% found this document useful (0 votes)
71 views14 pages

C - 12 X 3.PGM - Plasma Programming Example

This document contains a plasma cutting program with the following key details: 1. It defines plasma cutting technological parameters using macro instruction G600 and sets values for cutting speed, torch height control gain, and kerf compensation. 2. The program contains 12 cutting paths labeled [TR1]-[TR12] that move the plasma torch according to defined coordinates and cut the material using G functions like G01 and G03. 3. The program increments a path counter after each cut and contains logic to restart cutting from the last completed path if needed. When all paths are finished, it resets the counter and ends the program with code M30. This plasma cutting CNC program defines technological parameters, contains
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views14 pages

C - 12 X 3.PGM - Plasma Programming Example

This document contains a plasma cutting program with the following key details: 1. It defines plasma cutting technological parameters using macro instruction G600 and sets values for cutting speed, torch height control gain, and kerf compensation. 2. The program contains 12 cutting paths labeled [TR1]-[TR12] that move the plasma torch according to defined coordinates and cut the material using G functions like G01 and G03. 3. The program increments a path counter after each cut and contains logic to restart cutting from the last completed path if needed. When all paths are finished, it resets the counter and ends the program with code M30. This plasma cutting CNC program defines technological parameters, contains
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 14

Last Revision 19/11/2010

Plasma Cutting Example %


SHP(0,0,0,%R31,%R32,%R33)
G64 ; Set Continuous mode
D1 ; Set Corrector D1 used for Kerf Compensation
IF(%R18==0) THEN ; Initialize to 0 the cutting path counter (R18)
G292
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=1
SYN
ENDIF
N0 IF((!%cn[WHO()].rc[0].21)&&(!%C33.17)) JMPF(%R18) ; Used to restart from the last execute or desired cutting path

; Repetition 1
N1 ;[TR1] ; Track 1 - Block numbering is in this case mandatory

G600 C12000.000 D40000.000 F2800.000 G0.000 H2200.000 I800.000 J1500.000 K900.000 L1320.000 M0.900 N50.000 O0.000 P1.500
G601 A130 B50 C2 D3 E20 F30 G40 H50 I80 J100  ; To program plasma cutting parameters or set up Auto Gas Console if present

G154 ; The Origin 0 is assigned to Plasma Torch. Instead of a standard G54 for a bigger flexibility is used a G154 customized function
G90 ; Absolute programming . It is necessary to program again here to allow a correct restart from this section
VA10=(%DbTecno.VelTag) ; To allow to use the cutting feed programmed by the operator Otherwise use directly the Fxxx instruction
FVA10
G00 X249.197 Y85.986
M207 ; Start Cutting

G01 G41 X241.697 Y79.371 ; Kerf compensation must be activated after Start Cutting M function
G03 X241.255 Y72.314 I245.005 J75.621
G03 X335 Y30 I335 J155
G03 X241.255 Y72.314 I335 J155
G03 X248.312 Y71.872 I245.005 J75.621
G01 X255.812 Y78.487
G40
M208 ; Stop cutting process
SYN

1
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1 ; Increment profile’s counter (R18)

N2 ; [TR2]
G154 ;It is necessary to program again the origin here to allow a correct restart from this section
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X126.217 Y126.258
M207
G01 G41 X134.948 Y121.382
G03 X141.752 Y123.31 I137.386 J125.748
G03 X85 Y90 I85 J155
G03 X141.752 Y123.31 I85 J155
G03 X139.824 Y130.113 I137.386 J125.748
G01 X131.093 Y134.989
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

N3 ;[TR3]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X543.363 Y126.867
M207
G01 G41 X535.676 Y120.472
G03 X535.029 Y113.431 I538.873 J116.628
G03 X585 Y90 I585 J155
G03 X535.029 Y113.431 I585 J155
G03 X542.071 Y112.785 I538.873 J116.628
G01 X549.758 Y119.18
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

2
N4 ;[TR4]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X541.52 Y43.36
M207
G01 G41 X538.72 Y52.96
G03 X532.52 Y56.36 I533.92 J51.56
G01 X377 Y11
G02 X293 Y11 I335 J155
G01 X62.6 Y78.2
G02 X62.6 Y231.8 I85 J155
G01 X293 Y299
G02 X377 Y299 I335 J155
G01 X607.4 Y231.8
G02 X607.4 Y78.2 I585 J155
G01 X532.52 Y56.36
G03 X529.12 Y50.16 I533.92 J51.56
G01 X531.92 Y40.56
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

; Repetition 2
N5 ;[TR5]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X919.197 Y85.986
M207
G01 G41 X911.697 Y79.371
G03 X911.255 Y72.314 I915.005 J75.621
G03 X1005 Y30 I1005 J155

3
G03 X911.255 Y72.314 I1005 J155
G03 X918.312 Y71.872 I915.005 J75.621
G01 X925.812 Y78.487
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

N6 ;[TR6]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X796.217 Y126.258
M207
G01 G41 X804.948 Y121.382
G03 X811.752 Y123.31 I807.386 J125.748
G03 X755 Y90 I755 J155
G03 X811.752 Y123.31 I755 J155
G03 X809.824 Y130.113 I807.386 J125.748
G01 X801.093 Y134.989
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

N7 ;[TR7]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X1213.363 Y126.867
M207
G01 G41 X1205.676 Y120.472
G03 X1205.029 Y113.431 I1208.873 J116.628
G03 X1255 Y90 I1255 J155
G03 X1205.029 Y113.431 I1255 J155

4
G03 X1212.071 Y112.785 I1208.873 J116.628
G01 X1219.758 Y119.18
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

N8 ;[TR8]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X1211.52 Y43.36
M207
G01 G41 X1208.72 Y52.96
G03 X1202.52 Y56.36 I1203.92 J51.56
G01 X1047 Y11
G02 X963 Y11 I1005 J155
G01 X732.6 Y78.2
G02 X732.6 Y231.8 I755 J155
G01 X963 Y299
G02 X1047 Y299 I1005 J155
G01 X1277.4 Y231.8
G02 X1277.4 Y78.2 I1255 J155
G01 X1202.52 Y56.36
G03 X1199.12 Y50.16 I1203.92 J51.56
G01 X1201.92 Y40.56
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

; Ripetizione 3
N9 ;[TR9]
G154
G90
VA10=(%DbTecno.VelTag)

5
FVA10
G00 X584.197 Y354.446
M207
G01 G41 X576.697 Y347.831
G03 X576.255 Y340.774 I580.005 J344.081
G03 X670 Y298.46 I670 J423.46
G03 X576.255 Y340.774 I670 J423.46
G03 X583.312 Y340.332 I580.005 J344.081
G01 X590.812 Y346.947
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

N10 ;[TR10]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X461.217 Y394.718
M207
G01 G41 X469.948 Y389.842
G03 X476.752 Y391.77 I472.386 J394.208
G03 X420 Y358.46 I420 J423.46
G03 X476.752 Y391.77 I420 J423.46
G03 X474.824 Y398.573 I472.386 J394.208
G01 X466.093 Y403.449
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

N11 ;[TR11]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10

6
G00 X878.363 Y395.327
M207
G01 G41 X870.676 Y388.932
G03 X870.029 Y381.891 I873.873 J385.088
G03 X920 Y358.46 I920 J423.46
G03 X870.029 Y381.891 I920 J423.46
G03 X877.071 Y381.245 I873.873 J385.088
G01 X884.758 Y387.64
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

N12 ;[TR12]
G154
G90
VA10=(%DbTecno.VelTag)
FVA10
G00 X876.52 Y311.82
M207
G01 G41 X873.72 Y321.42
G03 X867.52 Y324.82 I868.92 J320.02
G01 X712 Y279.46
G02 X628 Y279.46 I670 J423.46
G01 X397.6 Y346.66
G02 X397.6 Y500.26 I420 J423.46
G01 X628 Y567.46
G02 X712 Y567.46 I670 J423.46
G01 X942.4 Y500.26
G02 X942.4 Y346.66 I920 J423.46
G01 X867.52 Y324.82
G03 X864.12 Y318.62 I868.92 J320.02
G01 X866.92 Y309.02
G40
M208
SYN
IF((!%cn[WHO()].rc[0].21)&&(!%C33.17))%R18=%R18+1

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

8
Result on our CNC ( Graphical Simulation)

9
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

10
Macro Instruction G600 – Plasma Technological parameters definition

Syntax: G600 A<> B<>E<>C D F G H I J K L M N O P


where:
A Data Base Index – Optional - If omitted will be assumed = 0
B Consumables set – Optional – If omitted will be assumed = 0
E Type of material – Optional – If omitted will be assumed a null string
C Material thickness (micron) – Optional - If omitted will be assumed = 0
D Approach Quota (micron) - Reached in rapid - Mandatory
F Ignition Quota (micron) - Mandatory
G Ignition Time (ms) - Mandatory
H Cutting Feed (mm/min) - Mandatory
I Torch Down Delay (ms) – Mandatory – Time during which the torch is kept blocked to the piercing quote while X and Y axes start to
move.
J Cutting Quota (micron) - Mandatory
K Regulator Activation Delay (ms) - Mandatory – Delay between cutting quote is reached and the automatic height control is
activated.
L Cutting Voltage (dVolt) – Mandatory - Used by the height control to automatically adjust the torch height.
M Height Regulator Gain – Mandatory - Allows to modify the reactivity of the Torch height control. Typically set = 0.9
N Cutting Current (A) – Mandatory set however to 0 also if not used - Current to set on the plasma generator. It is only an help for the
operator . To really set a current value it is necessary an Auto Gas Console and must be used the G601 function ( see description for
details).
O CORNER % Current Reduction – Mandatory set however to 0 also if not used – Defines in which percentage must be reduced the
Plasma generator current when the corner condition is reached. It is only an help for the operator. To really set a current value it is
necessary an Auto Gas Console and must be used the G601 function ( see description for details).
P KERF (mm) – Mandatory – Defines the plasma spot Radius. If the radius compensation is managed by the CAM must be set = 0.

Go Back

11
M functions utilizable into a Plasma Part Program

M15 Torch ignition without automatic height control activation


It calls the G211 function to detect plate height and moves the torch to the ignition quote. The height control is disabled.
M17 Torch ignition with automatic height control activation
It calls the G211 function to detect plate height and moves the torch to the ignition quote. The height control is enabled.
M207 Use instead of M17 in case of machines equipped with Plasma and Oxi torches. In this case the same program can be in fact used by
the two technologies. The auxiliary function M207 will start the cutting process in base to the one selected in console by the
operator.

M18 The torch is switched off and moved at its top position.
M20 The torch is switched off and moved to the intermediate position defined by the operator in the Plasma Parameters page.
M208 Use instead of M20 in case of machines equipped with Plasma and Oxi torches. In this case the same program can be in fact used by
the two technologies. The auxiliary function M208 will close the cutting process in base to the one selected in console by the
operator.
M21 Plate holder down.
M22 Plate holder up.
M80 Set the plasma generator current to the nominal value. Normally is done through the specific Plasma Generator Input.
M81 Set the plasma generator current to the CORNER value. Normally is done through the specific Plasma Generator Input.
M82 Torch height control Off
M83 Torch height control On
M84 Request of anticipated Torch Off. Forces Off the Plasma Generator and disabled the Torch Height Control.
M85 Reset the request of anticipated Torch Off. Forces On the Plasma Generator and enable again the Torch Height Control.

Go Back

12
Macro Instruction G601 - Definition of Hypertherm Gas Console parameters

Syntax G601 A<> B C D E F G H I J

Where:

A Plasma Generator current set-point (Amps) – Optional – If omitted all G601 parameters are ignored and are maintained the current
values.
B Corner current percent – Mandatory if parameter A is present.
C Plasma gas type code – Mandatory if parameter A is present.
D Shield gas type code – Mandatory if parameter A is present.
E Plasma cutflow setpoint (0-99 psi) – Mandatory if parameter A is present.
F Plasma preflow setpoint (0-99 psi) – Mandatory if parameter A is present.
G Shield cutflow setpoint (0-99 psi) – Mandatory if parameter A is present.
H Shield preflow setpoint (0-99 psi) – Mandatory if parameter A is present.
I N2 mix setpoint (0-100 psi) – Mandatory if parameter A is present.
J Gas 2 mix setpoint (0-100 psi) – Mandatory if parameter A is present.

Go Back

13
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.
Can be disabled by the operator setting the “Part Origin” mode in the Origin MMI screen.

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

14

You might also like