Need Help! KmotionCNC... Did the windows 10 update kill you?


Results 1 to 7 of 7

Thread: KmotionCNC... Did the windows 10 update kill you?

  1. #1
    Registered
    Join Date
    Nov 2006
    Location
    USA
    Posts
    27
    Downloads
    0
    Uploads
    0

    Default KmotionCNC... Did the windows 10 update kill you?

    I have an urgent problem. When I shut down my machine control system running win 10, it forced an update. I have previously tried to turn the updates off without luck, and was pretty concerned with the possible problems later today. Really unhappy that now KmotionCNC is crashing with a DLL error and unexpected disconnection from kflop. I cannot complete my initialization without crash.

    Has anyone else had problems today, or know already of a solutions?

    I tried re- installing the drivers with no luck.


    Thanks windows' update!

    Similar Threads:


  2. #2
    Registered
    Join Date
    Nov 2006
    Location
    USA
    Posts
    27
    Downloads
    0
    Uploads
    0

    Default Re: KmotionCNC... Did the windows 10 update kill you?

    Just got the blue screen windows crash while trying to load KmotionCNC. Pretty sure I don't have a hardware problem now.

    I made the mistake of yet again delaying taking my shop network offline yesterday morning (disconnecting from the internet). Such a dumb donkey.



  3. #3
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2181
    Downloads
    0
    Uploads
    0

    Default Re: KmotionCNC... Did the windows 10 update kill you?

    Hi MadTooler,

    Sorry to hear that.

    What DLL Error do you get?

    What Version of KMotion are you running?

    When does the error happen?

    What Version of W10 are you running? (Run winver from a Windows Command Prompt)

    Any Anti-Virus running?

    Is Windows Defender running?

    Regards

    TK
    http://dynomotion.com


  4. #4
    Registered
    Join Date
    Nov 2006
    Location
    USA
    Posts
    27
    Downloads
    0
    Uploads
    0

    Default Re: KmotionCNC... Did the windows 10 update kill you?

    Further study...

    I am able to run my initialization script shortly after starting KmotionCNC without immediate crash as long as I do not have the servo power on. When I actually power up my servos I get the error "KmotionDLL (Not Responding)... Read Failed - Auto Disconnect." A couple of times now it has gone to the windows blue screen and windows has restarted right after the Kmotion error notice. Otherwise, trying to close the error locks up for a bit then eventually completely closes KmotionCNC. It looks like if I have Kmotion running in the background, it does not close out.

    Additionally, with the Kflop still powered up from the last crash, I can turn off my servo power and then restart KmotionCNC, run the initialization, get feedback from manually moving encoders, but then again crashes as soon as I power up the servos. With this cycle, a different error popped up "Kmotion... Error: Status Record Size mismatch... Disable further status updates?... Yes/No." Similar results with lockup and crash of KmotionCNC.

    I have a Kflop with SnapAmp and Kanalog. DC servos with the encoders connected to the SnapAmp. The encoders do read when I manually turn the screws. As soon as I power them up with my manual switch, the system fails.

    Kmotion & KmotionCNC version: 4.33

    Kflop driver 4.34

    Windows 10 version: 1607 (os build 14393.953)

    AVG antivirus free version: 17.2.3419.0

    Windows Defender not running.

    It was running fine yesterday before the update. Does any of this sound like a new hardware issue?



  5. #5
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2181
    Downloads
    0
    Uploads
    0

    Default Re: KmotionCNC... Did the windows 10 update kill you?

    I just restarted a W10 64 system and it did install a number of new updates:
    Mainly:
    Update for Windows 10 Version 1607 for x64-based Systems (KB3150513)
    Update for Windows 10 Version 1607 for x64-based Systems (KB4013418)
    Cumulative Update for Windows 10 Version 1607 for x64-based Systems (KB4013429)


    but I haven't yet seen a problem. I don't have a SnapAmp or Motors handy.

    I tested:

    Kmotion & KmotionCNC version: 4.33

    Kflop driver 4.34h

    Windows 10 version: 1607 (os build 14393.953)

    No AntiVirus

    Windows Defender on

    Your error occurring when servo power turns on would tend to point point toward a hardware problem.

    Your original description sounded like a bad, missing, or updated DLL was causing a program crash. But your new description sounds more like the program and software are executing correctly and correctly reporting a problem communicating to KFLOP (but then not handling it very gracefully). That wouldn't explain a blue screen though.

    BTW you should be able to uninstall the updates to eliminate that as a possibility:

    Windows Update - Update History - Uninstall Updates

    Otherwise I would try to troubleshoot and narrow down how applying power is causing KFLOP to reset or crash or not be able to communicate. There might be a broken GND or shield or short? Maybe try disconnecting the power from one side of SnapAmp or the other. Or disconnecting the Motors and re-connecting the Motors one at a time? Note: never make any changes with power on. Can you apply Motor power if SnapAmp hasn't been configured/enabled?

    Regards

    TK
    http://dynomotion.com


  6. #6
    Registered
    Join Date
    Nov 2006
    Location
    USA
    Posts
    27
    Downloads
    0
    Uploads
    0

    Default Re: KmotionCNC... Did the windows 10 update kill you?

    Thanks Tom.

    Kflop does not appear to be crashing or resetting. It actually keeps the encoder counts/DRO between (KmotionCNC) crashes as well, and does not seem to care about power being sent to snapamp or not. I will check if it keeps running from within kmotion.

    I tried to restore windows, but it was not available due to the priority of the updates. I will see about removing the updates individually.

    I also have a couple of backup win xp systems I can plug in to check if the control is physically functioning properly.

    Thanks for your fast responses. I will let you know what I find out.



  7. #7
    Registered
    Join Date
    Nov 2006
    Location
    USA
    Posts
    27
    Downloads
    0
    Uploads
    0

    Default Re: KmotionCNC... Did the windows 10 update kill you?

    And the gross offender is...

    "Update for Windows 10 Version 1607 for x64-based Systems (KB3150513)"

    That dirty dog was the trigger for the problem. It was the last installed, first to try, and repeatably an offender. After uninstalling and reinstalling for testing, it actually would cause my servo power to trip continuously without the dll error, but still was totally jacked. The way I have my system configured is for both logic and manual to be enabled for the servo power contactor to be energized, but I can also override manually ( I knew that option would come in handy at some point ) which allowed for motor commands to function. As soon as I uninstalled the downgrade/update, it worked again.

    Guess who pulled the internet from their machine control network now?

    Thanks Tom. Please let me know if this in some way still indicates I may have an underlying wiring/hardware issue.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

KmotionCNC... Did the windows 10 update kill you?
KmotionCNC... Did the windows 10 update kill you?