spindelkonfiguration stepdir problem

More
3 years 2 months ago #277242 by wuyatom
Sorry, I'm not familiar with HAL and various components, and I don't know what to modify,Can you help me make the necessary modifications? Thank you very much

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

More
3 years 2 months ago #277263 by Aciera
Try the 'halshow' tool to look at the 'spindle-at-speed' component (which is a 'near' component).
linuxcnc.org/docs/devel/html/hal/halshow.html

With 'halshow' look at the pins
'spindle-at-speed.in1' connected to your spindle spindle speed command
'spindle-at-speed.in2' connected to your spindle encoder feedback
'spindle-at-speed.out' connected to the spindle.0.at-speed (which needs to be true for the motion to begin)
'spindle-at-speed.difference' sets the tolerance


In your hal file you have:

setp spindle-at-speed.difference [SPINDLE_0]MAX_ERROR

and in your ini the value is set to:

MAX_ERROR = 0.1

So you may want to try larger values for MAX_ERROR.

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

More
3 years 2 months ago #277638 by andypugh
This looks like a spindle-at-speed problem.

But, assuming that emcoder.00 is the spindle encoder, it looks like a genuine not-at-speed.

spindle.0.speed-out is 1000 rpm, and the encoder velocity is zero.
So, for some reason, the spindle isn't turning.

Is the stepgen enabled?

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

More
3 years 2 months ago #277691 by wuyatom
Just modify this value,[SPINDLE_0]MAX_ERROR。

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

Time to create page: 0.131 seconds
Powered by Kunena Forum