- Posts: 338
- Thank you received: 0
Testing Encoder with Halmeter
7 years 3 months ago #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 ??
(
Please Log in to join the conversation.
7 years 3 months ago #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 to join the conversation.
7 years 3 months ago #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
(
Please Log in to join the conversation.
7 years 3 months ago #140533
by Vmax549
Replied by Vmax549 on topic Testing Encoder with Halmeter
OK I found teh problem it works now.
Thanks (
TP
Thanks (
Please Log in to join the conversation.
7 years 3 months ago #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
Vmax549 wrote: 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 to join the conversation.
7 years 3 months ago #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
(
Please Log in to join the conversation.
Time to create page: 1.934 seconds
