Search found 121 matches

by Moray
Tue Mar 12, 2019 12:38 am
Forum: Hardware Interface Issues
Topic: Use SnapAmp with KFLOP/Kanalog for hydraulic servo valves?
Replies: 8
Views: 1096

Re: Use SnapAmp with KFLOP/Kanalog for hydraulic servo valves?

What Tom means when he mentions using a C program with a few lines of code to control the PWM, is each servo loop/channel within the KFlop outputs a value. With normal servo/stepper use, the channel configuration will handle that value internally. However if you want to do something 'non-standard', ...
by Moray
Thu Mar 07, 2019 11:36 pm
Forum: Miscellaneous
Topic: Conversational Programming Program
Replies: 10
Views: 3338

Re: Conversational Programming Program

I'm just getting back into this, and I'm looking for thoughts on the tool/speeds/feed selection. As it stands, everything has to be selected/set for each operation. Things like speed/feed are really set per tool. What I'm thinking, is have an extra page/screen for creating speed/feed profiles i.e. s...
by Moray
Thu Mar 07, 2019 9:21 pm
Forum: User PC Applications and Libraries .Net
Topic: Homing
Replies: 8
Views: 1334

Re: Homing

I've just realised you posted in the User PC Apps forum. You'll need to do the actual homing routine using a C program, as the lag between PC and KFlop is to slow to detect bit changes quickly (IIRC it's around 10Hz), unless you run homing at a very slow speed. Easiest option is to create a couple b...
by Moray
Thu Mar 07, 2019 6:18 pm
Forum: Hardware Interface Issues
Topic: Pwm Spindle calibration
Replies: 2
Views: 507

Re: Pwm Spindle calibration

If you just want to correct the maximum speed, then simply change the 255s to whatever relates to your maximum speed.

If you want to measure and correct the speed over the speed range, then look at the KStepPWMCorrected.c example in the KStep folder.
by Moray
Thu Mar 07, 2019 5:50 pm
Forum: User PC Applications and Libraries .Net
Topic: Homing
Replies: 8
Views: 1334

Re: Homing

Can you post what code you've already written?
by Moray
Wed Feb 06, 2019 8:08 pm
Forum: New Feature Request
Topic: Custom COMBOBOX
Replies: 4
Views: 1358

Re: Custom COMBOBOX

I'm going to guess that during use, those parameters are stored within the KFlop? My initial thought was a custom screen that allows you to view/edit those parameters, then have the KFlop push them out a text file, although I'm not sure if the KFlop would be able to read the values back in, plus it ...
by Moray
Wed Jan 02, 2019 8:19 pm
Forum: C Programs
Topic: C Program - Move to XYZ Location
Replies: 1
Views: 758

Re: C Program - Move to XYZ Location

You are correct in that you need to use an alternative method, as KFlop only works in axis counts and has no idea regarding the XYZ positions. The simplest method I can think of, is to use KflopToKMotionCNCFunctions.c, and the MDI function. Here's a quick example from a C program I've been working o...
by Moray
Sat Dec 29, 2018 9:38 pm
Forum: New Feature Request
Topic: Ethernet stand-alone and Differential axis outputs
Replies: 2
Views: 1368

Re: Ethernet stand-alone and Differential axis outputs

I'll second the ethernet interface request :-) Regarding the differential outputs, if you're interested, I've got a batch of PCBs for outputting the JP5 step/dir outputs to differential outputs. They have two RJ connectors for input/output, with jumpers to select if signals are passed straight throu...
by Moray
Tue Dec 11, 2018 8:38 pm
Forum: User PC Applications and Libraries .Net
Topic: Position counts to user units?
Replies: 41
Views: 6891

Re: Position counts to user units?

Tom, so I've got enough code to reverse until the probe clears, however as you've mentioned using SetFROTemp is less than ideal (moving at 5IPM it pushes my test box about 10thou before reversing). I've switched to using SetFROwRateTemp(), and set a randomly selected time of 0.1, which appears to wo...
by Moray
Sat Dec 08, 2018 10:05 pm
Forum: User PC Applications and Libraries .Net
Topic: Position counts to user units?
Replies: 41
Views: 6891

Re: Position counts to user units?

Hi Moray, motion is reversed for a calculated time (I suspect this may need a bit additional calculation to reliably clear the trigger event the set distance to allow for acceleration/deceleration) Any reason not to reverse until the probe active goes away? That could be an option, but personally I...