Running a diode laser on DIY CNC with AXBBE

Post anything you want to discuss with others about the software.

Running a diode laser on DIY CNC with AXBBE

Postby XYZ_Spec » Sat Dec 23, 2023 6:18 pm

Hi all,
Having problems installing a diode laser.

I bought a diode laser and installed it like recommended by the UCCNC user manual.
Connected the PWM pin on the laser to isolated output 17 pin on port 1 (O17)
Enabled the laser plugin
Set up the laser pin in UCCNC

Problems I am facing at the moment:
1- Laser is on when I start the machine.
2- Running a engraving file through the laser plugin, doesn't work because the PWM is not being applied.
3- When laser pin is set to a value other than 0, the slave axis doesn't move.

Can someone help please
Thanks
XYZ_Spec
 
Posts: 11
Joined: Mon May 08, 2023 8:44 pm

Re: Running a diode laser on DIY CNC with AXBBE

Postby XYZ_Spec » Sun Dec 24, 2023 12:36 am

Solved a big part of the problems by adding an extra driver board that came with the laser kit, puting it between the AXBBE and the laser module.

But, the slave axis still doesn't work if the laser pin is set to a value different than zero.
Is there a fix for this?
XYZ_Spec
 
Posts: 11
Joined: Mon May 08, 2023 8:44 pm

Re: Running a diode laser on DIY CNC with AXBBE

Postby dezsoe » Sun Dec 24, 2023 11:47 pm

XYZ_Spec wrote:Diode laser connected to pin 17 on port 1 (O17) and set up in the software.
Problem is:
When laser pin is set to a value other than 0, the slave axis doesn't move.

C axis is slaved to Y axis.
The laser pin isn't being used by anything else.

To have all information in one place I removed your other thread. It's Christmas, all of us is on holidays, so be a little patient.

What you still didn't mention is what version of UCCNC do you use? Also, as always, upload your profile for testing, please.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Running a diode laser on DIY CNC with AXBBE

Postby XYZ_Spec » Mon Dec 25, 2023 10:47 am

Hi Dezsoe,
I have opened a new thread under "bug report", because i wanted to correct my mistake not putting it at the right place the first time, i was hoping you guys would delete this one, but sorry anyways.

Getting to the point:
Current version is 1.2113
Here is my profile file below

Thank you and Happy Xmas!
Attachments
DESKTOP_CNC.pro
(41.56 KiB) Downloaded 214 times
XYZ_Spec
 
Posts: 11
Joined: Mon May 08, 2023 8:44 pm

Re: Running a diode laser on DIY CNC with AXBBE

Postby dezsoe » Tue Dec 26, 2023 10:39 am

Thank you for the info. I was hoping that it's 1.2116, because there are problems with slaved axes in that version and it's known. However, I don't remember this problem on 1.2113. If you have a well documented laser then you could check if the PWM input is isolated on it. If yes then you could connect it to port 3 and check if the slave works fine when the laser output is set to a pin on port3.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Running a diode laser on DIY CNC with AXBBE

Postby George M » Tue Dec 26, 2023 3:01 pm

I had something similar to this at one time. Is your slave axis "C".
If it is you cannot use C when your laser is enabled.
I had to move my slave axis to A
Thank you
George M

DIY CNC Machine
UCCNC
UC300eth-LPT5
UCBB
George M
 
Posts: 52
Joined: Mon Apr 29, 2019 6:49 pm

Re: Running a diode laser on DIY CNC with AXBBE

Postby cncdrive » Tue Dec 26, 2023 4:38 pm

Yes, thats a limitation, if the laser output is enabled then the C axis does not work.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Running a diode laser on DIY CNC with AXBBE

Postby XYZ_Spec » Tue Dec 26, 2023 5:45 pm

dezsoe wrote:Thank you for the info. I was hoping that it's 1.2116, because there are problems with slaved axes in that version and it's known. However, I don't remember this problem on 1.2113. If you have a well documented laser then you could check if the PWM input is isolated on it. If yes then you could connect it to port 3 and check if the slave works fine when the laser output is set to a pin on port3.


Tried a pin on port 3 and it didn't work.

George M wrote:I had something similar to this at one time. Is your slave axis "C".
If it is you cannot use C when your laser is enabled.
I had to move my slave axis to A


Yep, this worked and solved the problem.
I had thought about this in the begining, but didn't even tried it because it didn't make any sense.

cncdrive wrote:Yes, thats a limitation, if the laser output is enabled then the C axis does not work.


Will there be a fix for this in a future release?
Can i change it by myself somehow?
I'll need this 6th axis output in the future while running the laser.

Thank you, wish you all a happy 2024!
XYZ_Spec
 
Posts: 11
Joined: Mon May 08, 2023 8:44 pm

Re: Running a diode laser on DIY CNC with AXBBE

Postby dezsoe » Tue Dec 26, 2023 7:26 pm

Yes, sorry, too many cookies... It was the laser and C, of course.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Running a diode laser on DIY CNC with AXBBE

Postby cncdrive » Thu Dec 28, 2023 6:19 am

No, there is no fix for that, it is a limitation not a bug.
When you enable the laser then you can see that as the C axis automatically gets disabled when you apply the settings.

This limitation was implemented because the laser output takes up lots of communication bandwidth, so it is not enough to throughput all 6 axis data plus the laser data.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Next

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 32 guests