- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- 7i92T + 5 Axis BOB, encoder pin mapping issue.
7i92T + 5 Axis BOB, encoder pin mapping issue.
Please Log in or Create an account to join the conversation.
These do no interfere with use as GPIO inputs, but you need to
disable the encoders in pncconf for pncconf to show these as available
input pins. ( by setting "Num of encoders" to 0 on the configuration tab)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
For a lathe, I would do this:
Run pncconf with 1 encoder enabled
Do all the normal lathe setup
The actual encoder wiring is to DB25 pins 11,12,13
The only funny business is that pncconfs idea of what GPIO
is free is incorrect so you may need to do some hand editing of the
hal file for setting up misc inputs.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I used PNCConf and used the Board Discovery feature; see attached. The 5ABOBx2D.bit requires the encoder to use pins 11, 12, and 13. You'll still have two pins, 10 and 15 for other GPIO.
IO Connections for P2
DB25 pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir
11 14 IOPort QCount 0 Quad-A (In)
12 15 IOPort QCount 0 Quad-B (In)
13 16 IOPort QCount 0 Quad-IDX (In)
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19188
- Thank you received: 6430
All pins on 7i92 can be used as gpio, no matter what mesaflash says for stepgen, pwm, encoder, etc, just not loading those functions will leave pins as IO.
In this case, you are limited by BOB, but if you need an encoder, load just one in hal, then you have 2 pins on that port as inputs and all 5 on the other port.
Please Log in or Create an account to join the conversation.
those pins can be used as GPIO inputs (just not outputs)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- 7i92T + 5 Axis BOB, encoder pin mapping issue.