Search found 78 matches

by RogerFroud
Tue Jun 15, 2021 7:30 pm
Forum: C Programs
Topic: Simple KMotionCNC Spindle Interface
Replies: 2
Views: 582

Re: Simple KMotionCNC Spindle Interface

Thanks Tom, I couldn't see that.
by RogerFroud
Tue Jun 15, 2021 6:41 pm
Forum: C Programs
Topic: Simple KMotionCNC Spindle Interface
Replies: 2
Views: 582

Simple KMotionCNC Spindle Interface

I could use some advice on how to implement a simple spindle interface as follows... 1) The 0-10V analog output for speed reference is on KANALOG DAC0 2) Run forward is on Opto Out 5 3) Run reverse is on Opto Out 6 Obviously the spindle needs to respond to the KMotionCNC controls including the M3-5 ...
by RogerFroud
Fri Jun 11, 2021 7:50 pm
Forum: Hardware Interface Issues
Topic: Homing setup and issues
Replies: 7
Views: 1169

Re: Homing setup and issues

I've really struggled to set up the soft limits because for some reason the moves used in the homing sequence are checking the position against the soft limits. During homing, the system needs to ignore the soft limits, they only become valid when the machine has homed. It's easily possible to get t...
by RogerFroud
Thu Jun 10, 2021 9:41 pm
Forum: Hardware Interface Issues
Topic: Homing setup and issues
Replies: 7
Views: 1169

Re: Homing setup and issues

Ok, thanks for that, I can see those changing as I jog the Z-axis. I'll make sure I'm using the right bit for the Z-axis reference. I've found some more issues with the attached homing file. Uncommenting the X & Y homing procedures didn't work because the Z axis was still being used for both of them...
by RogerFroud
Thu Jun 10, 2021 5:02 pm
Forum: Hardware Interface Issues
Topic: Homing setup and issues
Replies: 7
Views: 1169

Re: Homing setup and issues

If you look at the schematics I posted, you will see that I'm using both JP1 & JP2 inputs for encoder channels. The KANALOG manual explicitly names them as differential encoder inputs on both JP1 & JP2. What bits are those assigned to for accessing the reference channels? I assumed that JP1 & JP2 we...
by RogerFroud
Wed Jun 09, 2021 4:58 pm
Forum: Hardware Interface Issues
Topic: Homing setup and issues
Replies: 7
Views: 1169

Re: Homing setup and issues

I think we're at crossed purposes. I do have a KANALOG board fitted, and I'm using the KANALOG JP1 & JP2 inputs for the Encoders including the reference channels. I'm also using the KANALOG opto inputs JP15 for the limit switches and JP8 JP11 & JP13 too. (See attached schematic) I tried adding this ...
by RogerFroud
Tue Jun 08, 2021 5:04 pm
Forum: Hardware Interface Issues
Topic: Homing setup and issues
Replies: 7
Views: 1169

Homing setup and issues

I've been trying to implement homing using the HomeMM_V8.c example program and have almost sorted it out now. The example is cleverly written, although a few more comments would be helpful in trying to understand how it works. So much of it looks the same, and it's hard to follow. I've attached my c...
by RogerFroud
Sat Jun 05, 2021 11:21 am
Forum: Configuration Issues
Topic: Understanding KMotion parameters
Replies: 0
Views: 1341

Understanding KMotion parameters

I'm putting this as a separate thread because I'm sure others will be as confused as I am and it might help as a handy reference. As far as I understand it, the configuration of an axis is done as follows... 1) KMotionCNC is not involved in this until the basic setup and tuning is done. Then the axi...
by RogerFroud
Fri Jun 04, 2021 11:26 am
Forum: Configuration Issues
Topic: Position control ignores feedback position
Replies: 10
Views: 1510

Re: Position control ignores feedback position

You didn't specify what plot type you wanted, so I just used the default. I'll use one of the distance plots from now on. It looks like the Step data file was too big, so it wasn't included last time. I've compressed it this time. The motion was 50mm. Just to make sure we're on the same page, the Su...
by RogerFroud
Thu Jun 03, 2021 1:31 pm
Forum: Configuration Issues
Topic: Position control ignores feedback position
Replies: 10
Views: 1510

Re: Position control ignores feedback position

I've attached the information I think you asked for. The maximum distance I can output and still see on the graph's 3.5 second period is 100,000 which actually appears to be 50mm of travel when I check it with a ruler. I don't understand why that doesn't travel 100mm since 1 step is 1micron. I also ...