usb485 to huanyang vfd

More
7 years 2 months ago - 7 years 2 months ago #141925 by Hakan
Replied by Hakan on topic usb485 to huanyang vfd
Put that "-n spindle-vfd" back and see if things don't change.
Last edit: 7 years 2 months ago by Hakan.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #141949 by pl7i92
Replied by pl7i92 on topic usb485 to huanyang vfd
make shure you/USER are in the dialup group
sudo adduser $USER dialout

otherwise you wont be able to communicate and the vfd is not bekomming ready

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago - 7 years 2 months ago #141950 by Hakan
Replied by Hakan on topic usb485 to huanyang vfd
He is past that. The device opens just fine.
Last edit: 7 years 2 months ago by Hakan.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #142053 by tjones
Replied by tjones on topic usb485 to huanyang vfd
I finally got it working! Looking back I think I can figure out why it wasn't working.

First I didn't have PD164 on the VFD set correctly. But I didn't catch this till after I was getting the double naming error. I think part of the reason for the error is running the, halcmd loadusr, then trying to run linuxcnc while it was still searching (I was only able to see that message by using the '-g' debug message in the loadusr line). Deleting the, '-n spindle-vfd' got ride of the double naming error. (Still a little confused why I need both '-Wn and -n lines in there. In the desrciption of -Wn it waits for the connect and names the device as well as '-n' names the device. ) Then I figured out the PD164 was set wrong and when I added the '-n spindle-vfd' line back in I was up and running. Also not sure if this had anything to do with it or not but I changed the communication speed to 9600.

Thanks for all the help Hakan!

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #158348 by tjones
Replied by tjones on topic usb485 to huanyang vfd
I am setting up another huanyang VFD with a 7i96 and 2.9. I have been following the above and my previous build. So far I can run the "halcmd loadusr" command and the "halcmd spindle enable" and when I use the "halcmd show pin" I can verify that it is true. So I think I am good with the USB to VFD connection. However when I go to open my config I get error on spindle waitpid and then hy_vfd has been exited without becoming ready. Any ideas?

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #159073 by andypugh
Replied by andypugh on topic usb485 to huanyang vfd
You may need to configure the VFD for ~modbus communications.

Can you paste the exact error messages?

Please Log in or Create an account to join the conversation.

Time to create page: 0.416 seconds
Powered by Kunena Forum