No video

Macro Programming Hexagon X and C axis. Macro in description.

  Рет қаралды 2,442

CNCPL

CNCPL

Күн бұрын

#cnc #turning #lathe #milling ##dmgmori #macro
(MACRO)
M76G98G40G19G54
T808
G97S4000M3F300
G0X80.Z10. (YOU CAN CHANGE THAT, ITS SAVE MOVE)
#501=30. (HEXAGON SIZE)
#502=12. (TOOL SIZE)
#503=2. (HOW DEEP IN ONE PASS IN ,,Z" AXIS)
#504=3. (HOW MANY PASSES IN ,,Z" AXIS)
#505=[[#501/1.7321]/2]
#506=#501+#502
#507=#502/2
#508=#507/2
#509=[[#507*#507]-[#508* #508]]
#510=SQRT [#509]
#511=#501+#507
#512=#505+#510
#513=#505+#512
#514=0
G0G28H0
G0C0
G12.1 or G112
G1Z2.
G1X[#506+#502]C[#505+#502] F1000
G1Z0
N2
G1X[#506+#502]C[#505+#502]F1000 (HIGH FEED OUTSIDE MATERIAL)
G1W-#503
G1X#506C#505 F300 ( FIRST MOVE INTO MATERIAL)
G1X#506C-#505
G2X#511C-#512R#507
G1X#507C-#513
G2X-#507C-#513R#507
G1X-#511C-#512
G2X-#506C-#505R#507
G1X-#506C#505
G2X-#511C#512R#507
G1X-#507C#513
G2X#507C#513R#507
G1X#511C#512
G2X#506C#505R#507
G1X[#506+#502] F1000 (HIGH FEED , MOVE OUTSIDE MATERIAL)
#514=#514+1
IF[#514EQ#504]GOTO12
GOTO2
N12
G13.1 or G113
G0Z25.
M9
G0G28U0V0
M30

Пікірлер: 9
@iliandimitrov4857
@iliandimitrov4857 3 ай бұрын
Много благодаря за примерната макропрограма! ( Thanks a lot for the example! )
@weldmachine
@weldmachine Жыл бұрын
Always best to Read the Title of the video before commenting🤔 Macro Program in description. I don't do much Hex Milling in a Lathe. But always Like the idea of sharing Information 🙂👍
@darcustaseen1602
@darcustaseen1602 9 күн бұрын
This is brilliant. My only issue is that my controller doesn't support G12.1 or G13.1 (no polar coordinate function) - if so, should we be using a bit of trig to calculate the end points? I am trying to figure out exactly what your macro does! You're a genius btw
@CNCPL1
@CNCPL1 7 күн бұрын
Thanks for the kind words. Im not sure if You can do it without g12.1 or Y axis. My macro is counting first 3 corner of hex and then Im just changing + or - in other corners.
@user-th5uo8yp4e
@user-th5uo8yp4e Жыл бұрын
Спасибо. Попробовал, всё работает.
@CNCPL1
@CNCPL1 Жыл бұрын
👍
@jueves1977
@jueves1977 6 ай бұрын
Very good video!! Thank you very much for a consultation you could make one for squares circumscribed in a circumference. Thank you very much, sorry for the inconvenience
@FelixT370
@FelixT370 Жыл бұрын
Great Video and keep up the excellent work.
@AhmedGamal-yr2pe
@AhmedGamal-yr2pe 6 ай бұрын
Could you write a simle program for that please . With G code
Adaptor | CNC Lathe | Heavy Machining
13:53
Chris Maj
Рет қаралды 1,3 МЛН
Torno CNC TNG42
1:19
Ergomat Indústria e Comércio
Рет қаралды 24 М.
Real Or Cake For $10,000
00:37
MrBeast
Рет қаралды 58 МЛН
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 39 МЛН
GTA 5 vs GTA San Andreas Doctors🥼🚑
00:57
Xzit Thamer
Рет қаралды 25 МЛН
Making a simple Quick Change Tool Post
10:38
HAMMERLAND
Рет қаралды 371 М.
Hyundai WIA L2100SY Y-axis Lathe
3:42
Technical Equipment
Рет қаралды 75 М.
G12.1/G13.1
2:10
mark baker
Рет қаралды 26 М.
Challenging milling of big block (cnc milling)
9:59
CncFrezar
Рет қаралды 1,1 МЛН
Amazing Technique With a thread drill on a lathe machine, it is difficult to make worms
14:06
Milltronics CNC Lathe Training
20:17
Abom79
Рет қаралды 134 М.
OneCNC - C Axis Full Tool Path
5:02
OneCNCWest - CADCAM
Рет қаралды 1 М.
Mastercam Dynamic Milling C-Axis Lathe
1:37
CADCAMTechnologies1
Рет қаралды 33 М.
Real Or Cake For $10,000
00:37
MrBeast
Рет қаралды 58 МЛН