Page 1 of 1

Laser/spindle combo

PostPosted: Thu Apr 12, 2018 8:30 pm
by sngatlanta
I'm getting ready to add a small Laser for marking to our cnc router using the Laser sold by CNCdrive folks

http://www.shop.cncdrive.com/index.php?productID=736

Anyone want to take on the task of helping me hook it up?
Heres our setup.

UCCNC 300ETH on a UB1 board. We have a vfd for the spindle.

Can we hook the laser up to the UB1?

Re: Laser/spindle combo

PostPosted: Fri Apr 13, 2018 8:06 am
by dezsoe
Theoretically yes. The UB1 has NPN sink outputs and the most of the laser modules have internal pull-up resistors on the TTL input. If you power the laser module and it lights on full power then it will work. The TTL connector has two pins: one for GND and one for the input. Connect laser GND to UB1 0V and laser TTL input to any of the Ynnn pins on UB1. Set up laser output to the selected output pin. When using the laser power off the spindle (VFD), because the laser output needs (for security) M3 to be turned on and you don't want your spindle to run.

Re: Laser/spindle combo

PostPosted: Fri Apr 13, 2018 3:01 pm
by Robertspark
dezsoe wrote:When using the laser power off the spindle (VFD), because the laser output needs (for security) M3 to be turned on and you don't want your spindle to run.


... or run two profiles... one for milling .... one for laser, that way M3 can be assigned for other pins in the different profile

Or use 2 x relays, that way if you run the laser you feed M3 via relay 2 (Laser operation) and if you run the mill you run M3 via relay 1 (Milling operation)

Then you use two additional M-codes of your choice to be embedded within your gcode via post processor to know when its a milling operation and when it is a laser operation. This can be done very easily via sheetcam.

.........or add a 2-way manual switch... to feed the M3 signal to the laser to to the mill accordingly ...... {requires operator to check switch position before every operation}

Re: Laser/spindle combo

PostPosted: Sat Apr 14, 2018 6:09 pm
by sngatlanta
Thanks for the ideas to both of you. I wish I was better with electronics and all this made perfect sense. I think I could do 2 profiles the easiest but would prefer the 2 relays better.
I'll see if I can get it powered up the way "dozsoe" suggest then move forward fro there.

Re: Laser/spindle combo

PostPosted: Sun May 27, 2018 9:08 pm
by sngatlanta
I'm finally getting around to this and no luck getting the laser to come on and off.
I can power up the laser with 12v but the m3 command doesn't do anything (on or off).

I have my VFD for the spindle turned off at the switch/disconect.
I have the TTL to Y303 and GND to 0v on my UB1
Setting on Laser to Pin 3 Port 3
Any other setting I need to check?