First time using a 6i25/7i77 and EMC is not launching

More
9 years 5 months ago #92613 by Vitran
First time using LinuxCNC on something other than a parallel port and I am finding errors I have no experience in.

Connecting the board and launching the configuration I receive the following message in the debug:

'./hardinge.hal:28: Pin 'hm2_5i25.0.7i77.0.0.input-00' does not exist.


I ran a code I found on finding the pinouts:

halrun
loadrt hostmot2
loadrt hm2_pci
show pin
exit


The above listed several 5i25 pins, but no 7i77 when it was connected. What did I miss?

Please Log in to join the conversation.

More
9 years 5 months ago #92616 by PCW
Usually this means the 7I77 isolated I/O section is missing field power

Please Log in to join the conversation.

More
9 years 5 months ago #92651 by andypugh

PCW wrote: Usually this means the 7I77 isolated I/O section is missing field power


Maybe we should make the driver explicitly detect this, and raise an error?

Please Log in to join the conversation.

More
9 years 5 months ago #92657 by PCW
Its a bit awkward because of the original decision to enable modules automatically
and that you dont know the missing device name (you could complain that
"sserial device port.channel" was not found if it was explicitly enabled in the config string)

Please Log in to join the conversation.

More
9 years 5 months ago #92658 by andypugh
I was meaning a very specific test, if we see "7i77" in a pin name and never see "input-00"

Please Log in to join the conversation.

More
9 years 5 months ago #92661 by PCW
Is that possible at hal parsing time?

If so, sure, a "7I77 not found, check power and connections" message would be nicer
than a random missing pin (first one found in hal file IICRC)

Please Log in to join the conversation.

More
9 years 5 months ago #92696 by andypugh

PCW wrote: Is that possible at hal parsing time?


Not easily. Having had a quick look, there seems to be no easy way to tell if a 7i77 or 7i76 would be expected to show up.
It might be possible to spot that the 5i25 has a 7i76-shaped set of pins. But without field-power nothing unabiguously 7i76 seems to show up that I have seen so far. It would be easier with the old-style cards where the driver knows the firmware name, and could spot 7i76 on 7i77 in that. But with the pre-flashed cards, I don't know if the driver knows anything about the firmware at all.

Please Log in to join the conversation.

Time to create page: 3.898 seconds
Powered by Kunena Forum