Page 1 of 2

UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 12:30 pm
by mark68
Hello all,

I'm a new user and have just received my parts,

I have one or two novice questions about connecting to the UC300ETH-5LPT to the UCBB. Three cables have been sent one with parallel port end, I’m presuming I do not need this as I’m using ethernet connection to the UC300 from the computer and the connections from UC300 to the UCBB are using IDC26 cables ?
’m curious how only 8 wires in an Ethernet cable from the computer can control so many functions (inputs/outputs) compared with the old style parallel port cables that have more pins?

The second question is how to control the spindle speed on my Huanyang VFD, the 0 to 10v control is from here i presume (“IDC16 analog I/O port with 2 analog inputs and 2 analog 0-10V”) . I presume I have to purchase a IDC16 cable but where/how do I connect that to control the VFD spindle speed?

Do I require something like this pictured attached, as an earlier response from Balazs mentioned direct? , (“The UC300ETH-5LPT has direct analog 0-10V output.”) direct analogue connection so it is not through the UCBB break out board is that correct?

Mark

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 1:54 pm
by ger21
No, you don't need that cable with the UCBB. It's for a breakout board with a parallel port connection.

The ethernet cable is for communication between UCCNC and the UC300ETH. The UC300ETH is doing the bulk of the work, which is why it has all the connections.

It's much simpler to control the Huanyang with Dan's excellent plugin, and a USB to RS-485 converter.

viewtopic.php?f=14&t=432

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 3:14 pm
by mark68
Thank you,

Did you mean a USB to RS-485 converter not 785 and connect speed control wires to the adaptor? If I do it that way can I still manually override the speed control with either the Huanyang speed knob or fit potentiometer control ?

It's a little disappointing to read I need to purchase further hardware when the board should do the job. I'm now wondering whether I should have just got the AXBB-E ethernet motion controller and breakout board combined controller instead as it may have been easier to install and set up or have I got a superior set up buying the UCBB and UC300ETH separately?






ger21 wrote:No, you don't need that cable with the UCBB. It's for a breakout board with a parallel port connection.

The ethernet cable is for communication between UCCNC and the UC300ETH. The UC300ETH is doing the bulk of the work, which is why it has all the connections.

It's much simpler to control the Huanyang with Dan's excellent plugin, and a USB to RS-785 converter.

http://www.forum.cncdrive.com/viewtopic.php?f=14&t=432

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 5:00 pm
by ger21
From my experience, when I tried using analog speed control with my HY VFD, the RPM was inconsistent, varying by as much as ±1000 rpm. After spending a lot of time searching, this appears to be a fairly common issue, apparently noise related.
Using the plugin, the speed is exactly what it should be.
I use this simple adapter, which is less than $10.
https://www.amazon.com/gp/product/B00NK ... UTF8&psc=1

If you are controlling the speed with UCCNC, then you can't use the pot on the VFD for override. You'd need to wire a pot to the analog inputs on the UC300ETH.

Yes, the AXBB-E may be a bit simpler, but the UC300ETH has more inputs and outputs.

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 6:36 pm
by mark68
Ok thanks,
Just checking I've got my head around this, so the speed control from the analogue output on the uc300 is inconsistent but if I want to override speed but still put initial speeds in the g code for uccnc to send I need to put a pot on the uc300 analogue input which will give me an override but only if i use the analogue output on there as the speed control ie not using the plugin and rs485 usb adapter?

The adapter I found will it do the same job? I saw the type you've linked to but my pc and vfd are not in close vicinity and the usb will need to be plugged into the pc I presume. I can use the extension from the pc and put the wiring inside the control panel with the vfd and near all the other electrials.

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 7:15 pm
by Battwell
The analog out from uc300 etch works fine on my machine using gt series huanyang vfd.
On uc400 I did have to add a capacitor across pwm out to gnd to keep it smooth with no fluctuations.

If using the plugin make sure you still use spindle relay so you can switch it off if USB fails due to noise.

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 10:23 pm
by ger21
Just checking I've got my head around this, so the speed control from the analogue output on the uc300 is inconsistent

No, the analog output is perfect. The problems I saw were due to the VFD.

but if I want to override speed but still put initial speeds in the g code for uccnc to send I need to put a pot on the uc300 analogue input which will give me an override but only if i use the analogue output on there as the speed control ie not using the plugin and rs485 usb adapter?


Regardless of how you control the speed, the only way to override the speed is with a pot on the analog input, or with the onscreen buttons or slider.

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 10:29 pm
by ger21
Sorry, yes, that was RS-485

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Thu Oct 31, 2019 10:36 pm
by cncdrive
Just checking I've got my head around this, so the speed control from the analogue output on the uc300 is inconsistent


Ofcourse it is not inconsistent. It is made with a 12bits PWM output, so it is as precise as around 2.4millivolts with a linearity error of no more than 1LSB, so it is also 2.4millivolts max.
And the overal precision in room temperature is +-3% taking into account the opamps worst case offsets and electric components tolerances inside the controller.
This I would call more precise than it is required for the task.
Furthermore all analog outputs on all of our motion controllers are tested for linearity with 256 points measurement of the output with a +-3% allowed tolerance.
If any points are out with more then 3% then the tester device throws an error and then the device will not pass the QC test.

Re: UC300ETH-5LPT & UCBB Setup connections

PostPosted: Fri Nov 01, 2019 7:15 am
by mark68
I appreciate I interpreted ger21's reply incorrectly, I'm not sure there was a need to go into such detail of the quality of the analogue connection in defence.

I've sent two emails to the addresses used during my purchase within the last 48 hours asking questions without a response yet, the first response I see is here but still not answering my questions.

As asked in the first post how do I connect wires to the analogue idc16 ribbon cable, is the terminal block I pictured the correct way our should it be connected to another break out board or optocoupler isolation board?




cncdrive wrote:
Just checking I've got my head around this, so the speed control from the analogue output on the uc300 is inconsistent


Ofcourse it is not inconsistent. It is made with a 12bits PWM output, so it is as precise as around 2.4millivolts with a linearity error of no more than 1LSB, so it is also 2.4millivolts max.
And the overal precision in room temperature is +-3% taking into account the opamps worst case offsets and electric components tolerances inside the controller.
This I would call more precise than it is required for the task.
Furthermore all analog outputs on all of our motion controllers are tested for linearity with 256 points measurement of the output with a +-3% allowed tolerance.
If any points are out with more then 3% then the tester device throws an error and then the device will not pass the QC test.