Ciao, complimenti ! mi piacerebbe imparare un pò la programmazione degli script come fai tu, mi sai consigliare un testo per iniziare?
@alpha-go92263 жыл бұрын
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.
@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
@aristosuratman47832 жыл бұрын
can this program be used as touch off plate on cnc plasma ? after getting zero on top of plate, move up 3mm for piercing ...
@cncengraving66892 жыл бұрын
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
@dargindarginec95613 жыл бұрын
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
@dargindarginec95613 жыл бұрын
@Jaziel Edgar the main thing is that this is not a porn film, otherwise it is sad
@amrmusa721711 ай бұрын
what is the programming language i am so confused
@WCCraftChannel Жыл бұрын
Hello, I would like to ask further, what is the distance of the probe?
@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 Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
@@alpha-go9226 Oh, thank you very much. I will let you know what the results are.
@patrickherforth98693 жыл бұрын
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-go92263 жыл бұрын
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-go92263 жыл бұрын
... '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-go92263 жыл бұрын
And in some cases if Z-plate was grounded that also causes the unexpected result.
@AndresHernandez-rs2nk3 жыл бұрын
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-go92263 жыл бұрын
Love to hear it is helpful to you. 😀
@AndresHernandez-rs2nk3 жыл бұрын
@@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
@talgtalga37673 жыл бұрын
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-go92263 жыл бұрын
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-go92263 жыл бұрын
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
@talgtalga37673 жыл бұрын
@@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
@talgtalga37673 жыл бұрын
@@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-go92263 жыл бұрын
@@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.