Feed rate value for AXIS

More
18 Jul 2015 02:54 #60707 by FiliP
I saw small widget on main screen gmoccapy, where feed rate is calculated and shown.

I want do the same for my AXIS and gladevcp widget, but i cant find anything about how it is done, on the web.
I looked into testing (sim) configuration, but get no luck.

There is no HAL pin with current FEED.

Any hints?

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

More
18 Jul 2015 08:09 - 18 Jul 2015 08:09 #60711 by LearningLinuxCNC
You can get the velocity of the cutter from the pin

motion.current-vel

This is in machine units per second so you would have to scale it to what you want to see.
Last edit: 18 Jul 2015 08:09 by LearningLinuxCNC.
The following user(s) said Thank You: FiliP

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

More
18 Jul 2015 15:29 - 18 Jul 2015 15:30 #60715 by FiliP
Replied by FiliP on topic Feed rate value for AXIS
Thx, found it , and it works.
My mistake was searching something like "feed".
Last edit: 18 Jul 2015 15:30 by FiliP.

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

More
17 Mar 2016 21:59 #71830 by FiliP
Replied by FiliP on topic Feed rate value for AXIS
Hi.
My feed rate slider dont work since i bought XHC HB04. Can anyone help me with this situation? :dry:

We have this:
pendant:feed-value
                         <== motion.current-vel
                         ==> xhc-hb04.feed-value

Before HB04 i was using this:
loadrt	mult2	count=2
addf	mult2.0		servo-thread
addf	mult2.1 	servo-thread

setp	mult2.0.in0	60
net	ips-in1		mult2.0.in1				<= motion.current-vel
net	ipm-out1	gladevcp.hal_feedspeedbarcurrent	<= mult2.0.out
setp	mult2.1.in0	60
net	ips-in2		mult2.1.in1				<= motion.requested-vel
net	ipm-out2	gladevcp.hal_feedspeedbarset		<= mult2.1.out


Now i have this error:
rpanel.hal:14: Pin 'motion.current-vel' was already linked to signal 'pendant:feed-value'

I'v tryed using pendant:feed-value, pendant.feed-value or xhc-hb04.feed-value instead motion.current-vel, but this dont work. I cant get through this... :(

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

More
18 Mar 2016 15:22 #71869 by andypugh
Replied by andypugh on topic Feed rate value for AXIS

rpanel.hal:14: Pin 'motion.current-vel' was already linked to signal 'pendant:feed-value'


A pin can't connect to more than one signal.

But, that's OK, just use pendant.feed-value everywhere you want that pin value. In this case
net	pendant.feed-value		mult2.0.in1

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

More
18 Mar 2016 18:56 #71877 by FiliP
Replied by FiliP on topic Feed rate value for AXIS

rpanel.hal:14: Pin 'motion.current-vel' was already linked to signal 'pendant:feed-value'

A pin can't connect to more than one signal.

Yes, i knew it but didnt know how to use this knowlege :) So i can have one pin to signal, but one signal to many pins... So i must know what is signal, what is pin... Thank you.

But, that's OK, just use pendant.feed-value everywhere you want that pin value. In this case
net	pendant.feed-value		mult2.0.in1

It didnt work but this work:
net	pendant:feed-value		mult2.0.in1

Thank you again andypugh :)

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

Time to create page: 0.149 seconds
Powered by Kunena Forum