Hi again :)
So finally I got additional information, here is photos showing how spindle is connected:
And here is the video showing the problem:
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.
The Following User Says Thank You to Neale For This Useful Post:
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.
Last edited by Lee Roberts; 28-09-2016 at 08:37 PM..Me
The Following User Says Thank You to Lee Roberts For This Useful Post:
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!
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 . 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 ?
Last edited by TadasM; 29-09-2016 at 08:27 AM.
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.
I finally received relay array (8 ch). While I was waiting, reassembled all electronics to proper enclosure:
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 :
and here is closeup before this :
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...Clive
By gabi68 in forum Generic Chinese SpindlesReplies: 11Last Post: 14-10-2015, 06:37 PM
By JohnHaine in forum Motor Drivers & ControllersReplies: 12Last Post: 06-01-2015, 08:12 PM
By Boyan Silyavski in forum General ElectronicsReplies: 7Last Post: 25-06-2014, 10:46 AM
By Wal in forum General ElectronicsReplies: 17Last Post: 09-06-2014, 05:11 PM
By Rikk in forum Motor Drivers & ControllersReplies: 3Last Post: 28-06-2011, 09:19 AM