Hello Guest it is April 19, 2024, 09:47:59 AM

Author Topic: Adding a "M" code to trigger an air supply.  (Read 1905 times)

0 Members and 1 Guest are viewing this topic.

Adding a "M" code to trigger an air supply.
« 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.