Which Do I Use: PnCConf or the Config tool from GitHub

More
28 Jun 2021 13:40 #213137 by DannyG
I recently made the purchase of the 7i92 card, as I want to interact with my existing stepper driver with a 25 pin dsub (this is a TB6560 on a china made router).  I am confused as to which to use, the PncConf, or the config tool on github (github.com/jethornton/7i96/raw/master/7i92_0.0.1_all.deb).
Do I use both?

Reading through whatever I can find on the net, it seems I need to use the PROB_RFx2D to interface via the 25 pin dsub? I have tried to use PncConf, but unfortunately the PROB_RFx2D is not listed in the firmware section.  Do I need to install something else for that to appear?

Also, the 7i92 config tool doesn't seem like a finished product.  there are several tabs with titles "Page n", and none of the menu buttons work (Check Config, Build Config, Exit).  Am I missing something?  I was able to get a ping from the card, and read the card via cmd-line mesaflash and via the 7i92 config tool.  I even successfully (I think) flashed the PROB_RFx2D.  I tried setting up the PncConf as similar to the previous StepConf as I could, but the machine won't move.

thanks in advance.....

 

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

More
28 Jun 2021 13:49 #213138 by DannyG
one other point of frustration is that the docs on this page:

gnipsel.com/mesa/7i92/index.html

do NOT match the tool that gets installed.

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

More
28 Jun 2021 14:13 #213141 by PCW
I would probably use pncconf at this point and select G540 as
the firmware. Its also important to load firmware that matches
your hardware's DB25 pinout. You can do this by looking at the
.pin files in the 7i92.zip file and see which matches you hardware
most closely.

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

More
28 Jun 2021 15:03 #213148 by DannyG
Thank you so much for the reply.
so the pins are not configurable as in the StepConf with the parallel port?

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

More
28 Jun 2021 15:15 - 28 Jun 2021 15:16 #213151 by PCW
No, the 7I92 pins for special functions are not as configurable
as parallel port pins. That is, things like step generator step and
dir pins are pre-defined by the selected firmware, so firmware must
be chosen that matches the desired pinout.

There is some flexibility, for example, special function outputs can be
disabled in hal and then become available as GPIO. Also special function
inputs (like encoder inputs) can always be used as GPIO inputs
Last edit: 28 Jun 2021 15:16 by PCW.

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

More
28 Jun 2021 15:25 #213152 by DannyG
I did not find a pin file for 7i92_PROB_RFx2D. There is one for the G540 so I will give that a try this week sometime if that is available from PncConf.

thanks for your help.

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

More
28 Jun 2021 16:08 #213156 by BigJohnT

one other point of frustration is that the docs on this page:

gnipsel.com/mesa/7i92/index.html

do NOT match the tool that gets installed.
 

What does not match?

I would use the pncconf to make your configuration and use my tool to flash and check ethernet. The 7i92 tool is not as polished as some of the other ones.

JT

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

More
28 Jun 2021 21:10 #213172 by DannyG
ok, i seem to have this partially working.  what are the NUM columns on the I/O Connector 2 page?  How do they map to actual pins? I have searched for about an hour and have had no luck in deciphering what those NUM mean.....
My X axis seems correct, but the Y and Z are not.
X step = pin 2
X dir = pin 3
Y step = pin 4
Y dir = pin 5
Z step = pin 6
Z dir = pin 7

hopefully the image has loaded here....



 

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

More
28 Jun 2021 21:22 - 28 Jun 2021 21:23 #213173 by PCW
The NNN: are GPIO numbers
The N: are channel numbers

Actual pin numbers (which stepgen channel connects to which DB25 pin for example)
are determined by the firmware. You would need to look at the specific firmware's .pin
file to determine this.
Last edit: 28 Jun 2021 21:23 by PCW. Reason: formatting

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

More
28 Jun 2021 21:58 #213180 by DannyG
there are some lines that don't have numbers at all. Are those continuation from the line above, or two lines above, or not at all? This is not very intuitive.
I have my machine set up exactly as the pic shows, but there is no movement on Y or Z. X seems to be working as set. I will try to review my PncConf setup tonight or tomorrow and hopefully I can find my error.

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

Moderators: cmorley
Time to create page: 0.152 seconds
Powered by Kunena Forum