Hello, I've been looking through KMotionDef and I can't seem to find a value that represents the current jog speed on a channel? I want something like this:
printf(%f: Jog Speed\n", insert_channel_jog_speed_here);
View Jog Speed on an Axis
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2741
- Joined: Mon Dec 04, 2017 1:49 am
Re: View Jog Speed on an Axis
Hi Jacob,
Its not clear what you mean. Current instantaneous jogging speed? Max Axis Velocity? Are you using KMotionCNC? Which Axis? It would be nice to know also what you are trying to do.
Its not clear what you mean. Current instantaneous jogging speed? Max Axis Velocity? Are you using KMotionCNC? Which Axis? It would be nice to know also what you are trying to do.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 21
- Joined: Thu Sep 02, 2021 6:02 pm
Re: View Jog Speed on an Axis
I'm using KMotionCNC. I want to monitor the speed of an axis after sending it a Jog command.
I.e. Jog(0, 1200);
Is there a location in memory where I can see that value "1200"?
I.e. Jog(0, 1200);
Is there a location in memory where I can see that value "1200"?
- TomKerekes
- Posts: 2741
- Joined: Mon Dec 04, 2017 1:49 am
Re: View Jog Speed on an Axis
Code: Select all
printf("%f: Jog Speed\n", ch0->last_vel);
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.