huanyang vfd & linuxcnc 2.7
01 Jun 2015 04:44 #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 or Create an account to join the conversation.
01 Jun 2015 04:54 #59279
by vre
Replied by vre on topic huanyang vfd & linuxcnc 2.7
So no hope here..
Please Log in or Create an account to join the conversation.
01 Jun 2015 04:59 #59280
by alan_3301
Replied by alan_3301 on topic huanyang vfd & linuxcnc 2.7
can you double check pd002 = 2?
Please Log in or Create an account to join the conversation.
01 Jun 2015 05:31 #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
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 or Create an account to join the conversation.
01 Jun 2015 06:10 #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 or Create an account to join the conversation.
01 Jun 2015 11:09 - 01 Jun 2015 11:19 #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
@andypungh sorry for my bad english
'here' i mean commented line in pyvcp gui has value 500 constantly
Last edit: 01 Jun 2015 11:19 by vre.
Please Log in or Create an account to join the conversation.
01 Jun 2015 17:21 #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
net spindle-cmd <= motion.spindle-speed-out
option 2
in custom.hal, change the very last line to read
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 or Create an account to join the conversation.
01 Jun 2015 17:46 - 01 Jun 2015 17:47 #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.
net spindle-cmd-rpm => spindle-vfd.speed-command
thank you.
Last edit: 01 Jun 2015 17:47 by vre.
Please Log in or Create an account to join the conversation.
12 Jun 2015 04:37 - 14 Jun 2015 23:26 #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
Last edit: 14 Jun 2015 23:26 by vre.
Please Log in or Create an account to join the conversation.
12 Sep 2015 19:15 #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 or Create an account to join the conversation.
Time to create page: 0.195 seconds