Need Help! kmotioncnc jogging in X but not YZ


Results 1 to 7 of 7

Thread: kmotioncnc jogging in X but not YZ

  1. #1
    Registered
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default kmotioncnc jogging in X but not YZ

    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:
    Attached Files Attached Files


  2. #2
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2289
    Downloads
    0
    Uploads
    0

    Default Re: kmotioncnc jogging in X but not YZ

    Hi Owen,

    Post your C initialization file (as a .txt file)

    Regards
    TK

    TK
    http://dynomotion.com


  3. #3
    Registered
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    250
    Downloads
    0
    Uploads
    0

    Default Re: kmotioncnc jogging in X but not YZ

    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?



  4. #4
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2289
    Downloads
    0
    Uploads
    0

    Default Re: kmotioncnc jogging in X but not YZ

    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

    TK
    http://dynomotion.com


  5. #5
    Registered
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default Re: kmotioncnc jogging in X but not YZ

    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



  6. #6
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2289
    Downloads
    0
    Uploads
    0

    Default Re: kmotioncnc jogging in X but not YZ

    Hi Owen,

    As a second question the SetBit for 152 157 158 were copied with original init for DAC ?needed or not?
    If those FET Outputs aren't needed to enable your Drives then they can be removed.

    Regards

    TK
    http://dynomotion.com


  7. #7
    Registered
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default Re: kmotioncnc jogging in X but not YZ

    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



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

kmotioncnc jogging in X but not YZ
kmotioncnc jogging in X but not YZ