Adding spindle speed in KMotionCNC

Moderators: TomKerekes, dynomotion

amowry
Posts: 51
Joined: Fri Jan 26, 2018 1:00 am

Adding spindle speed in KMotionCNC

Post by amowry » Fri Jan 26, 2018 1:05 am

Hello, I’m just wondering how to get the spindle speed slider to appear in the KMotionCNC GUI? I added a comand for S in the Tool Setup screen, but is there something else I need to do? I’m using the Basic 3 Axis face and my software version is 4.31c.

Thanks!

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: Adding spindle speed in KMotionCNC

Post by TomKerekes » Fri Jan 26, 2018 1:25 am

Hi amowry,

That Version is ~5 years old and before the SSO Slider was added.

Please upgrade to the current Test Version 4.34j. See:
http://www.dynomotion.com/wiki/index.ph ... ion_Topics
Regards,

Tom Kerekes
Dynomotion, Inc.

amowry
Posts: 51
Joined: Fri Jan 26, 2018 1:00 am

Re: Adding spindle speed in KMotionCNC

Post by amowry » Fri Jan 26, 2018 1:37 am

Ah, that explains it. Thanks Tom!

amowry
Posts: 51
Joined: Fri Jan 26, 2018 1:00 am

Re: Adding spindle speed in KMotionCNC

Post by amowry » Fri Jan 26, 2018 3:42 am

Can I update KMotionCNC without updating anything else (Kflop, firmware, etc.?). I guess I haven’t updated because I’ve been nervous about messing up my K2CNC setup.

It looks like 4.31 should have the spindle speed, or am I reading this wrong?:
http://dynomotion.com/Software/KMotion% ... hanges.pdf

amowry
Posts: 51
Joined: Fri Jan 26, 2018 1:00 am

Re: Adding spindle speed in KMotionCNC

Post by amowry » Fri Jan 26, 2018 4:47 am

I guess I found the answer about upgrading:

http://www.dynomotion.com/wiki/index.ph ... n_Versions

I think that K2 flashed some programs to Kflop but I don’t know what, so I guess updating probably isn’t an option for me ;)

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: Adding spindle speed in KMotionCNC

Post by TomKerekes » Sat Jan 27, 2018 3:50 pm

It is likely K2CNC flashed some User Programs. There are some cnczone.com Threads regarding this.

You might obtain another KFLOP to experiment with so if it doesn’t work out you still have the original to go back to. Also it would be good to know how your system is set up in case anything ever fails.
Regards,

Tom Kerekes
Dynomotion, Inc.

amowry
Posts: 51
Joined: Fri Jan 26, 2018 1:00 am

Re: Adding spindle speed in KMotionCNC

Post by amowry » Sat Jan 27, 2018 4:38 pm

Thanks Tom. I hadn’t thought of getting another Kflop, but that’s a good idea. I’ve always been nervous about what will happen when something goes wrong with the system, and it would be nice to understand it better. I’d also like to be able to use some backlash compensation, which, if I understand correctly, would require flashing and would overwrite the existing setup.

I noticed in one of the forums you successfully helped someone get their K2 working by flashing the main driver K2MC_driver.c. Do you happen to recall if there were others flashed as well, or just that one?

User avatar
TomKerekes
Posts: 2529
Joined: Mon Dec 04, 2017 1:49 am

Re: Adding spindle speed in KMotionCNC

Post by TomKerekes » Sun Jan 28, 2018 12:25 am

There are usually several. Maybe a K2_init.c in Thread 1 and a K2MC_Driver.c in Thread 7. Plus maybe a Spindle program?

There might also be some configuration flashed into KFLOP Persist variables that those programs use.

You might read these:
http://www.cnczone.com/forums/k2cnc/270 ... tware.html
http://www.cnczone.com/forums/dynomotio ... chine.html
Regards,

Tom Kerekes
Dynomotion, Inc.

amowry
Posts: 51
Joined: Fri Jan 26, 2018 1:00 am

Re: Adding spindle speed in KMotionCNC

Post by amowry » Sun Jan 28, 2018 12:39 am

Okay, thanks! I’ll take a look.

amowry
Posts: 51
Joined: Fri Jan 26, 2018 1:00 am

Re: Adding spindle speed in KMotionCNC

Post by amowry » Sun Jan 28, 2018 8:11 pm

I just noticed that in my KFlop folder there are files with the .out extension that may indicate which thread they were flashed to, for example K2_Home(2).out. Are these files created when the C programs are compiled, and do the numbers in parentheses indicate the thread number? If so, I've never compiled any C programs, so I'm assuming they were created by K2. Does that sound correct?

When you flash the user memory, does it flash all of the C programs that are currently assigned to a thread, and all of the settings on the Step Response and Config & Flash screens? I guess I don't quite understand what gets flashed and what is just controlled from KMotion. I'm mostly wondering about the servo tuning parameters--would these be embedded in K2's C programs that are flashed, or are they controlled from KMotion in real time?

Post Reply