Spindle Encoder

More
04 Feb 2023 20:33 - 04 Feb 2023 20:35 #263704 by PCW
Replied by PCW on topic Spindle Encoder
The 7I85S encoder inputs are identical to the 7I96S encoder inputs
so I would not expect a different result.

If the encoder position does not change when the spindle moves
its most likely an electrical or wiring issue. Checking the voltage levels
at the encoder inputs as Andy mentioned is a good way to check.
Note the for differential encoder signals, you should measure from
A to /A and from B to /B. The voltage across the pins should be positive
in one case and negative in the other (it should never be close to 0V)

In addition to checking the voltage levels, you can check the hal input-a and input-b
encoder signals.
Last edit: 04 Feb 2023 20:35 by PCW.

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

More
04 Feb 2023 20:51 #263707 by Stefan321
Replied by Stefan321 on topic Spindle Encoder
I'll try it out a bit tomorrow and I have everything wired as in the instructions. I can not imagine synonymous that the encoder is broken. I have also tested another one and otherwise my servo would not run because it regulates itself via the encoder

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

More
04 Feb 2023 21:03 #263709 by PCW
Replied by PCW on topic Spindle Encoder
I would not expect the encoder or the 7I96S to be broken,
but rather a wiring error or something similar, which is why
it makes sense to check low level things like signal levels
first.

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

More
04 Feb 2023 21:29 #263712 by Stefan321
Replied by Stefan321 on topic Spindle Encoder
I will check it tomorrow, I will swap the cables between A+ and A- etc

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

More
04 Feb 2023 21:32 #263713 by Stefan321
Replied by Stefan321 on topic Spindle Encoder
maybe the encoder 00 is a different input than the one on the 7I96S.

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

More
04 Feb 2023 22:39 #263721 by PCW
Replied by PCW on topic Spindle Encoder

maybe the encoder 00 is a different input than the one on the 7I96S.
 

Yes, if you have loaded 7i96s_7i85sd firmware, the on-board 7I96S encoder is encoder 4
(so the 7I85S encoders become 0,1,2,3 as expected)

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

More
04 Feb 2023 22:44 #263722 by Stefan321
Replied by Stefan321 on topic Spindle Encoder
haha, yes i loaded the firmware i think that's my mistake that the wrong input is. I assumed that the 7I96S is the motherboard and therefore always comes first. But if what you say is true, it's encoder 4 and therefore it can't work at all. Since encoder 00 is input in the hall, I put the encoder on the 7I96S, which according to your statement is encoder input 4.

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

More
05 Feb 2023 15:45 #263753 by Stefan321
Replied by Stefan321 on topic Spindle Encoder
Hello,

I was able to do some tests today, I have A and B signals now, but I still have no index signal. I tried today to generate this with an npn sensor and an encoder but I could not generate the signal. I also tried it on the 7I85S, the index signal is also missing here.

I also have the problem that when I use a Fusion program, the machine stops at G43.


%
(CHINA FRSE ENGINE MOUNT BOTTOM)
(T1 D=50. CR=1.6 - ZMIN=11.5 - FACE MILL)
(T17 D=12. CR=0. CONE=90 DEGREE - ZMIN=64. - NC DRILL)
(T22 D = 6.8 CR = 0. CONE = 118 DEG - ZMIN = 17.5 - DRILL)
N10 G90 G94 G17 G91.1
N15 G21

(TO PLAN)
N20 T1 M6
N25 S637 M3
N30 G54
N35 G64 P0.001 A0.001
N40 M7
N45 G0 X75.094 Y-41.993
N50 G43 Z85. H1
N55 G1 Z75. F254.65
N60 Z72.5 F200.

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

More
05 Feb 2023 17:30 #263758 by PCW
Replied by PCW on topic Spindle Encoder
Do you have the index input set for TTL mode?

(this is necessary for single ended or NPN inputs)

Note that index is often difficult to detect by monitoring the index pin in hal
because it is typically a very narrow pulse.

The best way to check for index is to issue the halcmd:

sets spindle-index-enable true

and then check the state of spindle-index-enable as you manually rotate the spindle.

If working, spindle-index-enable should go true when set and false when index occurs

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

More
05 Feb 2023 17:54 #263762 by Stefan321
Replied by Stefan321 on topic Spindle Encoder
yes i have set the jumper to tll i will try to set it to true manually tomorrow.

Jumper is W3, which I have set from right to left, so the others W1 and W2 are still on the right because of the encoder.

but I still don't understand the G43 thing

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

Time to create page: 0.092 seconds
Powered by Kunena Forum