5I25 7I77 PNC Config Problems
05 Apr 2014 07:05 #45571
by zajones08
5I25 7I77 PNC Config Problems was created by zajones08
Hello all, before I start I just want to say thanks ahead of time for the support that this community gives to the open source CNC machinist and for any help I recieve. Also, if there is a post on this forum that has already addressed my problem, please lead me to it. I do not want to waste any of your time on questions that have already been asked.
So a little background, I am working on this 5i25/7i77 for a friend that lives 30 minutes from myself so i do not have a machine connected to this setup. I am only trying to get the 7i77 communicating and a configuration of linuxCNC running so that when i take the setup to my friends house, we can troubleshoot and tune on the machine without having to worry about the most basic stuff.
So here is what i have done so far.
1) Installed LinuxCNC
2) Installed 5i25 Card
3) Used mesaflash to load and verify 5i25_7i77x2.bit
4) Used bogie6040's shell script to load 5i25 files for pncconfig
4) Connected 7i77 and set jumper on 5i25 to supply power to 7i77
5) Connected 12V to field power on 7i77
Now when i run PNC Config i get the following error when clicking on Open Loop Test in the X Axis Motor/Encoder Configuration.
Traceback (most recent call last):
File "/usr/bin/pncconf", line 9106, in on_enableamp_toggled
self.update_axis_params()
File "/usr/bin/pncconf", line 9076, in update_axis_params
halrun.flush()
IOError: [Errno 32] Broken pipe
Thanks again for the help.
So a little background, I am working on this 5i25/7i77 for a friend that lives 30 minutes from myself so i do not have a machine connected to this setup. I am only trying to get the 7i77 communicating and a configuration of linuxCNC running so that when i take the setup to my friends house, we can troubleshoot and tune on the machine without having to worry about the most basic stuff.
So here is what i have done so far.
1) Installed LinuxCNC
2) Installed 5i25 Card
3) Used mesaflash to load and verify 5i25_7i77x2.bit
4) Used bogie6040's shell script to load 5i25 files for pncconfig
4) Connected 7i77 and set jumper on 5i25 to supply power to 7i77
5) Connected 12V to field power on 7i77
Now when i run PNC Config i get the following error when clicking on Open Loop Test in the X Axis Motor/Encoder Configuration.
Traceback (most recent call last):
File "/usr/bin/pncconf", line 9106, in on_enableamp_toggled
self.update_axis_params()
File "/usr/bin/pncconf", line 9076, in update_axis_params
halrun.flush()
IOError: [Errno 32] Broken pipe
Thanks again for the help.
Please Log in or Create an account to join the conversation.
05 Apr 2014 07:32 #45572
by cmorley
Replied by cmorley on topic 5I25 7I77 PNC Config Problems
what version of linuxcnc arw you using? you really want the latest version.
try this:
open a terminal annd start pncconf (pncconf <return>)
now do an open loop test and there should be an error message in the terminal, when you get the broken pipe error.
Post that error.
Chris M
try this:
open a terminal annd start pncconf (pncconf <return>)
now do an open loop test and there should be an error message in the terminal, when you get the broken pipe error.
Post that error.
Chris M
Please Log in or Create an account to join the conversation.
06 Apr 2014 00:44 - 06 Apr 2014 00:46 #45592
by zajones08
Replied by zajones08 on topic 5I25 7I77 PNC Config Problems
When I load a sample configuration it says I am running 2.5.0. Is there a better way to check the version?
Error below
zach@zach-desktop:~$ pncconf
/usr/bin/pncconf:3893: Warning: g_path_get_dirname: assertion `file_name != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3893: GtkWarning: gdk_pixbuf_new_from_file: assertion `filename != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3893: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/home/zach/Desktop/custom_firmware/firmware.py
XML 7i77 TXData3 SMARTSERIAL-P2-TX
XML 7i77 RXData3 SMARTSERIAL-P2-RX
XML 7i77 TXData2 7i77 sserial #2
XML 7i77 RXData2 SMARTSERIAL-P1-RX
XML 7i77 TXData1 7i77 sserial #1
XML 7i77 RXData1 SMARTSERIAL-P0-RX
XML 7i77 TXData6 SMARTSERIAL-P5-TX
XML 7i77 RXData6 SMARTSERIAL-P5-RX
XML 7i77 TXData5 7i77 sserial #5
XML 7i77 RXData5 SMARTSERIAL-P4-RX
XML 7i77 TXData4 7i77 sserial #4
XML 7i77 RXData4 SMARTSERIAL-P3-RX
XML 7i77 TXData3 SMARTSERIAL-P2-TX
XML 7i77 RXData3 SMARTSERIAL-P2-RX
XML 7i77 TXData2 7i77 sserial #2
XML 7i77 RXData2 SMARTSERIAL-P1-RX
XML 7i77 TXData1 7i77 sserial #1
XML 7i77 RXData1 SMARTSERIAL-P0-RX
hm2_5i25.0.encoder.00
<stdin>:12: Pin 'hm2_5i25.0.7i77.0.1..analogena' does not exist
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/scope_rt.ko': -1 Unknown symbol in module
<commandline>:0: exit value: 1
<commandline>:0: insmod failed, returned -1
See the output of 'dmesg' for more information.
loadrt scope_rt failed
Error below
zach@zach-desktop:~$ pncconf
/usr/bin/pncconf:3893: Warning: g_path_get_dirname: assertion `file_name != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3893: GtkWarning: gdk_pixbuf_new_from_file: assertion `filename != NULL' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/usr/bin/pncconf:3893: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.xml = gtk.glade.xml_new_from_buffer(doc, len(doc), domain="linuxcnc")
/home/zach/Desktop/custom_firmware/firmware.py
XML 7i77 TXData3 SMARTSERIAL-P2-TX
XML 7i77 RXData3 SMARTSERIAL-P2-RX
XML 7i77 TXData2 7i77 sserial #2
XML 7i77 RXData2 SMARTSERIAL-P1-RX
XML 7i77 TXData1 7i77 sserial #1
XML 7i77 RXData1 SMARTSERIAL-P0-RX
XML 7i77 TXData6 SMARTSERIAL-P5-TX
XML 7i77 RXData6 SMARTSERIAL-P5-RX
XML 7i77 TXData5 7i77 sserial #5
XML 7i77 RXData5 SMARTSERIAL-P4-RX
XML 7i77 TXData4 7i77 sserial #4
XML 7i77 RXData4 SMARTSERIAL-P3-RX
XML 7i77 TXData3 SMARTSERIAL-P2-TX
XML 7i77 RXData3 SMARTSERIAL-P2-RX
XML 7i77 TXData2 7i77 sserial #2
XML 7i77 RXData2 SMARTSERIAL-P1-RX
XML 7i77 TXData1 7i77 sserial #1
XML 7i77 RXData1 SMARTSERIAL-P0-RX
hm2_5i25.0.encoder.00
<stdin>:12: Pin 'hm2_5i25.0.7i77.0.1..analogena' does not exist
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/scope_rt.ko': -1 Unknown symbol in module
<commandline>:0: exit value: 1
<commandline>:0: insmod failed, returned -1
See the output of 'dmesg' for more information.
loadrt scope_rt failed
Last edit: 06 Apr 2014 00:46 by zajones08. Reason: added error
Please Log in or Create an account to join the conversation.
06 Apr 2014 01:48 #45594
by PCW
Replied by PCW on topic 5I25 7I77 PNC Config Problems
at first glance this looks like a pncconf bug:
The pin name should be hm2_5i25.0.7i77.0.1.analogena
So as cmorely said, updating pncconf is reccomended
<stdin>:12: Pin 'hm2_5i25.0.7i77.0.1..analogena' does not exist
The pin name should be hm2_5i25.0.7i77.0.1.analogena
So as cmorely said, updating pncconf is reccomended
Please Log in or Create an account to join the conversation.
06 Apr 2014 03:34 #45596
by zajones08
Replied by zajones08 on topic 5I25 7I77 PNC Config Problems
updated through Synaptic Package Manager and now it works great. Thanks for the help.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.062 seconds