![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
i have a relay i would like to add, but don't know how to do it (program part). when the g code is done running i won't a relay to open (when it's running it closed) so that it well shunt the power to the cnc down (kind of like i walked away and fallen a sleep and i what it to turn off when it done) i know how to wire it, just don't know how to tell mack 3 to do this. sorry for the odd question but i'm an electrican and this stuff is fun to me. thank you kevin |
|
#2
| ||||
| ||||
| Create a macro and call it at the end of the g-code. if the relay is wired to Output one, the macro should be ActivateSignal(Output1) or DeActivateSignal(Output1) Name the macro something like M555.m1s and put it in the macro folder. When Mach3 gets to M555 in the g-code, it should turn off.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using a solid state relay as a main stop relay | garagefela | General Electronics Discussion | 4 | 02-26-2010 04:27 PM |
| RPC with a relay | Shanghyd | Phase Converters and VFD | 0 | 06-30-2009 06:02 AM |
| Need Help!- Adding an X axis power feed to my smithy 1220XL milling table.Adding an X axis power | matridium | Smithy | 0 | 05-28-2008 10:37 AM |
| Another relay ? | Bear | General Electronics Discussion | 4 | 11-23-2005 05:31 PM |
| Need Relay help... | CarveJunky | General Electronics Discussion | 5 | 07-20-2005 08:52 AM |