Continuing trouble with tool length sensor

More
04 Sep 2019 09:47 #144141 by SvenH
I've been using a tool length sensor for about two years now.
A friend of mine has configured it, and the mesa hardware it is connected to.

For most of the time I have had it, a tool change may start but is then not completed: The tool goes down (in a rapid) to 50 mm above the touch plate and then should continue slowly.
It only seems to do so around half the time.

If it works, I have no other trouble, if it does not work I have to restart linuxcnc.
If I do not restart I get a joint folowing error, I think on axis 0.

My friend did some checks and concluded that the tool setter sometimes does not go back up completely.
However, it seems not to make any difference if I tap the tool setter every time before changing the tool or not.

Until today, restarting linuxcnc was a reliable method to get going again. As far as I can remember I have never had to do the restart twice in succession.

Today something very different happened.
Trying to restart resulted in a termination with an error.

I tried several restarts, including one or more reboots of the pc but the error persisted.
Unfortunately I did not copy the debug info, but it somewhere said the there were DOS line endings in some of the files (read at startup).

I tried replacing the config files with a backup made in june but after starting that config I could not take the machine out of E-stop, the on screen button was greyed out.

Then after putting back the config I had used the whole morning, (which I had made a tar.gz archive from) everything worked as normal...

Even with this incomplete info, do any of you guys have an idea on what could be going on?

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

More
04 Sep 2019 15:47 #144157 by PCW
If you get a failure/error again, can you copy paste the actual error here?

If this is a uspace version of LinuxCNC, the error messages are printed on the console, so starting LinuxCNC from a terminal window makes these easy to capture

If you are using a RTAI version of LinuxCNC, the error messages will be printed on the kernel log which you can save to a file by running:

dmesg > errors.txt

in a terminal window

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

More
05 Sep 2019 06:50 #144218 by pl7i92
How does the Rapid move know where to stop if tool length is to be sensored
not clear how do you work this out

We use a MAX tool length allowed including safe and start from this location to detect the tool length down
then first run at 400mm/min
latch run at 30mm/min

If you are placed to let us know how yours work
###Rapid down to 50mm### counted from what guess

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

More
11 Sep 2019 10:22 #144809 by SvenH
Was able to get some info by running linuxcnc from the terminal.

I have two suspects, based on my rather limited understanding of under the hood stuff:

- The RS 485 usb adapter that is used for running the vfd
- the xhc-hb04 remote, that seems to be not communicating sometimes


Below is the whole thing from the terminal, with a short second session at the bottom.

The first long list is from running the machine without problems.
After this I could do a normal tool change.
I then did another toolchange, no problem..

Then ran the spindle for a bit, then the tool change did not succeed


WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 170A - crc_calc 168E (-16)

