pncconf mesa i/o tabs

More
08 May 2011 21:08 - 08 May 2011 21:11 #9667 by fabworx
ok so im trying to setup my mesa 5i20 and 7i48 both of which have p2, p3, p4 connectors. in pncconf on the i/o page which board is the connectors refering to the 5i20 or the 7/48. im running the SV12_2x7i48_72 driver. thanx in advance. also if it is refering to the 5i20 is it assuming im running 2 7i48's cause otherwise its spreading the pmw and encoder signals accorss two connectors p2, and p3.

one more thing where can i print out a "pin out" list, from how i configured them in pncconf. so i can start to actually start wiring things.
Last edit: 08 May 2011 21:11 by fabworx.

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

More
09 May 2011 09:38 #9672 by cmorley
Replied by cmorley on topic Re:pncconf mesa i/o tabs
just for anyone reading this you are referring to pncconf in pre release EMC 2.5.

Pncconf I/O tabs refer to the 5i20.
The firmware is compiled to support two 7i48, you can request that some or all of the pins be converted to GPIO using the configure page.
The real problem you are seeing is the fact that pncconf does not fully support the 7i48.
It will only help with configuring the first half of the muxed encoders on each 7i48.
One must hand edit the HAL and INI file if one needs to use the extra encoders on the 7i48.
Its a bit of a pain but hopefully easier then hand crafting the whole thing.
Future versions of pncconf will try to address this issue. I just ran out of time.

The README has a printable list of pins / signals

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

More
09 May 2011 15:12 #9673 by fabworx
Replied by fabworx on topic Re:pncconf mesa i/o tabs
OK thanks Chris however its not outputting the pins correctly as with the 7i48 all of the even number pins are ground. here is my readme file.

file:///home/denny/emc2/configs/Kasuga/README


my encoders are differential how do i tell it that so it knows i need to hook the neg. signal to the board. or am i missing something. also i am so overwhelmed by hal and ini i dont get the literature on how to do any of it im so lost im about to give up on it. how do i write the hal for the 7i48 board cause when i look at the hal file all i see is the 5i20

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

More
09 May 2011 15:14 #9674 by fabworx
Replied by fabworx on topic Re:pncconf mesa i/o tabs
Generated by PNCconf at Sun May 8 16:03:07 2011

Kasuga configures EMC2 as:

a metric XYZA type CNC

AXIS will be used as the frontend display

Mesa hardware I/O card - board 0 is designated as
5i20
with 0 I/O pins and firmware is: SV12_2X7I48_72

** Mesa 5i20 -> Board # 0 connector 2 **

pin# 0 (Pulse Width Gen-E)
connected to signal:'s-pwm-enable'

pin# 1 (Muxed Encoder-A)
connected to signal:'x-encoder-a'

pin# 2 (Muxed Encoder-B)
connected to signal:'x-encoder-b'

pin# 3 (Muxed Encoder-I)
connected to signal:'x-encoder-i'

pin# 4 (Muxed Encoder-A)
connected to signal:'y-encoder-a'

pin# 5 (Muxed Encoder-B)
connected to signal:'y-encoder-b'

pin# 6 (Muxed Encoder-I)
connected to signal:'y-encoder-i'

pin# 7 (Muxed Encoder-A)
connected to signal:'z-encoder-a'

pin# 8 (Muxed Encoder-B)
connected to signal:'z-encoder-b'

pin# 9 (Muxed Encoder-I)
connected to signal:'z-encoder-i'

pin# 10 (Mux Enc Select)
connected to signal:'unused-encoder'

pin# 11 (Pulse Width Gen-P)
connected to signal:'s-pwm-pulse'

pin# 12 (Pulse Width Gen-D)
connected to signal:'s-pwm-dir'

pin# 13 (Pulse Width Gen-P)
connected to signal:'x-pwm-pulse'

pin# 14 (Pulse Width Gen-D)
connected to signal:'x-pwm-dir'

pin# 15 (Pulse Width Gen-P)
connected to signal:'y-pwm-pulse'

pin# 16 (Pulse Width Gen-D)
connected to signal:'y-pwm-dir'

pin# 17 (Pulse Width Gen-P)
connected to signal:'z-pwm-pulse'

pin# 18 (Pulse Width Gen-D)
connected to signal:'z-pwm-dir'

pin# 19 (Pulse Width Gen-P)
connected to signal:'a-pwm-pulse'

pin# 20 (Pulse Width Gen-D)
connected to signal:'a-pwm-dir'

pin# 21 (Pulse Width Gen-P)
connected to signal:'Coolant_Pump_PWM-pulse'

pin# 22 (Pulse Width Gen-D)
connected to signal:'Coolant_Pump_PWM-dir'

pin# 23 (Pulse Width Gen-E)
connected to signal:'s-pwm-enable'

** Mesa 5i20 -> Board # 0 connector 3 **

pin# 0 (GPIO Input)
connected to signal:'estop-ext'

pin# 1 (Muxed Encoder-A)
connected to signal:'z-encoder-a'

pin# 2 (Muxed Encoder-B)
connected to signal:'z-encoder-b'

pin# 3 (Muxed Encoder-I)
connected to signal:'z-encoder-i'

