Search found 191 matches

by Moray
Tue Jan 07, 2020 10:51 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 11727

Re: G-codes/offsets/tools with .Net

I'm needing a little bit clarification on how KMCNC handles G20/21. What I understand, is if you check Inch/mm radio buttons, it triggers a DoGCodeLine() for the relevant change, and after various checks, the temp gcode file is launched. Then for keeping the Inch/mm selection accurate, as part of a ...
by Moray
Sat Jan 04, 2020 8:41 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 11727

Re: G-codes/offsets/tools with .Net

Thanks for that. I kind of guessed there would some reason why the change wasn't done the simple way. And I never even noticed the Start.. commands. Just to give an update on how things are progressing, I'm now at the point where I've got DROs, continuous jogging, tool offsets, user buttons, and con...
by Moray
Fri Jan 03, 2020 10:39 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 11727

Re: G-codes/offsets/tools with .Net

I've not yet implemented the functionality to switch to mm, however is there any reason why KMCNC does it via MDI/DoGCode, rather than via LengthUnits? Also for now I'm looking at using the KM_axis MoveTo() or RelativeMoveTo() to implement step jogging. I see it's noted that it blocks the commanding...
by Moray
Wed Jan 01, 2020 5:54 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 11727

Re: G-codes/offsets/tools with .Net

It's not necessary right now, as I've created my own TransformActuatorsToCAD function, copying the non-geo corrected option in the original function, which leaves open the option to implement it later.
by Moray
Wed Jan 01, 2020 12:12 am
Forum: C Programs
Topic: Messed up program access
Replies: 27
Views: 3235

Re: Messed up program access

If you want to use both, you can, it's just I was a bit confused as to why you mentioned Mach3, and had screenshots of KMotionCNC. We'll concentrate on KMotionCNC first. By copy the files, I mean you may want to copy them to another folder/directory. You don't have to, it's just I prefer to keep eve...
by Moray
Tue Dec 31, 2019 11:09 pm
Forum: C Programs
Topic: Messed up program access
Replies: 27
Views: 3235

Re: Messed up program access

I think all you need to do, is within KMotionCNC Tool Setup, go to the User Button tab, then rather than typing in the file location, click the button to the right of the text box (one with the ">"), navigate to those files (you may want to move them to a new folder elsewhere first),and select the r...
by Moray
Tue Dec 31, 2019 10:45 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 11727

Re: G-codes/offsets/tools with .Net

OK, scrap the ConvertAbsoluteTo functions, as I've done some digging and realised they work in solely in CAD space, not counts.

So is it possible to convert machine counts, to CAD while allowing for the Kinematics?
by Moray
Tue Dec 31, 2019 10:12 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 11727

Re: G-codes/offsets/tools with .Net

I'm working on the DRO process, and have roughly been following the KMCNC code, but seem to have hit a snag. TransformActuatorstoCAD isn't available in .net/C# Am I correct in guessing that ConvertAbsoluteToInterpreterCoord and ConvertAbsoluteToMachine are the relevant .net methods? If so, is there ...
by Moray
Mon Dec 30, 2019 9:09 pm
Forum: Hardware Interface Issues
Topic: PID servo tuning of leadshine ELM series AC servo motor with FEEDBACK to KFLOP AND KANALOG
Replies: 9
Views: 1164

Re: PID servo tuning of leadshine ELM series AC servo motor with FEEDBACK to KFLOP AND KANALOG

Hi tom, Thanks for the earlier reply. I have 2 doubts, first is what will be the range of P, I and D for dac servo control method. Or how should i start any starting value of P, I and D so i can tune it properly. ? 0 to 1023 Second doubt is , i have absolute encoder 17 bit in motor and feedback is ...
by Moray
Sun Dec 22, 2019 8:31 pm
Forum: User Machines
Topic: Shizouka ST-N Matchmaker retrofit
Replies: 4
Views: 987

Shizouka ST-N Matchmaker retrofit

This mill has been sat in my workshop since before I bought the Denford Cyclone lathe, but it kept getting bumped down the roundtuit list, as other machines have taken priority. I think since this machine got rolled into place, a Denford Novamill has been and gone (bought as I needed to make tool ho...