Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: rbrintle on December 28, 2014, 01:52:08 PM
-
hi , im getting ready to use mach3 and pmdx breakout board on waterjet , setup process already started , but am confused on 1 thing ,i need 2 screen buttons on screen to turn water on/off and abrasive on/off . i can get buttons and leds like i need but how do i associate them with a m-code to send output signal to board to activate relays as needed , also need to be able to use button on screen manually .
thanks
r brintle
-
first assign output# in ports and pin output. then using menu Operator- VB script editor create file in mach3-macros with extention .m1s Use M101 and further. for example M101 to turn on water ,M102 to turn off water etc. the script will go like Activate signal(1) and Deactivate signal(1)
Now y
-
sorry,
Now you can assign button on screen with Run VB script in screen designer.