Analog voltage bug?

If you think you've found a bug post it here.

Analog voltage bug?

Postby tomsmith » Thu Feb 03, 2022 10:31 am

Maybe I'm doing something wrong but I cannot get the analog output to work at all, I have set the variables to pin 6 and 7 for #1 and #2 but it never changes from 0v. please see the images:

Image
Image
tomsmith
 
Posts: 22
Joined: Wed Jan 19, 2022 2:33 pm

Re: Analog voltage bug?

Postby tomsmith » Thu Feb 03, 2022 10:33 am

Also, I have checked the pins with a multi meter and the voltage never changes from 0v
tomsmith
 
Posts: 22
Joined: Wed Jan 19, 2022 2:33 pm

Re: Analog voltage bug?

Postby Battwell » Thu Feb 03, 2022 2:42 pm

the voltage is output on the analog pins (15 pin connector on uc300) there are 2 analog outputs available on uc300.
you set a var number to the value you want. eg #7=5000
this is then output as an analog voltage.
it is in the manual.

you can check/ confirm the value on the diagnostic screen (analog out)
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: Analog voltage bug?

Postby tomsmith » Thu Feb 03, 2022 7:53 pm

Thanks Battwell, that is what I've done, I'm using the analog port, and have tried to get an output, I have tried to set var1 and also var2 as 6,7,14,15 but cannot get a voltage on any of the pins, is it something I am doing wrong?

Image
tomsmith
 
Posts: 22
Joined: Wed Jan 19, 2022 2:33 pm

Re: Analog voltage bug?

Postby cncdrive » Thu Feb 03, 2022 10:16 pm

Attach the analog output to a #var, for example to #100 variable.
Then in the UCCNC in MDI try #100 = 0 and then try #100 = 65535
These should give you 0Volts and 10Volts analog Voltage respectively.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Analog voltage bug?

Postby tomsmith » Fri Feb 04, 2022 9:10 am

Thanks CNCDRIVE, but I believe I have attached an analog output to a variable and it is still not working.

Would the image below be the correct way to do this? on the "I/O setup 1" page under "Var#-_> analog out 1", if this is correct then it is still not working

https://postimg.cc/64QpTKGv
tomsmith
 
Posts: 22
Joined: Wed Jan 19, 2022 2:33 pm

Re: Analog voltage bug?

Postby cncdrive » Fri Feb 04, 2022 9:24 am

Dezsoe, Could you please test this.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Analog voltage bug?

Postby tomsmith » Fri Feb 04, 2022 9:30 am

I made a video of the problem

https://youtu.be/zUpGHsK-ZHQ

maybe it is something i am doing wrong?
tomsmith
 
Posts: 22
Joined: Wed Jan 19, 2022 2:33 pm

Re: Analog voltage bug?

Postby cncdrive » Fri Feb 04, 2022 12:01 pm

Which version of the software you running?
It looks to me that it is a problem with your screenset.
If you go to the screen editor and click the Analog output DROs then does the DRO gets selected?
I'm suspecting that the DRO is missing from your screenset.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Analog voltage bug?

Postby tomsmith » Fri Feb 04, 2022 1:15 pm

thanks, I'm running 1.2113 and I have just downloaded it from the website again to be sure, (https://cncdrive.com/UCCNC.html) version 1.2113 also, reinstalled it but it is the very same problem, also when I check the voltage on the analog pins, it doesn't change from 0v.
tomsmith
 
Posts: 22
Joined: Wed Jan 19, 2022 2:33 pm

Next

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 10 guests