Search found 25 matches
- Thu Apr 20, 2023 5:51 pm
- Forum: Custom Screens, KMotionCNC Screen Editor
- Topic: Passing persist variable using "Script-> action-> Program"
- Replies: 3
- Views: 3420
Re: Passing persist variable using "Script-> action-> Program"
#define TOOL_VAR 9 int *Tool = &persist.UserData[TOOL_VAR]; printf("Tool : %d\n", *Tool); // Displays value of the tool to change to (From M06 TXX g-code) // Logic to calculate rotation count and direction from Last_Tool and Tool. if (*Last_Tool > *Tool) { ... } (*Last_Tool is set by reading a file ...
- Thu Apr 20, 2023 12:56 pm
- Forum: Custom Screens, KMotionCNC Screen Editor
- Topic: Passing persist variable using "Script-> action-> Program"
- Replies: 3
- Views: 3420
Passing persist variable using "Script-> action-> Program"
Hi Tom, Long time no talk, hope all is well. I'm trying to make custom buttons that will pass a parameter to my tool changer routine. While milling , the g-code command "M6 T1" will pass the "1" to my program without issue. Now using the custom button , I was under the impression that the "param" bo...
- Wed Feb 01, 2023 8:56 pm
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: PC requirements to run KMotionCNC
- Replies: 4
- Views: 1629
Re: PC requirements to run KMotionCNC
Thanks for the prompt answer.
- Wed Feb 01, 2023 3:35 pm
- Forum: KMotionCNC, G Code Files, Offsets, Post Process
- Topic: PC requirements to run KMotionCNC
- Replies: 4
- Views: 1629
Re: PC requirements to run KMotionCNC
Hi Tom, Hope all is well. Can you confirm if Windows 11 is supported ? Drivers and all? We are looking to buy a new mini pc dedicated to KmotionCNC but on the software page it mentions XP through 10 , 32 and 64 bits. I would like to make sure before we buy that PC so I know ahead of time if I might ...
- Thu Jan 19, 2023 7:54 pm
- Forum: Custom Screens, KMotionCNC Screen Editor
- Topic: Basic 3 axes Main Dialog Face
- Replies: 1
- Views: 2800
Basic 3 axes Main Dialog Face
Hi Tom, I've followed your advice , cleared up my init program so it can be pressed a second time without causing issues. I've also followed your advice on making my own E Stop function that doesn't break my tachometer generator (based on dummy axis as you suggested). I am now in the process of maki...
- Wed Jan 11, 2023 4:13 pm
- Forum: Configuration Issues
- Topic: Are threads stopped during step response tests?
- Replies: 12
- Views: 6485
Re: Are threads stopped during step response tests?
Tom, is there any way to modify what happens when the on screen e-stop button is pressed? I have converted one of my axes to a dummy axis for the tach , and it is working well so far.. My issue now is that if I press the E-stop , the tach axis disables too fast , it disables before I get a chance to...
- Wed Jan 11, 2023 1:43 pm
- Forum: Configuration Issues
- Topic: Are threads stopped during step response tests?
- Replies: 12
- Views: 6485
Re: Are threads stopped during step response tests?
You are correct that the tach loop runs as fast as possible without delays. If the tach generation pauses for too long the axes go into tach alarm. I have not measured the minimum speed at which it needs to run to avoid tach alarms. As for the missing information you asked , I thought I had answered...
- Wed Jan 11, 2023 1:28 pm
- Forum: Configuration Issues
- Topic: Are threads stopped during step response tests?
- Replies: 12
- Views: 6485
Re: Are threads stopped during step response tests?
Here is the entire init function, including main. #include "KMotionDef.h" #define TMP 25 // which spare persist to use to transfer data #include "KflopToKMotionCNCFunctions.c" // Constantes a modifier #define POSITION_PER_ROTATION 8000 #define RESOLUTION_OUTPUT_PWM 2048 #define VOLT_PER_RPM 0.003 //...
- Wed Jan 11, 2023 1:27 pm
- Forum: Configuration Issues
- Topic: Are threads stopped during step response tests?
- Replies: 12
- Views: 6485
Re: Are threads stopped during step response tests?
Ooops, silly me I forgot to attach the raw data files.. Classic.
Here they are. I will look deeper into what you told me sometimes this morning and discuss it with the person who operated the machine in its original state.
Thanks for your time, once again.
I only included the X axis.
Here they are. I will look deeper into what you told me sometimes this morning and discuss it with the person who operated the machine in its original state.
Thanks for your time, once again.
I only included the X axis.
- Tue Jan 10, 2023 4:41 pm
- Forum: Configuration Issues
- Topic: Are threads stopped during step response tests?
- Replies: 12
- Views: 6485
Re: Are threads stopped during step response tests?
Hi Tom, I have gathered all (i think) the information you asked for. I included the raw data for all 3 axes , the code that generates the tach (it constantly loops in thread 1 after setting up the axes. Within that loop I also check a few bits to make sure all switches are in the correct state.) I b...