LCNC not starting my new configuration

More
29 Mar 2013 23:09 #32051 by canner
I was posting about a problem I had starting my linuxcnc configuration after going through PnCConf. I posted the error report and this is what PCW pointed out:

"Well thats a fairly easy one, it says that line 57 of your hal file references a non-existent pin: hm2_5i25.0.gpio.034.in
(5I25 GPIO pins only range from 0 to 33). This is likely a pncconf bug unless you edited the hal file yourself."

So I need to know if I should go in and delete this line in the hal file or if it should be directed to another pin?

In my pncconf session I don't think I did anything crazy just started out with a simple setup for a bridgeport mill 3-axis, spindle control through freq. drive, spindle encoder, limit switches, and home switches. I will add more later but just wanted to get it started for now.

here is address of my original question: www.linuxcnc.org/index.php/english/forum...-7i76-and-gecko-203v

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

More
30 Mar 2013 00:06 #32052 by cncbasher
Replied by cncbasher on topic LCNC not starting my new configuration
just delete should do the trick

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

More
30 Mar 2013 06:47 #32071 by canner
Replied by canner on topic LCNC not starting my new configuration
Thanks, it is working now. It was for the "spindle manual stop" input.

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

More
30 Mar 2013 07:53 #32073 by cmorley
Replied by cmorley on topic LCNC not starting my new configuration
yes thank you for report. it seems pncconnf's numbering of GPIO is wrong for the #2 connector...

Chris M

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

More
30 Mar 2013 11:53 - 30 Mar 2013 11:54 #32087 by canner
Replied by canner on topic LCNC not starting my new configuration
So I read on another thread that my limit switches should " connect to pins with names like hm2_5i25.0.7i76.0.0.input-01" but mine are connected to gpio pins. Should I change these to 7i76 pins? If so how do I select which input number to connect to?
Last edit: 30 Mar 2013 11:54 by canner.

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

More
30 Mar 2013 16:31 #32089 by cncbasher
Replied by cncbasher on topic LCNC not starting my new configuration
this is correct hm2_5i25.0.7i76.0.0.input-01

showing connection to input 1 (pin 2 on the connector ) on the 7i76 , gpio are situated on connectors TB6 and TB5 , starting on TB6
inputs are pins 1 to 16 with pins 17 to 24 as outputs which would be hm2_5i25.0.7i76.0.0.output-01 as pin 18 on the block

see the 7i76 manual pages 7 & 8

the pins continue from 16 upwards on connector TB5 for inputs and from 8 for outputs

i am going by memory here , also watch for pin numbers starting from 0 and not 1 , so it's possible i may be 1 pin out in numbering , i'm not near my manuals at the moment
but once you find one pin the rest is simple.

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

More
30 Mar 2013 23:29 #32099 by PCW
Replied by PCW on topic LCNC not starting my new configuration

So I read on another thread that my limit switches should " connect to pins with names like hm2_5i25.0.7i76.0.0.input-01" but mine are connected to gpio pins. Should I change these to 7i76 pins? If so how do I select which input number to connect to?


You should not have to change the hal file, pncconf should not have assigned I/O to any GPIO
pins in the first place.

I suspect this has to do with some options you have selected (or not selected) when you created the
hal file with pncconf.

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

More
31 Mar 2013 00:38 - 31 Mar 2013 00:40 #32102 by cmorley
Replied by cmorley on topic LCNC not starting my new configuration
There is nothing wrong with what you did - it is just unusual.

You selected signals for the mainboard GPIO rather then the daughter board GPIO

Either will work, but the daughter board was nice screw connections and this would be the usual way.
There is sometimes a reason to use the mainboard GPIO it is updated faster IIRC but I don't think that was your intention.
0n the mesa page of PNCconf there is a Smart Serial tab.
In that tab is two more tabs: TB5 and TB6.
Those are the daughterboard GPIO - just move your signals to those combo boxes.
Or leave them where they are and wire to the 5i25's unused connector - that's why you selected the 7i76x1 firmware to free the other 5i25 pins for GPIO

Chris M
Last edit: 31 Mar 2013 00:40 by cmorley.

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

More
31 Mar 2013 02:06 #32108 by canner
Replied by canner on topic LCNC not starting my new configuration
Great, thanks everyone for the help. I will go back into pncconf and change it to the normal setup.

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

More
09 Apr 2013 09:51 #32451 by canner
Replied by canner on topic LCNC not starting my new configuration
I am trying to get my spindle working fully with the 7i76, how do I know what the min, max, and scale max should be?

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

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