pncconf - feature requests

07 Sep 2016 02:49 - 07 Sep 2016 02:50 #80108 by PCW
It works simply because hm2_5i25.0.encoder.00.count is a S32 pin that exists
(but is still a wrong connection since that's the spindle encoder not the MPG encoder)

You will not be able to connect to the MPG encoder pin ( hm2_5i25.0.7i76.0.0.enc0.count )
until you enable mode 2 and 7I76 field power is on (since the pin will not exist)

So the pncconf hal code is correct, but it has not generated the proper driver command line to enable mode 2
on the 7I76.

Did you try fixing the driver command line by editing the HAL file?
Last Edit: 07 Sep 2016 02:50 by PCW.
07 Sep 2016 03:27 #80111 by calvin.d
yes, i can make the change by hand then

in the hal viewer, there is now 2 encoders under the 7i76 component

this is the correct line to get the encoder to read correctly
net joint-selected-count <= hm2_5i25.0.7i76.0.0.enc0.count

but now, the encoder is reading but the scale is way off, it is like 20 revolutions of the mpg to the mm and i am not sure why

I am attaching the config as it stands now, with those 2 changes made

Thank You
25 Sep 2016 13:44 #80904 by heathmanc
I personally would like to see the 4i65 and 4i69 implemented into pncconf. I am not really savvy when it comes to editing files. I do have my 4i65 working, but only because I set up the file for 5i20 and then go back and rename everything!

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