Hello Guest it is October 03, 2023, 05:41:08 PM

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

191
Mach4 General Discussion / Re: Unpress screen button with other buton
« on: October 21, 2019, 02:34:40 PM »
you need 3 toggle buttons.  Set the state of the other two after the press of the other.

192
Mach4 General Discussion / Re: Unpress screen button with other buton
« on: October 21, 2019, 02:31:16 PM »
I don't see a button state for regular buttons but I think you could use toggle buttons and on the left up script set the other button's buttonState to 'Up' or down depending on what you desire.

HTH

RT

193
Mach4 General Discussion / Re: How to mark an axis as "Homed"
« on: October 09, 2019, 10:02:19 AM »
Thank you for posting the results of your endeavors.  Posts like these go a long way to furthering the knowledge bank for Mach4 users.

BTW, Stumbled across your Grizzly mill build on Hobby-Machinist.  Spent two hour reading the whole thread.  Great photos, explanation and design.

RT

194
Mach4 General Discussion / Re: How to mark an axis as "Homed"
« on: October 07, 2019, 12:33:44 PM »
The machine.ini file contains all of the Mach4 settings you are currently using for that 'Profile' in that profiles directory. e.g. myLathe ini is:
C:\Mach4Hobby\Profiles\myLathe\machine.ini

To save or load settings:
mcProfileSave
mcProfileReload

Some motion controllers do not allow you to change motor/other settings on the fly, rather they require a complete restart.

HTH

RT

195
Mach4 General Discussion / Re: LATHE JOG BUTTONS
« on: August 26, 2019, 09:55:32 AM »
Operator->edit screen
click the jog tab and click on the x- jog button
change the Label to what you want it to be and then
click the events tab and change the Left Down Action and Left Up Action to what you want.

Just make sure that you are thinking of the x movement in lathe in the traditional manor.  X movement away from you is x- and movement towards you is x+

HTH

RT

196
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

197
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"

198
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

199
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

200
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