Home News / Blog
admin
 

G65 code implementation

 

We are working on G65 code implementation which allow to work with parameterized macros. G65 code runs macro program with number, programmed in P parameter.
Up to 21 local variables could be sent to the macro through A-Z parameters.

In a screenshot is shown peck drilling cycle (G83) repeated in a line by running G65 with macro O9911.
Number of drills is programmed by H parameter; distance between drills programmed by U parameter; line angle angle programmed by A parameter.

 

Listing of nc program is below:

%
(XY - position)
(U - distance between points)
(A - angle)
(H - number of points)

G83 Z-10 Q2. R0.5 L0
G65 P9911 X10 Y20 A30 U10 H5
M30
%

 

 

We have started canned cycles implementation in myCNC.

In the last version (1.72) codes C80, G83, G98, G99 are available. Hope rest of cannedcodes should become available during a couple of weeks.The last version is available on download page

 

Canned cycles in myCNC software G83

 

 
G68/G69 codes works now with planes codes G17,G18,G19 for myCNC software.

(Described features will be available in myCNC control software version 1.72)

Rotation coordinates codes G68-G69 may be used now with planes codes G17-G19 to rotate coordinates in any of planes XY, XZ, YZ.

On a picture below there is a sample of using G68/G69 codes with G17-G19 plane selection. Also in the sample was used parameterized programming and M98/M99 subroutines (subprograms).

NC codes for the sample is listed below-

G90G0X0Y0Z0                                                                                                       
                                                                                                                  
#200=100 (size)
#201=2   (delta angle)
#202=360/#201 (number of lines)

(XY plane)
#100=0
#101=0
#102=#200

#103=#200
#104=0
#105=#200

G0 X#100 Y#101 Z#102
G17
M98 P101 L#202

(XZ plane)
#100=0
#101=#200
#102=0

#103=#200
#104=#200
#105=0

G0 X#100 Y#101 Z#102
G18
M98 P101 L#202

(YZ plane)
#100=#200
#101=0
#102=0

#103=#200
#104=#200
#105=0

G0 X#100 Y#101 Z#102
G19
M98 P101 L#202


o101
G68 X#100 Y#101 Z#102 R#110
G1 X#103 Y#104 Z#105
G1 X#100 Y#101 Z#102
G69
#110=#110+#201
M99

 

 

Great sample of using built-in PLC controller is implementation of Automatic gas console control for oxyfuel gas metal cutting.
Automatic gas controle may work under myCNC control software control or as independent unit managed through serial RS485
comminication (Modbus ascii protocol). Aitomatic gas controle control all oxy cutting technology (automatic ignition, forced preheat,
piercing with smooth oxy cutting growth, cutting, after cut soft flame.

Gases pressure for fuel, preheat and cutting oxygene controlled electronically by 3 PID controllers, integrated in myCNC-ET1.

 
« StartPrev12345678910NextEnd »

Page 7 of 16

Latest News