Linuxcnc silently stops responding

More
01 Dec 2016 15:16 #83525 by Kezako
Dear all,

Linuxcnc randomly & silently stops responding, all outputs getting low (which indeed is good!), the E-Stop icon being activated (and cannot be deactivated), but without any (noticeable) warning or information window, leaving me no choice but to close linuxcnc and restart from scratch. And as you can guess, this always happens when almost at the end of a cutting job :( ....

My setup:
  • Linux 3.4-9-rtai-686-pae SMP PREEMPT
  • Debian 3.4.55-4
  • LinuxCNC 2.7.7-52 (NOT RIP-environment)
  • Librairie HostMot2 0.8.21
  • MESA 7i43-U-4 board (+7i42 + 7i37)

  • The debug level being set to 0x000002da, I got the following feedback from the command line after linuxcnc just got frozen:
    ...
    Motion id 350 took 0.296927 seconds.
    task: main loop took 0.218233 seconds
    Motion id 351 took 0.419179 seconds.
    Motion id 0 took 0.000000 seconds.
    task: main loop took 0.100987 seconds
    Issuing EMC_TASK_PLAN_SYNCH -- 	 (  +516,+12,    +0,)

    Anyone an idea how the statement "Motion id 0..." should be understood ?

    Another suspect thing is the "Status Window" from axis after freeze, which indicates (among others):
    acceleration	1e+99
    and
    max_acceleration	999999999999999967336168804116691273849533185806555472917961779471295845921727862608739868455469056.0000
    as in the ini file, accelerations as set (for each axes) as follows:
    MAX_VELOCITY		=	80.00
    MAX_ACCELERATION	=	200.00
    STEPGEN_MAX_VEL		=	100.0
    STEPGEN_MAX_ACC		=	250.0

    Could this be a possible indice on where to search from ?

    I also suspected MESA breadboard to be exposed to excessive EMF originated from the spindle frequency converter, but I assume in this later case, the 7i43 watchdog would have spoken, which is not the case.

    Anyone to advise me on the direction I should investigate, please ? I'm lost so far..... Thanks !
    Attachments:

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

    More
    01 Dec 2016 15:51 #83528 by PCW
    If the outputs (7I37 outputs especially) get disabled when this happens
    it does suggest that communication to the 7I43 has been lost and the
    watchdog has bitten.

    (if communication is lost, you might get no warning that the watchdog had bitten)

    In case this is a hardware issue, you could try re-routing the EPP cable between the PC and the 7I43
    or adding line filter to the VFD (or doing a test run with the VFD turned off to see if its related )

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

    More
    01 Dec 2016 18:32 #83532 by Kezako
    Thank you Peter for this valuable information - I shall try another cut tomorrow and check accordingly (GMT+1 here), provided it fails again (I shall cut gold to help it happen!). In case it happens, I assume the INIT or DONE LEDs on the 7i43 shall toggle accordingly ?

    One more question btw: is there any way of cross-checking the communication on the PC side by, say, reading a counter at the 7i43 in a python routine ? FPGA is currently loaded with SVST2_4_7I43B.BIT. Can you please suggest something on the subject, I haven't found that topic be addressed in the forum (but I may have missed something....)

    Thanks for your advises !

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

    More
    01 Dec 2016 21:34 #83541 by PCW
    Have you looked at the kernel log (with dmesg) for error messages?

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

    More
    05 Dec 2016 12:38 #83692 by Kezako
    OK Peter, I found out the io_error parameter toggled after the problem again arose (why did I neglected that, there is no word to my stupidness!). After checking all EPP connections again, found one loose internal connection that supposedly may have caused the comm error. Re-wired the EPP port, changed to a double shielded EPP cable, and up to now, everything works great again !

    Thanks you so much Peter !

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

    Time to create page: 0.061 seconds
    Powered by Kunena Forum