Huanyang vfd Plug-in

More
09 Jul 2016 17:33 #77230 by andypugh
Replied by andypugh on topic Huanyang vfd Plug-in

My spindle is called " spindle- vfd.spindle -forward "

But I keep getting that error when I start my configuration !


If you get _that_ error message, then it may be that you are not editing the right file.

The error message says that you are trying to connect to a HAL pin called "spindle-vfd.spindle-fwd"

Are you sure that the error message hasn't changed?

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

More
19 Jul 2016 15:48 #77656 by LucaPlotter
Replied by LucaPlotter on topic Huanyang vfd Plug-in
I'm sorry I have been away because I had other problems with the pc .... short try again to set all that you told me , and you upgrade .... we hope that this time functions !

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

More
20 Jul 2016 16:12 #77726 by LucaPlotter
Replied by LucaPlotter on topic Huanyang vfd Plug-in
I tried to re-edit my custom.hal continues to give me back error ,
./custom.hal:6 : waitpid failed ht_vfd spindle- vfd
./custom.hal:6 : hy_vfd exited without becoming ready

more I can not access my tty !!!
Attachments:

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

More
20 Jul 2016 16:17 #77727 by andypugh
Replied by andypugh on topic Huanyang vfd Plug-in
I am not sure that you would expect to be able to do anything simply by typing /dev/tty

ls /dev/tty*

Should list the devices.

If you are running from a USB or DVD then you probably won't have the required access to the tty.

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

More
20 Jul 2016 20:50 #77735 by pommen
Replied by pommen on topic Huanyang vfd Plug-in
Hello Luca,

I am using the build in Huanyang component to interface with my Huanyang VFD through a rs232 to modbus converter.

I am handicapped with Linux, so I cant help you any further than to let you have a look at what works for me (attached).

Hope this helps.
Attachments:

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

More
20 Jul 2016 23:53 - 21 Jul 2016 00:04 #77748 by vre
Replied by vre on topic Huanyang vfd Plug-in
I have made a custom gladevcp panel for huanyang vfd.



Just put these files to your config folder
edit custom.hal this line
loadusr -Wn spindle-vfd hy_vfd --name spindle-vfd --device /dev/ttyUSB0 --bits 8 --parity odd --rate 38400 --stopbits 1
and put these settings to your vfd.

Also edit your machine ini file and add these lines in [DISPLAY] section
[DISPLAY]
EMBED_TAB_NAME=Huanyang VFD
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x {XID} -u handler.py huanyang.glade

Your [HAL] section in you machine ini file must have
[HAL]
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal

last add your user to dialout group (to allow access usb_to_rs485 for your user account)
from terminal give the command
sudo usermod -a -G dialout YOUR_USERNAME


File Attachment:

File Name: files.zip
File Size:2 KB
Attachments:
Last edit: 21 Jul 2016 00:04 by vre.

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

More
21 Jul 2016 16:20 #77786 by LucaPlotter
Replied by LucaPlotter on topic Huanyang vfd Plug-in
I must really thank everyone, though .... I have done everything to the letter in detail what you have suggested , but continues to give me errors , below its place text files for the first congigurazione who proposed me " pommen ( TEST_1 ) " and for the second configuration that I proposed " vre ( test_2 ) "

I do not understand much , but I really can not understand what can be !!!! Space would indeed if I were I could !!!

Thanks very much to all !
Attachments:

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

More
21 Jul 2016 19:42 - 21 Jul 2016 19:48 #77791 by vre
Replied by vre on topic Huanyang vfd Plug-in
How have generated your config ?
If you generated the config with stepconf wizard you must NOT select any spindle at stepconf dialog.
Last edit: 21 Jul 2016 19:48 by vre.

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

More
23 Jul 2016 16:05 #77884 by LucaPlotter
Replied by LucaPlotter on topic Huanyang vfd Plug-in
Yes, I opened again the tools " Stepconf Wizard" and I chose the modification of existing configuration with modified custom.hal , but nothing ! more usual error

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

More
23 Jul 2016 17:07 - 23 Jul 2016 17:08 #77888 by vre
Replied by vre on topic Huanyang vfd Plug-in
upload your config
Last edit: 23 Jul 2016 17:08 by vre.

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

Time to create page: 0.093 seconds
Powered by Kunena Forum