Welcome, Guest. Please login or register.
Did you miss your activation email?
July 24, 2017, 01:48:27 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Force Homing on startup
Pages: 1   Go Down
Print
Author Topic: Force Homing on startup  (Read 249 times)
0 Members and 1 Guest are viewing this topic.
garetbiglow
Active Member

Offline Offline

Posts: 8


View Profile
« on: July 10, 2017, 10: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!
Logged
garetbiglow
Active Member

Offline Offline

Posts: 8


View Profile
« Reply #1 on: July 13, 2017, 06: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.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!