Huangyang VFD won't run spindle under masso control

hgriffin1

hgriffin1
Hi all,

I just installed a Huang Yang VFD (2.2kW 220V). I wired it up and it worked fine via the VFD panel(PD001 & 2 set to "0") but not so much with Masso (PD001 & 2 set to "1")

VFD is programmed as follows:





PD000- 0

PD001- 1
PD002- 1
PD003-005- All 400Hz
PD006- 3.0 (60Hz Mains power)
PD007- 1.2
PD008- 220V
PD009- 15
PD010- 8
PD011- 133HZ
PD014- 5

PD015- 7

PD070- 0
PD072- 400hz
PD142- 8.5A.
PD143- 2.
PD144- 3000






Here's my wiring config:


Mains power wiring: V1 & V2 going to R & T (per Huang Yang wiring diagram) and neutral to Gnd.

Spindle wiring: U-1, V-2, W-3, and Spindle case ground runs to the main ground bus (spins up quickly and sounds optimal under VFD control).


Masso to VFD wiring:


Masso Pinout VFD Pinout

Masso Neg(-) -------------- ACM

Pin 1 (0-10v)---------------- V1

Pin 4 (CW+)----------------- FWD (I verified the voltage polarity ~ +24vdc)

Pin 5 (CW-)------------------ DCM

Pin 6 (CCW+---------------- REV (I verified the voltage polarity ~ +24vdc)

Pin 7 (CCW-) --------------- DCM


VFD Jumper moved to V1 position (V1 = External control, VR = Potentiometer)


Under the Masso Setup screen (F1)

- VFD selected

- Spin up - 5000 mS

- Spin down - 7000 mS


I set a spindle speed in the MDI e.g. S24000, and this shows up in the Masso display as 100% speed. I click the Spindle Start and the Masso display indicates that the spindle is running in a CW direction, however the spindle isn't moving and no change to the VFD display. "Stop" displays stop in the Masso display. M3 in the MDI shows CW & M5 shows stop with no spindle activity.. ... So, Masso seems to think all is well but the VFD is apparently not reacting to the Masso output info.


I have gone through the programing of the VDF numerous times, verified all the wiring, did continuity checks on all the wiring and everything appears nominal. A meter across DCM and FWD shows ~24vdc when the Masso display for the spindle says "stopped" and ~0vdc when Spindle Start or M3 are initiated.


As I mentioned previously, the spindle works fine from the VFD control panel when I have set it up with PD001 & 2 set to "0".


Any ideas?









Cheers,
Hugh
 

cncnutz

CNCnutz
Staff member
Hi Hugh,

Have you set the Maximum speed in Masso as 10000rpm sounds a little low for a 400hz spindle at maximum speed. I would normally expect it to be 24000rpm but the actual figure will be written on the spindle.

Have you tested the VFD with an external potentiometer and switches to prove the VFD is working correctly under external control?

I don't know if you have seen it but the video below shows how to connect and test a VFD and by chance it is the same model that you have. You might see a step that you missed in the setup process. It starts with the VFD working on for front panel as your is so you are almost there. It sounds like the start and stop is working and you will see by the led indications on the vfd screen if they are working or not.

Cheers

Peter

 

hgriffin1

hgriffin1
Hi Peter, Yes, the spindle is 24,000 RPMs. I just put 10k in the MDI for testing. Since the spindle ran fine under VFD control, I didn't see any point in wiring external switches and a pot. I will give it a go though... I went through the video and other than doing the external setup, all the config and wiring are identical.​

Cheers, Hugh
 

hgriffin1

hgriffin1
The spindle runs with external switches and a potentiometer so it appears to something with the Masso outputs. Perhaps a bad op amp. I will be testing them next....
 

hgriffin1

hgriffin1
I swapped a couple unused optocouplers into the spindle locations... No change... Going back through everything one more time....
 

hgriffin1

hgriffin1
Not seeing any dcv on masso spindle pin 1 (0 - 10v) with MDI S20000.... I should be seeing 8 - 9 vdc should I not?
 

cncnutz

CNCnutz
Staff member
Hi Hugh

Guy is correct that you need to give the S20000 command in MDI and you need to issue an M3 or press the CW button on the F2 screen to get an output voltage on the Spindle control pin 1

The fact you have it working with switches and the Potentiometer should see you getting some sort of movement out of the spindle if you followed the sequences in the video.

Did you complete step 5 of the install process and get the spindle working with the potentiometer still connected to the VFD to provide a speed voltage while you get the FWD optocoupler working?

The reason I ask is you didn't mention that you have that working and yet you are looking for a 0-10v signal from Spindle control pin 1. This should be the last thing to do after getting FWD and REV connections working. If you have got FWD and REV working under Masso why are you changing optocouplers?

Please confirm that you have the spindle working as shown in step5 and if not please reinstate the potentiometer and forward switch. Confirm again that when you turn on the switch that the spindle starts turning. Then remove the switch and connect it to Masso. Leave the potentiometer set in the known working position so it will provide a speed signal to the VFD.

There is no point going any further unless you can get this step working. As the video said "Jumping ahead will only cause frustration and failure". I know the video is tedious and slow but I purposely wrote it that way so that each issue could be solved before moving on.

Cheers

Peter
 

hgriffin1

hgriffin1
Thanks Guy. Peter did an excellent job of providing all the settings required for the Huang Yang VFD. It is down to hardware at this point. I haven't completely ruled out the HuangYang VFD so I am swapping in a Mitsubishi VFD that I had running another spindle next. It's already configured so it's worth the pain of pulling it to fully eliminate that as a cause. I will update with my results when done...
 

hgriffin1

hgriffin1
I had tried external control when I got Masso a couple years ago on this machine but gave up and ran the spindle from the VFD.... So there may have been a problem then.

I just swapped in a Mitsubishi VFD from another machine and it runs fine with an ext. switch and 1k pot. ...

I am not seeing control voltage on the Masso output pin when S24000 and M3 are issued so it seems like a hardware problem...

I had previously seen about 24v on pins 4&5 but that is gone as well.. And swapping optos didn't change it ... I have new ones coming and will try those but the missing 0-10v is a big concern. Is there a separate optocouple for Spindle Pin 1? It would be great to have a Masso schematic...
 

cncnutz

CNCnutz
Staff member
Hi Hugh

The 24v you previously saw across pins 4 & 5 comes from the VFD as the opto's do not output voltage. If it drops to 0v when you connect the VFD it would imply the optocoupler is short circuit but in Step 5 with the potentiometer connected to the the VFD it would have started the spindle turning. Are you still getting voltage from the VFD before you connect it to pins 4&5?

I agree the lack of a voltage coming from Pin 1 is a worry and there is no optocouple for this and it will come straight from an IC on the board. I personally don't know which one it is but it won't be easy to swap like an optocouple

Cheers

Peter
 

hgriffin1

hgriffin1
Waiting for new optos to show up late today but concerned about the following:

I have a working Mitsubishi VFD from another system. (same model shown in the Masso spindle config documentation). The VFD is able to be controlled wiring up an external 1k 2w potentiometer on the 0-10v input and a switch between pins SD and STF. I am able to start/stop and vary the spindle speed with this manual config. When wired to Masso, I am able to set the speed in the MDI and watch the voltage vary between 0 and 10v. The problem comes in when I connect to pins 4 & 5 (fwd) to the VFD.

Under VFD Ext control with the Masso F2 screen open and "Spindle Stop" selected, if the VFD "SD" input to Masso spindle pin 4 and VFD STF input to Masso pin 5 are connected, the spindle starts running immediately and won't respond to "spindle stop" on the masso F2 screen ( I can vary the speed with MDI commands but M3/M5 have no effect). I discovered this when I had the VFD off and wired the inputs. When I powered the VFD, the spindle started immediately even though it wasn't enabled in Masso. When pins 4/5 are reversed the spindle doesn't start which seems to indicate that the output of the optocoupler is at least partially working . I checked the current at the optocoupler inputs on the Masso board and they change from 0 to about 8 mA when CW and CCW are selected so it looks like everything from the Masso circuit board back seems fine. Optos should be at the house when I get there tonight so more tomorrow....
 

evermech

evermech
Hi Hugh

if the Masso is powered off but the vfd is on does it start spindle?

it almost sounds like you need to invert the signals for cw/ccw outputs, or maybe the inputs at vfd if possible

Guy
 

x-cnc

X - CNC
Great video CNCnutz. I follow your videos on the X-Carve forum also :)

