- Posts: 153
- Thank you received: 0
Lathe stops at code line
- Erikcnc
- Offline
- Premium Member
-
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.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
- Posts: 18115
- Thank you received: 5334
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 or Create an account to join the conversation.
- Erikcnc
- Offline
- Premium Member
-
- Posts: 153
- Thank you received: 0
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 or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
- Posts: 18115
- Thank you received: 5334
Please Log in or Create an account to join the conversation.
- Erikcnc
- Offline
- Premium Member
-
- Posts: 153
- Thank you received: 0
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 or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
- Posts: 18115
- Thank you received: 5334
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 or Create an account to join the conversation.