Hello Guest it is May 29, 2023, 05:20:31 PM

Author Topic: Mach3 M3 voltage output  (Read 3632 times)

0 Members and 1 Guest are viewing this topic.

Mach3 M3 voltage output
« on: February 10, 2012, 12:08:09 PM »
We are setting up a laser to the Mach3 CNC system, but it requires a 5V power source for the laser cutting. Our hope was to use the M3 code within the program to turn on and off power to the laser. However, the current to M3 electrical port is 120V. Is there a way through the software to change the voltage to the M3 electrical port? I know the stepper motors run off of a 5V input. Is there a way to incorporate this into our system somehow?

Thanks in advance for the help

Offline Jeff_Birt

  •  1,107 1,107
    • View Profile
    • Soigeneris
Re: Mach3 M3 voltage output
« Reply #1 on: February 10, 2012, 01:29:23 PM »
There is no such thing as an 'M3 electrical port.' What you have is a 120v relay controlled output. Configured so that one of the output signals triggers the relay and the M3 command in Mach has been told to use that output when an M3 is seen in your code. The point I'm trying to explain is that Mach itself has nothing to do with what voltage your control box outputs, that is a function of how your control box is wired.

Without knowing what type of control box you have it will be hard for anyone to offer detailed advice. Have you contacted the manufacturer of your control box?
Happy machining , Jeff Birt

Offline Tweakie.CNC

  • *
  •  9,037 9,037
  • Super Kitty
    • View Profile
Re: Mach3 M3 voltage output
« Reply #2 on: February 11, 2012, 03:13:24 AM »

If you are wanting to switch a laser on / off then M3 /M5 is far too slow in it's operation and you will get a 'dot' at the start and finish of every line drawn.
Check this thread for more details of the M10 / M11 commands http://www.machsupport.com/forum/index.php/topic,20546.0.html