Hello Guest it is March 28, 2024, 09:01:19 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 - rhtuttle

201
Mach4 General Discussion / Re: Macro Issue
« on: August 24, 2019, 12:58:35 PM »
I think
mc.mcCntlGcodeExecuteWait(inst, "G28.1 A0\nG53 G1 F75.0 A%4.4f\nG53 A-2.0000", (tpos + 12))

should be
formating strings in lua:

local s=string.format( "G28.1 A0\nG53 G1 F75.0 A%4.4f\nG53 A-2.0000", (tpos + 12))
mc.mcCntlGcodeExecuteWait(inst,s)

HTH
RT

202
Mach4 General Discussion / Re: Mach 4 Automaticly open GCode ?
« on: August 22, 2019, 11:37:33 AM »
Mach4 takes a few command line parameters like the /p for what profile to use and also a /o for which gcode file to load.  Your VB script would have to construct a command line with the profile and file.

C:\Mach4Hobby\Mach4GUI.exe /p MyMillProfile /o "C:\Mach4Hobby\GcodeFiles\FileToRun.tap"

203
Mach4 General Discussion / Re: MACH4 LATHE
« on: August 13, 2019, 05:47:29 PM »
The standard Lathe screen does not have the diagnostics page.  Fire up the mill profile and go into the screen edit mode and export the diagnostics page and then load your lathe profile and go into the screen edit mode and import the diagnostic page.  See Bryanna's video on using the screen editor if you are unfamiliar with it.  You may also have to change the x axis dro from read only to edit in place if they haven't fixed that yet either.

HTH

RT

204
Mach4 General Discussion / Re: Tool and offset table wont Display
« on: July 02, 2019, 02:28:30 PM »
Most likely the window is positioned by the developer to display on another screen in a dual screen system.

to move it where you want:  https://www.technipages.com/bring-off-screen-window-back-onto-screen

205
Mach4 General Discussion / Re: Lathe Electronic Leadscrew / Gearbox
« on: June 18, 2019, 02:55:23 PM »
It seems that you have movement and you have an index on the spindle since you say that the actual (not commanded ) RPM is displayed and you can jog.  Have you set your steps per unit for both axes yet?  Bryanna did a video that explains that process:

https://www.youtube.com/watch?v=d-xCWDR0Uvg

If you have the steps per unit configured correctly then in the mdi when you execute g0 w1.000 then the carriage would move inch/mm away from the headstock. 

If you have an index on the spindle and have a pmdx 416 then you use a g74 with the appropriate parameters to do threading.  Or use the Turn Cycles threading in Mach4.  The PMDX driver is responsible for coordinating the threading movement.

Hope I understood your question.

RT


206
General Mach Discussion / Re: treadmill motor for spindle
« on: May 31, 2019, 05:47:57 PM »
I used the treadmill's speed control and wired it to a toggle so that it could be used both manually and through the gecko g540.  Nice for CSS with mach4

207
General Mach Discussion / Re: treadmill motor for spindle
« on: May 31, 2019, 11:30:17 AM »
I recently replaced my sieg lathe motor and controller with a 2.5 HP treadmill motor and the mc60 controller that was in the treadmill.  This allowed me to remove the h-low gearing.  Used a 2:1 timing belt to achieve the low end torque I wanted.  Really like the result.

HTH

RT

208
General Mach Discussion / Re: Lathe arcs G2 G3
« on: May 09, 2019, 10:12:01 AM »
That is the best write up I have seen anywhere for arcs on a lathe, thank you!  That along with one of those three points on a circle calculators and I think I have my answer.

RT

209
General Mach Discussion / Lathe arcs G2 G3
« on: May 08, 2019, 11:18:48 AM »
Need a little help understanding G2/G3 on a lathe.

What I would like to do is create a series of ribs along some .75" stock.
.125 in length(Z) and .010 in height(X).

Suggestions as to how to calculate the radius or center of the arc?

TIA

RT


210
Mach4 General Discussion / Re: Loop Counter
« on: May 01, 2019, 11:01:16 AM »
 Soooo....you're saying there may be hope?   ;D