Lathe stops at code line

More
7 years 4 months ago - 7 years 4 months ago #136786 by Erikcnc
Replied by Erikcnc on topic Lathe stops at code line

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.



Attachments:
Last edit: 7 years 4 months ago by Erikcnc.

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

More
7 years 4 months ago #136787 by PCW
Replied by PCW on topic Lathe stops at code line
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
The following user(s) said Thank You: Erikcnc

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

More
7 years 4 months ago #136789 by Erikcnc
Replied by Erikcnc on topic Lathe stops at code line

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.

More
7 years 4 months ago #136790 by PCW
Replied by PCW on topic Lathe stops at code line
Best would be to check the signal levels at the 7I76E with a DVM

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

More
7 years 4 months ago #136823 by Erikcnc
Replied by Erikcnc on topic Lathe stops at code line

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.

More
7 years 4 months ago #136850 by PCW
Replied by PCW on topic Lathe stops at code line
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

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

Time to create page: 0.299 seconds
Powered by Kunena Forum