- Posts: 27
- Thank you received: 4
RS485 Communication Problem with HY Inverter
- macsddau
- Topic Author
- Offline
- Junior Member
-
I'm trying to control the 2.2kW spindle connected to a Huanyang Inverter HY022223B through the RS485 link.
I have followed this video tutorial to help me configuring.
But nothing append. Spindle doesn't work.
I have found on the forum command lines to get some test out of LinuxCNC.
The last line return infinite error :
Can you help me to solve this issue ?
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
- Posts: 1317
- Thank you received: 454
Other than that it can be a cabling issue. I have had good luck with a twisted cable pair from
a network cable. You can also try to connect the cable with reversed polarity.
Also make sure the copper is in contact in the terminal of the vfd and not the insulation of the cable. Don't ask...
Please Log in or Create an account to join the conversation.
- macsddau
- Topic Author
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 4
Effectively, Pinout of USB converter is not written on it. Data- and Data+ were inverted.
I can now run the spindle with LinuxCNC !
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
-
- Posts: 1871
- Thank you received: 358
can you do a QUICK image and connection schema
that will help more of NEW CNC people
Please Log in or Create an account to join the conversation.
- macsddau
- Topic Author
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 4
The USB to RS485 converter :
White wire (D+) has to be inverted with the blue wire (D-). pinout of the converter is :
| Left | GND |
| Center | D+ |
| Right | D- |
And the connection into the HY inverter :
There's no schematic.
The Router CNC console is now closed. I will normally not open it yet until router table is made ... wait and see...
Please Log in or Create an account to join the conversation.
- ronny130286
- Offline
- New Member
-
- Posts: 1
- Thank you received: 0
you can try this: github.com/esp8266/source-code-examples/issues/26
I had a similar problem, the result, my Debian 9 user had no rights to read the dev/tty*. You can temporarily test with the description in the first post (see link) if it's okay so do this from second post.
Maybe it helps.
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
- Offline
- Premium Member
-
- Posts: 148
- Thank you received: 29
ronny130286 wrote: Hi,
you can try this: github.com/esp8266/source-code-examples/issues/26
I had a similar problem, the result, my Debian 9 user had no rights to read the dev/tty*. You can temporarily test with the description in the first post (see link) if it's okay so do this from second post.
Maybe it helps.
It was a wiring issue. D+ & D- where inverted. It was solved and it works good on LinuxCNC 2.7.14 Debian 7 Wheezy.
For the fun, I have make a install LinuxCNC 2.8 pre1 on Linux Mint 19.1 with RT preempt and RS communication doesn't work. I have already try this solution but it doesn't solve the problem.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19311
- Thank you received: 4655
Please Log in or Create an account to join the conversation.