Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Robotintheforest on July 14, 2017, 10:31:54 AM
-
Hi, I have searched a lot for some sort of answer to this but haven't found any solutions yet. When I use RefCombination in my RefAllHome script it refs the axis's but I have to hit the reset button after to get mach to do anything else. I have tried various combinations of RefCombination and DoButton on three different computers with the same results. What I am wanting is to do:
Refcombination(15) 'Ref all 4 axis simultaneously'
Code "G28"
but mach won't run the G28 and I have to reset before any other macros (eg auto zero) will work.
If I use DoButton for each axis the G28 at the end runs fine.
I have tried in both the 1024 and 2010 screensets with the same results
Any help is greatly appreciated.
-
Are you using a chinese motion controller?
-
No I am using this Chinese parallel port breakout board from Longs Motor. It came with my motor kit.
http://www.ebay.ca/itm/6-Axis-DB25-Breakout-Board-Interface-Adapter-DB25-Cable-/301160481180
-
What version of Mach3 are you using?
Try RefCombination(15)
While IsMoving()
Wend
Code "G28"
While IsMoving()
Wend
-
I am using the latest version on the website, that code did not change anything for me, mach still hangs and needs to be reset, no other buttons work after refall until I reset and if I run the script in the editor it crashes mach and I have to do a hard shutdown of my PC. This problem is also consistent across three different PC's I have used with my machine over the last two months (1st one died, 2nd held me over for a week, 3rd installed a few days ago.)
-
Try using version 3.043.062.
The version on the website is known to be very buggy for some people.
If that doesn't help, I don't have an answer for you. RefCombination has always worked fine for me.
-
Try using version 3.043.062.
That worked! Sorry it took me a while to dive in and do the install and setup but I finally did it this morning and everything is working perfectly. Thanks for your help!