Search found 947 matches

by TomKerekes
Sat Jul 04, 2020 6:06 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Early arc shut off
Replies: 1
Views: 3

Re: Early arc shut off

Hi cnc_freak, I can't think of a simple solution to predict the future :) Here are some ideas: #1 Also the post proccesor, has the capability to make something in a given distance before the condure ends, for example 5mm before, but this is not good beacause it is dependand from the cutting speed. D...
by TomKerekes
Fri Jul 03, 2020 5:02 pm
Forum: Hardware Interface Issues
Topic: Enabling PWM for spindle control on K2CNC
Replies: 10
Views: 21

Re: Enabling PWM for spindle control on K2CNC

Hi amowry, I can't think of a simple way to control PWM synchronously. MCodes configured with an Execute Action and no file name will re-execute an existing Program within a Thread after downloading any P Q R Parameter which should be quite fast (typically several milliseconds but at the mercy of Wi...
by TomKerekes
Wed Jul 01, 2020 11:05 pm
Forum: Hardware Interface Issues
Topic: Enabling PWM for spindle control on K2CNC
Replies: 10
Views: 21

Re: Enabling PWM for spindle control on K2CNC

No. You must use a C Program something like what you posted earlier.
by TomKerekes
Wed Jul 01, 2020 9:50 pm
Forum: Hardware Interface Issues
Topic: Enabling PWM for spindle control on K2CNC
Replies: 10
Views: 21

Re: Enabling PWM for spindle control on K2CNC

Hi amowry, I haven't figured out what K2, did, though, as their output seems to be 0V for zero PWM and 24V for all other PWM values... I guess I'll investigate further. I would guess they are just switching the 24V. It might be your meter showing 24V regardless of any duty cycle. You might try addin...
by TomKerekes
Wed Jul 01, 2020 7:06 pm
Forum: Hardware Interface Issues
Topic: Enabling PWM for spindle control on K2CNC
Replies: 10
Views: 21

Re: Enabling PWM for spindle control on K2CNC

Hi amowry, This all seems correct, however, I'm not able to measure any voltage on the output of the K2 board or on pin 33 itself on KFLOP using a digital multimeter. I assume that I should be able to measure a voltage on the pin based on the PWM value, correct? PWM 7 is actually IO Bit 33 which is ...
by TomKerekes
Tue Jun 30, 2020 8:07 pm
Forum: Configuration Issues
Topic: KMotion freezing when trying to download C program
Replies: 2
Views: 13

Re: KMotion freezing when trying to download C program

Hi amory, I think K2CNC enabled a UserCallback. This causes KFLOP to continuously call the specified function every 90us regardless of whether the Thread containg the function is scheduled for execution or not. If you change the code in the Thread Space while the code is being called it will likely ...
by TomKerekes
Sun Jun 28, 2020 11:15 pm
Forum: Miscellaneous
Topic: Random weird feedhold
Replies: 3
Views: 34

Re: Random weird feedhold

Hi cwatson, The Z axis I will have to monitor and see if I can get the problem to repeat. The max following error is 400 counts for that axis or about .005" When I say it starts moving slowly I mean at about .01 IPM regardless of the commanded feed rate :) That would indicate the Software is command...
by TomKerekes
Sat Jun 27, 2020 3:47 pm
Forum: Miscellaneous
Topic: Random weird feedhold
Replies: 3
Views: 34

Re: Random weird feedhold

Hi cwatson, So I finally got my post processor up to speed and was running my first real job today. After a couple of hours of running, I got a feedhold in the middle of an operation. I could not turn it off via click. So I stopped the job, checked the console and saw nothing. I tried to restart the...
by TomKerekes
Fri Jun 26, 2020 11:31 pm
Forum: Hardware Interface Issues
Topic: Read Failed Auto Disconnect
Replies: 3
Views: 19

Re: Read Failed Auto Disconnect

Hi Tim, I found this old Thread with some information although the issue doesn't seem to be resolved. I understand there are some counterfeit FTDI chips with some issues and FTDI Drivers sometimes do strange things. Do you have the capability to debug using Visual Studio to figure out what is going ...
by TomKerekes
Fri Jun 26, 2020 7:54 pm
Forum: C Programs
Topic: Keep Track of Stepper Pos Without Encoder
Replies: 2
Views: 22

Re: Keep Track of Stepper Pos Without Encoder

Hi Ethan,

You can use ch0->Dest to get the last commanded destination for KFLOP Axis #0.