Hiya,
Try swapping the USB cable for another one (keep it short in length, 1m)
If you use the USB port on the left side of the laptop, change to the right side USB port.
Also, make sure "power saving mode" is turned off in your laptop bios.
.Me
Printable View
Hi again :)
So finally I got additional information, here is photos showing how spindle is connected:
Attachment 19357
And here is the video showing the problem:
https://youtu.be/oXi-0nUM1AU
I have measured voltage between GND and Output 3 - it shows approx +24v when spindle is in "rdy" mode. Once I hit CW rotation in UCCNC voltage drops to 0v and as you can see in the video I receiving message that UC300 have been disconnected.
Should the voltage be 0v at idle and +24v when spindle starts to run ?
Lee, thank you for your advice reg. USB cable. Tried with shorter one - same results. I have added ferrite rings on the both ends of USB cable - no luck either :/
Any thoughts ? :)
I think that I might have found the problem. Altivar installation manual, top of p48. "If using Sink Int do not connect 0V to ground". The manual is not consistent but I think that they use "0V" and "COM" for the same connection. Unfortunately, the HDDB2 has one side of its output connected to ground, so that this connection breaks the Altivar connection rules.
I think that the easiest and safest way to connect the two devices is to use an external relay between the BOB and the VFD. You can then use the Source mode on the VFD, which allows you to connect the analogue ground on the BOB to COM on the VFD (as far as I can see - but I have not read the whole manual!). If you use 12V relays, then you already have 12V available from the BOB. Connect relay coil between 12V and BOB output pin, and connect the relay NO contacts in place of the switches shown in VFD installation manual p48, first diagram. This is an example of the kind of relay that you could use although I do not know what is easily available in your country.
I've used these pre-built relay module boards for few home projects now with good feedback:
12V 2 Channel Low Level Relay Module OPTO-Isolated Relay Module Expansion Board,
could be a better option over building your own PCB, if you can use one for this.
.Me
Quite a lot of BOBs just seem to have a simple opto-isolator output with floating connections, precisely to stop this kind of ground loop problem. The HDDB has an opto-isolator but then uses it to drive a MOSFET output stage for more switching capability (higher voltage/power than the typical opto-isolator). Clever idea but a bit of a pain in this situation!
Gents,
Thank you for your help. I will do as advised - will use relays to control CW and CCW of spindle. I have ordered relay set from link provided by Lee Roberts. Will try and come back with results :)
One more idea I have, and I will risk to share it :untroubled:. UC300 have 2 analog outputs and those are without opto-isolator. Would this be a solution ? Or should I stick with opto-isolated outputs / relay confirguration ?
Another question I have regarding stopping spindle if e-stop is activated. At the testing VFD /spindle I had an issue that when UC300 gives message on screen that it has been disconnected - spindle is up and running anyway... I want to avoid that in the future. VFD has 2 relays that I could use for this purpose. Please see attached pic of the wiring I think to go with. I see that relays are 24v operated, can I use internal VFD +24V supply to drive the relays ?
Attachment 19360
Thank You
No, do not wire your VFD to BOB like that. That will put 24V on the output of the BOB which will probably destroy it. If the VFD has an estop input, you could take the output of the BOB to that so that it enables/disables with the stepper drivers, but this will need a relay between BOB and VFD, like the for/rev connections.
Hi Gents,
I finally received relay array (8 ch). While I was waiting, reassembled all electronics to proper enclosure:
Attachment 19456Attachment 19457
While connected only power source, I have wired BOB power inputs (12v) and tried to power on and see if all is good. And my BOB gave some flash and smoke :nevreness: :
Attachment 19458Attachment 19459
and here is closeup before this :
Attachment 19460
I'm not sure how this happened, but I only see that the bolt I have used, head was too big (even before it was ok..) Anybody see other issue here ? I hope that new BOB will no act same...
Now I'm waiting for the new BOB to arrive and hopefully get everything going...
Where did the magic smoke appear from and exactly how did you connect it up.