Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: fixittt on April 09, 2014, 05:09:51 PM

Title: Adding a "M" code to trigger an air supply.
Post by: fixittt on April 09, 2014, 05:09:51 PM
Can someone help me with this?  I know nothing about VB scritping.
I want to add an output relay, have that relay M code driven.  So that I can toggle the compressed air that my spindle requires.  Mainly I want to be able to have the relay turn the air supply off at the end of a run so the air compressor will not constantly run.
On the Haas minimill, a M51 will do this.

Thanks.