can someone explain how to control my router on off via mach or emc
Is there a step by step some where?.. What actual triggers the event
the gcode or something in mach?
Or do i just need a header within the g code to trigger the even on off?
can someone explain how to control my router on off via mach or emc
Is there a step by step some where?.. What actual triggers the event
the gcode or something in mach?
Or do i just need a header within the g code to trigger the even on off?
It can be a bit involved depending on what you actually have as hardware.
The Gcode will turn on a router or spindle as well as turn it off or change directions and tell it what speed to run.
That is generally coded in your Cam program, but I think for some things, you can do that in Mach with wizards.
I have a relay that actually does the turning on of my router. I have a speed control board that does it on the mill.
There are also several settings on different pages that need to be setup in Mach depending on just what you are turning on.
I don't know of any real step by step lesson plans, but the instructions in my speed card for the mill from Homann Designs was quite useful.
http://www.homanndesigns.com/DigiSpeed_SD_User010.pdf
Lee
A simple M3 in the g-code will turn it on, and M5 will turn it off. In Mach3, you set up an output pin to activate a relay to turn on the router. You assign the output to the M3 command in the Ports and Pins screen, spindle tab.
Gerry
UCCNC 2017 Screenset
http://www.thecncwoodworker.com/2017.html
Mach3 2010 Screenset
http://www.thecncwoodworker.com/2010.html
JointCAM - CNC Dovetails & Box Joints
http://www.g-forcecnc.com/jointcam.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)