Hello Guest it is October 03, 2023, 05:39:17 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

Mach4 General Discussion / Update error
« on: November 02, 2017, 06:50:07 PM »
Today I decided to update Mach4 to the latest build on the PMDX site, Build3481

After downloading and installing the new build I imported the lathe profile package I created just prior to installation.  After answering yes to about 25 windows asking me if I wanted to overwrite files the screen load script ran and then I got the following error window.

I don't know what caused it or how to fix it.

Any help greatly appreciated 

Mach4 General Discussion / sms to phone
« on: October 31, 2017, 11:56:17 AM »
I would like to be notified when a script is complete by sending a SMS text message to my cell phone.
Has anyone successfully been able to do this with Mach4?  I found this snippet from the web but I get an error message:
Got a socket error trying to read. Address ''. Port 52181

-- load the smtp support
local sckt = require("socket.smtp")

-- Connects to server "localhost" and sends a message to users
from = "<luasocket@example.com>"

rcpt = {

mesgt = {
  headers = {
    to = "Ralph Tuttle <myPhoneNumberHere@vtext.com>",
    subject = "CNC Lathe Task Complete"
  body = "CNC Lathe Task Complete, body"

r, e = sckt.send{
  from = from,
  rcpt = rcpt,
  source = smtp.message(mesgt)



General Mach Discussion / Re: Z-Axis stuck in radius.
« on: May 19, 2017, 01:34:41 PM »
Does doubling your steps per unit solve the problem?

My bad, I didn't see the two .. appending the file name, thought it was a comment.

If you were to open a file, say a G code file or a macro file for editing, and then tried to run your function, wouldn't the current directory be where that last file was located. 

wouldn't mc.mcCntlGetMachDir and mc.mcProfileGetName be a surer way to get where you want?

Not sure what you are doing but maybe


I am not a Lua expert so take this with a grain of salt.

It appears that wxGetCwd() returns the current working directory, not a file.  Wouldn't your io.open have to append the file name to CSVPath?


Mach4 General Discussion / Re: help text
« on: May 01, 2017, 12:06:51 PM »
Those function calls are defined in one of the lua modules.  for example on the probing tab for mill the help? button for measure X has a function called SingleSurfHelp(), which is defined in mcProbing.lua



Mach4 General Discussion / Re: Mach4lathe - Not ready for prime time
« on: April 28, 2017, 09:45:32 AM »

from your 2/26/17 email:

"So, we will check and verify the code you showed on the video, but because of the nature of this problem I'm already 99.99% sure that it will be not a UC100 plugin, but a Mach4 bug."

My video showed it on a lathe so I don't know how I "did not clearly tell" you that it was Mach4lathe.  So I went on the forum to get help from the user community but no one else has UC100 running Mach4lathe or if they do they don't answer on this forum.  

My response on 2/28/17
"Have you had a chance to test this yet?  It runs fine in Mach4 using Simulation as motion device.  Would be good to know that you can actually run it on a real lathe under Mach4 and the UC100."

from your 2/28/17 email response:
"after I've noticed that you mentioning Mach4lathe and not the mill version and as far as I know we've only tested our plugin and made the development with the mill version only"

from your forum post 2/28/17:
"So, the important thing is that the UC100 will not work with Mach4lathe at the moment, it works only with the Mach4mill, so please do not buy a UC100 if you want to use Mach4lathe, because it currently can't cut threads with Mach4, so it is yet useless with Mach4lathe."

I received no further communication from you that you had fixed the G83 problem.  Hmmm.  So I bought the PMDX 411.

Rob from NFS forum reply:
"Also, I tested your G code and it ran flawlessly under Sim and Galil.  I wish I had a uc100 to test with, but I don't"  

It would seem to be a good business practice for you hardware vendors to provide NFS with your hardware so they can test these kinds of issues?

A lathe without threading capabilities is like a blind man, there are many things that he can still do but he can only read books in braile.

One of the first things that I did after buying the PMDX 411 is cut an internal 27 by 1.5 mm thread to mount a timing gear to my lathe spindle, worked flawlessly.  Mach4 did not collapse to its knees.

I contribute to these forums when I feel I have the knowledge to help others and have received help here as well. I try to do it with humor, be helpful and polite. I always assume when there is a problem that I am making a mistake.  When I can't figure it out I try to find another forum member who can verify that is/isn't my problem.  Then I go to the vendor and ask them if they can duplicate the problem.  Only when they say "it's not our problem" or I don't get a response at all from them, that I go public like this.  


Mach4 General Discussion / Re: Mach4lathe - Not ready for prime time
« on: April 27, 2017, 05:34:15 PM »
PMDX new plugin, version 0.51.252, fixes the G31 problem, thanks.

Mach4 General Discussion / Re: Mach4lathe - Not ready for prime time
« on: April 27, 2017, 01:33:15 PM »
I have checked my email and spam folders and there has been no emails from you personally or from PMDX.  The last entry in the announcements forum is dated January 6, 2017.  My last post on the PMDX forum regarding this issue was April 20th.

I will down load, install and test the new plugin and report back both here and on the PMDX forum the results.