Hi Owen,
Post your C initialization file (as a .txt file)
Regards
TK
I have moved through the steps of physical connection and kmotion c code generation for KFLOP + KANALOG on a Millstar III (Glentek servo and Mitutoyo glass scale) equipped Bridgeport clone. Have setup the init.c (as init_mill_stariii.c).
F9 key loads the init file I can jog X left and right ---Super!!!
When next trying Y or Z I get nothing when I try to go back to X I get nothing.
The limit switches have not been tripped; Amps aren't stopped; and I can move the axes however I wish using KMOTION.
I believe the axes are enabled (as 0,1,2) and are run obviously as DAC servos.
What am I missing
Thanks in Advance (and lots more, of course, as the answers pour in !!)
Owen
Similar Threads:
Hi Owen,
Post your C initialization file (as a .txt file)
Regards
TK
Regards
TK http://dynomotion.com
Nothing stands out in the init file to me, that would cause things not to work.
Try running the init file and jogging, with KMotion open in the background, with the Console and Axis screens open.
Are there any messages shown in the console, and do the axis remain enabled in the Axis Screen?
Hi Owen,
Sorry I missed the attached file. I also don't see any issue. Except an input gain of -2 which is a bit odd but shouldn't cause that problem.
Are you sure that is the program you are running? You describe it using a different name.
Regards
Regards
TK http://dynomotion.com
Tom
Pretty sure its the file
because:
initially couldn't upload it so shortened file name then realized the file type needed to be txt not c doh!
My next move will be to try the kmotioncnc with kmotion up in the background
then to try with only axis 0 then only axis 1 and then 2
and I'll change the gain to -1 just for the heck of it
As a second question the SetBit for 152 157 158 were copied with original init for DAC ?needed or not?
Thanks
Owen
Hi Owen,
If those FET Outputs aren't needed to enable your Drives then they can be removed.As a second question the SetBit for 152 157 158 were copied with original init for DAC ?needed or not?
Regards
Regards
TK http://dynomotion.com
problem solved for those wish to know
the issue was
ch1->LimitSwitchOptions=0x12f;
ch1->LimitSwitchNegBit=138;
ch1->LimitSwitchPosBit=138;
which needed to be changed to
ch1->LimitSwitchOptions=0x100;
ch1->LimitSwitchNegBit=0;
ch1->LimitSwitchPosBit=0;
i.e. so that the axis when activated would not stop all movement how dumb can I get !!
owen