Hello Guest it is March 28, 2024, 02:44:14 PM

Author Topic: Mach3, Opt Laser 5W and Aspire  (Read 10643 times)

0 Members and 1 Guest are viewing this topic.

Offline A11an

*
  •  62 62
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #20 on: February 23, 2021, 04:23:27 AM »
Your Gcode looks OK.
From your .xml, you are using Output#1 for your spindle M3 /M5 commands and creating a conflict with the M11P1/M10P1 commands.
Change this to Output#2 in Spindle Setup for both M3 and M4 and also Enable Output#2 (set to an unused output pin) in Output Signals.

Hopefully...

Tweakie.

The guy from Opt Lasers just emailed me to say the gcode should be M3 and M5 commands not M11 and M10?

now I'm lost!

Allan

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #21 on: February 23, 2021, 04:38:51 AM »
Quote
The guy from Opt Lasers just emailed me to say the gcode should be M3 and M5 commands not M11 and M10?

Total Rubbish !!

The problem with that is that there is a delay between the M3/M5 commands being read and the Output# being switched. This results in excessive burn at the start and end of each engraved line. To resolve this issue Artsoft introduced the M10/M11 commands which are linked to axis movement so the laser is only turned ON when the axis starts moving and OFF when the axis stops moving.

Tweakie.

PEACE

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #22 on: February 23, 2021, 04:42:15 AM »
Perhaps if you have some time to spare take a tour of my Laser Project thread. It spans may years but coveres most aspects of Mach3 laser control, although orientated towards CO2 lasers the control principles also apply to diode lasers.
https://www.machsupport.com/forum/index.php?topic=12444.0

Tweakie.
PEACE

Offline A11an

*
  •  62 62
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #23 on: February 23, 2021, 04:48:07 AM »
I definitely will!

I don't have any spare outputs as I have used A axis for my 2nd Y stepper, I can wire both to the y axis but not sure which wires to reverse?

after this I will #have some spare outputs to set to Output 2, will that work?

Allan

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #24 on: February 23, 2021, 04:56:47 AM »
are you using the Enable Output with your stepper's?
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline A11an

*
  •  62 62
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #25 on: February 23, 2021, 05:01:11 AM »
are you using the Enable Output with your stepper's?

Yes


Allan

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #26 on: February 23, 2021, 05:05:56 AM »
Hi Allan,

Do not wire two steppers to the same axis.

As you are using the UC400ETH controller you could set an Output Pin from Port#2 for your spindle. I am assuming that you will be using a different profile for your spindle working to your laser working.

At the moment the conflict that I mentioned earlier is switching your laser (Port#1 Pin 17) from the M3/M5 commands and not the M11/M10 commands.

Tweakie.
PEACE

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #27 on: February 23, 2021, 05:08:33 AM »
i think he is using this:

https://cnc4you.co.uk/resources/CP0-10V.pdf

Controller. If Yes he is out of Outputs.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline A11an

*
  •  62 62
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #28 on: February 23, 2021, 05:29:34 AM »
I really appreciate you guys helping me out, I realise now I have no idea what I'm doing!

So the port 1 & 2 is referring to the UC400ETH? if so I only have my CP0-10v plugged into port 1. nothing in port 2.


Pin 14 0-10v did go to my VFD spindle control which I have now put to Opt laser PLH3D-CNC Adaptor

I;m not sure how I get an output pin from port 2?

Go easy on me :)

Allan

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #29 on: February 23, 2021, 05:50:01 AM »
easysies way would be ro connect a second bob to port 2.

something like this:  https://cnc4pc.com/ucsb-single-port-breakout-board.html

and complete with cable: http://www.shop.cncdrive.com/index.php?productID=947
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.