Search found 85 matches

by SamMarrocco
Mon Mar 04, 2024 3:24 pm
Forum: User PC Applications and Libraries .Net
Topic: Programmable 'stop' during jogging.....
Replies: 11
Views: 237

Re: Programmable 'stop' during jogging.....

Tom, Watching the green "thread running" indicators in KMotion pointed me in the correct direction to find the bug (which was mine). At first, it appeared that adjustsoftlimits would run in thread 7, then quit abruptly. The code would run fine if I downloaded it to any other thread. So I tested in i...
by SamMarrocco
Mon Mar 04, 2024 1:33 am
Forum: User PC Applications and Libraries .Net
Topic: Programmable 'stop' during jogging.....
Replies: 11
Views: 237

Re: Programmable 'stop' during jogging.....

Yes, for testing this I'm only using my Lathe (which only uses two axes, labeled X and Y, against common nomenclature). I'm using AdjustSoftLimitsTest.c to adjust all four, even though they aren't all in use at the moment. My Jog Speed into the soft limit during testing (using my pendant) is pretty ...
by SamMarrocco
Sun Mar 03, 2024 8:59 pm
Forum: User PC Applications and Libraries .Net
Topic: Programmable 'stop' during jogging.....
Replies: 11
Views: 237

Re: Programmable 'stop' during jogging.....

Tom, I will try to 'port' my settings from my custom app to KMotionCNC when I have a chance. In the meantime, here is a 'debugging output' from my app of the controller's settings (inline). I think it includes everything you were requesting. If not, let me know and I will add more info. The soft lim...
by SamMarrocco
Fri Mar 01, 2024 2:56 pm
Forum: User PC Applications and Libraries .Net
Topic: Programmable 'stop' during jogging.....
Replies: 11
Views: 237

Re: Programmable 'stop' during jogging.....

Tom, Running 5.3.1. .5 is in inches units. Parked at 0.0, then begin jogging to the right, with a PosX for the X-Axis of .5" Sorry, I should have said, AdjustSoftLimitsTest.c is running in Thread 7. I don't have a GCodeConfigCNC.txt per se.....As this is my own vb.net application and not KMotionCNC,...
by SamMarrocco
Fri Mar 01, 2024 5:28 am
Forum: User PC Applications and Libraries .Net
Topic: Programmable 'stop' during jogging.....
Replies: 11
Views: 237

Re: Programmable 'stop' during jogging.....

Tom, Took me a while to get back to this..... I implemented Soft Limits as you suggested, with the goal of coming to a controlled stop. As expected, when a Pos X is set of +.5 (allowing for counts) and I Jog right towards that value, the soft limit triggers a feedhold and slows the axis to a stop. A...
by SamMarrocco
Sun Jan 07, 2024 1:41 pm
Forum: User PC Applications and Libraries .Net
Topic: Programmable 'stop' during jogging.....
Replies: 11
Views: 237

Re: Programmable 'stop' during jogging.....

Loss of position wouldn’t be an issue in this case it’s a manual operation being controlled by a pendant, so the forever loop might be the way to go.

I’ll look at the thread you suggested as well, thank you.
by SamMarrocco
Sun Jan 07, 2024 1:37 pm
Forum: C Programs
Topic: Threads max for Kogna vs KFlop?
Replies: 2
Views: 225

Re: Threads max for Kogna vs KFlop?

Thank you!
by SamMarrocco
Sat Jan 06, 2024 3:54 pm
Forum: User PC Applications and Libraries .Net
Topic: Programmable 'stop' during jogging.....
Replies: 11
Views: 237

Programmable 'stop' during jogging.....

What is a good method of having a programmable 'stop' on an axes? Would using a soft limit be best for this, or another method? I'd like it to honor manual jogging of axes, as well as my custom pendant/encoder wheel, which uses KFlop C Code to move an axes. I would prefer that it didn't decellerate,...
by SamMarrocco
Sat Jan 06, 2024 2:26 pm
Forum: C Programs
Topic: Threads max for Kogna vs KFlop?
Replies: 2
Views: 225

Threads max for Kogna vs KFlop?

Is the maximum number of user C Programs threads on the Kogna the same as the KFlop (7) or does it allow more? Don't have a specific need, just wondering.
by SamMarrocco
Mon Jan 01, 2024 9:10 pm
Forum: User PC Applications and Libraries .Net
Topic: CheckIfThreadingInProgress() from dotnet?
Replies: 1
Views: 129

CheckIfThreadingInProgress() from dotnet?

Is it possible to check the state of CheckIfThreadingInProgress() from a dotnet app/dotnet libraries?
Nothing critical, just looking to see the state if possible.