Hi Tom,
Trying to configure KMotionCNC. I have the Init3Analog.c program in Thread 2 of the KMotion C Program screen. With it open, from Config & Flash screen, I hit the 'Export All to Open C Program' button.
I then opened KMotionCNC and went to Tool Setup, User Buttons, and set the INIT button for Thread 2, and selected KStep\InitKStep3Axis.c.
From the Tool/Setup Files tab, I selected 'Basic Lathe 2 Axis'
From the Trajectory Planner tab, I set Axis Parameters for X and Z at 80000 Cnts/inch, Vel at 1 in/sec, Accel at 5 in/sec2.
Under Lathe Options, I checked Lathe and X Positive Front.
From the KMotionCNC operator screen, X will jog with the arrow buttons, Z will not. If I click on the Keyboard Jog button, Z will move with the Page Up or Down button and X will move with Left or Right buttons.
If I click the INIT button, nothing moves again until I power everything off and restart.
I'm not too concerned about the buttons yet. I can probably fix that in the screen editor.
I'm guessing I have problems with the Initiation program.
In my case, is the spindle considered the third axis?
I see that the axis' are defined at the end of the Unit file. Is that correct?
Thanks