Page 1 of 2

Outputs O1 O14 not working

PostPosted: Mon Feb 27, 2023 6:33 pm
by bjornhallberg
I'm new to UCCNC so I've probably missed something obvious here, but I can't figure out how to get O1 and O14 to work.

I have the UC300ETH and UCBB connected with port#1 to CN2 and port#2 to CN1. I wanted a 4 port relay board connected to 4x outputs. At first I tried using the port#1 / CN2 outputs O1, O14, O16, O17 and set up output triggers to quickly test functionality. However, only O16 and O17 would work. O1 and O14 are unresponsive. Virtual LEDs under diagnostics come on, but the actual LEDs on the UCBB do not and hence the two corresponding relays also do not. For troubleshooting I moved the two relay wires over to port#2 / CN1 O16 and O17 and that worked as expected.

Charge pump settings have not not been used and remain Chargepumppinnumber=0 and Chargepump2pinnumber=0.

Re: Outputs O1 O14 not working

PostPosted: Mon Feb 27, 2023 10:15 pm
by dezsoe
Check the ribbon cable between the UC300 and the UCBB. Also, check outputs 1 and 14 on the UC300 using a voltmeter.

Re: Outputs O1 O14 not working

PostPosted: Tue Feb 28, 2023 3:35 pm
by bjornhallberg
I was thinking that it was a software problem at first but now I'm not so sure. I have done the following troubleshooting so far:

(1) Checked the ribbon cable. No visible damage. Continuity check ok for pins 1 and 14. Also swapped the ribbon cables. Even tried to use port#5 on the controller instead of #1. Same result.

(2) Updated the beta from 2113 to 2115. Same result.

(3) Went over all the inputs and injected 24V and 0V since I had never tried any of the inputs before. All inputs work, LEDs show up on board and in software.

(4) Connected a multimeter to O1 and O14 (between output pin -> 0V). Pin shows a voltage of a few millivolts fluctuating above 0V. No difference if pin triggered or not. Normal pins go to 0V when triggered.

Just for reference in case I'm missing something:
PXL_20230228_145926773.jpg

PXL_20230228_145844833.jpg


Is it possible that there is a mapping error somewhere in the software? Asking since I noticed that beta 2113 to 2115 had a fix for an issue that previously showed port#1 pin 15 as output when it was an input under diagnostics.

Re: Outputs O1 O14 not working

PostPosted: Tue Feb 28, 2023 4:52 pm
by ger21
Make sure you don't have anything else configured to those pins. You can use the pin mapping plugin to check.

Re: Outputs O1 O14 not working

PostPosted: Wed Mar 01, 2023 10:15 am
by bjornhallberg
Very nice plugin, hadn't seen it before, but it seems to indicate that the mapping is correct and no double mapping is occurring.

PXL_20230301_084056844.jpg

Re: Outputs O1 O14 not working

PostPosted: Wed Mar 01, 2023 2:30 pm
by bjornhallberg
Measuring again the "good" pin14 on port#2 / CN1 to 0V is about ~400-450mV and fluctuating when not active.
Measuring the "bad" pin14 on port#1 / CN2 to 0V is about ~2-4mV and fluctuating when not active.

Re: Outputs O1 O14 not working

PostPosted: Thu Mar 02, 2023 5:36 am
by Delco
With the UC300 you need to use digital ports 2 and 3 with the UCBB , not ports 1 and 2 . Thats why CN2 isnt working for you .
I hook CN1 to port 2 and CN2 to port 3 .

Hope that helps

Re: Outputs O1 O14 not working

PostPosted: Thu Mar 02, 2023 9:10 am
by dezsoe
Delco,
No. The UCBB has a normal and an extended port, so one goes to 2 or 3 and the other to 1, 4 or 5.

Re: Outputs O1 O14 not working

PostPosted: Thu Mar 02, 2023 11:03 am
by Delco
yes your right , new there was something different about it

Re: Outputs O1 O14 not working

PostPosted: Sat Mar 04, 2023 1:12 pm
by bjornhallberg
This is the initialization of the UCBB filmed and slow down to 10% speed. I realized you can actually see already at power on which outputs work and which do not.

[ Play Quicktime file ] ucbb_init.mp4 [ 835.64 KiB | Viewed 3777 times ]



I also tried re-seating and swapping the cables a bunch of more times.

Any idea of more electronic troubleshooting I can do with a simple multimeter to try and figure out what the problem is? To see for instance if there is an IC on the board that is not working as intended?