Will it be the same exact wiring for the G3 Masso, as what was shown in the video?
 

hgriffin1

hgriffin1
Popped the new Optos in this morning. No change from what I wrote in post #13. I tried using invert in the F1 outputs screen and that didn't work either. Really at a loss to understand this problem...
 

cncnutz

CNCnutz
Staff member
Hi Hugh,

If I understand correctly you are now trying to connect a Mitsubishi VFD to Masso. I am not familiar with this model but I will assume it is the one in the documentation.

If this is the case you have got it wired as follows.

SD to terminal 5

STF to terminal 4

Masso terminal 1 has nothing connected to it.

Masso -ve is not connected to the VFD.

You also have a potentiometer wired into the VFD to provide a speed signal and have already proved that when you manually connect SD & STF together the spindle starts turning.

You have been into Masso spindle configuration screen and set it to VFD, Spindle RPM at 10V set to 24000, Spin up delay set to 2000mS and Spindle down delay set to 5000mS

You got to the F2 screen, press the CW button and nothing happens.

If any of this is wrong no matter how trivial please let us know so that we can understand your setup.



Troubleshooting:

Can you please measure the voltage between Spindle control terminal 4 & 5 with the VFD connected and turned on. Also which of these is +ve and which is -ve

Cheers

Peter

Due to the time difference here in New Zealand it will probably be some hours before I can replay as it is after midnight here.
 
Top