huanyang vfd & linuxcnc 2.7

More
11 years 5 months ago #59100 by vre
I have linuxcnc 2.7 and iam trying to compile this
github.com/bebro/linuxcnc-huanyang-vfd
but it does not compile.. comp command does not exist in 2.7 version .
Any help how to compile and install this huanyang vfd plugin ?

Please Log in to join the conversation.

More
11 years 5 months ago #59101 by ArcEye
Replied by ArcEye on topic huanyang vfd & linuxcnc 2.7
comp was renamed halcompile, remainder of switches etc are the same.

Name clashed with other apps to do with comparison and was causing confusion with some users.

regards

Please Log in to join the conversation.

More
11 years 5 months ago #59115 by vre
Replied by vre on topic huanyang vfd & linuxcnc 2.7
i have installed this github.com/bebro/linuxcnc-huanyang-vfd/tree/linuxcnc
but linuxcnc can not start.
Iam using a usb to rs485 adapter recognized as /dev/ttyUSB0

Please Log in to join the conversation.

More
11 years 5 months ago #59135 by andypugh

vre wrote: i have installed this github.com/bebro/linuxcnc-huanyang-vfd/tree/linuxcnc
but linuxcnc can not start.


If you try to start linuxcnc from the command line (command "linuxcnc") then there should be details of the error that is preventing the start. (probably buried in other stuff).

Please Log in to join the conversation.

More
11 years 5 months ago #59139 by alan_3301
the binary is there, you don't need to compile if you don't want to

post the errors you are getting. I have a bunch of experience with this, just need to remember all the problems I had getting it going.

Please Log in to join the conversation.

More
11 years 5 months ago #59145 by vre
Replied by vre on topic huanyang vfd & linuxcnc 2.7
No eBay APP ID and/or Cert ID defined in Kunena configurationNo eBay APP ID and/or Cert ID defined in Kunena configurationI have compiled fine but binary seems that can not connect..
Iam using this adapter
I will buy now this adapter
perhaps the problem is the adapter or the wire lenght and termination i connected it without 120 ohm resistors

Please Log in to join the conversation.

More
11 years 5 months ago #59146 by alan_3301
have you set up your vfd correctly?

PD001 = 2 (run commands to comm port)
PD002 = 2 (operating freq to comm port)
PD163 = 1 (slave address 1)
PD164 = 1 (baud rate to 9600 b/s)
PD165 = 3 (8N1 for RTU mode)

Please Log in to join the conversation.

More
11 years 5 months ago #59147 by alan_3301
you can pick what you want for pd164 and pd165, just make sure they match what is specified in custom.hal

Please Log in to join the conversation.

More
11 years 5 months ago #59148 by alan_3301
It is helpful to setup a loopback, and using a terminal program, make sure the rs485 is working.
I had to verify my stuff on a scope to make sure which wire was + and what was -. also I had to leave off the 120 ohm resistors, the waveform became unreadable with them installed.


once that side of everything is working, it's just a matter of making sure all the vfd settings match what the parameters for custom.hal

you can run hy-vfd in a terminal to see all the command line options.

Please Log in to join the conversation.

More
11 years 5 months ago #59161 by vre
Replied by vre on topic huanyang vfd & linuxcnc 2.7
I have been set the parameters correctly to the vfd and code
but the output is: RTAPI error can't access shared memory and then segfault.

Please Log in to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum