Need help connecting chinese VFD to UC300th-5LPT

If you have a question about the software please ask it here.

Re: Need help connecting chinese VFD to UC300th-5LPT

Postby fsli » Mon Oct 10, 2022 11:56 pm

You need to go back to Gerry's post from June, and follow his advice:

ger21 wrote:I think it might be easier to wire those to the G540 speed control circuit. See the G540 manual.


The G540 has VFD +10v, VFD GND, and VFD OUT terminals which would connect directly to the corresponding terminals (+10V, COM, and AVI, respectively) on the VFD control board. Connect Output 2 on the G540 to the FWD terminal on the VFD control board. I'm hoping you've connected the DB25 port on the G540 to Port 1 on the UC300ETH.

In the UCCNC spindle settings, check the boxes to enable PWM Spindle, and Spindle Relay Output. Under PWM Spindle, set PWM to pin 14, port 1, and set the PWM Frequency to 50hz. Set the PWM Duty to min 0%, max 100%. Under Spindle Relay Output, set the M3 Relay to pin 1, port 1 and check the box for Active Low. Verify that the Use Pulleys box is NOT checked. Set the Spindle Velocity min to 0, max to 24000.

Click Apply Settings, then Save Settings.
Frank
fsli
 
Posts: 97
Joined: Mon Jul 11, 2022 12:36 am

Re: Need help connecting chinese VFD to UC300th-5LPT

Postby Spiral_RC » Wed Oct 12, 2022 7:20 pm

fsli wrote:You need to go back to Gerry's post from June, and follow his advice:

ger21 wrote:I think it might be easier to wire those to the G540 speed control circuit. See the G540 manual.


The G540 has VFD +10v, VFD GND, and VFD OUT terminals which would connect directly to the corresponding terminals (+10V, COM, and AVI, respectively) on the VFD control board. Connect Output 2 on the G540 to the FWD terminal on the VFD control board. I'm hoping you've connected the DB25 port on the G540 to Port 1 on the UC300ETH.

In the UCCNC spindle settings, check the boxes to enable PWM Spindle, and Spindle Relay Output. Under PWM Spindle, set PWM to pin 14, port 1, and set the PWM Frequency to 50hz. Set the PWM Duty to min 0%, max 100%. Under Spindle Relay Output, set the M3 Relay to pin 1, port 1 and check the box for Active Low. Verify that the Use Pulleys box is NOT checked. Set the Spindle Velocity min to 0, max to 24000.

Click Apply Settings, then Save Settings.


I have my G540 db25 plugged into port 2 on UC300eth, is that fine or does it have to be in one of 1/4/5? My cable is short and I dont think it will reach 1 but should reach 4 or 5.

From what im gathering I wont need to be using an external relay at all? The G540 will effectively handle that role?

So the wiring is as simple as VFD 10v to G540 terminal 9, VFD AVI to G540 terminal 8, and VFD COM to G540 terminal 7?

Then just follow your UCCNC config settings which totally make sense now?

This is so much easier and more understandable than what I was previously trying to follow, thank you! I will try it out and am hopeful that this works!
Spiral_RC
 
Posts: 8
Joined: Fri Jun 17, 2022 9:04 pm

Re: Need help connecting chinese VFD to UC300th-5LPT

Postby fsli » Wed Oct 12, 2022 11:53 pm

Spiral_RC wrote:I have my G540 db25 plugged into port 2 on UC300eth, is that fine or does it have to be in one of 1/4/5?

My apologies. Port 2 or 3 on the UC300 is correct. In the settings I gave you, replace my mention of port 1 with port 2.

Spiral_RC wrote:From what im gathering I wont need to be using an external relay at all? The G540 will effectively handle that role?

Correct.

Spiral_RC wrote:So the wiring is as simple as VFD 10v to G540 terminal 9, VFD AVI to G540 terminal 8, and VFD COM to G540 terminal 7? Then just follow your UCCNC config settings which totally make sense now?

Yes.

One thing: By connecting directly to the G540 you will lose manual control of the spindle. If you want to have the ability to switch between manual and PC control, then you'll have to dive into how that switch on the front panel is wired, relative to the AVI and FWD terminals on the VFD control board.
Frank
fsli
 
Posts: 97
Joined: Mon Jul 11, 2022 12:36 am

Re: Need help connecting chinese VFD to UC300th-5LPT

Postby Spiral_RC » Thu Oct 13, 2022 10:22 pm

fsli wrote:
Spiral_RC wrote:I have my G540 db25 plugged into port 2 on UC300eth, is that fine or does it have to be in one of 1/4/5?

My apologies. Port 2 or 3 on the UC300 is correct. In the settings I gave you, replace my mention of port 1 with port 2.

Spiral_RC wrote:From what im gathering I wont need to be using an external relay at all? The G540 will effectively handle that role?

Correct.

Spiral_RC wrote:So the wiring is as simple as VFD 10v to G540 terminal 9, VFD AVI to G540 terminal 8, and VFD COM to G540 terminal 7? Then just follow your UCCNC config settings which totally make sense now?

Yes.

One thing: By connecting directly to the G540 you will lose manual control of the spindle. If you want to have the ability to switch between manual and PC control, then you'll have to dive into how that switch on the front panel is wired, relative to the AVI and FWD terminals on the VFD control board.


Thank you so much for clarifying this all for me. Hooked it up last night and everything worked like a charm. At first I thought I was entering something wrong as it wasnt spinning, then when I looked at the display on the control panel it was showing the correct RPMs. The control panel has stop/run buttons and this still has to be set to run or it stops uccnc controls the same as it does for manual spindle control. I tested and still have manual control if I flip the switch on the control panel, so everything seems to be great now.

One other thing, it didnt seem like my display RPMs matched the command. I think when I sent a S6000 it was displaying 6200-6300 or so. Is there a calibration/adjustment for this or is it not that important if the spindle speed is less than 5% off of expected?

Thanks again, I knew it was going to be simple!
Spiral_RC
 
Posts: 8
Joined: Fri Jun 17, 2022 9:04 pm

Re: Need help connecting chinese VFD to UC300th-5LPT

Postby fsli » Fri Oct 14, 2022 12:57 am

Spiral_RC wrote:I tested and still have manual control if I flip the switch on the control panel

I wasn't expecting that, so there must be other wiring to the VFD control board that is driven from the manual controls.

it didnt seem like my display RPMs matched the command. I think when I sent a S6000 it was displaying 6200-6300 or so. Is there a calibration/adjustment for this or is it not that important if the spindle speed is less than 5% off of expected?


Generating a voltage from a PWM signal is not always perfect, so it's not unusual for there to be a variation. Though, some people might consider a couple hundred RPM to be excessive. You can increase the setting for Maximum RPM, which will force UCCNC to calculate a lower pulse width at 6000 rpm, which in turn will generate a lower voltage, and lower RPM. You'll also want to confirm that you can still command s24000 and get the spindle to turn at its rated maximum too.

You might also want to pick up an inexpensive handheld tachometer. That will allow you to measure the actual spindle speed to determine if the reading on the display is correct.
Frank
fsli
 
Posts: 97
Joined: Mon Jul 11, 2022 12:36 am

Previous

Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 10 guests