Trying to set up position control mode

More
7 months 3 weeks ago #343858 by jblanscett
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 to join the conversation.

More
7 months 3 weeks ago #343860 by PCW
Can you post your current hal/ini files that exhibit that behaviour?

Still sounds like a basic hal file issue

Please Log in to join the conversation.

More
7 months 3 weeks ago #343862 by jblanscett
Here they are

Please Log in to join the conversation.

More
7 months 3 weeks ago #343865 by PCW
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 to join the conversation.

More
7 months 3 weeks ago #343886 by jblanscett
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 to join the conversation.

More
7 months 3 weeks ago #343895 by PCW
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




 

Please Log in to join the conversation.

More
7 months 3 weeks ago #343898 by jblanscett
Okay I changed it and there was no improvement. 

Please Log in to join the conversation.

More
7 months 3 weeks ago #343910 by PCW
Does jogging via the GUI work?
 

Please Log in to join the conversation.

More
7 months 3 weeks ago #343911 by jblanscett
All the results have been done with the AXIS GUI inputs.

Please Log in to join the conversation.

More
7 months 3 weeks ago #343913 by PCW
Does the DRO show movement when jogging should  stop?
 

Please Log in to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum