feed convertion

More
25 May 2011 11:53 #10060 by piasdom
been looking around and found feedcomp.N,
would this do the same? not much info.

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

More
25 May 2011 11:54 #10061 by andypugh
piasdom wrote:

net feed-zero hypot.0.in0
net feed-one hypot.0.in1
net feed-two hypot.0.in0 motion.current-vel

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.

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

More
25 May 2011 11:57 #10062 by BigJohnT
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

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

More
25 May 2011 11:58 #10063 by piasdom
sorry, misprint.

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.

More
25 May 2011 12:00 - 25 May 2011 13:40 #10064 by piasdom
BigJohnT wrote:

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
Last edit: 25 May 2011 13:40 by piasdom.

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

More
25 May 2011 13:44 #10066 by piasdom
when i use the below and i have offsets, it shows the offset.
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.

Time to create page: 0.221 seconds
Powered by Kunena Forum