pin# 4 (Muxed Encoder-A)
connected to signal:'a-encoder-a'

pin# 5 (Muxed Encoder-B)
connected to signal:'a-encoder-b'

pin# 6 (Muxed Encoder-I)
connected to signal:'a-encoder-i'

pin# 7 (GPIO Input)
connected to signal:'home-x'

pin# 8 (GPIO Input)
connected to signal:'home-y'

pin# 9 (GPIO Input)
connected to signal:'home-z'

pin# 10 (GPIO Input)
connected to signal:'home-a'

pin# 11 (GPIO Input)
connected to signal:'min-x'

pin# 12 (GPIO Input)
connected to signal:'min-y'

pin# 13 (GPIO Input)
connected to signal:'min-z'

pin# 14 (GPIO Input)
connected to signal:'max-x'

pin# 15 (GPIO Input)
connected to signal:'max-home-y'

pin# 16 (GPIO Input)
connected to signal:'max-home-z'

pin# 17 (GPIO Input)
connected to signal:'all-home'

pin# 18 (GPIO Input)
connected to signal:'unused-input'

pin# 19 (GPIO Input)
connected to signal:'joint-select-a'

pin# 20 (GPIO Input)
connected to signal:'joint-select-b'

pin# 21 (GPIO Input)
connected to signal:'joint-select-c'

pin# 22 (GPIO Input)
connected to signal:'joint-select-d'

pin# 23 (GPIO Input)
connected to signal:'cycle-start'

** Mesa 5i20 -> Board # 0 connector 4 **

pin# 0 (GPIO Input)
connected to signal:'unused-input'

pin# 1 (GPIO Input)
connected to signal:'unused-input'

pin# 2 (GPIO Input)
connected to signal:'unused-input'

pin# 3 (GPIO Input)
connected to signal:'unused-input'

pin# 4 (GPIO Input)
connected to signal:'unused-input'

pin# 5 (GPIO Input)
connected to signal:'unused-input'

pin# 6 (GPIO Input)
connected to signal:'unused-input'

pin# 7 (GPIO Input)
connected to signal:'unused-input'

pin# 8 (GPIO Input)
connected to signal:'unused-input'

pin# 9 (GPIO Input)
connected to signal:'unused-input'

pin# 10 (GPIO Input)
connected to signal:'unused-input'

pin# 11 (GPIO Input)
connected to signal:'unused-input'

pin# 12 (GPIO Input)
connected to signal:'unused-input'

pin# 13 (GPIO Input)
connected to signal:'unused-input'

pin# 14 (GPIO Input)
connected to signal:'unused-input'

pin# 15 (GPIO Input)
connected to signal:'unused-input'

pin# 16 (GPIO Output)
connected to signal:'unused-output'

pin# 17 (GPIO Output)
connected to signal:'unused-output'

pin# 18 (GPIO Output)
connected to signal:'unused-output'

pin# 19 (GPIO Output)
connected to signal:'unused-output'

pin# 20 (GPIO Output)
connected to signal:'unused-output'

pin# 21 (GPIO Output)
connected to signal:'unused-output'

pin# 22 (GPIO Output)
connected to signal:'unused-output'

pin# 23 (GPIO Output)
connected to signal:'unused-output'

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

More
09 May 2011 15:16 #9675 by fabworx
Replied by fabworx on topic Re:pncconf mesa i/o tabs
i might have to wait for a future release of pncconf how long till we see full support if the 7i48 just curious Chris thank you for your help

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

More
09 May 2011 15:38 #9676 by PCW
Replied by PCW on topic Re:pncconf mesa i/o tabs
I think its correct as far as it goes, the problem is terminology, HAL and pncconf use I/O bit numbers, not connector pin numbers:

I/O BIT CONN PIN
1 1
2 3
3 5
4 7
5 9
etc
Perhaps pncconfs "pin" should be changed to "I/O bit" or just "bit"

It does sound like you will have to hand edit either pncconfs HAL file or start with the hm2-servo hal and ini files and modify the firmware and number of encoders to get a working hal file for the 7I48

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

More
09 May 2011 15:59 #9677 by fabworx
Replied by fabworx on topic Re:pncconf mesa i/o tabs
this isnt getting better, so the pin# from the readme file isnt the pin# i terminate the wires at. now im completely lost am i supposed to hook the wires up as per the mesa manual? where is the manual for helping the absolutely retarded linux user.

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

More
09 May 2011 16:55 #9679 by PCW
Replied by PCW on topic Re:pncconf mesa i/o tabs
If you are not directly connecting to the FPGA card, the pinouts just have to be correct for the attached daughtercard. For example with the 7I48, you really dont need to care about the FPGACARD --> 7I48 pinout, all you need to know is that if you set num encoders and num pwmgens to 6 in the .ini file, all
6 encoder and PWM/analog output channels will be enabled on the 7I48. For I/O cards you do need to know the GPIO bit numbers, but the flat cable pin numbers are only of use if you are directly connecting something to the FPGA card (without a daughtercard)

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

More
09 May 2011 17:15 #9680 by fabworx
Replied by fabworx on topic Re:pncconf mesa i/o tabs
ok that is a big help thank you. now how do i figure out the physical pin out so i can wire the machine.

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

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