Rigid Tapping Help

More
25 Jul 2018 16:46 #114815 by NCPatrol
Replied by NCPatrol on topic Rigid Tapping Help
It's a 7i77 and I haven't made any changes to the wiring, so assuming it was set up properly when I brought it home, it should be.

Is there an easy way to test the index signal or would I need a scope?

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

More
25 Jul 2018 17:16 - 25 Jul 2018 17:19 #114817 by OT-CNC
Replied by OT-CNC on topic Rigid Tapping Help
Let's not assume.
You are telling us you are not reading an index pulse. Let's rule out the wiring. Check with the manual to see if the index wire goes to the correct physical pin on the board.
Last edit: 25 Jul 2018 17:19 by OT-CNC. Reason: expanded

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

More
25 Jul 2018 17:44 - 26 Jul 2018 02:46 #114820 by NCPatrol
Replied by NCPatrol on topic Rigid Tapping Help
Fortunately I've taken plenty of pictures of the boards and wiring so I can answer this from work!

The index wires are connected as:
Out Z+ to pin 23 (IDX5)
Out Z- to pin 24 (/IDX5)

This is to "Encoder 5" on the 7i77
Last edit: 26 Jul 2018 02:46 by NCPatrol.

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

More
25 Jul 2018 23:30 - 25 Jul 2018 23:31 #114845 by PCW
Replied by PCW on topic Rigid Tapping Help
Can you try this: (from a command line when LinuxCNC is running)

halmeter signal spindle-index-enable
halcmd sets spindle-index-enable 1

and hand rotate the spindle a full turn, if spindle-index-enable never gets cleared, the hardware is not seeing the index pulse and the signals need to be checked.

A quick way to check differential signals is to measure across the pairs with a voltmeter (that is to check IDX5, measure between TB4 pins 23,24 (IDX5, /IDX5) in both states of index
Last edit: 25 Jul 2018 23:31 by PCW.

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

More
26 Jul 2018 02:46 #114852 by NCPatrol
Replied by NCPatrol on topic Rigid Tapping Help

Can you try this: (from a command line when LinuxCNC is running)

halmeter signal spindle-index-enable
halcmd sets spindle-index-enable 1

and hand rotate the spindle a full turn, if spindle-index-enable never gets cleared, the hardware is not seeing the index pulse and the signals need to be checked.

A quick way to check differential signals is to measure across the pairs with a voltmeter (that is to check IDX5, measure between TB4 pins 23,24 (IDX5, /IDX5) in both states of index


I'll give this a shot tomorrow, but....

I'm a linux moron - is that a command line within linuxCNC or just a linux command line?


What am I looking for when measuring pins 23/24? A change in voltage when index hits?

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

More
26 Jul 2018 03:55 #114854 by PCW
Replied by PCW on topic Rigid Tapping Help
1. Just a linux command line

2. There should be from 2 to 5 V across pins 23 and 24 and the polarity should reverse when index is hit (that is, if you measured +3V across the pins when off index, you should read -3V when on index)

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

More
26 Jul 2018 15:04 #114892 by andypugh
Replied by andypugh on topic Rigid Tapping Help

halmeter signal spindle-index-enable
halcmd sets spindle-index-enable 1


Actually needs to be
halcmd loadusr halmeter signal spindle-index-enable
halcmd sets spindle-index-enable 1

I think. At least I always loadusr halmeter rather than calling it directly.

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

More
26 Jul 2018 15:05 #114893 by andypugh
Replied by andypugh on topic Rigid Tapping Help
Does the encoder count up in M3 and down in M4 mode?

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

More
26 Jul 2018 15:22 - 26 Jul 2018 15:26 #114896 by PCW
Replied by PCW on topic Rigid Tapping Help
halmeter and halshow run fine directly from the command line...
(at least in this case where LinuxCNC is already running )
Last edit: 26 Jul 2018 15:26 by PCW.

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

More
27 Jul 2018 16:22 #114955 by NCPatrol
Replied by NCPatrol on topic Rigid Tapping Help
OK, so "halmeter signal spindle-index-enable" pops up the hal meter window
and "halcmd sets spindle-index-enable 1" doesn't appear to do anything.

The hal meter initially shows "true" when the window pops up and changes to "false" when I rotate the spindle by hand. It stays false after that.

Probing pins 23/24 I see ~2.5v and it doesn't change when I rotate the spindle slowly.

Is it safe to assume that my encoder is shot? I've been hesitant to throw another $90 at an encoder without some verification, but if this is it, I'll get one ordered.

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

Time to create page: 0.157 seconds
Powered by Kunena Forum