- Posts: 132
- Thank you received: 0
huanyang vfd & linuxcnc 2.7
11 years 4 months ago #59278
by alan_3301
Replied by alan_3301 on topic huanyang vfd & linuxcnc 2.7
my config has hy-freq-command commented out in custom_postgui.hal also.
Please Log in to join the conversation.
11 years 4 months ago #59279
by vre
Replied by vre on topic huanyang vfd & linuxcnc 2.7
So no hope here..
Please Log in to join the conversation.
11 years 4 months ago #59280
by alan_3301
Replied by alan_3301 on topic huanyang vfd & linuxcnc 2.7
can you double check pd002 = 2?
Please Log in to join the conversation.
11 years 4 months ago #59281
by andypugh
I am rapidly losing interest in trying to help here.
If there is no connection in HAL between the commanded speed from the system to your VFD then of course it won't work.
You need to configure the HAL so that motion.spindle-speed-out is connected to the VFD frequency command, probably through a scaling function. (though you can probably scale in the VFD, so that might not be needed)
You can't expect to be able to configure a non-standard LinuxCNC installation without understanding HAL. Read the documentation.
Replied by andypugh on topic huanyang vfd & linuxcnc 2.7
vre wrote: So no hope here..
I am rapidly losing interest in trying to help here.
If there is no connection in HAL between the commanded speed from the system to your VFD then of course it won't work.
You need to configure the HAL so that motion.spindle-speed-out is connected to the VFD frequency command, probably through a scaling function. (though you can probably scale in the VFD, so that might not be needed)
You can't expect to be able to configure a non-standard LinuxCNC installation without understanding HAL. Read the documentation.
Please Log in to join the conversation.
11 years 4 months ago #59282
by alan_3301
Replied by alan_3301 on topic huanyang vfd & linuxcnc 2.7
if your pd002 is already set to 2, zip up your whole config directory and post it, I will try to figure it out.
stepconf sets puts "net spindle-cmd <= motion.spindle-speed-out" in the main INI
then custom.hal should have "net spindle-cmd => spindle-vfd.speed-command"
that should be connected to the VFD through the hy_vfd component.
stepconf sets puts "net spindle-cmd <= motion.spindle-speed-out" in the main INI
then custom.hal should have "net spindle-cmd => spindle-vfd.speed-command"
that should be connected to the VFD through the hy_vfd component.
Please Log in to join the conversation.
11 years 4 months ago #59294
by vre
Replied by vre on topic huanyang vfd & linuxcnc 2.7
Here is my config
@andypungh sorry for my bad english
'here' i mean commented line in pyvcp gui has value 500 constantly
Attachment not found
@andypungh sorry for my bad english
'here' i mean commented line in pyvcp gui has value 500 constantly
Please Log in to join the conversation.
11 years 4 months ago #59299
by alan_3301
Replied by alan_3301 on topic huanyang vfd & linuxcnc 2.7
It looks like 2.7 changed some names for spindle pins.
you have 2 options
option 1.
in 6040-parallel.hal, add this to line 24
option 2
in custom.hal, change the very last line to read
If anyone wants to update the files in the first link, (sorry I'm not familiar with that), option 1 should keep compatibility with 2.5+, option 2 should only work with 2.7+
I think.
VRE let me know what happens, should be an easy fix.
you have 2 options
option 1.
in 6040-parallel.hal, add this to line 24
Code:
net spindle-cmd <= motion.spindle-speed-out
option 2
in custom.hal, change the very last line to read
Code:
net spindle-cmd-rpm => spindle-vfd.speed-command
If anyone wants to update the files in the first link, (sorry I'm not familiar with that), option 1 should keep compatibility with 2.5+, option 2 should only work with 2.7+
I think.
VRE let me know what happens, should be an easy fix.
Please Log in to join the conversation.
11 years 4 months ago #59300
by vre
Replied by vre on topic huanyang vfd & linuxcnc 2.7
Now works with the change to custom.hal.
I can set the rpm from linuxcnc.
thank you.
Code:
net spindle-cmd-rpm => spindle-vfd.speed-command
thank you.
Please Log in to join the conversation.
11 years 4 months ago #59733
by vre
Replied by vre on topic huanyang vfd & linuxcnc 2.7
How can i move huanyang gui from right to an axis tab?
I want to do this because ngcgui tabs does not fit correctly to reduced screen from huayang gui
Answer is here
www.linuxcnc.org/index.php/english/forum...pyvcp?start=10#59782
I want to do this because ngcgui tabs does not fit correctly to reduced screen from huayang gui
Answer is here
www.linuxcnc.org/index.php/english/forum...pyvcp?start=10#59782
Please Log in to join the conversation.
11 years 1 month ago #62497
by pommen
Replied by pommen on topic huanyang vfd & linuxcnc 2.7
Hello there,
In fear of flooing the forum in new threads about more or less the same ting, I hope to highjack this thread a bit.
With 2.7 now including a huanyang driver i want to give it a shot at my first tinkering outside Stepconf.
While trying to wrap my head around it all I read basic hal and the manual pages (hy_vfd part)
I still dont get how you would know what to include. I mean where do you begin to figure you what to use, and to what pin?
I have been scratching my head reading and watching the examples in the thread, but I cannot get it start the app, getting one error efter another and not really seing the redthread in it all.
well..long story short:
Does anyone have a working setup using the huanyang driver i could have a look at?
As you can imagine im very new to both Linux and Linuxcnc, So any advide anyone give me needs to be teaspoon seize
/Peter
In fear of flooing the forum in new threads about more or less the same ting, I hope to highjack this thread a bit.
With 2.7 now including a huanyang driver i want to give it a shot at my first tinkering outside Stepconf.
While trying to wrap my head around it all I read basic hal and the manual pages (hy_vfd part)
I still dont get how you would know what to include. I mean where do you begin to figure you what to use, and to what pin?
I have been scratching my head reading and watching the examples in the thread, but I cannot get it start the app, getting one error efter another and not really seing the redthread in it all.
well..long story short:
Does anyone have a working setup using the huanyang driver i could have a look at?
As you can imagine im very new to both Linux and Linuxcnc, So any advide anyone give me needs to be teaspoon seize

/Peter
Please Log in to join the conversation.
Time to create page: 0.066 seconds
