FEED-OVERRIDE as 4 position switcher how to?

More
14 Aug 2010 07:18 #3737 by aike
Hi!
I want to create 4 position switcher 25% 50% 100% and 200% for feed
Here is xml and hal examples. The problem - I don't know where to connect mux8.1.out pin.
I've seen only increase/decrease pins. Is it possible to create FIX (not bar) switcher?

<labelframe text="FEED OVERREAD">
<radiobutton>
<choices>["25%","50%","100%","200%"]</choices>
<halpin>"feed-rate"</halpin>
<font>("Helvetica",12)</font>
</radiobutton>
</labelframe>

#FEED-OVERRIDE
setp mux8.1.in0 0.0
setp mux8.1.in1 0.25
setp mux8.1.in2 0.50
setp mux8.1.in3 1.00
setp mux8.1.in4 2.00
setp mux8.1.in5 0.0
setp mux8.1.in6 0.0
setp mux8.1.in7 0.0

net feed-025 <= pyvcp.feed-rate.25% => or2.0.in0
net common-025-100 or2.0.out mux8.1.sel0
net feed-050 <= pyvcp.feed-rate.50% => or2.1.in0
net common-050-100 or2.1.out mux8.1.sel1
net feed-100 <= pyvcp.feed-rate.100% => or2.0.in1 or2.1.in1
net feed-200 <= pyvcp.feed-rate.200% => mux8.1.sel2
#net feed-override mux8.1.out halui.feed-override.value

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

More
14 Aug 2010 17:58 #3742 by cmorley
This feature - to set override directly -is available in the developer version 'master'
I can't think of a workaround ....other then to use the master version

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

More
15 Aug 2010 06:02 #3754 by aike
cmorley wrote:

This feature - to set override directly -is available in the developer version 'master'
I can't think of a workaround ....other then to use the master version

Well, where can I download and try to use "master" version?

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

More
17 Aug 2010 08:18 #3784 by andypugh

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

Time to create page: 0.673 seconds
Powered by Kunena Forum