feed convertion
got it to work by adding mult2.0.in0 point 0
but i can only do one axis?
i mean i have to do this for the three axis ?
was looking for a combined feed rate.
You might want to consider using scale rather than mult2 (that gives you a factor and an offset)
www.linuxcnc.org/docview/html/man/man9/scale.9.html
For combining the three speeds into a "master" speed, look at
www.linuxcnc.org/docview/html/man/man9/hypot.9.html
Please Log in or Create an account to join the conversation.
even but all three ins' together(changed output to .577). how do i get it to be by
multiplied by 60. i use setp but no effect. this shows .333, what i have in my ini.
net feed-zero hypot.0.in0
net feed-one hypot.0.in1
net feed-two hypot.0.in0 motion.current-vel
net feed-output hypot.0.out pyvcp.feed-rate
want to work on hypot and scale. but one at time.
Please Log in or Create an account to join the conversation.
would this do the same? not much info.
Please Log in or Create an account to join the conversation.
I have almost no idea what you are trying to do, but you are "net"-ing hypot.0.in0 twice there. I doubt that makes any sense.net feed-zero hypot.0.in0
net feed-one hypot.0.in1
net feed-two hypot.0.in0 motion.current-vel
Please Log in or Create an account to join the conversation.
Are you still trying to display the combined velocity for all the axis?
Again, this is all you need... put it all in your postgui hal file.
loadrt mult2
addf mult2.0 servo-thread
setp mult2.0.in0 60
net ips-in mult2.0.in1 <= motion.current-vel
net ipm-out pyvcp.feed-rate <= mult2.0.out
All that other stuff was used/needed before the magic pin motion.current-vel was created by the developers...
John
Please Log in or Create an account to join the conversation.
net feed-zero hypot.0.in0 <==
net feed-one hypot.0.in1 <==
net feed-two hypot.0.in2 <== motion.current-vel
net feed-output hypot.0.out ==> pyvcp.feed-rate
Please Log in or Create an account to join the conversation.
Kenneth,
Are you still trying to display the combined velocity for all the axis?
Again, this is all you need... put it all in your postgui hal file.
loadrt mult2
addf mult2.0 servo-thread
setp mult2.0.in0 60
net ips-in mult2.0.in1 <= motion.current-vel
net ipm-out pyvcp.feed-rate <= mult2.0.out
All that other stuff was used/needed before the magic pin motion.current-vel was created by the developers...
John
yes i am. i did get that to work(thanks). but was looking at something andy said to try.
trying to learn this stuff a little at a time:)
this works fine
setp mult2.0.in0 60
net inchPsec-in mult2.0.in1 <== motion.current-vel
net inchPmin-out pyvcp.feed-rate ==> mult2.0.out
Please Log in or Create an account to join the conversation.
axis dro shows 0(zero) and my panel shows .125(x offset).
so this is more complicated then connecting with these
three lines ? would feedcomp.N be better ? not sure how it
works and i'm guessing what it does
setp mult2.0.in0 60
net inchPsec-in mult2.0.in1 <== motion.current-vel
net inchPmin-out pyvcp.feed-rate ==> mult2.0.out
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
is showing command postion. which should be 1/8" off axis plot ?
Please Log in or Create an account to join the conversation.