Hello Guest it is April 27, 2024, 01:06:50 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

331
Mach4 General Discussion / G91 - Lathe
« on: January 30, 2018, 04:23:24 PM »
Since lathe doesn't have a g91 you swap letters for relative moves
x ->u
y->v
z->w
a->?
b->?
c->h?

Anyone know the abc for sure?

TIA

RT

332
Mach4 General Discussion / Re: Lathe Tool Table Setting Tools Help
« on: January 30, 2018, 11:23:25 AM »
As a Quick test issue a t0202 then a t0203 and watch the dros change to the new offsets and the current offset change to 3 and the current tool stay at 2.

HTH

RT

333
Mach4 General Discussion / Re: Lathe 'Set X Offset'
« on: January 29, 2018, 10:24:14 AM »
FYI,  The Set X and Set Z offset buttons DO change the active tool offsets.  If you have the tool table open it will not show the change until you close it and reopen the tool table. 

RT

334
Mach4 General Discussion / Re: Lathe Fixture offsets
« on: January 27, 2018, 10:14:31 PM »
Ok thanks Rich, that makes sense.  Do you just put the g5x.x in your code?  As you can tell I'm not a machinist but working hard to learn as much as I can.  Your willingness to share your knowledge is greatly appreciated.

Rt

335
Mach4 General Discussion / Lathe 'Set X Offset'
« on: January 27, 2018, 07:56:36 PM »
What offsets are being affected by 'Set X Offset' or 'Set Z Offset' buttons when using Mach4 lathe?  I only see the x and z dros being changed and nothing in the tool table or fixture table.

When reading about setting up the tool table some of the posts reference setting fixture offsets.  How do fixture offsets affect tool table settings?

TIA

RT

336
Mach4 General Discussion / Lathe Fixture offsets
« on: January 27, 2018, 07:53:21 PM »
Could someone explain when you would use fixture offsets with a lathe?

TIA

RT

337
Dude1, As a pre-release licensee of Mach4 I am 'entitled' to an industrial license but then I just have to learn another language :-\  Maybe someday when I get to fully retire  :D

cbyrd, I've watched that video multiple times and it is very well done.

Brett, I never looked at that module before and as a non mill user I didn't see the 'Touch' button.  Very nice code and example of how to create and use a LUA UI.  Sure wish that had been ported to the wxLathe screenset  ;)

However, I think you all missed my main point.  I'm not just looking for a solution(smurph's plc 'state' paradigm is the most likely path), i'm looking to understand how the mcProbing.lua module gets by without using the PLC or coroutines and uses multiple mcCntlGcodeExecuteWait commands without locking the GUI.

TIA

RT

PS.  Why oh why is there not a mc.ISIG_ISPROBING signal?

338
I have just spent the better part of a day examining the probing wizard and the mcProbing.lua file.  I have monitored and searched the many posts regarding both probing, g31 calls and locked GUIs.  I have used coroutines in a homing button script because there was a mcAxisHomeComplete that I could loop on.  

With regards to g31 calls, there seems to be no equivalent api function, ISIG, register or poundvar that you can poll to find out if it has finished moving.  There is a thread by Smurph that talks about using a plc script to monitor a register variable that seems viable.  

Did I miss an API, ISIG or some other method of determinig that a g31 call has completed, not whether it struck but whether it has completed its move? isStill and isInCycle don't work during a probe.

After going through the probing wizard buttons, the mcProbing.lua and mcMasterModule.lua functions I found no coroutines, no use of the PLC wait nor any reading or setting of registers.  Just successive calls to mcCntlGcodeExecuteWait...and it does not lock up the screen.

When I call a 'substantially' similar routine in a module I created, I get a locked screen until the module function finishes its mcCntlGcodeExecuteWait.

Any help?

TIA

RT




339
Mach4 General Discussion / Probe wizard on Lathe
« on: January 25, 2018, 05:44:30 PM »
I exported the probe tab in the mill screenset and imported it into the lathe screenset. Filled in the settings and ran a Z single surface probe. I get an error message 'Unknown GCode used'.

Is there a gcode being issued that is only applicable to mill usage?

TIA

RT

340
Mach4 General Discussion / Lathe probing screen
« on: January 25, 2018, 11:21:43 AM »
Has anyone ported the probing from mill to Lathe? 

Modified it so that makes sense for a lathe?

I know how to export the page from mill screenset and import it to lathe screenset but was hoping someone else would like to share their hard work and save me a lot of time  ;D

TIA

RT