Search found 15 matches

by AlexSV
Fri Jun 13, 2025 6:51 pm
Forum: Bug Reports
Topic: KMoutionCNC cuts off the end of the G-cod program
Replies: 1
Views: 54212

KMoutionCNC cuts off the end of the G-cod program

Hi, Tom! There is some problem. KMoutionCNC cuts off the end of the G-cod program and the error "File ended with no percent sign" appears. If I enter a percentage sign or put a new line (input) at the end, the error disappears, but after several closings after editing the code in KMoutionCNC, the er...
by AlexSV
Thu Jan 02, 2025 10:40 pm
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: Problems with Cyrillic
Replies: 4
Views: 24869

Re: Problems with Cyrillic

Tom, happy New Year!
In my opinion, this problem has always been there.
by AlexSV
Tue Dec 31, 2024 8:37 am
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: Problems with Cyrillic
Replies: 4
Views: 24869

Re: Problems with Cyrillic

The G-code file was in windows-1251 encoding, I saved it in UTF-8 and the problem with opening files edited in other programs went away. The problem of direct input from the keyboard remains. This is what happens if you try to type the word (Инструмент) from the keyboard in the Russian layout. Инстр...
by AlexSV
Mon Dec 30, 2024 9:42 pm
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: Problems with Cyrillic
Replies: 4
Views: 24869

Problems with Cyrillic

Hello, Tom! In the latest versions of KMotion and KMotionCNC, Cyrillic characters in program comments are completely broken. There were problems before, for example, in the KMotion5.0.7 version, it was impossible to write comments in Cyrillic directly in the window of the G-code or the C-code editor...
by AlexSV
Mon Dec 23, 2024 8:39 am
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: Locking user buttons when executing G-code and vice versa.
Replies: 5
Views: 24884

Re: Locking user buttons when executing G-code and vice versa.

Tom, for me this function works only when G-code is activated, you can unlock and lock the jog button. In normal mode, there is no locking. I run this program in a parallel thread from KMotion. #include "KMotionDef.h" #define TMP 10 // which spare persist to use to transfer data #include "KflopToKMo...
by AlexSV
Sun Dec 22, 2024 7:52 pm
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: Locking user buttons when executing G-code and vice versa.
Replies: 5
Views: 24884

Locking user buttons when executing G-code and vice versa.

Hello Tom! How to set up locking user buttons when executing G-code similar to how it happens with jog/step buttons? Also need a way to lock jog/step and Cycle Start from C programs. It is necessary that when executing the tool measurement cycle, it is impossible to start the execution of the G-code...
by AlexSV
Sun Dec 22, 2024 7:54 am
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: Can't reconfigure the hotkeys for the control buttons.
Replies: 4
Views: 23834

Re: Can't reconfigure the hotkeys for the control buttons.

I adjusted the function, everything seems to work. Thanks! int DoCheckShiftAndKey(int Key,WPARAM wParam, LPARAM lParam, CMotionButton &Button, CMotionButton &Button2, CMotionButton &ButtonStep) { if (wParam == VK_SHIFT) { if (lParam & 0x80000000) { // shift went up if (Button2.DrawPushed) { Button.H...
by AlexSV
Sat Dec 21, 2024 7:09 am
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: Can't reconfigure the hotkeys for the control buttons.
Replies: 4
Views: 23834

Re: Can't reconfigure the hotkeys for the control buttons.

Where is this function located? Does it require Visual Studio ?
by AlexSV
Fri Dec 20, 2024 11:48 pm
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: Can't reconfigure the hotkeys for the control buttons.
Replies: 4
Views: 23834

Can't reconfigure the hotkeys for the control buttons.

Hello Tom! I'm trying to configure the jog and step buttons in the Screen Editor so that pressing the arrow, page up/down, +, - keys on the keyboard would trigger the step mode, and their combination with the CTRL key would trigger the run mode, which is the opposite of how it's done by default. I c...