Hello Guest it is April 19, 2024, 07:16:28 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - stevehuck

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 »
41
I searched but couldn't find an answer.

I am writing a program where I set X at a starting point, Run a subroutine, Then move X .003 and do it again about 35 times. Can Mach3 Loop a variable to increment X?

I have to do this up to 16 times in a single program. If not possible in Mach3 what about Mach4? I have everything I need to upgrade Just too lazy to rewire my panel and switch over. Also many people who may use this code are probably still running Mach3.

Something like this?

start loop
Increment variable .003
X=Variable
if variable < end Number
    Call subroutine
else
    Exit loop
end if
Loop







42
How about you post your code so it can be inspected for possible problems.

43
Good news. Glad it's fixed.

44
CVI MachStdMill (MSM) / Re: Mach3Beginner
« on: April 01, 2022, 07:32:58 PM »
Do you want a detailed discription of what every button and readout do? Or are you looking to modify the existing screen?

45
Tried to view the code but it apparently doesn't exist. Can you screen shot the code that is giving you trouble and the 30 or so lines before and after so it can be looked at?

46
G-Code, CAD, and CAM discussions / Re: Just learning, need help
« on: January 12, 2022, 06:53:23 PM »
Leave m30 and m5. They are machine codes and are needed. Put the new code after the last g code. Sorry for not being clear.

47
G-Code, CAD, and CAM discussions / Re: Just learning, need help
« on: January 12, 2022, 12:32:43 PM »
I'm not familiar with fusion so I can't help you much. I use cambam and in CB you can manually tell the machine what to do. CB will add code before or after the mop. See if you can add code to your last mop to tell the machine where to go after the last mop is finished. You can also add the code in mach 4 by clicking edit gcode. Simply add a last lines.

G0 z3.000 ro what ever height you wish
G0 x0.000 Y0.000 or what ever position you wish to go to..

Do it in 2 lines so z pulls the cutter up before you start any sideways movement.

48
General Mach Discussion / Re: G-Code problem
« on: November 01, 2021, 02:51:05 PM »
check to make sure your X axis isnt hitting something causing your X motor to lose steps.

49
Sounds like the radius of the tool you selected is bigger than the radius on the part you are making. Look at the tool radius and the smallest radius in the part and see if there is a problem. If there is a radius on the part that is .0625 inches and the cutter is spec'ed as a .125 radius you need to spec a smaller tool. If you spec a .0625 tool and there is a square corner on the part you need to accept there will be a .0625 radius at that spot or use a tool that has a smaller radius you can live with. Basic rule is that the tool radius has to be smaller than the smallest radius. You can rough out a part with a larger radius and then change to a cutter with a smaller radius if that will save time or increase cutter life. If you need that square corner you can do a tool change to a parting/grooving tool and clean up the corner after the fact.

50
Mach4 General Discussion / Re: Check My Work
« on: October 20, 2021, 03:19:22 AM »
You have to factor in the fact that your drive might be micro stepping. My  Gecko's have a 10 micro step so mine is. . .

Screw is 5 turns per inch
motor is 200 steps per rev
drive is 10 micro step

5 x 200 x 10

10,000 steps per inch

My drives are fixed at 10 micro step but some can be changed with dip switches. Check the paperwork that came with your drive and check out your dip switch settings.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 »