585,996 active members*
4,683 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2013
    Posts
    0

    C-program questions- Dissallow into limits

    First of all let me just say I have been really pleased with the kanalog/kflop boards that I purchased for my mill. I retrofitted an old motionmaster 5x5 3 axis mill that had analog drives and dc servos and it has been working wonderfully.

    The pc that i've been using just bit the dust this morning, which I didn't expect. Of course I didn't document anything about the C-programs that I have written so I have to start from square one.

    So here are my questions:

    What should a start-up c-program contain besides axis parameters?

    I have had difficulty getting the drives to re-enable an axis after limits have been pressed. The encoder position on kmotioncnc goes yellow. What would be the best way to write a c-program the board so I can reneable and drive out of the limit.

    So those are my questions for now. Thank You

  2. #2
    Join Date
    May 2006
    Posts
    4045
    Hi Scott,

    Ouch. Sorry to hear this.

    The Initialize C Program usually performs the following:

    #1 set axis parameters

    #2 enables all axes

    EnableAxisDest(0,0.0);
    EnableAxisDest(1,0.0);
    EnableAxisDest(2,0.0);

    #3 defines Coordinated Motion Systems ie.

    DefineCoordSystem(0,1,2,-1);

    #4 anything else your system might need initialized

    #5 loops to service any watchdog or MPG functions


    Regarding disallow into limits: If your Limit options are configured to Dissallow Drive into Limits You should be able to initialize while in the limits as long as you don't move at all in the direction further into the limit. A different input is required for each end of travel.

    Regards
    TK
    http://dynomotion.com

Similar Threads

  1. tree 325 retrofit - electrical diagram/program questions
    By nickcornilsen in forum Dynomotion/Kflop/Kanalog
    Replies: 5
    Last Post: 10-23-2012, 05:39 AM
  2. 2001 ultimax ssm program questions
    By mt92 in forum HURCO
    Replies: 4
    Last Post: 03-07-2011, 11:37 AM
  3. Replies: 5
    Last Post: 11-12-2010, 03:06 AM
  4. Questions about Program Point
    By RC-CNC in forum CNC Swiss Screw Machines
    Replies: 1
    Last Post: 03-26-2010, 12:51 AM
  5. Tech Questions, TC-2, Fanuc 2T, Program, Way Luber, and Servos
    By RonRoy2004 in forum DNC Problems and Solutions
    Replies: 0
    Last Post: 01-10-2006, 03:01 AM

Posting Permissions

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