- Posts: 153
- Thank you received: 0
Lathe stops at code line
andypugh wrote: Looks like a problem with the spindle encoder.
hm2_7i76E.encoder.00.count is solidly on zero. This leads me to suspect that one of the spindle encoder phases is not connected.
(If this is deliberate then you need to set counter-mode to true for that encoder)
so i checked the wiring. everything is well connected as it should be. only thing what my driver doesn't has is +5v and gnd.
Please Log in to join the conversation.
Please Log in to join the conversation.
andypugh wrote: Your encoder will need a power supply. Are you saying it doesn't have one?
its not in the cables. the encoder is in the motor. i guess its gets it from the drive. its all pre build with wires etc.
i changed the hm2_7i76e.0.encoder.00.counter-mode to 1. readings has changed. and it reacts when i rotate the spindle by hand.
at a program it still stops.
Attachment not found
Please Log in to join the conversation.
If you want to thread, you will need the A and Z (index) to work
If you want to rigid tap, you will need A,B,Z to work
Please Log in to join the conversation.
PCW wrote: I would first try to see if you have a wiring error (look like the B encoder input is not working)
If you want to thread, you will need the A and Z (index) to work
If you want to rigid tap, you will need A,B,Z to work
Oke. I will check the B channel in halshow if its reading. Will be tomorrow evening for me.
Is there another method to check this?
Please Log in to join the conversation.
Please Log in to join the conversation.
PCW wrote: Best would be to check the signal levels at the 7I76E with a DVM
Could you explain me how to do this? I got a simple meter.
Please Log in to join the conversation.
B, /B pins (that is _not_ to ground)
Its best if you can jog the motor around perhaps by hand so you can
get all 4 quadrature states.
In any state you should read a voltage across the pins with an absolute value of >2V
That is you should read a minus voltage less than -2V in one state
and a positive voltage >+2 V in the other state but in no case read
a voltage < 2V absolute regardless of the polarity.
You should do the same test with A, /A
Index (Z) is hard o test this way and better tested with halcmd
Please Log in to join the conversation.
B, /B pins (that is _not_ to ground)
Its best if you can jog the motor around perhaps by hand so you can
get all 4 quadrature states.
In any state you should read a voltage across the pins with an absolute value of >2V
That is you should read a minus voltage less than -2V in one state
and a positive voltage >+2 V in the other state but in no case read
a voltage < 2V absolute regardless of the polarity.
You should do the same test with A, /A
Index (Z) is hard o test this way and better tested with halcmd
Please Log in to join the conversation.
PCW wrote: Basically you measure _across_ the
B, /B pins (that is _not_ to ground)
Its best if you can jog the motor around perhaps by hand so you can
get all 4 quadrature states.
In any state you should read a voltage across the pins with an absolute value of >2V
That is you should read a minus voltage less than -2V in one state
and a positive voltage >+2 V in the other state but in no case read
a voltage < 2V absolute regardless of the polarity.
You should do the same test with A, /A
Index (Z) is hard o test this way and better tested with halcmd
i messured the B channel. when its turening, 100 rpm, it gives barley 0.02V. when its stops it gives around 3 volts.
Please Log in to join the conversation.
