Hello Guest it is April 24, 2024, 01:55:31 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 - crchisholm

Pages: « 1 2 3 4 5 6 7 8 »
11
Mach4 General Discussion / Re: touch probe function question
« on: July 12, 2019, 06:52:24 PM »
As far as bounce is concerned, I am just using a simple plate and an aligator clip on the bit.  Not sure how I could do anything directly with bounce in that arrangement. 

As far as retract distance, I am trying to retract 5mm.  Is that not enough?

I figured out that two thirds of the file was image data.  I was not completely sure what is the main function that pulls it all together.  i will give it another look, but from what you're telling me, it sounds line a timing issue more than anything.  Am I wrong?   Without knowing the code very well, is it possible that there could be a place in the functions that I might add a 100 ms delay to let any bounce settle down?  (not even sure if lua has a delay function) If so, which function should I be looking at to place a delay into.

12
Mach4 General Discussion / Re: touch probe function question
« on: July 12, 2019, 12:49:28 PM »
Got it.  Mach support never got back to me on my ticket request.  I will try again and this time attach the log file from my most recent attempt to probe Z

13
Mach4 General Discussion / Re: touch probe function question
« on: July 12, 2019, 07:28:53 AM »
Thank you!

14
Mach4 General Discussion / Re: touch probe function question
« on: July 11, 2019, 03:17:08 PM »
Actually, I don't have a clue about log files.  Probably should.  How do generate and view them.  I van look it up later. But if you can give me a nudge in the right direction I would appreciate it.

15
Mach4 General Discussion / Re: touch probe function question
« on: July 10, 2019, 07:18:32 PM »
I too am running ESS over CAT5.   Gecko for the drivers.  Are you able to probe Z now?  If so, does it retract after touch?

I wonder if there is a problem with the hobby version of M4?  I can’t figure out why it does not work like the video shows in the tut.  I have a question into support, but thus far, no response.


16
Mach4 General Discussion / Re: touch probe function question
« on: July 10, 2019, 02:49:51 PM »
Ok, after looking at lua and the module for probing the Z axis, I might have a better idea of how this stuff is setup......but, this is a bit aggravating.  I am a retired developer and quite frankly,  I am in no hurry to get back into programming, especially with a quarter meg code file that is a new language to me.

The video tutorial shows z probing working exactly as I need.  Probe makes contact, stops and retracts, and sets the z at the proper height (as configured).  It appears that is the standard behavior.  Yet with me, it seems to stop cold on touching the plate.  I am convinced that if all the correct values have been provided it would do what I ask for...probe, retract, and set the z height.

Am I nuts?  ... or is there something missing.


17
Mach4 General Discussion / Re: touch probe function question
« on: July 07, 2019, 12:55:59 PM »
Well, my wife tells me i'm a "real character"....so maybe that gives me a leg up.

18
Mach4 General Discussion / Re: touch probe function question
« on: July 07, 2019, 10:59:42 AM »
Opps...never mind.  I found it.  Not sure why win7 search didn't find it.

Ok, now I think the "Enjoy" was tong-in-cheek.   Holy mackral! 140+pages?  I bit more than I expected for my first toe in the LUA water.   

Is this code actually what is running when I click the "touch" button?  So, if I modify this code, it should effect what happens when I click the "touch"?

 

19
Mach4 General Discussion / Re: touch probe function question
« on: July 07, 2019, 10:33:08 AM »
its in the Mach4Hobby/modules directory called mcTouchOff.lua, all 292k of it. Enjoy!

I do not seem to have any *.lua files on my mach4 computer at all.  There are several *.mcs files.  Could it be that these are the same as the *.lua files?

Also, I found that i do not have ANY files named "mcTouchOff"  regardless of the extension.

I watched the tutorial video again and they show the touch module behaving exactly as I need, but that does not happen on my instance.  everything stops when the touch plate is touched.  Also, sometimes (not consistently), the "disable" button is triggered.

Everything else, a far as I can tell, works exactly as I would expect.

20
Mach4 General Discussion / Re: touch probe function question
« on: July 06, 2019, 07:05:11 PM »
Actually, that is exactly what I am looking for.  I tried to look at the code behind the “touch” button, but so far I don’t know enough to find it.  I will continue to look.  Also, I assume that the values in the retract and offset fields are stored in variables somewhere in code, so I need to find them as well.  Any hint you might offer to find this stuff might help me get off the starting blocks.

Thanks
Charlie

Pages: « 1 2 3 4 5 6 7 8 »