Hello Guest it is March 29, 2024, 03:53:13 AM

Author Topic: How can I use more outputs to drive relay?  (Read 3938 times)

0 Members and 1 Guest are viewing this topic.

How can I use more outputs to drive relay?
« on: March 19, 2006, 09:55:07 AM »
I know M3 M4 M7 M8 can drive relays,how can I drive more relays?
Re: How can I use more outputs to drive relay?
« Reply #1 on: March 19, 2006, 11:45:16 AM »
You can use as many as you like... If would like to use the P port it can be done with Output #1 -20. To use them you are going to have to make Mcodes to turn them on and off.

Example:
'M100
ActivateSignal(output4)

'M101
DeActivateSignal(output4)
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: How can I use more outputs to drive relay?
« Reply #2 on: March 20, 2006, 11:28:53 AM »
Thank you very much!
I will try to do a test.
Re: How can I use more outputs to drive relay?
« Reply #3 on: May 15, 2006, 04:41:01 PM »
How can i do an Mcode ?
Re: How can I use more outputs to drive relay?
« Reply #4 on: May 15, 2006, 06:16:20 PM »
You need to save the code to your Mach3Mill (or Mach3Turn) folder. Like this:
---------------------------------------------------------------------------------------------------
ActivateSignal(output4)

Save as Mach3/macros/Mach3Mill/m100.m1s
---------------------------------------------------------------------------------------------------
DeActivateSignal(output4)

Save as Mach3/macros/Mach3Mill/m101.m1s
---------------------------------------------------------------------------------------------------
Works good just tested it.

Darek