Search found 282 matches

by Moray
Thu Aug 15, 2019 9:56 am
Forum: Tuning Servos
Topic: spindle servo runs away over time/position
Replies: 19
Views: 8834

Re: spindle servo runs away over time/position

Could describe your spindle setup (I.e. is it just a +/-10V control, or are there any on/direction relays involved?)?

Also, probably best if you can post the relevant C programs in this thread, so they're easier to reference.


But, it does sound like something in your C code needs a change.
by Moray
Wed Aug 14, 2019 9:29 am
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: G32 sync spindle to Z axis lathe
Replies: 42
Views: 13492

Re: G32 sync spindle to Z axis lathe

I think your header is the problem, as the KMVAR is different.

In your old defines, KMVAR was simply defined as 1, whereas in Tom's example, KMVAR is defined as PC_COMM_CCS_S, which must also be defined elsewhere, otherwise the compiler should throw an error.
by Moray
Fri Aug 09, 2019 1:09 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: KMotionCNC default units on open
Replies: 2
Views: 5927

Re: KMotionCNC default units on open

You need to either change the settings in the relevant settings file, or use a different settings file. If you open Tool Setup, then select the Tool/Setup Files tab, the Setup File selection is what controls the default units when KMCNC loads. You can either switch to a MM version of whatever setup ...
by Moray
Sun Jul 28, 2019 11:44 pm
Forum: User PC Applications and Libraries .Net
Topic: KMCNC units
Replies: 5
Views: 2670

Re: KMCNC units

I think I've now got a grip on this. I don't really need the ability to switch easily between mm/inch, as I'm sure most people never switch between units during normal running of KMCNC, so I just need to redo my offset calculations to convert to mm if needed. However I've just discovered a flaw in h...
by Moray
Sun Jul 28, 2019 11:31 pm
Forum: User Machines
Topic: Denford Cyclone Lathe
Replies: 3
Views: 3610

Re: Denford Cyclone Lathe

Found a couple more photos. This is the original electrical cabinet- electrics-as-delivered_9861320395_o_resize.jpg It originally used a Baldor Eurostep controller with Parker stepper drivers (all rack mounted), along with a custom control card for handling the tool turret. As part of my retrofit, I...
by Moray
Sun Jul 28, 2019 5:58 pm
Forum: User PC Applications and Libraries .Net
Topic: KMCNC units
Replies: 5
Views: 2670

Re: KMCNC units

Now that I've just had a quick look at the relevant code, I've just realised it's my code that's doing the conversion for offsets. After reading the offsets via the KFlop, I'm running them through the ConvertToUser function before displaying them, which given they're always unitless, is not a good i...
by Moray
Sun Jul 28, 2019 5:15 pm
Forum: User PC Applications and Libraries .Net
Topic: KMCNC units
Replies: 5
Views: 2670

Re: KMCNC units

My current issue is, although I've still got the Unitsmm variable and associated functions still in my program, I mostly ignored it while getting the barebones of probing to work. It's only now I've tried using KMCNC in mm, I've realised KMCNC always outputs inches to my program. It's not a major is...
by Moray
Fri Jul 26, 2019 11:03 pm
Forum: Tuning Servos
Topic: SPINDLE SERVO SPECS
Replies: 30
Views: 13332

Re: SPINDLE SERVO SPECS

turbothis wrote:
Fri Jul 26, 2019 10:59 pm
win some you lose some.......
ftp://ftp.pmccorp.com/pub/support/docs/ ... torial.pdf
:D
Thanks for that. I've just had a quick skim of it and it certainly looks good.
by Moray
Fri Jul 26, 2019 11:01 pm
Forum: User Machines
Topic: Denford Cyclone Lathe
Replies: 3
Views: 3610

Denford Cyclone Lathe

This was the first machine I ever fitted a KFlop too, and although initially running it on Mach3 for the first couple years (my previous lathe ran Mach3 with a SmoothStepper), after yet another crash where Mach sent the unlocked and spinning tool turret into the still spinning spindle, I finally jum...
by Moray
Fri Jul 26, 2019 10:29 pm
Forum: Tuning Servos
Topic: SPINDLE SERVO SPECS
Replies: 30
Views: 13332

Re: SPINDLE SERVO SPECS

turbothis wrote:
Fri Jul 26, 2019 10:15 pm
this was a good read
file:///C:/Users/Turbo/Desktop/downloadz/Servo_tuning_tutorial%20(1).pdf
You might want to either attach the document to a post, or post the link to where the document can be found online, rather than a link to where you've stored it on your computer... ;)