The question of proper threading

More
16 Jul 2020 09:39 - 16 Jul 2020 09:44 #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 --
Last edit: 16 Jul 2020 09:44 by pkasy.

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

More
16 Jul 2020 09:45 #174821 by pkasy
ok, I will rewire spindle so count will ++ when turning the spindle.

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

More
16 Jul 2020 09:52 #174822 by Clive S

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 or Create an account to join the conversation.

More
16 Jul 2020 10:36 #174824 by pkasy
I did it. This did not change, but I wrote about it above.

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

More
16 Jul 2020 12:02 - 16 Jul 2020 12:07 #174835 by pkasy
I checked two times more.

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

I use halcmd to change. May be I need to restart axis?
Attachments:
Last edit: 16 Jul 2020 12:07 by pkasy.

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

More
16 Jul 2020 12:17 #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 or Create an account to join the conversation.

More
16 Jul 2020 13:04 #174843 by Clive S

I checked two times more.

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

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 or Create an account to join the conversation.

More
16 Jul 2020 13:27 #174844 by PCW
Only the position is used so the count and rawcount pins are not relevant
The following user(s) said Thank You: pkasy

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

More
16 Jul 2020 13:28 - 16 Jul 2020 13:29 #174845 by pkasy
no, it does not work after restart gui.
still count --
Last edit: 16 Jul 2020 13:29 by pkasy.

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

More
16 Jul 2020 13:30 #174846 by PCW
The count is not used so does not matter, only the position is used for threading

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

Time to create page: 0.289 seconds
Powered by Kunena Forum