Testing Encoder with Halmeter

More
25 Jul 2019 14:39 #140528 by Vmax549
I am setting up a spindle encoder in PathPilot with a 7i80. I have it hooked up and can see the encoder count up and down correctly in halmeter but I cannot see the index signal.

Halmeter says the index is NOT enabled. I have the following in the HAL file

net spindle-position hm2_7i80.0.encoder.00.position => motion.spindle-revs
net spindle-velocity hm2_7i80.0.encoder.00.velocity => motion.spindle-speed-in
net spindle-index-enable hm2_7i80.0.encoder.00.index-enable <=> motion.spindle-index-enable
setp hm2_7i80.0.encoder.00.scale 400

Is there anything else I have to setup to enable the index signal ??

(;-) TP

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

More
25 Jul 2019 15:16 #140531 by PCW
Replied by PCW on topic Testing Encoder with Halmeter
To check the index, monitor spindle-index-enable with halmeter and then:

halcmd sets spindle-index-enable
(spindle-index-enable should be true)
rotate the spindle by hand
(spindle-index-enable should go false at the index location)

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

More
25 Jul 2019 15:26 - 25 Jul 2019 15:26 #140532 by Vmax549
I folow you up to

halcmd sets spindle-index-enable

Is this something I need to input
(;-) TP
Last edit: 25 Jul 2019 15:26 by Vmax549.

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

More
25 Jul 2019 15:46 #140533 by Vmax549
OK I found teh problem it works now.

Thanks (;-) TP

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

More
25 Jul 2019 15:53 #140536 by PCW
Replied by PCW on topic Testing Encoder with Halmeter

I folow you up to

halcmd sets spindle-index-enable

Is this something I need to input
(;-) TP


Yes, you do this from a terminal window when LinuxCNC/PathPilot is running
You can also do this via halshow in the GUI but its a bit more awkward

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

More
25 Jul 2019 16:39 #140543 by Vmax549
HUM that is hard to in PathPilot as when you have Halmeter up and do anything in PathPilot it pushes teh Halmeter stuff BEHIND teh main screen where you cannot see it.

(;-) TP

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

More
26 Jul 2019 07:21 #140625 by smgvbest
ALT+TAB

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

Moderators: cncbasher
Time to create page: 0.069 seconds
Powered by Kunena Forum