Hello Guest it is April 18, 2024, 07:57:45 PM

Author Topic: Creating M-Code to activate Outputs  (Read 3269 times)

0 Members and 1 Guest are viewing this topic.

Re: Creating M-Code to activate Outputs
« Reply #20 on: August 10, 2019, 03:59:21 PM »
Awesome... It works Thank you

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Creating M-Code to activate Outputs
« Reply #21 on: August 10, 2019, 04:17:38 PM »
If all you want to do is to turn on and off an output from G Code, you should try using M64 and M65 
Look on page 60 of the Mach4 G Code programming manual for mill and router style machines.   
M64 P2   this will turn on output 2
M65 P2   this will turn off output 2

Yup, that is what I was talking about earlier. Forgot they ended up being rolled into Mcodes though.
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!