Search found 51 matches

by amowry
Thu Dec 22, 2022 6:16 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: emc.var values changing
Replies: 2
Views: 1255

Re: emc.var values changing

Okay, thanks Tom!
by amowry
Wed Dec 21, 2022 8:50 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: emc.var values changing
Replies: 2
Views: 1255

emc.var values changing

I'm finding that when I zero one of my axes, the change is saved to my emc.var file, so my G92 coordinates are wrong the next time I start KMotionCNC. I haven't noticed that behavior in the past. Is there a setting that is causing KMotionCNC to alter the emc.var file? Is it because I have "Save alwa...
by amowry
Wed Sep 28, 2022 8:06 pm
Forum: C Programs
Topic: Initialization program causing freeze
Replies: 2
Views: 773

Re: Initialization program causing freeze

I think I found the issue-- at some point I accidentally changed the user button command from Exec Prog to Exec/Wait. Sorry to have wasted your time on this :).
by amowry
Wed Sep 28, 2022 5:34 pm
Forum: C Programs
Topic: Initialization program causing freeze
Replies: 2
Views: 773

Initialization program causing freeze

I use the attached C program for initializing my CNC, and while it works most of the time is seems to occasionally cause the KFlop to freeze. The issue is with the forever loop starting at line 77 that I added a few years ago to control my laser (if I remove that loop it always works fine). I was wo...
by amowry
Fri Mar 04, 2022 10:15 pm
Forum: Configuration Issues
Topic: Flashing user memory not working?
Replies: 3
Views: 1025

Re: Flashing user memory not working?

Okay, thanks Tom. I guess I can just fix the soft limits that are in the Init program instead of trying to flash them.
by amowry
Fri Mar 04, 2022 9:40 pm
Forum: Configuration Issues
Topic: Flashing user memory not working?
Replies: 3
Views: 1025

Re: Flashing user memory not working?

I found that the initialization C program that K2CNC used for my machine has some references to soft limits (though the values don't seem to make any sense for my machine). Would this (attached) program override the soft limits that I flashed to the board?
by amowry
Fri Mar 04, 2022 6:07 pm
Forum: Configuration Issues
Topic: Flashing user memory not working?
Replies: 3
Views: 1025

Flashing user memory not working?

I'm trying to add soft limits to my machine, which is configured with the user settings flashed to the KFLOP. I don't seem to be successful, but I'm not sure if I'm missing a step. I've successfully changed and flashed settings in the past. After changing my soft limits, I downloaded them to KFLOP a...
by amowry
Tue Sep 08, 2020 8:42 pm
Forum: C Programs
Topic: Change laser power based on feedrate?
Replies: 14
Views: 4920

Re: Change laser power based on feedrate?

This all worked out great. I'm changing the laser power every 10 mS based on the current feed rate, and it does wonders for smoothing laser engravings, and lets me increase my feed rates considerably. Thanks once again for your help!
by amowry
Tue Sep 08, 2020 2:33 am
Forum: C Programs
Topic: Change laser power based on feedrate?
Replies: 14
Views: 4920

Re: Change laser power based on feedrate?

Oops, got it. Thanks Tom!
by amowry
Mon Sep 07, 2020 11:11 pm
Forum: C Programs
Topic: Change laser power based on feedrate?
Replies: 14
Views: 4920

Re: Change laser power based on feedrate?

I'm back to working on this a bit more now, and I'm starting by trying to add a forever loop to my K2_INIT Servo.c program that includes a non-blocking time delay, as you suggested. Right now it just sends an RS232 command (or prints a message) once per second. It works, but when I try to do anythin...