Loss of Kmotion and KmotionCNC files during operation.
Moderators: TomKerekes, dynomotion
-
- Posts: 39
- Joined: Wed May 03, 2023 12:54 am
Loss of Kmotion and KmotionCNC files during operation.
I'm finishing setting up the milling machine. I have completed the spindle operation programs in order to stop the axes and wait for acceleration / deceleration of the spindle. And I've already tested it through MDI. Everything worked fine.
Suddenly KmotionCNC froze, after which the PC started to reboot. After the reboot, the following messages appeared :
Windows 7 32
For some unknown reason, these files turned out to be empty. And KmotionCNC has reset all settings.
I have two questions:
1. Why could this happen?
2. How to save and restore KmotionCNC settings correctly? From where and which files should I save?
P.s. All my custom .c and .out files have not changed and are correct.
Suddenly KmotionCNC froze, after which the PC started to reboot. After the reboot, the following messages appeared :
Windows 7 32
For some unknown reason, these files turned out to be empty. And KmotionCNC has reset all settings.
I have two questions:
1. Why could this happen?
2. How to save and restore KmotionCNC settings correctly? From where and which files should I save?
P.s. All my custom .c and .out files have not changed and are correct.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Loss of Kmotion and KmotionCNC files during operation.
Hi Alexanders,
Sorry to hear this.
The KMotionCNC Configuration is stored in \KMotion\Data\GCodeConfigCNC.txt. Later Versions maintain a copy in \KMotion\Data\GCodeConfigCNC.txt.bak which should be used automatically if the other is found to be corrupted. What Version of KMotion are you using?
Hard to say what was the cause for Windows to crash. If Windows is not shut down properly then disk files can be corrupted. More likely disk files recently written.
It's a good idea to backup the \KMotion\Data folder (or entire installation folder) periodically.
Sorry to hear this.
The KMotionCNC Configuration is stored in \KMotion\Data\GCodeConfigCNC.txt. Later Versions maintain a copy in \KMotion\Data\GCodeConfigCNC.txt.bak which should be used automatically if the other is found to be corrupted. What Version of KMotion are you using?
Hard to say what was the cause for Windows to crash. If Windows is not shut down properly then disk files can be corrupted. More likely disk files recently written.
It's a good idea to backup the \KMotion\Data folder (or entire installation folder) periodically.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Wed May 03, 2023 12:54 am
Re: Loss of Kmotion and KmotionCNC files during operation.
I use KMotion5.3.0
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Loss of Kmotion and KmotionCNC files during operation.
5.3.0 should maintain a .bak file
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Wed May 03, 2023 12:54 am
Re: Loss of Kmotion and KmotionCNC files during operation.
Can you tell me how to properly save and restore KmotionCNC settings before and after a new installation?
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Loss of Kmotion and KmotionCNC files during operation.
Copy the entire contents of the \KMotion\Data folder. See also here.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Wed May 03, 2023 12:54 am
Re: Loss of Kmotion and KmotionCNC files during operation.
Files GCodeConfigCNC.txt and GCodeConfigCNC.txt.bak are identical and match the default settings. My KMotionCNC settings are lost.
Why are my settings not saved in the GCodeConfigCNC.txt.bak file? What is my mistake?
Why are my settings not saved in the GCodeConfigCNC.txt.bak file? What is my mistake?
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Loss of Kmotion and KmotionCNC files during operation.
I'm not sure how the files got corrupted. If you answered Yes to the
"Continuing will cause a loss of all settings. Are you sure you would like to continue?"
then the parameters would be set to Default. But that doesn't explain how the files got lost/corrupted in the first place.
I suppose the mistake was to not back up the files.
"Continuing will cause a loss of all settings. Are you sure you would like to continue?"
then the parameters would be set to Default. But that doesn't explain how the files got lost/corrupted in the first place.
I suppose the mistake was to not back up the files.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Wed May 03, 2023 12:54 am
Re: Loss of Kmotion and KmotionCNC files during operation.
Then I will clarify my question. When and under what conditions is the GCodeConfigCNC.txt.bak file updated?
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Loss of Kmotion and KmotionCNC files during operation.
Whenever KMotionCNC exits it saves GCodeConfigCNC.txt and GCodeConfigCNC.txt.bak with the current settings.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.