LCNC not starting my new configuration
- canner
- Offline
- Junior Member
- Posts: 35
- Thank you received: 0
"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.
- cncbasher
- Offline
- Moderator
- Posts: 1776
- Thank you received: 292
Please Log in or Create an account to join the conversation.
- canner
- Offline
- Junior Member
- Posts: 35
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- Posts: 7758
- Thank you received: 2043
Chris M
Please Log in or Create an account to join the conversation.
- canner
- Offline
- Junior Member
- Posts: 35
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
- Posts: 1776
- Thank you received: 292
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.
- PCW
- Online
- Moderator
- Posts: 17860
- Thank you received: 4767
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.
- cmorley
- Away
- Moderator
- Posts: 7758
- Thank you received: 2043
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
Please Log in or Create an account to join the conversation.
- canner
- Offline
- Junior Member
- Posts: 35
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- canner
- Offline
- Junior Member
- Posts: 35
- Thank you received: 0
Please Log in or Create an account to join the conversation.