-
Just got a VFD and wanted to know if i could use a RS385 module (http://www.yourduino.com/sunshop/index.php?l=product_detail&p=323#:~:text=This%20module%20interfaces%20an%20Arduino,the%20same%20RS%2D485%20wiring.) to convert the TTL to rs485? Where would I connect the RE and DE? I know tx and rx are DI and RI. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
You can use it provided that support for the direction signal is added to the driver. The easiest way would be to let the modbus plugin claim the highest numbered auxillary output (if available) on init, a bit more involved would be to add it to the driver.c code.
Short them together and connect to the direction signal pin. Note that this repo is no longer updated, the active one is here. |
Beta Was this translation helpful? Give feedback.
-
Fwiw, I'm using ones like these - https://www.aliexpress.com/item/32896018384.html |
Beta Was this translation helpful? Give feedback.
-
Okay so I've setup the VFD and gotten it working. Now I'm working on compiling VFD support into GRBL Hal and have some questions When defining SPINDLE_HUANYANG, What is the difference between 1 and 2 Can I comment out and reclaim by Spindle En/dir/pwm pins? For shits and giggle I tried compiling it with SPINDLE_HUANYANG 2 and MODBUS_ENABLE 1 and am getting the following errors:
Guessing that there are a few things that need updating. Is there a working driver that I can look at to reference what needs changing? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
The protocol version, 1 is not following Modbus conventions, 2 is. I do not know model numbers vs. protocol version, can be found in the VFD driver documentation?
No, it is done automatically.
Yes.
You have to download the submodules along with the driver code when updating.
The current driver should work when the submodules are in sync with the driver. |
Beta Was this translation helpful? Give feedback.
The protocol version, 1 is not following Modbus conventions, 2 is. I do not know model numbers vs. protocol version, can be found in the VFD driver documentation?
No, it is done automatically.
Yes.
You have to download the submodules along with the driver code when updating.
The current driver should work when the submod…