![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
I am using a CandCNC Table I/O II Card, and have wired up the K3 relay (up to 20 Amps) to my router to have it turn on and off in the Gcode. When I execute the below code the router starts and comes up to speed then shuts down and the relay chatters, on the return to zero it turns on again and more chatter then it turns off. Any suggestions? Thanks Hager ![]() Here is the code F 50 M03 (ROUTER ON) X 5 X 0 M05 (ROUTER OFF) |
|
#2
| ||||
| ||||
| Did you try energizing the relay without the router connected to see if the relay turns on/off with no chatter? Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#3
| ||||
| ||||
| Thanks |
|
#4
| ||||
| ||||
| Tom at CandCNC sent me a new config file and after I installed it I discovered that the relay only chatters on and off the first time it is energized. And for as long as the PC continues to be on it will not do it again. I also discovered that if I add a M05 in the Gcode and no more chatter as long as the PC is on. So here is the sample code, just add M05 even before you turn the router on fixes the problem. A good and simple work around. ![]() F50 (speed, IPM) M05 (Router off) (This fixes the problem with chatter) M03 (Router on) G4 P2 (pause 2 seconds to let router come up to speed) x 15 X 0 M05 (Router off) M30 (Rewind) |
|
#5
| ||||
| ||||
| Try this. In General Config, ad M5 to the initialization string. That way when you start mach3, it'll do an M5 the first time you hit the reset button. Then you shouldn't need it in your code.
__________________ 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) |
| Sponsored Links |
|
#6
| ||||
| ||||
| Ohhhh lots of questions Hope it is an easy fix Hager |
![]() |
| 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 |
| I know to stay away from cnc bridges. Who else do I stay away from? | slashmaster | General Metalwork Discussion | 3 | 05-13-2009 05:43 PM |
| Need Help!- Hobbycnc pro + relay for router start??? | planekrazie | Hobbycnc (Products) | 1 | 06-29-2008 08:13 AM |
| Router 0/1 with solid state relay | bigz1 | General Electronics Discussion | 6 | 04-24-2008 08:37 PM |
| Will this relay work with my router? | spoiledbrat | General Electronics Discussion | 1 | 06-11-2005 10:51 AM |
| Relay vs Router power ratings | sol | General Electronics Discussion | 5 | 06-23-2004 09:17 PM |