Competing interests of VFD and XHC-HB04 (with my own ignorance!)

More
21 Jun 2018 01:35 #112682 by curtisa

Earlier I did a reset on the VFD (PD013 8) in case this unit had been used before (no real evidence) and not reset. I then set the numbers as

PD001 = 2 (Accept commands via RS485)
PD002 = 2 (Accept drive frequency commands via RS485)
PD163 = 1 (Set RS485 slave address to 1)
PD164 = 2 (Set RS485 baud rate to 19200)
PD165 = 3 (Set RS485 comms parameters to 8 bits, no parity, 1 stop bit)


Just noticed another error in your testing. In your second txt file you attached where you were still getting (-12) errors after issuing 'setp hy_vfd.enable 1', you've used the incorrect 'loadusr' command for the given PD165 VFD setting:

loadusr -W hy_vfd -d /dev/ttyUSB0 -p even -r 19200

This should be:

loadusr -W hy_vfd -d /dev/ttyUSB0 -p none-r 19200

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

More
24 Jun 2018 01:25 #112810 by TRAUPMANN00
The baud and parity have been in a constant of testing. I am becoming convinced the unit is bad. I will attempt a return after I try 2 more RS-285 units coming tomorrow.

Will advise.

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

More
24 Jun 2018 07:00 #112814 by billykid
this is the line in my custom.hal. it works.

loadusr -Wn spindle-vfd hy_vfd -n spindle-vfd -t 1 -d /dev/ttyUSB0 -p none -r 9600 -s 1

regards
Mauro

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

More
24 Jun 2018 22:41 #112825 by curtisa

The baud and parity have been in a constant of testing.


Yes, but you're specifying even parity in your 'loadusr' command when you have the Huanyang set to no parity:

PD165 = 3 (Set RS485 comms parameters to 8 bits, no parity, 1 stop bit)

loadusr -W hy_vfd -d /dev/ttyUSB0 -p even -r 19200

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

More
26 Jun 2018 11:02 #112874 by billykid
Try at 9600 baud..mi seems to work only at 9600 .. I had trouble too

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

More
26 Jun 2018 18:39 #112903 by TRAUPMANN00
I am grateful for all the suggestions, but I have flipped, switched, and maneuvered this baby to every combination suggested and documented as well as a few of my own. I am convinced the Unit is not accepting VFD commands. I have just requested an exchange of the Inverter unit, or I will send the entire bundle back.

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

More
05 Jul 2018 17:21 #113482 by TRAUPMANN00
I am attempting to work with people in China to resolve my VFD issue. They sent a video that showed the use of some software that could test the communication between the computer and the VFD. I am not able to send the video through this Forum, but I have put it on Google Drive for viewing. You can access it through this link for the next 30 days.
drive.google.com/file/d/1-fgPxOtMKleV74i...RTP/view?usp=sharing

If someone who speaks Chinese you may be able to listen and find out what this software is:

I would like to find similar software for use on a Debian system.
I do not have a PC near the VFD, nor 220V near my PC.
Please let me know.
Attachments:

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

More
05 Jul 2018 19:48 #113502 by rodw
Software is sscom32.

Try this download link
en.tzonedigital.cn/en/tools/details/10.aspx

There are a number of modbus simulators that turn up on a google search.
The following user(s) said Thank You: Mike_Eitel

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

More
06 Jul 2018 18:01 - 07 Jul 2018 19:08 #113593 by TRAUPMANN00
loaded on an old XP laptop. It worked.
What commands do I send it??


Checked out numerous softwares and none are easy enough for me to manage ;-(
Last edit: 07 Jul 2018 19:08 by TRAUPMANN00. Reason: updated

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

More
07 Jul 2018 22:15 #113730 by curtisa
How about SpindleTalker2 ? That seems to be a popular little application used to give you a go/no-go chekup on the Huanyang VFDs on Windows.

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

Time to create page: 0.080 seconds
Powered by Kunena Forum