Hello Guest it is October 19, 2019, 04:34:52 AM

Author Topic: REF ALL HOME script differences  (Read 2447 times)

0 Members and 1 Guest are viewing this topic.

REF ALL HOME script differences
« on: March 09, 2010, 05:29:54 PM »
I'm new to Mach3 and CNC, and we hit the following specific issue.

I noticed that the scripts to the buttons "REF ALL HOME" are different on various pages.
On the PROGRAM RUN screen the script reads:
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
DoOEMButton(133)
DoOEMButton(134)
DoOEMButton(135)

On the MDI screen and the OFFSET screens the scripts read:
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

Why are they different? Is there meaning or is it just a bug or relict?

Our mill does not have encoders (133-135).

Thank you.
Peter

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: REF ALL HOME script differences
« Reply #1 on: March 09, 2010, 05:39:02 PM »
The encoder stuff seems to have been added recently, not sure why really but I suspect it was just Brian had been working on it for some reason and added it to the button and then when he posted a new version he had that screen in the build.
 Wont cause any problems if you dont have encoders but you could delete the encoder code if you wished and that to would do no harm.
Hood