Probe Response Delay Mach3

Moderators: TomKerekes, dynomotion

macona
Posts: 39
Joined: Tue Sep 15, 2020 4:44 am

Re: Probe Response Delay Mach3

Post by macona » Tue Jul 06, 2021 10:54 pm

What about just being able to disable the start button until the MPG program finishes?

Im still running 433, the computer that it is running on is not happy running Windows 7 so I need to scrounge up a newer PC I can transfer everything to and update.

-Jerry

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: Probe Response Delay Mach3

Post by TomKerekes » Wed Jul 07, 2021 1:04 am

Hi Jerry,
What about just being able to disable the start button until the MPG program finishes?
I don't know how to disable the Mach3 Start button. Do you?
Regards,

Tom Kerekes
Dynomotion, Inc.

macona
Posts: 39
Joined: Tue Sep 15, 2020 4:44 am

Re: Probe Response Delay Mach3

Post by macona » Wed Jul 07, 2021 1:36 am

I was thinking of to just not responding to the start command from Mach? I really dont know how the two communicate.

Ill try messing with the FINAL_TIME setting. If that there just to deal with decel times?

-Jerry

macona
Posts: 39
Joined: Tue Sep 15, 2020 4:44 am

Re: Probe Response Delay Mach3

Post by macona » Wed Jul 07, 2021 2:17 am

Changing the time setting seems to have resolved the issue, I have yet to get it to do what it was doing.

Now for the probe detect issue. I wasn't quite sure which variable I should be printing so I did this:

printf("Error Status = %f\n", PROBE_ERROR_HANDLING);

And it just always reports 0

Well and a bunch of zeros because I didnt remove the floating point.

-Jerry

macona
Posts: 39
Joined: Tue Sep 15, 2020 4:44 am

Re: Probe Response Delay Mach3

Post by macona » Wed Jul 07, 2021 2:48 am

OK, that was not the variable to look at. LOL

I did this instead: printf("Error Status = %f\n", flag);

And now it works. I dont know why, if the probe is already active I get the probe active error in mach. No clue what happened.

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: Probe Response Delay Mach3

Post by TomKerekes » Wed Jul 07, 2021 2:00 pm

Strange. Use %d to print integer variables instead of %f to print floating point numbers (float or double).
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply