Hello Guest it is March 28, 2024, 06:52:41 PM

Author Topic: Force Homing on startup  (Read 2844 times)

0 Members and 1 Guest are viewing this topic.

Force Homing on startup
« on: July 10, 2017, 11:53:16 AM »
I'd like Mach 3 to only initially come out of reset when you push my custom Homing Cycle VB button when Mach 3 first loads. I'm doing this as I'm running soft limits, and want to ensure the user homes the machine every time. Can I create a global variable, such as Homing_Cycle_Complete = false, that keeps Mach in Reset (until a homing cycle is completed)? How would I go about this. I'm new to VB coding for Mach, but not new to coding in general.

Thanks in advance!
Re: Force Homing on startup
« Reply #1 on: July 13, 2017, 07:49:14 PM »
Figured it out. I wrote a macro (with the homing script and a dialog box) called M555. This macro is called as part of Mach 3's initialization script. Job done.
Re: Force Homing on startup
« Reply #2 on: October 04, 2017, 07:24:39 AM »
How it's done? Could you please enlight me ?