Have I killed my 7i84?
- RotarySMP
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1484
- Thank you received: 546
17 Jan 2021 15:32 #195674
by RotarySMP
Have I killed my 7i84? was created by RotarySMP
I am finally doing the wiring on the Maho to connect up my pendant. It has a 9 inputs to the 7i77, and Encoder 03. Nothing of the pendant connects to the 7i84, but the 7i84 receives it's 24V field through the 7i77 connector. Out at the pendant, I shorted field (24VDC) to either case ground or a pin and got a spark. Thinking about it, I hot unplugged the pendant, which means I hot unplugged an encoder.
Now I cant start LinuxCNC as I get the error below:
Sergei pointed out that the error is caused by the hm2.pci driver not accepting the parameters it is being passed from line 12 of my HAL, whic is probably:
loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=300xxx"
The CR6 on the 7i84 and CR16 on the 7i77 are both lit up red, so they are not communicating.
If I pull the Cat 5 cable connecting the 7i84 to the 7i77, and boot, then I get a normal error for the first 7i84 pin named in the HAL not exiting. With the 7i84 disconnented, I made a new HAL with just the 7i77, and it loads without error.
Is there any further trouble shooting, or rescue step I should do, or do I need to order a new 7i84?
Mark
//////////
Error file
///////////
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.7.14
Machine configuration directory is '/home/maho/linuxcnc/configs/MAHO_MH400E'
Machine configuration file is 'MAHO_MH400E.ini'
INIFILE=/home/maho/linuxcnc/configs/MAHO_MH400E/MAHO_MH400E.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./MAHO_MH400E.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=3161
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hm2_pci.ko: Invalid parameters
./MAHO_MH400E.hal:12: exit value: 1
./MAHO_MH400E.hal:12: insmod for hm2_pci failed, returned -1
See the output of 'dmesg' for more information.
3161
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Now I cant start LinuxCNC as I get the error below:
Sergei pointed out that the error is caused by the hm2.pci driver not accepting the parameters it is being passed from line 12 of my HAL, whic is probably:
loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=300xxx"
The CR6 on the 7i84 and CR16 on the 7i77 are both lit up red, so they are not communicating.
If I pull the Cat 5 cable connecting the 7i84 to the 7i77, and boot, then I get a normal error for the first 7i84 pin named in the HAL not exiting. With the 7i84 disconnented, I made a new HAL with just the 7i77, and it loads without error.
Is there any further trouble shooting, or rescue step I should do, or do I need to order a new 7i84?
Mark
//////////
Error file
///////////
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.7.14
Machine configuration directory is '/home/maho/linuxcnc/configs/MAHO_MH400E'
Machine configuration file is 'MAHO_MH400E.ini'
INIFILE=/home/maho/linuxcnc/configs/MAHO_MH400E/MAHO_MH400E.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./MAHO_MH400E.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=3161
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hm2_pci.ko: Invalid parameters
./MAHO_MH400E.hal:12: exit value: 1
./MAHO_MH400E.hal:12: insmod for hm2_pci failed, returned -1
See the output of 'dmesg' for more information.
3161
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18537
- Thank you received: 5081
17 Jan 2021 16:34 #195688
by PCW
Replied by PCW on topic Have I killed my 7i84?
Since the 7I84 is detected I would expect the cabling and 7I77 interface to be OK
Do all (analog and digital) 7I77 pins show up?
Do all (analog and digital) 7I77 pins show up?
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
- RotarySMP
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1484
- Thank you received: 546
18 Jan 2021 08:59 #195758
by RotarySMP
Replied by RotarySMP on topic Have I killed my 7i84?
Tkanks PCW. I'll take a closer look at that after work tonight.
Mark
Mark
Please Log in or Create an account to join the conversation.
- RotarySMP
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1484
- Thank you received: 546
18 Jan 2021 17:39 #195813
by RotarySMP
Replied by RotarySMP on topic Have I killed my 7i84?
Whenever I connect the 7i84, I get red on 7i77 CR16 and 7i84 CR6, and this this error:
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hm2_pci.ko: Invalid parameters
./MAHO_MH400E.hal:12: exit value: 1
./MAHO_MH400E.hal:12: insmod for hm2_pci failed, returned -1
With the 7i84 disconnected, 7i77 CR16 blicks green, I checked the 7i77 encoders are connected and counting, IO pins are loaded, one SS port is loaded and has the following pins:
Fault count =0
Run Active
Port state = 1
Mark
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hm2_pci.ko: Invalid parameters
./MAHO_MH400E.hal:12: exit value: 1
./MAHO_MH400E.hal:12: insmod for hm2_pci failed, returned -1
With the 7i84 disconnected, 7i77 CR16 blicks green, I checked the 7i77 encoders are connected and counting, IO pins are loaded, one SS port is loaded and has the following pins:
Fault count =0
Run Active
Port state = 1
Mark
Please Log in or Create an account to join the conversation.
- RotarySMP
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1484
- Thank you received: 546
19 Jan 2021 10:45 #195878
by RotarySMP
Replied by RotarySMP on topic Have I killed my 7i84?
7i84 dead?
Mark
Mark
Please Log in or Create an account to join the conversation.
- anfänger
-
- Offline
- Platinum Member
-
Less
More
- Posts: 626
- Thank you received: 255
19 Jan 2021 10:52 #195879
by anfänger
Replied by anfänger on topic Have I killed my 7i84?
How are you powering the 7I84?
And is the serial port terminated correctly?
And is the serial port terminated correctly?
Please Log in or Create an account to join the conversation.
- RotarySMP
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1484
- Thank you received: 546
19 Jan 2021 11:54 #195880
by RotarySMP
Replied by RotarySMP on topic Have I killed my 7i84?
24VDC goes to the field conections of the 7i77, and then further to the field power connection of the 7i84.
The SS connection between them worked fine for 18 months. I did a continuity check on the cable on Sunday, just to be sure that was not the problem, but it is still fine.
Mark
The SS connection between them worked fine for 18 months. I did a continuity check on the cable on Sunday, just to be sure that was not the problem, but it is still fine.
Mark
Please Log in or Create an account to join the conversation.
- anfänger
-
- Offline
- Platinum Member
-
Less
More
- Posts: 626
- Thank you received: 255
19 Jan 2021 12:31 #195881
by anfänger
Replied by anfänger on topic Have I killed my 7i84?
I was not sure if you try to provide logic power over the serial connection and no filed power.
But if it worked before the jumpers should be correct.
What dies the status LED‘s of the 7I84 say?
But if it worked before the jumpers should be correct.
What dies the status LED‘s of the 7I84 say?
Please Log in or Create an account to join the conversation.
- RotarySMP
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1484
- Thank you received: 546
19 Jan 2021 12:48 #195884
by RotarySMP
Replied by RotarySMP on topic Have I killed my 7i84?
The CR6 glows red, as does the corresponding CR16 on the 7i77, indicating communication bettwen the two is not working. I am hesitant to replace the 7i84, as I shorted a component connected to the 7i77, and it would suck to replace the 7i84, only to find the problem was actually in the 7i77 SSport.
Please Log in or Create an account to join the conversation.
- anfänger
-
- Offline
- Platinum Member
-
Less
More
- Posts: 626
- Thank you received: 255
19 Jan 2021 13:27 #195890
by anfänger
Replied by anfänger on topic Have I killed my 7i84?
Anyone near by running as Mesa setup who could test it for you?
I could try to run it on my mill the are still 6 ports free on my 7i74.
So it should be an easy try.
Here is also a 7i97 I am setting up for my lathe where I can give it a try.
But it I am in Germany, so not really near by
I could try to run it on my mill the are still 6 ports free on my 7i74.
So it should be an easy try.
Here is also a 7i97 I am setting up for my lathe where I can give it a try.
But it I am in Germany, so not really near by
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.077 seconds