Machsupport Forum

Mach Discussion => Mach Screens => Screen designer tips and tutorials => Topic started by: jeff johnson on January 14, 2014, 01:50:43 PM

Title: How to turn On/Off Router and Vac.
Post by: jeff johnson on January 14, 2014, 01:50:43 PM
I have been trying to set up a custom screen, but am having a lot of trouble. I understand kind of the screen 4 program, but I am dead lost on how to actually program buttons to do certain things. I would appreciate some help or a push in the right direction. I want to re edit a button from the blue probe screen to turn on or off my router and shop vac. Right now I have them as M3-router and M7-vac. Could someone please help? Thanks.
Title: Re: How to turn On/Off Router and Vac.
Post by: ger21 on January 14, 2014, 05:54:59 PM
Assign the code M3 to the router button, and M7 to the vac button.
Then just make sure you have the appropriate outputs configured on the Ports and Pins, Spindle tab in Mach3.
Title: Re: How to turn On/Off Router and Vac.
Post by: jeff johnson on January 14, 2014, 09:15:31 PM
That's just it....I don't have a clue how to assign the M3 and M7 codes ? Is it an OEM code ?
Title: Re: How to turn On/Off Router and Vac.
Post by: ger21 on January 14, 2014, 09:37:30 PM
It's a G-Code.

In Screen4 open the button properties (double click the button, or right click an image button), select G-Code, and type M3