Quote Originally Posted by Neale View Post
I have been having a look at the relevant manuals. Good news is that the BOB and the VFD inputs are compatible and you do not need any additional power supply. The installation manual, p48 in the copy I found, shows that there is a switch which will let you do this. See "Sink position using the output power supply for the digital inputs". The BOB outputs have a voltage and current rating that should be fine. Set the switch as shown in the diagram, and connect e.g. BOB pin 26 (output 1, LPT port 17) to the appropriate VFD DI pin.

Next job is to configure (or check) that the VFD DI pins are correctly set up. The pins are programmable - see Programming Manual p125 onwards. You should start by checking how these are currently set but I would guess that from the factory a couple of these pins are set to For and Rev by default. You will need to check the manual to find out how to read a parameter and then modify it if needed.

That's a start - I'm afraid that I don't have time to read the manual in great detail but I hope that that points you in the right direction. Overall, it looks as if everything should work fine once you have the correct pins connected and the VFD configured.

Good luck!

Neale,

thank You once more for directions. Much appreciated.

with your help I got spindle to run :)

Here is my wiring at he moment:

Click image for larger version. 

Name:	Wiring spindle (rev02).JPG 
Views:	1904 
Size:	53.6 KB 
ID:	19284

Output 4 and Analog Output are activated together (PIN 16)
Output 3 are set as Dir in UCCNC software, activated with PIN 14.

I have managed to connect and use Output #3 as Direction signal. Settings in UCCNC:

Click image for larger version. 

Name:	UCCNC settings for spindle.jpg 
Views:	792 
Size:	77.2 KB 
ID:	19285

Here is short video from the test:



However I have few problems so far:

1. When spindle is activated with "forward" signal (M3S24000), spindle goes up to speed and handles speeds down to approx M3S1000). The problem is with reverse - it goes up to speed all good with M4S24000, but once speed set to 12000 spindle stops. It is the same if I would try to start spindle with lower speed than 15000 - spindle just wont start. Sometimes this happens with FWD too.
I have tried search if there anything to configure in VFD - but no luck.

2. From time to time when reverse direction (M4) is given through UCCNC, spindle starts to rotate in FWD direction. Once stopped and reverse command repeated rotation direction is correct.

3. Once M3 command is given, spindle is getting up to speed and sometimes even at acceleration process UC300 giving message on screen that motion controller has been disconnected and everything stops. It is not possible to use spindle at the time as UC300 gets disconnected at any time once spindle rotation is activated.
I tried to play with SFr [Switching freq.] and at 16hz was total nightmare as the UC300 gets disconnected once spindle is started. Currently I left setting at 2hz as this option lets to get spindle up to full speed, but shortly UC300 gets disconnected...

Current settings for AltiVar320:

VFD set to SINK mode

CFG [Macro configuration] - [Gen. Use] (GEn): General use


tCC [2/3 wire control] - set to 2C


Ctt [Motor control type] - set to Std


ACC [Acceleration] - set to 5.0


dEC [Deceleration] - set to 3.0


bFr [Standard mot. freq] - set to 50


nPr [Rated motor power] - set to 0.80


UnS [Rated motor volt.] - set to 220


nCr [Rated mot. current] - set to 5.0


FrS [Rated motor freq.] - set to 400


nSP [Rated motor speed] - set to 24.00


tFr [Max frequency] - set to 400


LSP [Low speed] - set to 0


HSP [High speed] - set to 400


SFr [Switching freq.] - set to 2


FLU [Motor fluxing] - set to FnO [no]


nrd [Noise reduction] - set to YES


UiL1 [AI1 min value] - 0v


UiH1 [AI1 max value] - 4.5v



I will try do to a factory settings reset and configure once again, but I would appreciate any input on these issues.


Thank You

TM