new pnc.config won't load in linuxcnc
30 Jul 2021 14:59 #216352
by PCW
Replied by PCW on topic new pnc.config won't load in linuxcnc
The halcmd listing will give you all existing sserial pin names
assuming all devices are connected and no sserial devices
have been disabled in the "sserial_port_0=something" statement
in the hal file.
Since there are 5 sserial devices, this command line option needs
to be something like "sserial_port_0=00000"
assuming all devices are connected and no sserial devices
have been disabled in the "sserial_port_0=something" statement
in the hal file.
Since there are 5 sserial devices, this command line option needs
to be something like "sserial_port_0=00000"
Please Log in or Create an account to join the conversation.
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 4
30 Jul 2021 16:07 #216357
by mjones@welfab.ca
Replied by mjones@welfab.ca on topic new pnc.config won't load in linuxcnc
Ok. New problem. I have been able to get the computer to see the 7i76e and 7i77 by changing card names and channel numbers, but now when i try to start in linuxcnc the 7i76e loads fine the 7i77 loads up to the inputs then says the first input it comes to was already linked to what ever the assignment is. i tried changing the assignment of the first input to a din-10 that couldn't have been assigned already and it came back saying that it was already assigned to din-10. if i remove the input altogether it just errors on the next input in the line. It seems to have no problems with the outputs that are addressed the same. Its almost like it is double entering the inputs so when it does it the second time it thinks its already there.
Any ideas?
Any ideas?
Please Log in or Create an account to join the conversation.
30 Jul 2021 16:16 #216358
by PCW
Replied by PCW on topic new pnc.config won't load in linuxcnc
Can you post your hal file?
Please Log in or Create an account to join the conversation.
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 4
30 Jul 2021 16:23 #216359
by mjones@welfab.ca
Replied by mjones@welfab.ca on topic new pnc.config won't load in linuxcnc
Attachments:
Please Log in or Create an account to join the conversation.
30 Jul 2021 16:46 #216362
by PCW
Replied by PCW on topic new pnc.config won't load in linuxcnc
You have overlapped input assignments:
# --- JOG-Z-NEG ---
net jog-z-neg <= hm2_7i76e.0.7i77.0.2.input-14
# --- JOG-Z-POS ---
net jog-z-pos <= hm2_7i76e.0.7i77.0.2.input-15
# --- DIN-00 ---
net din-00 <= hm2_7i76e.0.7i77.0.2.input-14
# --- DIN-01 ---
net din-01 <= hm2_7i76e.0.7i77.0.2.input-15
# --- JOG-Z-NEG ---
net jog-z-neg <= hm2_7i76e.0.7i77.0.2.input-14
# --- JOG-Z-POS ---
net jog-z-pos <= hm2_7i76e.0.7i77.0.2.input-15
# --- DIN-00 ---
net din-00 <= hm2_7i76e.0.7i77.0.2.input-14
# --- DIN-01 ---
net din-01 <= hm2_7i76e.0.7i77.0.2.input-15
Please Log in or Create an account to join the conversation.
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 4
30 Jul 2021 16:56 #216363
by mjones@welfab.ca
Replied by mjones@welfab.ca on topic new pnc.config won't load in linuxcnc
The jog-z-neg and pos are pinned out on the 7i76e i didn't notice that, thanks, i will have to checck all those out. strange thing is that the first pin manual spindle cw is the first one to shut it down and like I said I changed it to a DIN that was never assigned unless the pnc.config did. I will have to look through every line. Thanks for picking up on that for me.
Please Log in or Create an account to join the conversation.
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 4
30 Jul 2021 19:02 #216377
by mjones@welfab.ca
Replied by mjones@welfab.ca on topic new pnc.config won't load in linuxcnc
Ok I got that all sorted out. it seems the pnc.config, or i some how managed to put all my pinouts onto the 7i77. I readdressed everything and now it seems to be able to see all the card, but still won't start in linuxcnc i kept trying it and reading the debut and changing little things and trying it again each time coming up with a different error until now finally it seems to have made a big step forward, and an even bigger step back. it shows a debug list a mile long. basicley saying watchdog had bit and and comunication errow then timouts on all ports. it won't let me copy it to past here and i tried creating a report file but can't find where it puts it. My interface panel isn't in the machine yet, I doubt it but its not looking for something from the machine is it?
Please Log in or Create an account to join the conversation.
30 Jul 2021 19:25 - 30 Jul 2021 19:26 #216381
by PCW
Replied by PCW on topic new pnc.config won't load in linuxcnc
If you get a watchdog bite it indicates a real time issue of some kind
Can you post both your hal and ini files?
As a quick sanity check, can you report the results of these commands:
uname -a
and
ping 10.10.10.10
Can you post both your hal and ini files?
As a quick sanity check, can you report the results of these commands:
uname -a
and
ping 10.10.10.10
Last edit: 30 Jul 2021 19:26 by PCW.
Please Log in or Create an account to join the conversation.
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 4
30 Jul 2021 19:35 #216383
by mjones@welfab.ca
Replied by mjones@welfab.ca on topic new pnc.config won't load in linuxcnc
her it is.
hard@superslant:~$ ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.149 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.093 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.111 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.084 ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.107 ms
64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.112 ms
^C
--- 10.10.10.10 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5072ms
rtt min/avg/max/mdev = 0.084/0.109/0.149/0.022 ms
hard@superslant:~$ uname -a
Linux superslant 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
hard@superslant:~$
hard@superslant:~$ ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.149 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.093 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.111 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.084 ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.107 ms
64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.112 ms
^C
--- 10.10.10.10 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5072ms
rtt min/avg/max/mdev = 0.084/0.109/0.149/0.022 ms
hard@superslant:~$ uname -a
Linux superslant 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
hard@superslant:~$
Attachments:
Please Log in or Create an account to join the conversation.
- mjones@welfab.ca
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 4
30 Jul 2021 19:38 #216386
by mjones@welfab.ca
Replied by mjones@welfab.ca on topic new pnc.config won't load in linuxcnc
so you know, when i start linuxcnc the leds on 7i77 and 7i64 go green for a second the out again when quits.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.112 seconds