- Posts: 12160
- Thank you received: 0
Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.
I think this page is relevant (assuming you are using V 2.7) Section 6 is it, I think
linuxcnc.org/docs/2.7/html/examples/spindle.html
My earlier guess was that somewhere the Mesa spindle signals need to be connected to the LCNC internals somewhere which you did not seem to have done.
This thread looks promising
forum.linuxcnc.org/49-basic-configuratio...encoder?limitstart=0
Its probably time to post your hal and ini files file again so others with more knowledge can help
Please Log in to join the conversation.
HAL and INI are in
forum.linuxcnc.org/39-pncconf/33069-help...oing?start=330#98494
Please Log in to join the conversation.
Then we can tell you what is where and how to connect.
Please Log in to join the conversation.
tecno wrote: I understood that all encoders to be connected X/Y/Z, this is what you have on plasma. So how did you 'connect'?
Sorry, I was thinking it was spindle encoder but its for your joints. I used open loop steppers with no encoders. I have no cutting forces at all remember.
Just follow what Andy is asking for
Please Log in to join the conversation.
andypugh wrote: Still waiting for the dmesg / linuxcnc_print / console output that lists the actual hardware pinout of your actual system.
Then we can tell you what is where and how to connect.
Sorry I missed this request, my bad.
Attachment not found
The spindle encoder is connected to 7i76e and all axis encoders on 7i85s
It does not look correct does it in the attached file?
Please Log in to join the conversation.
This is the FPGA pinout:
This is the 7i76 input pinout:
And the 7i85S input pinout
And the 7i85S output pinout:
The muxed encoders make this a little more complicated, because each set of 3 fpga pins handles two encoder channels, and corresponds to 2 sets of 6 pins on the screw-terminal connector.
Looking at the first set of data, Muxed encoder #0 is on the 7i85S, connected to P2 of the 7i76E. That handles encoders hm2_7i76e.0.encoder.00 and encoder.01
P2 Pin 08 -> 7i85S -> MENCA0 -> TB3 Pins 0 and 1.
So, 7i85S pins 0 and 1 are the A channel for hm2_7i76E.0.encoder.00
On the 7i76 we can see that the encoder is Muxed encoder #2. That handles hm2_7i76.0.encoder.04
So, you _should_ see the HAL pin hm2_7i76e.0.encoder.04.counts change when you rotate the encoder that is connected to the 7i76E spindle encoder section.
If you don't have encoder.04 active in the config then you won't see anything.
Something that you might be unclear on from some of your comments is that you do not do anything at all with channels A, B and Z in the HAL file. All that you need to connect in the HAL is the encoder position HAL pin and, in the case of the spindle, the speed HAL pin.
Please Log in to join the conversation.
Do you get an encoder.05 if you enable all the encoders?
Please Log in to join the conversation.
So, you _should_ see the HAL pin hm2_7i76e.0.encoder.04.counts change when you rotate the encoder that is connected to the 7i76E spindle encoder section.
It is counting
Something that you might be unclear on from some of your comments is that you do not do anything at all with channels A, B and Z in the HAL file. All that you need to connect in the HAL is the encoder position HAL pin and, in the case of the spindle, the speed HAL pin.
Well this is the part that is clear as mud for me right now, just too much info that I can not sort out.
Assuming it is these pins
11 IO14 ENCI IN
12 IO15 ENCB IN
13 IO16 ENCA IN
but how to connect these to what = clear as mud
Please Log in to join the conversation.
andypugh wrote: Incidentally, I have no idea what happens to encoder.05, the second channel on Muxed Encoder #2
Do you get an encoder.05 if you enable all the encoders?
I get 00 - 01 - 02 - 03 -04 where 04 is spindle
Please Log in to join the conversation.
tecno wrote: Well this is the part that is clear as mud for me right now, just too much info that I can not sort out.
Assuming it is these pins
11 IO14 ENCI IN
12 IO15 ENCB IN
13 IO16 ENCA IN
but how to connect these to what = clear as mud
These connections are inside the boards and cables. You don't need to do anything with them.
All that you need to worry about is the physical wires from the encoder to the terminal block and the metaphysical wires that connect hm2_7i6e.0.encoder.NN.position to the the motion.axis or motion.spindle pins.
Please Log in to join the conversation.
