Hello Guest it is April 20, 2024, 04:11:43 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

211
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

212
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


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

214
Mach4 General Discussion / Loop Counter
« on: April 29, 2019, 01:43:32 PM »
When you run a subprogram (i.e. m98 p1234 L10) is there a register or other accessible variable that can be accessed to display the current loop number, the number of loops left and number of loops requested?

TIA

RT

215
Mach4 General Discussion / Re: 3 position toggle button
« on: April 13, 2019, 12:15:19 PM »
My initial approach would be to use a regular button and on the LeftUp script I would check the label:
If scr.getProperty("MyBtnName","Label")=="ON" then
  scr.setProperty("MyBtnName","Label","OFF")
  set a register or send a signal and or change the background color or call a function
else If scr.getProperty("MyBtnName","Label")=="OFF" then
  scr.setProperty("MyBtnName","Label","AUTO")
  set a register or send a signal and or change the background color or call a function
else If scr.getProperty("MyBtnName","Label")=="AUTO" then
   scr.setProperty("MyBtnName","Label","ON")
  set a register or send a signal and or change the background color or call a function
end

Haven't done any LUA programming lately so you would have to check the above syntax for errors.

HTH

RT

216
General Mach Discussion / Re: Mach3: Expose APIs from Mach4.Document
« on: April 10, 2019, 12:29:39 PM »
It's been many years since I developed my Mach3 COM wrapper.  I was using Delphi which is object pascal.

https://www.machsupport.com/forum/index.php?topic=32144.0

 I have attached another pascal file (renamed .txt for upload).  I think you could rewrite it to C++ fairly easily.


HTH

RT

217
Mach4 General Discussion / Re: Turn Cycles - Taper
« on: March 14, 2019, 10:04:44 AM »
Seriously!!?? I looked at that graphic over and over and over and yet missed the Xi and Xf placement.  Sorry for being so dense.  thanks

RT

218
Mach4 General Discussion / Turn Cycles - Taper
« on: March 13, 2019, 04:04:23 PM »
Trying to turn a morse 2 taper using the turn Cycles Taper Cycle.  I thought I could just enter .375 for Xi, .5 for Xf and  1.4307 for the angle and it would determine the z Distance.  I an't find any combination of buttons, purple square looks right but I get the "IDOD dimensions for X don't match" message.

Anyone know how this is supposed to be done using taper cycles?

Can't find any documentation.

TIA

RT

219
Mach4 General Discussion / Re: pmdx411 cannot communicate with device
« on: March 13, 2019, 03:34:52 PM »
Just wanted to update.  Got the ferrite cores and installed per Steve's direction and that solved the problem.

Thank you!!

RT

220
Thanks for sharing.  It is always nice to have a piece of working code that others can adapt or extend.

RT