Hello Guest it is March 28, 2024, 12:05:32 PM

Author Topic: Mach 3 controller connection to laser PSU to use with M10/M11 commands.  (Read 3780 times)

0 Members and 1 Guest are viewing this topic.

Hi everyone, I'm new to this forum please be patient with me :).

I'm having problems with the connection from the Mach 3 controller (with parallel port and USB, which can be seen in the attachments), to the laser PSU to use with M10/M11 commands in mach 3. I can´t figure out how to do the wiring correctly. The laser is correctly connected to the PSU as when I press the Test button I can see it trigger. The only info I could find are the attachments seen below and from that I can´t get it to work since I'm new to this subject. Could someone please explain to me how to do the wiring correctly??.

Victor
Re: Mach 3 controller connection to laser PSU to use with M10/M11 commands.
« Reply #1 on: January 17, 2020, 10:48:58 AM »
This is the board I need to wire the PSU to.

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach 3 controller connection to laser PSU to use with M10/M11 commands.
« Reply #2 on: January 18, 2020, 02:24:01 AM »
Hi,

I am assuming you have your laser power supply wired as the diagram (with WP connected to GND through the water flow sensor). Connect the laser TTL(L) and GND to your breakout board. Configure Mach3 to set Output#1 to Pin17 (Active Low).

Now the Gcode;

X0
M11P1
X1

Will turn the laser ON
and the Gcode;

M10P1
X0

Will turn the laser OFF.

(The M11/M10 commands are required to be followed by an axis movement – that is the only reason for the X0, X1 in the above example).


In a few weeks time, once you have this all up and running and are familiar with your laser use then you can incorporate the PWM laser power control. My suggestion for PWM control is described here; https://www.machsupport.com/forum/index.php?topic=12444.msg265104#msg265104

Hope this helps.

Tweakie.

PEACE

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach 3 controller connection to laser PSU to use with M10/M11 commands.
« Reply #3 on: January 18, 2020, 08:10:54 AM »
Something I forgot to mention...

You also need to disconnect the P17 jumper on the breakout board (if it is connected).

Tweakie.
« Last Edit: January 18, 2020, 08:15:48 AM by Tweakie.CNC »
PEACE
Re: Mach 3 controller connection to laser PSU to use with M10/M11 commands.
« Reply #4 on: January 18, 2020, 10:14:03 AM »
Hi Tweaky,
Thank you very much for your reply  ;D, I'm going to try this as soon as possible and I'm going to let you all know if I manage to get it working.
--------------------------------------
Victor

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach 3 controller connection to laser PSU to use with M10/M11 commands.
« Reply #5 on: January 18, 2020, 10:20:25 AM »
Hi Victor,

I have every confidence in your ability.
I look forward to seeing some pics of the things you make with your laser.

Tweakie.
PEACE