Hello Guest it is March 02, 2021, 06:59:51 PM

Author Topic: Mach 4 Probing issue - "Can't transition from MDI running to stop."  (Read 2962 times)

0 Members and 1 Guest are viewing this topic.

So I have been trying to setup probing with Mach 4 using a contact probe, but I cannot even get the calibration routines to complete without getting the error message: "Can't transition from MDI running to stop." I am using a probe from drewtronics (https://drewtronics.org/s5000led) and a PMDX-424 board on a retrofitted Bridgeport M-Head. I have confirmed that Mach 4 is seeing the probe, as the indicator on the touch module does trigger when I contact something with the probe. The probe itself also has an LED indicator that turns on when contacting something. I am seeing this behavior in both the touch module and the probing screen set. Anyone else run into this problem?
Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #1 on: June 25, 2018, 03:43:28 PM »
Try changing your plunge rate when driving down to probe. Make it real slow to start with and if its already really slow make it a tiny bit faster. I had this problem ages ago. Pretty sure this fixed it. Let us know how you go.
Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #2 on: June 26, 2018, 08:05:57 AM »
I had some minor success. I tried setting the fast feed to 2 ipm and the slow feed to 1 ipm, as suggested, but still got the "Can't transition from MDI running to stop." message. I then tried the other extreme, fast feed at 50 ipm and slow feed at 45 ipm. With the faster values I was able to get the xy calibration cycle and the probe radius cycle to complete successfully and repeatably. I then tried playing around with the other probing screens and had success with bore probing, but back to the same "Can't transition from MDI running to stop." problem on corner finding. Does anyone have insight to why probing is so sensitive to feed rate during probing?
Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #3 on: June 26, 2018, 10:15:17 AM »
There are issues with how Mach4 and PMDX SmartBOBs interact when using the Mach4 built in probing routines.

Could you try running a G31 probe cycle by itself using MDI?

Please contact PMDX directly by email. We have a BETA plugin that is not in general release and would like you to test with it.
Steve Stallings
www.PMDX.com
For PMDX product support, please use PMDX forum or direct email for quickest response. We do not use this forum as our primary product support site.
Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #4 on: June 26, 2018, 01:09:08 PM »
Thanks for your reply Steve. Email sent to PMDX support. I will try a standard G31 probe cycle when I am at the machine tonight.
Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #5 on: June 27, 2018, 01:18:42 PM »
Im seeing similar behavior with a G31 sent via MDI. When running these from MDI it will do one of three things:
1) Probe successfully and halt motion when the probe contacts the part. Motors remain enabled.
2) Fail to probe and issue "cant transition from MDI running to stop" message.
3) seemingly probe successfully, but motors are disabled after probing cycle. Mach 4 reports that a limit switch is triggered and disables the outputs. The limit that it is reporting is one that I have my motor faults hooked up to. This fault output is triggered whenever motors are disabled though, so I am unsure if the motors are causing the disabling, or if the disabling of the motors is causing the limit.
Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #6 on: August 17, 2018, 10:37:26 PM »
I am having this issue with the PoKEYS57CNC board.  Sometimes it works correctly, but I am unable to duplicate it 2 times in a row.  Sometimes I get the MDI RUNNING to STOP error, and sometimes it blows right through and breaks the bit before it stops with the error message. I am using metric measurements with the folowing settings, 100 probe rate, Retract 2.54, 500 prep feed rate, 2.5 prep distance, Tool Diameter 2.4, Touch Plate Height 10.  Build 3804
- Robert Beaubien
- Drone Plastics
-
“Dear Algebra, Please stop asking us to find your X.  She's never coming back and don't ask Y.”
Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #7 on: August 18, 2018, 04:56:10 AM »
Ok, I solved the problem with the MDI RUNNING.... error.  I changed the wxMilliSleep command on Line 90 in mcTouchOff.lua  to
wx.wxMilliSleep(70)

I think its trying to check too fast at 20ms.  70ms seems to work well.  This is probably CPU performance based.  As long as the probe speed isn't too high the slower test speed should do well.  At 80mm/min, that is < .1mm @ 70ms.
« Last Edit: August 18, 2018, 05:03:00 AM by RBeaubien »
- Robert Beaubien
- Drone Plastics
-
“Dear Algebra, Please stop asking us to find your X.  She's never coming back and don't ask Y.”
Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #8 on: September 03, 2018, 03:36:56 PM »
I am having similar issues with my setup. It is a PMDX-424 and Mach4 with latest build 3804.
I think that I corrected the  "Can't transition from MDI running to stop" issue by adjusting the wx.milliSleep value to 70. However, now I'm getting a touch, retract, set tool1 offset and then a LUA error. (see below)
Any thoughts?
Thanks


Mach4 History readout:

Z axis is performing a touch move.
Z axis is moving to a requested machine position.
Tool 1 Height Offset Set: -19.7255
Lua: Error while running chunk C:\Mach4Hobby/Modules/mcTouchOff.lua:1178: attempt to compare nil with number stack traceback: C:\Mach4Hobby/Modules/mcTouchOff.lua:1178: in function 'frameMainOnUpdateUI'
       C:\Mach4Hobby/Modules/mcTouchOff.lua:912: in function <C:\Mach4Hobby/Modules/mcTouchOff.lua:911>



Re: Mach 4 Probing issue - "Can't transition from MDI running to stop."
« Reply #9 on: September 10, 2018, 05:00:47 PM »
Hello RGUERI1, that issue was found in fixed in build 3805, please update and let me know if this addresses your issue, best regards Jim.