Hello. If you can, email me at sunny5rise@gmail.com and send photos or a small video of what you are trying to achieve. I may be able to help. I have kind of used my Rotary axis as a spindle before, but it was really just a GCode programming trick. Depending on what you are doing, this may help you too.
GCode variables are used in parametric gcode programming. With these variables, you can write one program to make a part of many different sizes. Example... say #1=100 (mm width), #2=200 (mm Length). You could change the size of the part by changing just these variables. The program itself would be coded to do all the mathematics involved in calculating the distances to move and such to create the desired part. Hope that made sense.
Mach3 does not work for me in some GCode! when GCode is with more directions X Y Z *H *J ! when G code is only in X Y Z it works perfectly where could the problem be? 0:340:34
A variable is a placeholder for information. In the case of GCode, a variable can hold an Integer (no decimal) or a Floating-Point number (with decimal). It starts with the "#" symbol, followed by an Integer (its name). With Mach3, #1 - #600 can be used by the User and/or GCode Program. In the description is a PDF Document Link to "Mach3 Parameters and Variables". It explains it better than I do.
Excellent extra tool. I will give it a stab installing it. I should be able to do it via the instructions from this vid. Thank you, as always.
You're welcome
I use variable G-coding at work but have never felt the need to do it at home however I'll save this video incase I do cheers
Hello. Can you help me with the change spindle section in the Macros section? I want to use the A-axis as the spindle.
Hello. If you can, email me at sunny5rise@gmail.com and send photos or a small video of what you are trying to achieve. I may be able to help. I have kind of used my Rotary axis as a spindle before, but it was really just a GCode programming trick. Depending on what you are doing, this may help you too.
please help me! why MCh3 is not showing this G Code, when it is being created with 5 axes X Y Z *H *J ?
I just replied to your email. Give my suggestion a try.
I use Mach3 / what is this?
GCode variables are used in parametric gcode programming. With these variables, you can write one program to make a part of many different sizes. Example... say #1=100 (mm width), #2=200 (mm Length). You could change the size of the part by changing just these variables. The program itself would be coded to do all the mathematics involved in calculating the distances to move and such to create the desired part. Hope that made sense.
Mach3 does not work for me in some GCode! when GCode is with more directions X Y Z *H *J ! when G code is only in X Y Z it works perfectly where could the problem be? 0:34 0:34
I just replied to your email. Give my suggestion a try.
over my head
I understand. A person can run CNC all their life and never encounter a GCode variable.
@@sunny5rising what is a g code variable?
@@sunny5rising what is a g code variable?
A variable is a placeholder for information. In the case of GCode, a variable can hold an Integer (no decimal) or a Floating-Point number (with decimal). It starts with the "#" symbol, followed by an Integer (its name). With Mach3, #1 - #600 can be used by the User and/or GCode Program. In the description is a PDF Document Link to "Mach3 Parameters and Variables". It explains it better than I do.