Zhong Hua Jiang CNC Spindle,110V 1.5KW and H100 VFD. Need Modbus settings

Hey Mike,

I don’t think it’s different internally. In the controller source code, H100 and V70 are identical. You can have a look at it yourself, it’s open source.

And as reported, this user got his H100 to run with the settings shown above, he just had temporary errors due to insufficient cable shielding.

And this user also had success with getting his H100 to run with these settings.

That some VFDs are identical with others is often the case. Hitachi WJ200 and Omron MX2 are practically identical, and Hitachi S1 and Galt G200 are practically identical too.

Hope you report how it goes on.

Okay I guess I did not try the one in the above post, but will try it later today or tomorrow and will let you know how it goes. Thanks for letting me know about the cable shielding, I would have never guessed that. So do you know what wires need to be shielded and what you shield them with if that does become a problem for me?

Thank you so much for helping me with this and will keep you updated.

Hey Mike,

most important to shield is the cable from VFD to spindle. This is because the currents the VFD produces are by no means nice sine waves, they are a heavy source of EMI.

You can find some information about wiring a spindle and a VFD in the following threads

Regarding spindle cable, I always strongly recommend to buy it ready-to-use with the spindle from the spindle manufacturer. Reputable spindle manufacturers always offer this. Unfortunately many cheap chinese spindle/VFD kit vendors offer only a loose plug and a piece of cable for making the spindle cable yourself, but I can not recommend this. In the case one’s budget allows only for a cheap chinese spindle kit, I know you can buy a spindle cable ready to use here.

Next thing to have shielded is the VFD enclosure, called control cabinet, as explained here.

The cable for the ModBus communication between VFD and CNC Controller finally is a signal cable. It should be a …

For a good connection it’s good to use wire ferrules as mentioned here

1 Like

Hi Aiph5u,
I did everything and I am still getting a timeout. So first in the Onefinity Tool Configuration in the tool-type I am using the Custom Modbus VFD because mine is not listed. As you can see from the images, I have the correct settings and getting a failure at 0 max-freq-read 5 0. I also included a screen shot of the thread that you shared with me showing the correct VFD settings and I made sure these were correct on my H100 VFD. Let me know what you think the problem is.

Thanks,

Mike



I had to switch around the two wires between OF controller and VFD to get rid of a Modbus error. Have you tried that?

1 Like

When you say OF controller, do you mean the Breakout Board Adapter?
If that is what you are talking about, are you using number 13 and 14? or 15 and 16?

Thanks,

Mike

Hey Mike,

I would check cabling of the signal wires and if they have a good connection.

I would check if there is the issue with the breakout board adapter which was reported here. It’s about the breakout board adapter not getting any or no proper connection to the pins of the Onefinity Controller because the screws/sockets of the DB-25 connector/breakout board adapter prevent that.

As Martin @MVall already suggested, some users also had success with switching the two signal wires around.

You can also experiment with altering communications speed. This sometimes can help if the line is noisy. But you got to have matching values on Onefinity Controller and VFD:

Onefinity Controller
baud
VFD
F164
4800 0
9600 1
19200 2
38400 3

Hey Mike,

Precisely.

13 and 14, as explained here.

References

I just tried switching the two wires on the Breakout Board Adapter and that did not change anything. I am using #13 and #14 on the Breakout Board Adapter, this is what the manufacture said to use.

Here is an image of the Breakout Board Adapter:

Hey Mike,

did you check if you have this issue (already mentioned above)? Does it work after you removed the nuts (A) of the DB-25 Port, as mentioned in that post?

Yes, that was what I did as well. Sorry that didn’t do it for you. Just didn’t want you to miss a potentially easy fix.
But @Aiph5u has some good further suggestions to try in his link re connections, cables, etc. Hope it works out eventually

Yes I did and it also made no difference, I even checked the continuity of the breakout board and it was good.
Question: I was told by the Zhong Hua Jiang that I should use #13 and #14 on the breakout board for the wires coming from the VFD, do you use the same? I have read once to use #15 and #16.

Thanks,

Mike

Hey Mike,

yes, of course, 13 (RS385 A) and 14 (RS385 B). You got to have them connected to 485+ and 485- on the VFD (I linked you to the exact I/O port docs above).

But you don’t know where did you read that? Pins 15 (“tool enable”) and 16 (“tool direction”) just switch on and off a non-VFD spindle. Pin 15 (“tool enable”) is used by many users for a relay to switch their hand trim router on and off.

Your VFD however is also able to be controlled by these pins. You could use that as a fallback solution if you cannot get the ModBus communication to work. In the Onefinity Controller, you would choose “PWM spindle” as “tool type” and wire pin 15 (“tool enable”) to one of the programmable multi-function inputs of your VFD and the Onefinity Controller would be able to switch on and off the spindle by g-code commands or by a g-code program, similarly as it would if connected over the ModBus communications port. As for spindle speed, it could be controlled by pin 17 (“tool PWM”) if you buy a PWM-to-Control-Voltage converter and connect it to the 0-10 V analog speed input of the VFD. You got to program these ports and modes accordingly inside your VFD. This is described in your VFD manual.

