UC300 Analog output voltage

If you have a question about the software please ask it here.

UC300 Analog output voltage

Postby Delco » Mon Feb 20, 2023 8:41 am

I have a small mill I want to interface a uc300 to . the Spindle speed control needs a 0-5V signal to operate it .

If I set the spindle parameters as min pwm duty cycle to 0% and max pwm duty cycle to 42% will that limit my output voltage to 0-5V ?
Delco
 
Posts: 364
Joined: Tue Apr 02, 2019 4:23 am

Re: UC300 Analog output voltage

Postby ger21 » Mon Feb 20, 2023 11:49 am

I've done that to use 0-5V
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: UC300 Analog output voltage

Postby cncdrive » Tue Feb 21, 2023 4:41 am

Yes. But if the spindle controller is sensitive to overvoltages then put in a series resistor and a Zener diode between the signal and gnd (e.g. 5.6V zener) to make sure to block the voltage upper limit at 5.6Volts. Just so missconfiguration in the PWM max. duty cycle then cannot damage the spindle controller, because the zener diode will block the voltage at 5.6Volts.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: UC300 Analog output voltage

Postby Delco » Tue Feb 21, 2023 7:04 am

Trying to get my head around how the calibration of the output actuallworks.

So if I have spindle min % at 10 and max% at 80 then it can output a voltage between 1.2V and 9.6V and the speed velocity min would be rpm that 1.2V produces and the spindle velocity max would be the rpm at 9.6V .

Is that correct ?

Or is there a procedure for calibration of it ,
Delco
 
Posts: 364
Joined: Tue Apr 02, 2019 4:23 am

Re: UC300 Analog output voltage

Postby ger21 » Tue Feb 21, 2023 12:37 pm

So if I have spindle min % at 10 and max% at 80 then it can output a voltage between 1.2V and 9.6V and the speed velocity min would be rpm that 1.2V produces and the spindle velocity max would be the rpm at 9.6V .

Is that correct ?


I believe so, provided you are getting 12V at 100% and max RPM.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: UC300 Analog output voltage

Postby cncdrive » Wed Feb 22, 2023 10:30 pm

Delco, Yes thats correct, that is how it exactly works.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: UC300 Analog output voltage

Postby Battwell » Thu Feb 23, 2023 11:36 am

something i find strange. is if minimum pwm is set then this is output all the time. (in my mind this should only be on during spindle run)
minimum pwm is always output even when the spindle is off.
reason?
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: UC300 Analog output voltage

Postby Delco » Thu Feb 23, 2023 9:31 pm

Battwell wrote:something i find strange. is if minimum pwm is set then this is output all the time. (in my mind this should only be on during spindle run)
minimum pwm is always output even when the spindle is off.
reason?


Wonder if this is a issue for me , I have had 2 UC300s fail in this last month on 2 different machines - they loose analogue output to VFD , both had 20% as min PWM . Both machines are powered on 24/7 and have been running for 6 months and 10 months respectfully , they have used everyday without issue.

Only thing wired to analogue port is the Analogue 1 out to VFD A01 and the Analogue Gnd to VFD GND.

I have good 5V to UC300 and the UC300 still works but nothing on analogue port.
Delco
 
Posts: 364
Joined: Tue Apr 02, 2019 4:23 am

Re: UC300 Analog output voltage

Postby Delco » Fri Feb 24, 2023 2:16 am

After further checking the 2nd failure looks to be not a failure but a bad connection on a analogue pin . Because the failure mode seemed the same I and only a week apart I wrongly assumed it was same fault just swapped out the UC300 out without fully testing and because the connectors had to come of and be reseated It worked fine with the new UC300 . Came back to shop and dropped what I thought was a faulty UC300 in a working machine to do some tests and its working fine .
Delco
 
Posts: 364
Joined: Tue Apr 02, 2019 4:23 am


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 30 guests