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
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.
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
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.
@@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.
@@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.
@@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
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
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?
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.
... '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 *** ...
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
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
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
@@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
@@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