Mesa 5i25+7i77 plug-n-go configuration

More
15 May 2013 18:00 #34124 by mik1965
Good day!
We accomplishments of your recommendations, changed the firmware card 5i25. Unfortunately, there have been no changes. I think there is some problem in the hardware section.
Thanks for the help!

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

More
15 May 2013 20:13 #34130 by pws
make sure you do a full power cycle of the computer containing the 5i25 after you update the firmware.
The following user(s) said Thank You: mik1965

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

More
16 May 2013 07:40 - 16 May 2013 07:53 #34167 by ebrummer
I used the script posted to copy the Mesa config files over properly and then ran PNCconf. I set everything up as best I could and then the very last menu in PNCconf where you hit apply gives me this error:

PNCconf encountered an error. The following information may be useful in troubleshooting:
Traceback (most recent call list):
File "usr/bin/pncconf", line 8428, in on_complete_finish
self.data.save()
File "/usr/bin/pncconf", line 3514, in save
self.write_halfile(base)
File "/usr/bin/pncconf", line 2554, in write_halfile
if "m1" in self["mesa0sserial0_%dsubboard"% (i-1)]:
File "/usr/bin/pncconf", line 3672, in __getitem__
return getattr(self, item)
AttributeError: Data instance has no attribute 'mesa0sserioal0_5subboard'

EDIT: I redid the setup and it worked this time...
Last edit: 16 May 2013 07:53 by ebrummer. Reason: Solved sorta

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

More
16 May 2013 15:04 #34173 by mik1965
Yes!!! Works! Of course, it was necessary to restart the system. Thank you so much, PCW! It has started to work here with this firmware 7i77x2.bit

halcmd show

File Attachment:

File Name: 0001.txt
File Size:58 KB
Attachments:

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

More
14 Mar 2014 08:49 #44792 by 33zy
It has been a few months since the last post regarding the 5i25 7i77.
I recently received the "plug and go" kit.
I have downloaded the hal and ini, files from mesa and linux cnc opens.
I adjusted the pin for 5v, and have supplied 20v field i/o.
I printed/read the linux manuals from documentation

My intent is to set the system up for a 3 axis cnc.
My question is if I am on the "correct" or simplest path, I notice some discussion of PNCconfig and other "paths" and I am curious if options to just select the 5125 or 7i77 have not been added since may of 2013.

5i25 7i77
driver = be25a20
encoder = differential
servo = powertron

Open questions?
coolant
estop
home

Any assist is appreciated, i am still trying to understand the hal architecture, the wiring diagram posted earlier in the thread was helpful.
Thank you in advance,

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

More
14 Mar 2014 16:54 #44804 by cncbasher
if your running the latest version , then pncconfig should get you close , i do know that Chris is integrating 5i25 into pncconf at the moment

if their are any specific wiring problems your experiencing then , lets sort them one at a time , and in the process while looking at a specific problem
you will learn very quickly on configuration , rather than trying to merge a thousand problems into one haha ..

it's usually the case to use pncconf to get you started and from then on edit the files by hand , it's not that difficult , once you get started
even using pncconf to add say home to a dummy configuration , then copy the snippet required into your real config

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

More
14 Mar 2014 17:19 #44805 by andypugh

Open questions?
coolant
estop
home


If you have a "near enough" config then you might as well stick with it and hand modify.

Coolant is very easy.
net coolant-flood iocontrol.0.coolant-flood hm2_5i25.0.7i77.0.digout00
or similar.
It will help a lot to have a list of all the pins. Once you have the list. you can look for useful ones.
Open a terminal and type
halcmd show pin
halcmd show param
You can then copy and paste into a text editor. If you prefer you can pipe the output straight to a file
halcmd show pin > pins.txt
halcmd show param > params.txt

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

More
15 Mar 2014 15:06 #44835 by 33zy
$ haldmd show param
RTAPI: ERROR: could not open shared memory (errno=2)
segmentation fault

the show pin work, but i am a bit unlcear on how to decipher the pin data

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

More
15 Mar 2014 15:24 - 15 Mar 2014 15:28 #44836 by 33zy
attached subject show pin file

File Attachment:

File Name: halcmd_show_pin.txt
File Size:29 KB
Attachments:
Last edit: 15 Mar 2014 15:28 by 33zy. Reason: no file

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

More
15 Mar 2014 19:23 #44845 by andypugh

$ haldmd show param
RTAPI: ERROR: could not open shared memory (errno=2)
segmentation fault


That's odd. I assume you typed "halcmd" really?
Was LinuxCNC up and running at the time?

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

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