Hello Guest it is October 04, 2023, 10:35:32 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

481
Mach4 General Discussion / Re: Hobby/Industrial and Profiles
« on: February 27, 2017, 07:08:56 PM »
Just getting started with Mach4 myself.

I can only answer one of your questions.  The m1s will have to be converted. :-\

482
Mach4 General Discussion / Re: Lua Macro Parameters
« on: February 27, 2017, 07:03:54 PM »
That example was very helpful, thanks for that.  It made a lot of the Lua documentation more understandable.

RT

483
Mach4 General Discussion / Re: UC100 Mach4 Lathe G83 fail
« on: February 27, 2017, 07:00:15 PM »
Hi Steve,

Yes, unfortunately, Sim doesn't seem to cut very well for me.   ;D. You know what they say,

“In theory, theory and practice are the same. In practice, they are not.”

Since I was able to use the code with Mach3 and uc100 one would think it would work the same way using the same hardware with Mach4 and the new uc100 plugin.  Testing it against real hardware in real time is the only reliable method.  If it works on a lathe with Mach4 and Pokeys or pmdx controllers then it would point to the uc100 as the culprit or Mach4 if it fails for them.  Or if someone else has a uc100 and Mach4 and can't reproduce my error then it would point to my hardware or installation. 

I think  ???

484
General Mach Discussion / Re: mach3 sound?
« on: February 27, 2017, 10:26:00 AM »

485
Mach4 General Discussion / UC100 Mach4 Lathe G83 fail
« on: February 26, 2017, 07:15:49 PM »
When executing a G83 in Mach4 it does not perform as it should.  I have uploaded a YouTube video showing the failure.  I had previously used this exact same code when I was running under Mach3 before they came out with the Mach4 plugin and it worked perfectly.  UCNC believes it is a Mach4 bug.  Can any of you duplicate the error with any other motion controller or Uc100?
 

https://www.youtube.com/watch?v=oQWuqf_LF60

TIA

RT

486
Mach4 General Discussion / Re: Lua Macro Parameters
« on: February 25, 2017, 04:44:23 PM »
Steve, thanks for taking time to look at this.

I understand your method and will implement that way of doing this.

But I would like to understand why the failure occurs doing the way I have it so I don't replicate spending 6 hours trying to find an error.

If I understand you, the mcExecuteScript is only to be used with modules? 

Could you point me to where I can study up on what and how to make and use modules?

TIA

RT

487
If you change the amount of movement per jog, say from .01 to .1 or from .1 to 1 does the speed change?

if so, as a Test, change your acceleration setting on one of the axis and see if that is limiting the pendant speed.

488
If I read your question correctly go to the Jog flyout (tab key)
Look and see what the slow jog rate % is set at.

HTH

RT

489
Mach4 General Discussion / Re: Lua Macro Parameters
« on: February 25, 2017, 01:37:09 PM »
Newest wrinkle

From the MDI or Gcode file:

m6691                          runs as expected
m6691 d.9200               passes variable d and runs as expected

From a button left up script

mc.mcScriptExecute(0,'m6691.mcs',false)  locks up Mach4 gui

if it runs from the MDI and gcode file why not from a button call event?

I tested another macro m6692.mcs which contained only a wx.wxMessageBox('Hello') in the function call and it ran from the button.

I am missing some basic concept

RT

490
Mach4 General Discussion / Re: Lua Macro Parameters
« on: February 24, 2017, 07:57:44 PM »
Fresh restart of Mach4
Went old school and started a new macro and copied, pasted and tested line by line and it works. 

Either multiple failures confused Mach4 or the editor inserted an invisible character that didn't get copied.

Just another learning experience

RT