Trying to set up position control mode

More
04 Mar 2026 17:55 #343858 by jblanscett
Replied by jblanscett on topic Trying to set up position control mode
So when we input a jog increment of .1in, the DRO will show a .1 in change and the motor will start moving but won’t stop. If we input an additional .1 in increment in the same direction the motor will speed up and the DRO will show a change of .2 in from the start. If we then input a .1 inch increment in the other direction the motor will slow down and the DRO will show a .1 inch change from the start. 

We don’t currently get any joint following errors. 

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

More
04 Mar 2026 18:54 #343860 by PCW
Replied by PCW on topic Trying to set up position control mode
Can you post your current hal/ini files that exhibit that behaviour?

Still sounds like a basic hal file issue

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

More
04 Mar 2026 19:11 #343862 by jblanscett
Replied by jblanscett on topic Trying to set up position control mode
Here they are
Attachments:

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

More
04 Mar 2026 20:56 #343865 by PCW
Replied by PCW on topic Trying to set up position control mode
Ok those work properly (step generator action is correct)
I suspect the problem is with your jogging setup.

( Which I cannot check unless you include the missing custom.hal
and custom_postgui.hal files )

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

More
05 Mar 2026 11:12 #343886 by jblanscett
Replied by jblanscett on topic Trying to set up position control mode
I don’t have anything in those files. I’m very new to Linuxcnc so maybe I missed a step somewhere to set those files up? 

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

More
05 Mar 2026 15:48 - 05 Mar 2026 15:48 #343895 by PCW
Replied by PCW on topic Trying to set up position control mode
Looking more carefully at your hal file:

setp joint.0.jog-vel-mode 1

Means that the jog will continue as long as jog count <> 0

(this is normally intended for input devices like joysticks that return to 0 when not pressed)

for position mode jogging with a MPG, you should have:

setp joint.0.jog-vel-mode 0




 
Last edit: 05 Mar 2026 15:48 by PCW.

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

More
05 Mar 2026 16:32 #343898 by jblanscett
Replied by jblanscett on topic Trying to set up position control mode
Okay I changed it and there was no improvement. 

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

More
05 Mar 2026 18:23 #343910 by PCW
Replied by PCW on topic Trying to set up position control mode
Does jogging via the GUI work?
 

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

More
05 Mar 2026 18:29 #343911 by jblanscett
Replied by jblanscett on topic Trying to set up position control mode
All the results have been done with the AXIS GUI inputs.

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

More
05 Mar 2026 18:40 #343913 by PCW
Replied by PCW on topic Trying to set up position control mode
Does the DRO show movement when jogging should  stop?
 

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

Time to create page: 0.143 seconds
Powered by Kunena Forum