Testing Encoder with Halmeter
25 Jul 2019 14:39 #140528
by Vmax549
Testing Encoder with Halmeter was created 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
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.
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)
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.
25 Jul 2019 15:26 - 25 Jul 2019 15:26 #140532
by Vmax549
Replied by Vmax549 on topic Testing Encoder with Halmeter
I folow you up to
halcmd sets spindle-index-enable
Is this something I need to input
( TP
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.
25 Jul 2019 15:46 #140533
by Vmax549
Replied by Vmax549 on topic Testing Encoder with Halmeter
OK I found teh problem it works now.
Thanks ( TP
Thanks ( TP
Please Log in or Create an account to join the conversation.
25 Jul 2019 15:53 #140536
by PCW
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
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.
25 Jul 2019 16:39 #140543
by Vmax549
Replied by Vmax549 on topic Testing Encoder with Halmeter
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
( TP
Please Log in or Create an account to join the conversation.
26 Jul 2019 07:21 #140625
by smgvbest
Replied by smgvbest on topic Testing Encoder with Halmeter
ALT+TAB
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.098 seconds