Тёмный

Mach3 Macro: G31 Auto Tool Zero 

Alpha-Go
Подписаться 801
Просмотров 28 тыс.
50% 1

Опубликовано:

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@maq-Yantek
@maq-Yantek Год назад
hello, good afternoon, I would like to know if you could make me a code for the height of the tool but that it does not modify the z of the machine if not the height of the tool, I pay for it
@FERGIOMARIA
@FERGIOMARIA 3 года назад
Ciao, complimenti ! mi piacerebbe imparare un pò la programmazione degli script come fai tu, mi sai consigliare un testo per iniziare?
@alpha-go9226
@alpha-go9226 3 года назад
Hello. I would recommend to start with the followings: 1) Overall understanding about VB in Mach3: www.machsupport.com/wp-content/uploads/2013/02/VBScript_Commands.pdf 2) Reference information to Mach3 functions: www.machsupport.com/wp-content/uploads/2013/02/Mach3_V3.x_Macro_Prog_Ref.pdf Hope it is what you are looking for.
@amrmusa7217
@amrmusa7217 11 месяцев назад
what is the programming language i am so confused
@aristosuratman4783
@aristosuratman4783 2 года назад
can this program be used as touch off plate on cnc plasma ? after getting zero on top of plate, move up 3mm for piercing ...
@cncengraving6689
@cncengraving6689 2 года назад
Hi. If you need to move it up 3mm I guess you just need to add these 3 lines before 'End: Code "G0 Z3" While IsMoving() Wend 'End
@dargindarginec9561
@dargindarginec9561 3 года назад
Hello. which cycle is used for threading on mach3 turn? why G76 didn't work and G32 didn't work either. whether you need to add a plugin or something else. thank
@dargindarginec9561
@dargindarginec9561 3 года назад
@Jaziel Edgar the main thing is that this is not a porn film, otherwise it is sad
@WCCraftChannel
@WCCraftChannel Год назад
Hello, I would like to ask further, what is the distance of the probe?
@alpha-go9226
@alpha-go9226 Год назад
Hi. I assumed the distance is 25mm. I means before running the code, the tool tip should be about 25mm from the probe and at the same time z coordinate also about 25mm.
@WCCraftChannel
@WCCraftChannel Год назад
@@alpha-go9226 My Probe PlateThickness = 64.1 in your script, I looked and couldn't find the line that specifies the thickness of the probe, so I'm not sure where I put the value for the probe distance.
@WCCraftChannel
@WCCraftChannel Год назад
@@alpha-go9226 And in the script, after trying to use it, press "The tip of the flower is still at the probe head" and z is set to 0 on the probe head. If we press Go to zero, it will still be in the position at the probe head.
@alpha-go9226
@alpha-go9226 Год назад
@@WCCraftChannel You can modify the setting portion here. Hope you can try it successfully. 'Set zero SetOEMDRO(802, 0) '802 hold Z coordinate value 'End replaced with: 'Set Probe Plate Thinkness SetOEMDRO(802, 64.1) '802 hold Z coordinate value 'End
@WCCraftChannel
@WCCraftChannel Год назад
@@alpha-go9226 Oh, thank you very much. I will let you know what the results are.
@AndresHernandez-rs2nk
@AndresHernandez-rs2nk 3 года назад
THANKS SO MUCH THIS IS SIMPLE TO UNDERSTEND AND I WAS ABLE TO CHANGE SOME MACHINE CORD AND TEST RIGHT OFF I GOT A HURCO KMC3P I RETROFIT WITH MACH3 AND I WANT TO GET THE ATC BACK WORKING ANY IDEAS THANKS AGAIN
@alpha-go9226
@alpha-go9226 3 года назад
Love to hear it is helpful to you. 😀
@AndresHernandez-rs2nk
@AndresHernandez-rs2nk 3 года назад
@@alpha-go9226 hi is there a way you can help me set up my atc i willing to pay you for it my respects thanks
@patrickherforth9869
@patrickherforth9869 3 года назад
My script has not change but I did change out my drive and now my autozero in mach3 will just go down at different depths without touching my plate and retract the correct distance. Not sure what wrong. Any ideas?
@alpha-go9226
@alpha-go9226 3 года назад
I guess for quick try you can move the tip of cutter above your plate about 5 and then manually reset the Z coordinate to 10 then it should touch your plate. I put Z-10 in the script for 2 commands that related to G31 and that means G31 will only move down maximum at depth -10 (and if your plate Z is below -10 then it will not touch) - you may also consider to change it to Z-20 or Z-30. I hope it will help.
@alpha-go9226
@alpha-go9226 3 года назад
... 'G31 fast moving Code "G31 Z-10 F200" '*** this line *** While IsMoving() Wend answer = MachMsg("End of G31 fast moving", "M779 Auto Tool Zero", 0) 'G31 slow moving z = GetOEMDRO(802) 'get current Z coordinate value Code "G0 Z" &(z+1) 'move back 1mm Code "G31 Z-10 F25" '*** and this line *** ...
@alpha-go9226
@alpha-go9226 3 года назад
And in some cases if Z-plate was grounded that also causes the unexpected result.
@talgtalga3767
@talgtalga3767 3 года назад
Hello..i have some write g code for x and y axis ..to open some plates and screw filling material..i want to use as mini injection molding machine.. i have some parametres to open and close clamping with stepper mator i use mach3 and i dont know the code how to repeat that cylce some my codes as loop?? please needs help ..forexample G1 X50 X-10 x -10 X0 and this is repeat hole cylce till i turn of the program ...please help needs i appreciate it
@alpha-go9226
@alpha-go9226 3 года назад
Option 1 you can use the sub program. It will repeat 65535 times then stop % O0001 M98 P0100 L65535 M30 O0100 G1 X50 X-10 X0 M99 % Option 2 you can create a marco to run until you click Reset button in Mach3 to stop it: While (GetOEMLED(800)=0) Code "G1 X50" Code "X-10" Code "X0" WEnd
@alpha-go9226
@alpha-go9226 3 года назад
It should have While IsMoving() WEnd after each G-code line in macro: While (GetOEMLED(800)=0) Code "G1 X50" While IsMoving() WEnd Code "X-10" While IsMoving() WEnd Code "X0" While IsMoving() WEnd WEnd
@talgtalga3767
@talgtalga3767 3 года назад
@@alpha-go9226 sorry, i didnt understand you... can you simple example in my case..i copy this in notepad and download in mach3 and click to start and it works repeating all codes above what i wrote if i change afterX-10 go home X0 then X go +20mm forward X20 and not come back home XO ..needs to come back X -5 and thus two period it repeated ..how it works...?? i want to some codes repeatled separately not all codes what i write if is it possible can you wrtie as example i really appreciate if help if not its OK.sorry for stupid questiobs..am.biginner i watched some channel in youtube did not get it..please help you explain clear and easy.. andvi have add above O0100 before my coding what this means? in option two ..because i have mach3 ..please help
@talgtalga3767
@talgtalga3767 3 года назад
@@alpha-go9226 Boss please speak in simple language macro what is this i need to create some folder in mach3 ...?? please i need to wrtite thus all in notepad While(getoemled(800... while moving, gcode"" ???? please i didt understand you..sorry
@alpha-go9226
@alpha-go9226 3 года назад
@@talgtalga3767 this video is the sample for macro. in this video I create 1 macro named m779 but you can change it. it shows step by step.
Далее
Mach 3 Soft Limits & Offsets The Complete Breakdown
49:08
How to Setup a Touch Plate to Auto-Zero Z-Axis in Mach3
13:21
Китайка и Зеленый Слайм😂😆
00:20
Mach3 macro: How to create a dialogue form?
6:13
Просмотров 5 тыс.
MACH3 USB Board - Inductive Proximity Limit Switch
8:20
Tutorial on Visual Basic Scripter for Mach3
28:44
Просмотров 8 тыс.
How I added a tool height setter to my PrintNC!
10:15