- Posts: 58
- Thank you received: 0
usb485 to huanyang vfd
Please Log in to join the conversation.
Can you paste the exact error messages?
Please Log in to join the conversation.
i did also face problems on 2.9 from a recent 2.8 on the vfd
putting everything from the main HAL to a postgui Hal did solve almost all externel invirerment problems
the new interpreter is very triggy on externel in and out signals to the main hal system even on servotread
the postgui seams to be handled mutch more timing friendly as it has been in 2.7.x
Please Log in to join the conversation.
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
But if I had to guess I would say that the driver is not finding the VFD.
Are you sure you are configuring the serial port correctly?
Please Log in to join the conversation.
- halcmd loadusr -Wn spindle-vfd hy_vfd -S 24000 -F 400 -n spindle-vfd -t 1 -d /dev/ttyUSB1 -p none -r 19200 -s 1 -g
- halcmd setp spindle-vfd.enable 1
- halcmd show pin
Please Log in to join the conversation.
tjones wrote: Last time when I set up the VFD once I has able to run the following (which is just straight copied from the custom.hal file) in the terminal and verify the connection was good, I was able to get axis to load. But this time I can run the following in the terminal just fine. Seems like every other time I plug in my USB it switches between USB0 and USB1, so I have been updating that before I start, just using ls /dev/tty* to verify I am on the correct port.
There are ways to make the port name consistent:
indilib.org/support/tutorials/157-persis...al-port-mapping.html
(first google hit)
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
tjones wrote: I am looking through my HAL configuration in axis and if I look in Pins -> motion I don't have any motion.spindle Is this a problem?
If you are running 2.8 then the motion.spindle pins have been renamed to spindle.N.pins as part of multi-spindle support.
Please Log in to join the conversation.
