Hello Guest it is December 08, 2019, 06:20:21 PM

Author Topic: Mach4 Hobby Autotouchplate function  (Read 663 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach4 Hobby Autotouchplate function
« Reply #10 on: March 27, 2019, 08:04:05 AM »
Update, received responce from CNC ROUTER PARTS! I have tried this all seems to work. Did get and error on the conclusion of zeroing, however when I entered the MDI G0 x0 y0 z0 it went right to the corner that I zero'd.

Thanks to CNC Router Parts for the Help.

We aren't officially supporting Mach4 yet but this will allow use of our touch plate in the interim. Instructions for installation and use are below.

1. In the C:/Mach4Hobby/Modules folder, there is a file named mcTouchOff.lua. Rename this to mcTouchOff.lua.bak so there is a backup of the original file.

2. Download the attached mcTouchOff.lua file and place in the C:/Mach4Hobby/Modules folder

3. Start Mach4, open the Touch GUI ("Touch" button)

Notes for use:
-In the "Settings/Options" column, those options not applicable for CNCRP's touch plate have been disabled. The Touch Plate Height should be set to 1.
-Under "Functions" the Center and Angle buttons are disabled as they are also not applicable for our touch plate.
-The "Z Only" and corner buttons work as they do in Mach3.
-To use the edge buttons (Top, Bottom, Left, & Right), set the touch plate against the work piece. Pressing the button, it will first probe in the Z direction (but WILL NOT set Z height, it's only used to position the tool for the next probe move) and then probe in the X (for Left / Right) or Y (for Top / Bottom) direction.

Let us know how this goes for you.
Best regards,

Kerri L.  |   Sales and Support


Thanks for the Support,
Larry
Re: Mach4 Hobby Autotouchplate function
« Reply #11 on: March 27, 2019, 08:41:21 AM »
Didn't see the mc.touchoff.lua, so I'll have another go at it. You will need to rename file.

Good Luck,
Larry

Offline Chaoticone

*
  • *
  •  5,633 5,633
  • Precision Chaos
    • View Profile
Re: Mach4 Hobby Autotouchplate function
« Reply #12 on: March 27, 2019, 10:33:07 AM »
Way to go CNC ROUTER PARTS!  :)

This is using it exactly the way it was intended to be used. Well, with one tiny flaw. If you customize a module (or anything that ships with Mach, especially screens and profiles) it should not be the same name as default. If it is when Mach is updated the installer will overwrite the customized module and the user will wonder what broke it.
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Mach4 Hobby Autotouchplate function
« Reply #13 on: March 28, 2019, 11:03:41 AM »
Yup, very good point about renaming the file! Just make sure to edit the button script with the new module name.

Larry- That error message you saw was most likely because that final Z retract move was done with a G31 probing command. The error message was just telling you there was no probe strike.
Re: Mach4 Hobby Autotouchplate function
« Reply #14 on: March 28, 2019, 03:30:57 PM »
Works perfectly for me.