7i92/G540/C10/THCAD

More
12 Jul 2020 13:32 #174383 by crowloy
7i92/G540/C10/THCAD was created by crowloy
I've have a 7i92 connected to a G540 and C10 bob. So far, I have everything working including limit's which is all on the G540. I would like to setup a THCAD on this system. However, if I enable an encoder (pncconf modified to support a G540 on a 7i92), I loose my limit switches. I would prefer that the G540 continues to provide the limit switch inputs. So is it possible to specify an encoder on the C10 board on port 1. If I can't, then how do I connect the THCAD to the G540 on what I assume would be the input pins 10,11,12,13

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

More
12 Jul 2020 13:57 #174385 by PCW
Replied by PCW on topic 7i92/G540/C10/THCAD
Enabling the encoder(s) does not interfere with the limit switch inputs
(though pncconf may not know this)

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

More
12 Jul 2020 14:31 #174389 by tommylight
Replied by tommylight on topic 7i92/G540/C10/THCAD
I had to move the limit switches to the P1 on the 7i92 as the encoder uses 3 input pins.

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

More
12 Jul 2020 14:37 #174390 by PCW
Replied by PCW on topic 7i92/G540/C10/THCAD
There is no reason you cannot use encoder inputs for limit switches
the corresponding GPIO pins still work normally as inputs

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

More
12 Jul 2020 14:49 #174393 by tommylight
Replied by tommylight on topic 7i92/G540/C10/THCAD
That is very true, but we need those pins for the encoder to use with THCAD.
Well we need just one encoder input, but when the encoder is enabled in hal, it will use all 3 regardless.

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

More
12 Jul 2020 14:52 #174394 by tommylight
Replied by tommylight on topic 7i92/G540/C10/THCAD
Sorry PCW, that is not a deal breaking issue, well it is not an issue at all since the 7i92 is always inside the same box with other electronics, so adding some more wires to the P1 port is easy and simple.

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

More
12 Jul 2020 14:59 - 12 Jul 2020 15:03 #174396 by PCW
Replied by PCW on topic 7i92/G540/C10/THCAD
Right if you need that encoder you cannot use the B pin for GPIO but the index pin can be used.

I assumed the the G540 could not use its inputs for the THCAD because they are likely too slow. In this case having an alternate encoder feature is harmless since it does not interfere with use of the encoder pins as GPIO inputs

How is the C10 board used? (I dont think there is G540/C10 firmware), but G540x2 firmware should work if just used
as GPIO+ encoder on the C10
Last edit: 12 Jul 2020 15:03 by PCW.

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

More
12 Jul 2020 15:01 #174397 by crowloy
Replied by crowloy on topic 7i92/G540/C10/THCAD
my understanding is that the G540 is not really a great device to use for the encoder due to slow response as well as incompatiblility with the G540 input voltage from what I've been reading. A good reason to switch it over to the C10 on P1. My G540 is an older unit bought when I made my first CNC back in 2015 or so. The C10 is a new style board with surface mount components

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

More
12 Jul 2020 15:04 - 12 Jul 2020 15:05 #174398 by PCW
Replied by PCW on topic 7i92/G540/C10/THCAD
That should be fine with g540x2 firmware as long as the C10 inputs can read to 32 KHz or so
Last edit: 12 Jul 2020 15:05 by PCW.
The following user(s) said Thank You: tommylight

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

More
12 Jul 2020 15:29 #174399 by tommylight
Replied by tommylight on topic 7i92/G540/C10/THCAD

Right if you need that encoder you cannot use the B pin for GPIO but the index pin can be used.

I was not aware of that, thank you.

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

Moderators: PCWjmelson
Time to create page: 0.110 seconds
Powered by Kunena Forum