Search found 15 matches

by axeman
Wed Apr 27, 2022 9:04 pm
Forum: C Programs
Topic: Exit C program on Halt or Feed Hold
Replies: 2
Views: 570

Re: Exit C program on Halt or Feed Hold

Thank you Tom,
That is just what I needed, I now have one more safety in place for my peace of mind.

Regards,
Laurence
by axeman
Mon Apr 25, 2022 11:41 pm
Forum: C Programs
Topic: Exit C program on Halt or Feed Hold
Replies: 2
Views: 570

Exit C program on Halt or Feed Hold

I am using a C program to handle auto tool changes. If the toolchange program is running and I hit the Halt or FeedHold buttons in KmotionCNC, the axes halt but the C program continues, resulting in the ejection of the tool from the spindle wherever it has halted on the table. Not ideal. What code c...
by axeman
Tue Dec 14, 2021 9:49 pm
Forum: C Programs
Topic: Scaling issue on Y axis for tool rack
Replies: 5
Views: 768

Re: Scaling issue on Y axis for tool rack

Tom,
No, I did not realize this. Now that I do, everything makes sense again and I have sorted out the problem I was having.
I apologize for being dumb and taking up your valuable time, but thanks all the same. Your support is second to none!
by axeman
Tue Dec 14, 2021 1:20 am
Forum: C Programs
Topic: Scaling issue on Y axis for tool rack
Replies: 5
Views: 768

Re: Scaling issue on Y axis for tool rack

Hello Tom, Thank you for your response. I have checked by moving over 10 large moves and then coming back to the initial position and that is still at the correct original physical position. I have checked the cnts/in (The units are in inches in the machine setup screen) for the machine by marking a...
by axeman
Mon Dec 13, 2021 5:09 am
Forum: C Programs
Topic: Scaling issue on Y axis for tool rack
Replies: 5
Views: 768

Scaling issue on Y axis for tool rack

Greetings, I have been setting up a tool rack for ATC upgrade. Tools are spaced along y-axis with the distance from T1 to T12 about 900mm. When moving to the absolute Y positions for tool holders there seems to be a scaling error. The actual position gets increasingly out until the final tool positi...
by axeman
Fri Oct 01, 2021 8:35 pm
Forum: C Programs
Topic: Halt and safe Z move
Replies: 4
Views: 861

Re: Halt and safe Z move

Tom, I have attached the updated, and fully operational, C program for any who may be interested. I have placed it in the 'loop forever' section in my machines Init program to monitor for spindle thermal protection. Also, I was wondering where I can find a list of all the functions like the JOB_ACTI...
by axeman
Fri Oct 01, 2021 2:42 am
Forum: C Programs
Topic: Halt and safe Z move
Replies: 4
Views: 861

Re: Halt and safe Z move

Thank you Tom,
Putting in the code:

while (JOB_ACTIVE) ;

did the trick.

Cheers,
Laurence
by axeman
Wed Sep 29, 2021 11:15 pm
Forum: C Programs
Topic: Halt and safe Z move
Replies: 4
Views: 861

Halt and safe Z move

Hello, I am having trouble getting the Z-axis to move to safeZ height after implementing a feedhold/halt in Gcode through a C program. The purpose of the C program is to include thermal protection for the spindle and run the C-program when a thermal switch opens. The program runs fine except that th...
by axeman
Sat Aug 10, 2019 9:52 am
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: KMotionCNC default units on open
Replies: 2
Views: 5913

Re: KMotionCNC default units on open

Thank you.
It has been a while since I needed to access these files and I should have found them. It is good to have your support though, it is appreciated.

All working well!
by axeman
Fri Aug 09, 2019 4:17 am
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: KMotionCNC default units on open
Replies: 2
Views: 5913

KMotionCNC default units on open

Hello Tom,
I have recently upgraded to ver435b and noticed KMotionCNC defaults to open in inches.
I work in mm and would like the default to be in mm. How do I set this?

William