By the way, this analog control voltage is the way how the MASSO CNC Controllers control a VFD, since MASSO controllers don’t have a ModBus communications port :frowning:.

One user reported the problem (which persisted) was with the DB-25 connector soldered into Onefinity Controller Mainboard, and where the problem could only be resolved by resoldering the solder joints on DB-25 connector pins on Onefinity Controller Mainboard :frowning:.

Unfortunately some users reported in the past they did not get the ModBus connection to run at all. This exclusively applied to cheap chinese VFDs though. There can be many reasons why it fails, some of them can be found, others not. However I encourage everybody who wants to run an induction motor (=spindle) on their CNC rather than a hand trim router that sets your workshop on fire :slight_smile:

1 Like

Definitely frustrating when you can’t get the core functions to work. @Aiph5u is obviously very knowledgeable and has helped a number of people here with VFD issues, so you may well be in the territory of defective products, either the OF internal board, the VFD, or possibly even your signal cables somehow.
Don’t know how much further you want to go down this road, but you could still play with the baud rate (communication speed) if you haven’t yet. One user randomly got things going that way. @Aiph5u gave you the info above.
Otherwise, if you’re able to get your hands on a different VFD to test, that would another step.

Thank you all so much for this feed, my Zhong Hua Jiang CNC Spindle,110V 1.5KW and H100 Series VFD kit will be here on Jan 11th, 2024 and I too may have some questions. Mike never concluded if he resolved the issue. I will update this thread with my experience(s) when I begin installation, I have ordered additional 4 core shielded cable as I intend to change the Z axis cabling as well (due to having 2 connection failures) and make the probe a single cable affair by “grounding” the spindle to the magnet wire permanently. I have the break out box for connecting to the BBC - wish me luck!

Hey Chris,

regarding the H100 VFD, that is usually identical to the V70 VFD, we have a search function in this forum.

Regarding wiring the magnet end, this is not necessary. A spindle’s housing is already connected to ground by its PE wire to the system’s ground, so the magnet end of the XYZ Touch probe is no more necessary. See here for details. Also all moving parts of a CNC machine Must be grounded separately (see also Parts and tools you need to ground your Onefinity). So this applies also to the Z slider into which the spindle is clamped, which like every moving part needs its own grounding wire.

Regarding spindle cable, see here and here.

1 Like

I never did get it to work, Got tired of dealing with it and just use the spindle manually. But if you come up with a solution please let me know.

Thanks Aiph5u thanks for the poke on the grounding requirements I will do this as I await the new spindle.

Hi everybody, just completed adding 65mm spindle Zhong Hua Jang air cooled with a H100-1,5C2 1B VFD. This is what I learned on my journey.

Spindle is approximately 238mm (9.37") long when installed in the Z16 clamp it protrudes a whopping 120mm (4.72") from the clamp. I was able to measure 0.50mm (0.020") deflection at the collet with not a lot of force TBH. So I went the Nema 23, 50mm spacer route to raise the stepper motor and reduce the spindle protruding to 70mm (2.7") with the same approximate force I measured 0.1mm (0.05") deflection - happy camper!

Next set up the VFD using the standard settings for the HY VFD and V70, both the HY and V70 are options within the 1F BBC sowtware. Oddly the V70 selection worked best for my VFD/Spindle.

Issues I encoutered:

  1. No communication between VFD and the Controller using the HY configuration from the 1F BBC software drop down list. Could not get rid of the “timeout” condition no matter what I did.

Checked all connections “belled out” cables all fine – stumped.

Went back to BBC software and scrolled through the VFD listing and loaded V70 settings, the condition changed from “timeout” to alternating between “OK, NRC fault” progress sort of!

After further investigation I found by jiggling the break out box on the back of the BBC sometimes the signal would hold and the “OK” would stick – yay found problem number 2.

  1. The breakout box connection would not seat properly on the back of the port on the back of the BBC due to the standoffs for securing the breakout box to the BBC are too high, I removed them and the condition then went to a permanent “NRC fault” and no longer alternated back and fore from “NRC fault and OK” – found problem number 3

  2. In the Breakout Box we used pin outs 13+Ve and 14-Ve and attach to corresponding +Ve and -Ve connections on the VFD, well on the VFD the labelling was incorrect, so I swapped the 2 wires, and everything works great.

For fun I switched the settings back to HY configuration as the BBC, VFD and Spindle were all playing nicely together under the V70 configuration, well that was not a smart move right back to a “timeout” error! So went back to the V70 configuration and it all works again.

I have test ran 2 programs all is good.

Checked grounding everything is grounded back to receptacle.

Time taken 12 hours over 2 days!

My total cost for this conversion to a 65mm spindle with VFD is $565CDN. If I had an extra $600CDN I would of saved a ton of hassle and gone with PWN CNC. If I went with an 80mm spindle and heavy duty Z 20 and a PWN system it would be nipping at $2,000CDN

1 Like

Hi Mike just finished installing mine it was a bit of a bugger TBH but please see what I found!

1 Like