Mesa 5i20 - 7I52S support

More
11 Dec 2011 17:18 #15557 by boyzo
Is it possible that the problem is because I did not copy .PIN file supplied by PCW to target directory? Where this file shoul go?

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

More
11 Dec 2011 18:15 #15559 by PCW
Replied by PCW on topic Re:Mesa 5i20 - All pins at +5V
It does not matter where the .PIN file is put, its just a a human readable text file that describes the FPGA configuration/pinout

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

More
11 Dec 2011 18:59 #15561 by boyzo
This is part of .xml file for pncconf. This directly match with .PIN configuration. In the attachment I put screenshot of generated I/O configuration for first connector.

<pins>
<pin>
<connector>P2</connector>
<secondarymodulename>None</secondarymodulename>
<secondaryfunctionname>???</secondaryfunctionname>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>MuxedQCount</secondarymodulename>
<secondaryfunctionname>Muxed Phase A (in)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>MuxedQCount</secondarymodulename>
<secondaryfunctionname>Muxed Phase B (in)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>MuxedQCount</secondarymodulename>
<secondaryfunctionname>Muxed Index (in)</secondaryfunctionname>
<secondaryinstance>0</secondaryinstance>
</pin>
<pin>
<connector>P2</connector>
<secondarymodulename>MuxedQCount</secondarymodulename>
<secondaryfunctionname>Muxed Phase A (in)</secondaryfunctionname>
<secondaryinstance>1</secondaryinstance>
</pin>
</pins>
Attachments:

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

More
11 Dec 2011 19:17 #15562 by PCW
Replied by PCW on topic Re:Mesa 5i20 - All pins at +5V
Looks like pncconf issue of some kind, but may not actually matter.
have you tested the actual index inputs?
I dont think pncconf can do anything to make them _not_ work
worst case you will have to hand edit the HAL file to connect them

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

More
11 Dec 2011 19:22 #15563 by cmorley
The short answer is not to worry it should work just fine, just follow the pinout for the daughter board.

longer answer.
The readme shows the pinout for the Mesa MAINBOARD (5i20 in this case) not the daughter board connected to it.
In the muxed encoder case a single mainboard pin does not correspond to a single encoder.
So the readme just tells you the encoder component number in general for the signalname.

Most components that PNCcond configures for have a one to one relationship between the pin and the combobox.
These components such as regular pwm and regular encoders don't necessarily require a daughter board.
others such as mux encoders and resolvers etc require a daughter board and so the one to one relationship sometimes must be ignored.

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

More
13 Dec 2011 08:19 #15623 by cmorley
Do you have a suggestion for what the readme should say to clear up the confusion?
I need to add sserial info to the readme too, so much to do ....

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

More
13 Dec 2011 14:25 #15631 by boyzo
cmorley wrote:

Do you have a suggestion for what the readme should say to clear up the confusion?
I need to add sserial info to the readme too, so much to do ....


There is relationship between 7I52S daughter card and I/O Connector 2 Encoder Configuration.I would expect that README document relationship between drop-down selected encoder (i.e. ecoder-x) and 7i52s PIN layout, where encoder is connected to.

encoder-x - P5 PINS 1 QA0, 2 /QA0,3 GND, 4 QB0, 5 /QB0, 6 +5V, 7 IDX0, ....
encoder-y - P5 PINS 9 QA1, 10 /QA1,11 GND, 12 QB1 ...
encoder-z - P4 PINS 1 QA0, 2 /QA0,3 ....

Does this make sense?

Another solution would be just to say that encoder connection should be done according to 7i52s documentation.

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

More
14 Dec 2011 01:26 #15653 by cmorley
The problem comes in that PNCconf has no way to know which or if any daughter board is being used ( in the case of mux encoders we know a daughter board is being used but not which one)

At the moment the read me just tells you what the mainboard connections are.
In the case of mux encoders it tells you that encoder 0 is connected to signal X which could help you with connection
on the daughter board by looking up encoder 0 in the manual and then figuring out which pins connect it.

have to think on it more...

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

More
14 Dec 2011 03:37 - 14 Dec 2011 03:39 #15659 by PCW
Replied by PCW on topic Re:Mesa 5i20 - All pins at +5V
I plan to make a minor change in the IDROM format (its currently V3)
The change is needed to support sets of modules with more
than 2 different register or instance strides. Since its being
changed I plan to make some unrelated changes. One being adding
another clock (ClockMed), and another being adding daughter-board
hints. Daughter-board hints will have the (class) name of a suggested
daughter-board for each pin range
Last edit: 14 Dec 2011 03:39 by PCW. Reason: ommision

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

More
16 Dec 2011 17:50 #15734 by boyzo
Finally I receive all Mesa boards. As I do not have all servos, I want to try with X-axis only. Connecting encoder to 7I52I connection 0 (rs-422 type) does not update position readout on AXIS display, also monitoring signal x-pos-fb does not show any changes.

Halscope shows correct signals coming in.

Any suggestion?
Attachments:

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

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