ERROR invalid crc received 304E - crc_calc 198E (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 3212 - crc_calc 33DD (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 46CA - crc_calc 47B1 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 124F - crc_calc 104F (-16)

ERROR invalid crc received 6395 - crc_calc 625A (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 47CA - crc_calc 46CA (-16)

ERROR invalid crc received 46CA - crc_calc 47B1 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 6267 - crc_calc 6247 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received C18F - crc_calc 418F (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 6247 - crc_calc 387 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 418F - crc_calc 40BF (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 3212 - crc_calc 73D3 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 172A - crc_calc 170A (-16)

ERROR invalid crc received 170A - crc_calc D6C9 (-16)

ERROR invalid crc received 304E - crc_calc 31EE (-16)

ERROR invalid crc received 46CA - crc_calc 4714 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 9912 - crc_calc 3212 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 6257 - crc_calc 6247 (-16)

ERROR invalid crc received 418F - crc_calc A04E (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 104F - crc_calc 698F (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 46CA - crc_calc 47B1 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 518F - crc_calc 418F (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 46CA - crc_calc 445A (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 418F - crc_calc 4A4F (-16)

ERROR invalid crc received 170A - crc_calc 16E8 (-16)

ERROR invalid crc received 3212 - crc_calc 3382 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 9187 - crc_calc 81FC (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 1FFE - crc_calc F76C (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received D186 - crc_calc C1FD (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received D186 - crc_calc DF46 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 5047 - crc_calc 51B7 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received F6E1 - crc_calc 7F3F (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 46CA - crc_calc 47B1 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 91F8 - crc_calc D72B (-16)

ERROR invalid crc received 7734 - crc_calc F6F5 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 170A - crc_calc 1935 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received D186 - crc_calc C1FD (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 170A - crc_calc 163A (-16)

ERROR invalid crc received D186 - crc_calc 1046 (-16)

ERROR invalid crc received 5056 - crc_calc 5E96 (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)

ERROR invalid crc received 37CA - crc_calc 36CA (-16)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
Shutting down and cleaning up LinuxCNC...
task: 313269 cycles, min=0.000007, max=0.021267, avg=0.009949, 0 latency excursions (> 10x expected cycle time of 0.010000s)
xhc-hb04: connection lost, cleaning up
libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know
libusb: warning [do_close] A cancellation for an in-flight transfer hasn't completed but closing the device handle
*** Error in `xhc-hb04': free(): corrupted unsorted chunks: 0x00005568fe32c3c0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fc14d91fbfb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fc14d925fc6]
/lib/x86_64-linux-gnu/libc.so.6(+0x7780e)[0x7fc14d92680e]
/lib/x86_64-linux-gnu/libusb-1.0.so.0(+0xb935)[0x7fc14de70935]
/lib/x86_64-linux-gnu/libusb-1.0.so.0(libusb_unref_device+0x77)[0x7fc14de69f47]
/lib/x86_64-linux-gnu/libusb-1.0.so.0(libusb_exit+0x23c)[0x7fc14de6b5dc]
xhc-hb04(+0x2539)[0x5568fc403539]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fc14d8cf2e1]
xhc-hb04(+0x257a)[0x5568fc40357a]
======= Memory map: ========
hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
hm2/hm2_5i25.0: unregistered
5568fc401000-5568fc406000 r-xp 00000000 08:06 2622966                    /usr/bin/xhc-hb04
5568fc605000-5568fc606000 r--p 00004000 08:06 2622966                    /usr/bin/xhc-hb04
5568fc606000-5568fc607000 rw-p 00005000 08:06 2622966                    /usr/bin/xhc-hb04
5568fc607000-5568fc609000 rw-p 00000000 00:00 0 
5568fe2fc000-5568fe34c000 rw-p 00000000 00:00 0                          [heap]
7fc148000000-7fc148021000 rw-p 00000000 00:00 0 
7fc148021000-7fc14c000000 ---p 00000000 00:00 0 
7fc14cc89000-7fc14cc8a000 ---p 00000000 00:00 0 
7fc14cc8a000-7fc14d48a000 rw-p 00000000 00:00 0 
7fc14d48a000-7fc14d4a2000 r-xp 00000000 08:06 1181851                    /lib/x86_64-linux-gnu/libpthread-2.24.so
7fc14d4a2000-7fc14d6a1000 ---p 00018000 08:06 1181851                    /lib/x86_64-linux-gnu/libpthread-2.24.so
7fc14d6a1000-7fc14d6a2000 r--p 00017000 08:06 1181851                    /lib/x86_64-linux-gnu/libpthread-2.24.so
7fc14d6a2000-7fc14d6a3000 rw-p 00018000 08:06 1181851                    /lib/x86_64RTAPI_PCI: Unmapped 65536 bytes at 0x7f7073828000
-linux-gnu/libpthread-2.24.so
7fc14d6a3000-7fc14d6a7000 rw-p 00000000 00:00 0 
7fc14d6a7000-7fc14d6ae000 r-xp 00000000 08:06 1181853                    /lib/x86_64-linux-gnu/librt-2.24.so
7fc14d6ae000-7fc14d8ad000 ---p 00007000 08:06 1181853                    /lib/x86_64-linux-gnu/librt-2.24.so
7fc14d8ad000-7fc14d8ae000 r--p 00006000 08:06 1181853                    /lib/x86_64-linux-gnu/librt-2.24.so
7fc14d8ae000-7fc14d8af000 rw-p 00007000 08:06 1181853                    /lib/x86_64-linux-gnu/librt-2.24.so
7fc14d8af000-7fc14da44000 r-xp 00000000 08:06 1181781                    /lib/x86_64-linux-gnu/libc-2.24.so
7fc14da44000-7fc14dc44000 ---p 00195000 08:06 1181781                    /lib/x86_64-linux-gnu/libc-2.24.so
7fc14dc44000-7fc14dc48000 r--p 00195000 08:06 1181781                    /lib/x86_64-linux-gnu/libc-2.24.so
7fc14dc48000-7fc14dc4a000 rw-p 00199000 08:06 1181781                    /lib/x86_64-linux-gnu/libc-2.24.so
7fc14dc4a000-7fc14dc4e000 rw-p 00000000 00:00 0 
7fc14dc4e000-7fc14dc64000 r-xp 00000000 08:06 1183003                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc14dc64000-7fc14de63000 ---p 00016000 08:06 1183003                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc14de63000-7fc14de64000 r--p 00015000 08:06 1183003                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc14de64000-7fc14de65000 rw-p 00016000 08:06 1183003                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc14de65000-7fc14de7c000 r-xp 00000000 08:06 1183118                    /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
7fc14de7c000-7fc14e07c000 ---p 00017000 08:06 1183118                    /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
7fc14e07c000-7fc14e07d000 r--p 00017000 08:06 1183118                    /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
7fc14e07d000-7fc14e07e000 rw-p 00018000 08:06 1183118                    /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
7fc14e07e000-7fc14e1f0000 r-xp 00000000 08:06 2763478                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fc14e1f0000-7fc14e3f0000 ---p 00172000 08:06 2763478                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fc14e3f0000-7fc14e3fa000 r--p 00172000 08:06 2763478                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fc14e3fa000-7fc14e3fc000 rw-p 0017c000 08:06 2763478                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7fc14e3fc000-7fc14e400000 rw-p 00000000 00:00 0 
7fc14e400000-7fc14e503000 r-xp 00000000 08:06 1181835                    /lib/x86_64-linux-gnu/libm-2.24.so
7fc14e503000-7fc14e702000 ---p 00103000 08:06 1181835                    /lib/x86_64-linux-gnu/libm-2.24.so
7fc14e702000-7fc14e703000 r--p 00102000 08:06 1181835                    /lib/x86_64-linux-gnu/libm-2.24.so
7fc14e703000-7fc14e704000 rw-p 00103000 08:06 1181835                    /lib/x86_64-linux-gnu/libm-2.24.so
7fc14e704000-7fc14e707000 r-xp 00000000 08:06 2626705                    /usr/lib/liblinuxcncini.so.0
7fc14e707000-7fc14e906000 ---p 00003000 08:06 2626705                    /usr/lib/liblinuxcncini.so.0
7fc14e906000-7fc14e907000 r--p 00002000 08:06 2626705                    /usr/lib/liblinuxcncini.so.0
7fc14e907000-7fc14e908000 rw-p 00003000 08:06 2626705                    /usr/lib/liblinuxcncini.so.0
7fc14e908000-7fc14e910000 r-xp 00000000 08:06 2626703                    /usr/lib/liblinuxcnchal.so.0
7fc14e910000-7fc14eb0f000 ---p 00008000 08:06 2626703                    /usr/lib/liblinuxcnchal.so.0
7fc14eb0f000-7fc14eb10000 r--p 00007000 08:06 2626703                    /usr/lib/liblinuxcnchal.so.0
7fc14eb10000-7fc14eb11000 rw-p 00008000 08:06 2626703                    /usr/lib/liblinuxcnchal.so.0
7fc14eb11000-7fc14eb34000 r-xp 00000000 08:06 1181601                    /lib/x86_64-linux-gnu/ld-2.24.so
7fc14eca6000-7fc14ecf1000 rw-s 00000000 00:05 1376269                    /SYSV48414c32 (deleted)
7fc14ecf1000-7fc14ecf5000 rw-p 00000000 00:00 0 
7fc14ecf5000-7fc14ed14000 r-xp 00000000 08:06 1181961                    /lib/x86_64-linux-gnu/libudev.so.1.6.5
7fc14ed14000-7fc14ed15000 r--p 0001e000 08:06 1181961                    /lib/x86_64-linux-gnu/libudev.so.1.6.5
7fc14ed15000-7fc14ed16000 rw-p 0001f000 08:06 1181961                    /lib/x86_64-linux-gnu/libudev.so.1.6.5
7fc14ed16000-7fc14ed1a000 rw-p 00000000 00:00 0 
7fc14ed32000-7fc14ed33000 rw-p 00000000 00:00 0 
7fc14ed33000-7fc14ed34000 rw-s 00000000 00:05 1310732                    /SYSV48484c34 (deleted)
7fc14ed34000-7fc14ed35000 r--p 00023000 08:06 1181601                    /lib/x86_64-linux-gnu/ld-2.24.so
7fc14ed35000-7fc14ed36000 rw-p 00024000 08:06 1181601                    /lib/x86_64-linux-gnu/ld-2.24.so
7fc14ed36000-7fc14ed37000 rw-p 00000000 00:00 0 
7ffdf0264000-7ffdf0285000 rw-p 00000000 00:00 0                          [stack]
7ffdf03cd000-7ffdf03cf000 r--p 00000000 00:00 0                          [vvar]
7ffdf03cf000-7ffdf03d1000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

tool change after running program normal, error after running spindle for a bit after running program
Second time error:

ERROR invalid crc received 44FF - crc_calc 11BC (-16)

ERROR invalid crc received E1DF - crc_calc FD5E (-16)

ERROR invalid crc received E1DF - crc_calc E01C (-16)

ERROR invalid crc received E64C - crc_calc E7A4 (-16)

ERROR invalid crc received 104F - crc_calc 9991 (-16)

ERROR invalid crc received B78C - crc_calc B51C (-16)
USRMOT: ERROR: invalid command
Linear move on line 113 would exceed joint 0's positive limit
Linear move on line 113 would exceed joint 1's positive limit
Shutting down and cleaning up LinuxCNC...
task: 327890 cycles, min=0.000007, max=0.021268, avg=0.010010, 0 latency excursions (> 10x expected cycle time of 0.010000s)
A non blocked signal was caught
hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
hm2/hm2_5i25.0: unregistered
RTAPI_PCI: Unmapped 65536 bytes at 0x7f4de7f34000
hm2_pci: driver unloaded
xhc-hb04: connection lost, cleaning up
libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know
libusb: warning [do_close] A cancellation for an in-flight transfer hasn't completed but closing the device handle
*** Error in `xhc-hb04': free(): corrupted unsorted chunks: 0x000055b0b4a4d3c0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7f06cf5c1bfb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7f06cf5c7fc6]
/lib/x86_64-linux-gnu/libc.so.6(+0x7780e)[0x7f06cf5c880e]
/lib/x86_64-linux-gnu/libusb-1.0.so.0(+0xb935)[0x7f06cfb12935]
/lib/x86_64-linux-gnu/libusb-1.0.so.0(libusb_unref_device+0x77)[0x7f06cfb0bf47]
/lib/x86_64-linux-gnu/libusb-1.0.so.0(libusb_exit+0x23c)[0x7f06cfb0d5dc]
xhc-hb04(+0x2539)[0x55b0b4380539]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f06cf5712e1]
xhc-hb04(+0x257a)[0x55b0b438057a]
======= Memory map: ========
55b0b437e000-55b0b4383000 r-xp 00000000 08:06 2622966                    /usr/bin/xhc-hb04
55b0b4582000-55b0b4583000 r--p 00004000 08:06 2622966                    /usr/bin/xhc-hb04
55b0b4583000-55b0b4584000 rw-p 00005000 08:06 2622966                    /usr/bin/xhc-hb04
55b0b4584000-55b0b4586000 rw-p 00000000 00:00 0 
55b0b4a1d000-55b0b4a6d000 rw-p 00000000 00:00 0                          [heap]
7f06c8000000-7f06c8021000 rw-p 00000000 00:00 0 
7f06c8021000-7f06cc000000 ---p 00000000 00:00 0 
7f06ce92b000-7f06ce92c000 ---p 00000000 00:00 0 
7f06ce92c000-7f06cf12c000 rw-p 00000000 00:00 0 
7f06cf12c000-7f06cf144000 r-xp 00000000 08:06 1181851                    /lib/x86_64-linux-gnu/libpthread-2.24.so
7f06cf144000-7f06cf343000 ---p 00018000 08:06 1181851                    /lib/x86_64-linux-gnu/libpthread-2.24.so
7f06cf343000-7f06cf344000 r--p 00017000 08:06 1181851                    /lib/x86_64-linux-gnu/libpthread-2.24.so
7f06cf344000-7f06cf345000 rw-p 00018000 08:06 1181851                    /lib/x86_64-linux-gnu/libpthread-2.24.so
7f06cf345000-7f06cf349000 rw-p 00000000 00:00 0 
7f06cf349000-7f06cf350000 r-xp 00000000 08:06 1181853                    /lib/x86_64-linux-gnu/librt-2.24.so
7f06cf350000-7f06cf54f000 ---p 00007000 08:06 1181853                    /lib/x86_64-linux-gnu/librt-2.24.so
7f06cf54f000-7f06cf550000 r--p 00006000 08:06 1181853                    /lib/x86_64-linux-gnu/librt-2.24.so
7f06cf550000-7f06cf551000 rw-p 00007000 08:06 1181853                    /lib/x86_64-linux-gnu/librt-2.24.so
7f06cf551000-7f06cf6e6000 r-xp 00000000 08:06 1181781                    /lib/x86_64-linux-gnu/libc-2.24.so
7f06cf6e6000-7f06cf8e6000 ---p 00195000 08:06 1181781                    /lib/x86_64-linux-gnu/libc-2.24.so
7f06cf8e6000-7f06cf8ea000 r--p 00195000 08:06 1181781                    /lib/x86_64-linux-gnu/libc-2.24.so
7f06cf8ea000-7f06cf8ec000 rw-p 00199000 08:06 1181781                    /lib/x86_64-linux-gnu/libc-2.24.so
7f06cf8ec000-7f06cf8f0000 rw-p 00000000 00:00 0 
7f06cf8f0000-7f06cf906000 r-xp 00000000 08:06 1183003                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f06cf906000-7f06cfb05000 ---p 00016000 08:06 1183003                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f06cfb05000-7f06cfb06000 r--p 00015000 08:06 1183003                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f06cfb06000-7f06cfb07000 rw-p 00016000 08:06 1183003                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f06cfb07000-7f06cfb1e000 r-xp 00000000 08:06 1183118                    /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
7f06cfb1e000-7f06cfd1e000 ---p 00017000 08:06 1183118                    /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
7f06cfd1e000-7f06cfd1f000 r--p 00017000 08:06 1183118                    /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
7f06cfd1f000-7f06cfd20000 rw-p 00018000 08:06 1183118                    /lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
7f06cfd20000-7f06cfe92000 r-xp 00000000 08:06 2763478                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f06cfe92000-7f06d0092000 ---p 00172000 08:06 2763478                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f06d0092000-7f06d009c000 r--p 00172000 08:06 2763478                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f06d009c000-7f06d009e000 rw-p 0017c000 08:06 2763478                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f06d009e000-7f06d00a2000 rw-p 00000000 00:00 0 
7f06d00a2000-7f06d01a5000 r-xp 00000000 08:06 1181835                    /lib/x86_64-linux-gnu/libm-2.24.so
7f06d01a5000-7f06d03a4000 ---p 00103000 08:06 1181835                    /lib/x86_64-linux-gnu/libm-2.24.so
7f06d03a4000-7f06d03a5000 r--p 00102000 08:06 1181835                    /lib/x86_64-linux-gnu/libm-2.24.so
7f06d03a5000-7f06d03a6000 rw-p 00103000 08:06 1181835                    /lib/x86_64-linux-gnu/libm-2.24.so
7f06d03a6000-7f06d03a9000 r-xp 00000000 08:06 2626705                    /usr/lib/liblinuxcncini.so.0
7f06d03a9000-7f06d05a8000 ---p 00003000 08:06 2626705                    /usr/lib/liblinuxcncini.so.0
7f06d05a8000-7f06d05a9000 r--p 00002000 08:06 2626705                    /usr/lib/liblinuxcncini.so.0
7f06d05a9000-7f06d05aa000 rw-p 00003000 08:06 2626705                    /usr/lib/liblinuxcncini.so.0
7f06d05aa000-7f06d05b2000 r-xp 00000000 08:06 2626703                    /usr/lib/liblinuxcnchal.so.0
7f06d05b2000-7f06d07b1000 ---p 00008000 08:06 2626703                    /usr/lib/liblinuxcnchal.so.0
7f06d07b1000-7f06d07b2000 r--p 00007000 08:06 2626703                    /usr/lib/liblinuxcnchal.so.0
7f06d07b2000-7f06d07b3000 rw-p 00008000 08:06 2626703                    /usr/lib/liblinuxcnchal.so.0
7f06d07b3000-7f06d07d6000 r-xp 00000000 08:06 1181601                    /lib/x86_64-linux-gnu/ld-2.24.so
7f06d0948000-7f06d0993000 rw-s 00000000 00:05 3637268                    /SYSV48414c32 (deleted)
7f06d0993000-7f06d0997000 rw-p 00000000 00:00 0 
7f06d0997000-7f06d09b6000 r-xp 00000000 08:06 1181961                    /lib/x86_64-linux-gnu/libudev.so.1.6.5
7f06d09b6000-7f06d09b7000 r--p 0001e000 08:06 1181961                    /lib/x86_64-linux-gnu/libudev.so.1.6.5
7f06d09b7000-7f06d09b8000 rw-p 0001f000 08:06 1181961                    /lib/x86_64-linux-gnu/libudev.so.1.6.5
7f06d09b8000-7f06d09bc000 rw-p 00000000 00:00 0 
7f06d09d4000-7f06d09d5000 rw-p 00000000 00:00 0 
7f06d09d5000-7f06d09d6000 rw-s 00000000 00:05 3571731                    /SYSV48484c34 (deleted)
7f06d09d6000-7f06d09d7000 r--p 00023000 08:06 1181601                    /lib/x86_64-linux-gnu/ld-2.24.so
7f06d09d7000-7f06d09d8000 rw-p 00024000 08:06 1181601                    /lib/x86_64-linux-gnu/ld-2.24.so
7f06d09d8000-7f06d09d9000 rw-p 00000000 00:00 0 
7ffe84bdb000-7ffe84bfc000 rw-p 00000000 00:00 0                          [stack]
7ffe84bfc000-7ffe84bfe000 r--p 00000000 00:00 0                          [vvar]
7ffe84bfe000-7ffe84c00000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
hm2: unloading
Note: Using POSIX realtime

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

More
11 Sep 2019 15:26 #144831 by PCW
It does look like USB/EMI issues with the pendant, have you tried adding a (clamp on) common mode choke to the pendant cable?

A line filter on the VFD and or clamp on common mode choke on the Spindle motor wires may also help

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

More
11 Sep 2019 15:51 #144832 by SvenH
Thanks for the suggestion, that is something that my rather limited electronics brain should be able to try out ;)

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

Time to create page: 0.115 seconds
Powered by Kunena Forum