Hello Guest it is April 19, 2024, 08:20:40 AM

Author Topic: Probing on new Mach 4 screens  (Read 8126 times)

0 Members and 1 Guest are viewing this topic.

Offline Pedio

*
  •  200 200
    • View Profile
Probing on new Mach 4 screens
« on: August 29, 2015, 01:42:21 PM »
Maybe I am just being dense  ??? but I can't seem to get the probing to work on the new Mach 4. I can get a G31 command entered into the MDI to work. It moves down and when I ground the probe it stops. Thoughts about what I am doing wrong. I would love to get the auto tool touch off working.

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #1 on: August 29, 2015, 08:37:28 PM »
have set it up, button to the right of auto home button. auto tool setting`s

Offline Pedio

*
  •  200 200
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #2 on: August 29, 2015, 09:17:13 PM »
I have tried. Not sure what the Gcode setting is for. I typed in 31 thinking that a G31 probe is what is called for. Any thoughts or a screen shot of a sample set up would be appreciated.

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #3 on: August 29, 2015, 09:32:50 PM »
I have not had time to test it my self try G31 it shows in the .ini file what you set it to

Offline Pedio

*
  •  200 200
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #4 on: August 30, 2015, 01:26:31 PM »
Tried entering G31 into the setup box. Nothing happened...   thoughts?

Offline Pedio

*
  •  200 200
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #5 on: September 01, 2015, 08:11:58 AM »
Has anyone made autotool touch off work on these new screens? I would like to know if I should keep trying or wait for the next release.

Offline Bx3mE

*
  •  68 68
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #6 on: October 24, 2015, 06:32:10 PM »
I am also having issues with this. ( And a lot of other stuff :D )

I made g31 work by double inverting the probe signal once in ESS plugin and once in Mach Config then g31 worked - guess two wrongs do make a right :D

Now i have red through the lua script and it seems all good and also the screen setup. but for me M4 says "No scripting engine found for C:\Mach4.......\mcProbing.lua" when debugging same for mcAutoTool.lua

So scripting engine seems to be the bad guy for now - still investigating....

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #7 on: October 24, 2015, 06:54:20 PM »
check your plugins and make sure you have the lua plugin activated.

DazTheGas
New For 2022 - Instagram: dazthegas

Offline Bx3mE

*
  •  68 68
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #8 on: October 25, 2015, 05:11:49 AM »
Yep found it! Now i have the script running but no movement. When i run the debugger it says:

Failed reading from the debugger socket. Debugger wxLUASOCKET_DEBUGGEE_EVENT_ERROR
Got a socket error trying to read. Address '172.17.2.159'. Port 62704.
Got a socket error trying to read. Address '172.17.2.159'. Port 62704.

for the mcAutoTool.lua

and

At Breakpoint line: 7 file: C:\Mach4Hobby\Profiles\Mach4Mill\Macros\m7001.mcs
mcLua ERROR: Lua: Error while running chunk
[string "C:\Mach4Hobby\Profiles\Mach4Mill\Macros\m7001..."]:7: attempt to index global 'mm' (a nil value)
stack traceback:
   [string "C:\Mach4Hobby\Profiles\Mach4Mill\Macros\m7001..."]:7: in function 'm7001'
   [string "C:\Mach4Hobby\Profiles\Mach4Mill\Macros\m7001..."]:17: in main chunk


mcLua ERROR: Lua: Error while running chunk

What am i doing wrong?

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Probing on new Mach 4 screens
« Reply #9 on: October 25, 2015, 05:49:04 AM »
I see your trying to run the autotool script from the modules directory, unfortunately this will not work, if you look in your screen load script within the screen editor you will see that before the autotool loads it loads another file called mastermodule, this holds the mm commands.

DazTheGas
New For 2022 - Instagram: dazthegas