开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Controlling relays via Custom Mcode


 

I wish to control via relays,
Using Mach3, VB and MK4-ET V1.5 XHC Motion card., Omron 24VDC relays.
The "ON" code is M704, and content is ActivateSignal(Output4) : This works
The "OFF" code is M724 and content is DeActivateSignal(Output4) Does not work.!!!!!

When I trip Emg Stop outputs cease, so electrically the outputs work.
I have M3/M5 set to output 3 and this works.

Impression is that there is an error in the syntax, or something.?????

I would appreciate any learned comment on what I am doing incorrect.

Many Thanks
Graham

Join [email protected] to automatically receive all group messages.