failure Huanyang VFD HY01D523B

More
4 years 7 months ago #237540 by andypugh
OK. So you have decided to change the name of the VFD with the -n option.

use vfd.enable instead.

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

More
4 years 7 months ago #237543 by Manu663
Ok, i've set it as follows:
setp vfd.enable 1

But i got the same message as at the beginning .
Read setup failed
Error reading setup from vfd retrying
Coms time out

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

More
4 years 7 months ago #237545 by andypugh
And parity?

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

More
4 years 7 months ago - 4 years 7 months ago #237546 by Manu663
parity none
Last edit: 4 years 7 months ago by Manu663.

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

More
4 years 7 months ago #237581 by andypugh
I am at a loss. Though I have just noticed that you are _still_ not using the command line that I suggested; you have dropped the -b8

Does it definitely not work, (ie, ignore the messages and carry on regardless)

Note that it is often easier to debug in a live HAL session. With Linuxcnc _not_ running, open a terminal and:
Code:
halrun loadusr -W hy_vfd -d /dev/ttyUSB0 -r 19200 -b8 -pnone -s1 -t1 show pin setp hy_vfd.enable 1 setp hy_vfd.spindle-forward 1 setp hy_vfd.spindle-on 1 setp hy_vfd.speed-command 10000

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

More
4 years 7 months ago - 4 years 7 months ago #237647 by Manu663
I'm really sorry but I seem to have completely forgotten your suggestion about the -b8 argument.
It's really beyond my control and I have to explain: my machine is located in my garage with no possible network coverage and I have to resort to pictures taken with my phone to apply the suggested corrections. It is likely that I have lost a piece between the garage and my computer upstairs.
I am confused and apologise for this.

I will immediately try the lines of code you gave me and stick to them strictly.

[EDIT] When I enter the line 'setp hy_vfd.enable 1' I get comms time out as shown below
 
Last edit: 4 years 7 months ago by Manu663.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum