- Posts: 211
- Thank you received: 0
Adding Feed Rate (IPM or IPR) to the lathe screen
8 months 3 weeks ago #342602
by mooser
Adding Feed Rate (IPM or IPR) to the lathe screen was created by mooser
Is there an easy way to get the feed rate to show up on the screen somewhere? (old 2.7x version)
For various reasons (I use some css and when it's working well I'd like to know what combination of rpm and feed it's actually using) I'd like to see the actual feed the z-axis is on my lathe as it cuts whatever given diameter. I've got a add-on panel showing the actual spindle RPM so although not as straight forward there should be a way of showing the actual FEED of whatever axis. Since somewhere in there should be the pulse rate of the stepper I think it might be available or would I need to have an encoder on that motor/ballscrew and calculate out the feed that way ???
Mooser
For various reasons (I use some css and when it's working well I'd like to know what combination of rpm and feed it's actually using) I'd like to see the actual feed the z-axis is on my lathe as it cuts whatever given diameter. I've got a add-on panel showing the actual spindle RPM so although not as straight forward there should be a way of showing the actual FEED of whatever axis. Since somewhere in there should be the pulse rate of the stepper I think it might be available or would I need to have an encoder on that motor/ballscrew and calculate out the feed that way ???
Mooser
Please Log in to join the conversation.
8 months 3 weeks ago #342625
by MaHa
Replied by MaHa on topic Adding Feed Rate (IPM or IPR) to the lathe screen
With 2.7 i have used this pin. It needs multiply by 60 for feed per minute
motion.current-vel
current velocity in user units per second
example HAL:
setp mult2.0.in0 60
net velcalc mult2.0.in1 motion.current-vel
net cur-vel mult2.0.out pyvcp.feed
actual linuxcnc stable has pin
motion.feed-inches-per-minute
motion.current-vel
current velocity in user units per second
example HAL:
setp mult2.0.in0 60
net velcalc mult2.0.in1 motion.current-vel
net cur-vel mult2.0.out pyvcp.feed
actual linuxcnc stable has pin
motion.feed-inches-per-minute
Please Log in to join the conversation.
8 months 3 weeks ago #342672
by mooser
Replied by mooser on topic Adding Feed Rate (IPM or IPR) to the lathe screen
Thanks. I'll see if I can get that to work. I keep thinking it's time to put together a new computer and move up to 2.9 but when it's working it's working.
(Slowly gathering parts for a cnc router running 2.9.x so maybe it's time to get them both at the same "level"
Thanks again
M
(Slowly gathering parts for a cnc router running 2.9.x so maybe it's time to get them both at the same "level"
Thanks again
M
Please Log in to join the conversation.
Time to create page: 0.067 seconds
