The question of proper threading

More
6 years 3 months ago #174820 by pkasy
when turning the spindle (hm2_5i20.0.encoder.02.scale is 10000)
hm2_5i20.0.encoder.02.position ++
hm2_5i20.0.encoder.02.count --
reverse
hm2_5i20.0.encoder.02.position --
hm2_5i20.0.encoder.02.count ++

if hm2_5i20.0.encoder.02.scale is -10000
hm2_5i20.0.encoder.02.position --
hm2_5i20.0.encoder.02.count --
reverse
hm2_5i20.0.encoder.02.position ++
hm2_5i20.0.encoder.02.count ++


so count is always --

Please Log in to join the conversation.

More
6 years 3 months ago #174821 by pkasy
ok, I will rewire spindle so count will ++ when turning the spindle.

Please Log in to join the conversation.

More
6 years 3 months ago #174822 by Clive S

pkasy wrote: ok, I will rewire spindle so count will ++ when turning the spindle.

I would have thought that changing the sign on scale would have done it.

Please Log in to join the conversation.

More
6 years 3 months ago #174824 by pkasy
I did it. This did not change, but I wrote about it above.

Please Log in to join the conversation.

More
6 years 3 months ago #174835 by pkasy
I checked two times more.

Attachment not found


Changing the sign on scale does not affect count only position. Looks like position=count/scale

Attachment not found


I use halcmd to change. May be I need to restart axis?

Please Log in to join the conversation.

More
6 years 3 months ago #174837 by tommylight
You can use the calibration menu (machine/calibration) for axis changes and tuning, not sure if it can do that for spindle.

Please Log in to join the conversation.

More
6 years 3 months ago #174843 by Clive S

pkasy wrote: I checked two times more.

Attachment not found


Changing the sign on scale does not affect count only position. Looks like position=count/scale

Attachment not found


I use halcmd to change. May be I need to restart axis?


you have to restart the gui for them to take effect

Please Log in to join the conversation.

More
6 years 3 months ago #174844 by PCW
Only the position is used so the count and rawcount pins are not relevant

Please Log in to join the conversation.

More
6 years 3 months ago #174845 by pkasy
no, it does not work after restart gui.
still count --

Please Log in to join the conversation.

More
6 years 3 months ago #174846 by PCW
The count is not used so does not matter, only the position is used for threading

Please Log in to join the conversation.

Time to create page: 0.114 seconds
Powered by Kunena Forum