I haven’t tried in in real control, at least that I remember, I tested it and watched the diao screen output leds for the outputs4 and 5 ?they did go on and off in mach3’s screen so I assumed they were working..
?
I will check further and see how I have mine setup, I run? 6 relays for the spindle 2 for forward 2 for reverse 1 for power on to the spindle controller and 1 for flood
All are SSD relays, also have 2 more for switching from computer control to manual control spindle
3 relays turn on with m3 and then off with m5, and same with m4..
I have to check the computer in shop, so will get back to you as soon as I can..
From: Graham Sent: Sunday, January 31, 2021 3:05 AM To: [email protected] Subject: Re: [MachCNC] Controlling relays via Custom Mcode
?
Hi Gary Thanks for your ideas. I had opportunity to day to spend time. Using O/Ps 3,4,5 & 6. Allocating these to M3 all switch using M3/M5.? so it can all work I tried the ?turn on using (DoOEMButton(233) , this works, as did 235 etc However the turnof DoOEMButton(234)?Does not turn off., nor did 236.
Totally confused. All other I/O was disabled and unplugged to elimate confusion. Is their more commands to go with the enabling DoOEM etc? I am writing his code as an Mcode using the VB editor Any ideas