failure Huanyang VFD HY01D523B
17 Mar 2022 12:15 - 17 Mar 2022 13:30 #237530
by Manu663
Replied by Manu663 on topic failure Huanyang VFD HY01D523B
Attachments:
Last edit: 17 Mar 2022 13:30 by Manu663. Reason: spell check + photos + ttyUSB0 correction
Please Log in or Create an account to join the conversation.
17 Mar 2022 15:31 #237534
by andypugh
Replied by andypugh on topic failure Huanyang VFD HY01D523B
You need -pnone (no parity)
Please Log in or Create an account to join the conversation.
17 Mar 2022 16:28 #237536
by andypugh
Replied by andypugh on topic failure Huanyang VFD HY01D523B
Is custom.hal last in the list in the INI? I am wondering why we have no joint.1.amp-enable.
For simplicity you could try
setp hy_vfd.enable 1
Instead.
For simplicity you could try
setp hy_vfd.enable 1
Instead.
Please Log in or Create an account to join the conversation.
17 Mar 2022 16:49 - 17 Mar 2022 16:50 #237539
by Manu663
Replied by Manu663 on topic failure Huanyang VFD HY01D523B
Parity set to none and setp hy_vfd.enable 1 added in Custom hal file
I have the below message before closure:
./custom.hal:11: parameter or pin 'hy_vfd.enable' not found
I've attched the .ini, .hal & custom.hal files
I have the below message before closure:
./custom.hal:11: parameter or pin 'hy_vfd.enable' not found
I've attched the .ini, .hal & custom.hal files
Attachments:
Last edit: 17 Mar 2022 16:50 by Manu663.
Please Log in or Create an account to join the conversation.
17 Mar 2022 16:53 #237540
by andypugh
Replied by andypugh on topic failure Huanyang VFD HY01D523B
OK. So you have decided to change the name of the VFD with the -n option.
use vfd.enable instead.
use vfd.enable instead.
Please Log in or Create an account to join the conversation.
17 Mar 2022 17:17 #237543
by Manu663
Replied by Manu663 on topic failure Huanyang VFD HY01D523B
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
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.
17 Mar 2022 17:38 #237545
by andypugh
Replied by andypugh on topic failure Huanyang VFD HY01D523B
And parity?
Please Log in or Create an account to join the conversation.
17 Mar 2022 17:44 - 17 Mar 2022 17:44 #237546
by Manu663
Replied by Manu663 on topic failure Huanyang VFD HY01D523B
parity none
Last edit: 17 Mar 2022 17:44 by Manu663.
Please Log in or Create an account to join the conversation.
17 Mar 2022 22:43 #237581
by andypugh
Replied by andypugh on topic failure Huanyang VFD HY01D523B
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:
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:
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.
18 Mar 2022 15:55 - 18 Mar 2022 16:24 #237647
by Manu663
Replied by Manu663 on topic failure Huanyang VFD HY01D523B
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
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
Attachments:
Last edit: 18 Mar 2022 16:24 by Manu663.
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.326 seconds