586,094 active members*
4,055 visitors online*
Register for free
Login
Results 1 to 20 of 20
  1. #1
    Join Date
    May 2006
    Posts
    4045

    KMotion/KFlop Test Version 4.33l Available

    KMotion/KFlop Test Version 4.33l Available

    Includes new KMotionCNC Fiducial Alignment App. See Description and Video:

    https://youtu.be/a_p38zktIZI


    KFLOP Step/Direction Generators now have 5.7us of Direction Setup Time for compatibility with Leadshine drives and others.
    CW/CCW Pulse Mode is also available. See updated document here:
    Step and Direction Setup

    LabView Sample now Included

    https://youtu.be/dPZIdLSd_4M


    Moving out of Soft/Hard Limits issues fixed

    KMotionCNC M105-M119 bug fixed

    KStep Step-by-Step Tutorial Added

    New C Examples

    Many other bug fixes and additions

    For details see
    http://dynomotion.com/Software/KMoti...%20Changes.pdf


    Download here:
    http://dynomotion.com/Software/KMotion433l.exe


    Please report any issues.

    Regards,
    Dynomotion, Inc.
    TK
    http://dynomotion.com

  2. #2
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    I have issue with 4.33l firmware. One of my steppers twitches on stop and lost steps, on accleration all looks good. All parameters and initialization are the same as with 4.32 firmware, but with 4.32 all is good. I tried different speed, acceleration and pulse time. I use MoveRel command. Driver is Leadshine M542.

  3. #3
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    addition: with Jog and Move comands all is good, MoveRelAtVel is bad.

  4. #4
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    no, problem with small movements

  5. #5
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    with large amount of jerk, like 10^8, works ok
    but anyway that operates in 4.32 not working in 4.33l

  6. #6
    Join Date
    May 2006
    Posts
    4045

    Re: KMotion/KFlop Test Version 4.33l Available

    Hi mk00,

    Sounds like clearly we have a bug. We did make some changes in V4.33i that are regarding the unused "Trip States" for Independent motion that does require all states (constant Acceleration, constant Velocity). And others have reported something that sounds similar.

    Do you have a specific case that fails? Velocity, Acceleration, jerk, Distance?

    Regards
    TK
    http://dynomotion.com

  7. #7
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    Quote Originally Posted by TomKerekes View Post

    Do you have a specific case that fails? Velocity, Acceleration, jerk, Distance?
    Hi, Tom

    This occurs during deceleration with small movements, like 800 steps with 10000 velosity and 10^5 acceleration, 10^6 jerk. Now I set 5*10^4 acceleration and 10^8 jerk - looks ok.

  8. #8
    Join Date
    May 2006
    Posts
    4045

    Re: KMotion/KFlop Test Version 4.33l Available

    Hi mk00,

    You are correct we definitely introduced a bug in V4.33l in the KFLOP Firmware. Sorry about that. When making moves (Move, MoveRel, MoveAtVel, MoveRelAtVel) with different numbers of Trip States (some that achieve max V or A and some that don't) the last Trip State may not be terminated and a Trip State from a previous move may erroneously added in. Here is an example bad motion:

    Attachment 284726

    Here is a new patched firmware for KFLOP that should be compatible with V4.33l and correct the problem:
    http://dynomotion.com/Software/Patch...l/DSPKFLOP.out

    Copy the file to the \DSP_KFLOP directory, run KMotion.exe, Flash New Version, then cycle power on KFLOP.

    Please let us know if it corrects the problem.

    Regards
    TK
    http://dynomotion.com

  9. #9
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    No, the behavior remains the same. Version 4.33m. This occurs during deceleration. On your graph axis in not marked, is this speed or position. This is my full init for this axis:

    ch3->InputMode=NO_INPUT_MODE;
    ch3->OutputMode=STEP_DIR_MODE;
    ch3->Vel=10000;
    ch3->Accel=1e+005;
    ch3->Jerk=1e+006;
    ch3->P=0;
    ch3->I=0.01;
    ch3->D=0;
    ch3->FFAccel=0;
    ch3->FFVel=0;
    ch3->MaxI=200;
    ch3->MaxErr=1e+006;
    ch3->MaxOutput=200;
    ch3->DeadBandGain=1;
    ch3->DeadBandRange=0;
    ch3->InputChan0=3;
    ch3->InputChan1=0;
    ch3->OutputChan0=3;
    ch3->OutputChan1=0;
    ch3->MasterAxis=-1;
    ch3->LimitSwitchOptions=0x100;
    ch3->LimitSwitchNegBit=0;
    ch3->LimitSwitchPosBit=0;
    ch3->SoftLimitPos=1e+009;
    ch3->SoftLimitNeg=-1e+009;
    ch3->InputGain0=1;
    ch3->InputGain1=1;
    ch3->InputOffset0=0;
    ch3->InputOffset1=0;
    ch3->OutputGain=1;
    ch3->OutputOffset=0;
    ch3->SlaveGain=1;
    ch3->BacklashMode=BACKLASH_OFF;
    ch3->BacklashAmount=0;
    ch3->BacklashRate=0;
    ch3->invDistPerCycle=1;
    ch3->Lead=0;
    ch3->MaxFollowingError=1000000000;
    ch3->StepperAmplitude=20;

    ch3->iir[0].B0=1;
    ch3->iir[0].B1=0;
    ch3->iir[0].B2=0;
    ch3->iir[0].A1=0;
    ch3->iir[0].A2=0;

    ch3->iir[1].B0=1;
    ch3->iir[1].B1=0;
    ch3->iir[1].B2=0;
    ch3->iir[1].A1=0;
    ch3->iir[1].A2=0;

    ch3->iir[2].B0=0.000769;
    ch3->iir[2].B1=0.001538;
    ch3->iir[2].B2=0.000769;
    ch3->iir[2].A1=1.92081;
    ch3->iir[2].A2=-0.923885;

  10. #10
    Join Date
    May 2006
    Posts
    4045

    Re: KMotion/KFlop Test Version 4.33l Available

    Hi mk00,

    I'm not able to see a problem with the new code. The previous plot was of position.

    Attached is the code to perform the move and capture the data to a file. It actually does a small movement first and then captures data for a large movement which caused the problem before the fix. Also an Excel Spreadsheet to plot it.

    Could you provide an example motion that shows the error and capture a plot of the trajectory?

    Thanks
    TK
    http://dynomotion.com

  11. #11
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    Here the result. Motion abrupt at 6200 steps (beginning of deceleration?). Also I noticed that with 4.33m problem occurs with any movement, not only with small movements.

  12. #12
    Join Date
    May 2006
    Posts
    4045

    Re: KMotion/KFlop Test Version 4.33l Available

    Hi mk00,

    Unfortunately that doesn't help. That looks to me like perfect motion all the way until the data capture ends at 4000 points or 0.72 seconds. What size move were you commanding? 8000 steps? Please increase N to around 8000 points to capture the deceleration. Is the physical motion jerky or something or are you thinking there is a problem based on the plot?

    Thanks
    TK
    http://dynomotion.com

  13. #13
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    I run your code without modification, yes it is short capture. Here is correct capture - like your first graph.
    Attached Files Attached Files

  14. #14
    Join Date
    May 2006
    Posts
    4045

    Re: KMotion/KFlop Test Version 4.33l Available

    Hi mk00,

    That plot is indeed bad. But when I run the test it is always good. Are you sure you Flashed the new Firmware? That is exactly what I would expect with the old Firmware. You must cycle power on KFLOP after Flashing the new Firmware to be running the new Firmware. Please type "Version" on the Console Screen to verify what Version is running.

    Otherwise I've attached the capture program with your parameters included please run that to see what you get. I've included the plot I get.

    Attachment 285444

    Regards
    TK
    http://dynomotion.com

  15. #15
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    In the console is displayed 4.33m. May be it is wrong firmware file? Or revision of the board is important? I`ll run program tomorrow.

  16. #16
    Join Date
    May 2006
    Posts
    4045

    Re: KMotion/KFlop Test Version 4.33l Available

    Hi mk00,

    My apologies. You are correct that is basically an unchanged file.


    Please try this Firmware which should report as V4.33n
    http://www.dynomotion.com/Software/P...l/DSPKFLOP.out

    Regards
    TK
    http://dynomotion.com

  17. #17
    Join Date
    Apr 2013
    Posts
    34

    Re: KMotion/KFlop Test Version 4.33l Available

    With 4.33n all is good, thank you Tom.

  18. #18
    Join Date
    May 2006
    Posts
    4045

    Re: KMotion/KFlop Test Version 4.33l Available

    Hi mk00,

    Thanks for the feedback and your patience.

    Regards
    TK
    http://dynomotion.com

  19. #19
    Join Date
    Feb 2008
    Posts
    216

    Re: KMotion/KFlop Test Version 4.33l Available

    How do we get this to work?

    I installed 4.33l exe file and the console shows that version.

    Then i copied and pasted the 4.33n file from post 16 above,into the Kmotion4.33/.../DSP_Kflop folder and replace the one that is in there.

    Then i flashed the drive with this 4.33n file. It tells me to reboot the kflop. I turn power off then back on and i get a message with a red X circle and a message that it didn't work.

    Is there a 4.33n exe file? Am i missing something?

  20. #20
    Join Date
    May 2006
    Posts
    4045

    Re: KMotion/KFlop Test Version 4.33l Available

    Hi slimneill,

    Those should be the correct steps. There isn't yet a PC side Version greater than 4.33l. I don't know why it wouldn't work.

    What message do you get that says it didn't work?

    Did you try restarting KMotion.exe?

    Does KFLOP boot? Does it communicate and can it report the Version as 4.33n?

    Regards
    TK
    http://dynomotion.com

Similar Threads

  1. need help to get kflop and and Kmotion up and running
    By jossa in forum Dynomotion/Kflop/Kanalog
    Replies: 105
    Last Post: 04-13-2015, 01:57 AM
  2. KMotion/KFlop Test Version 4.33a Available - Videos
    By TomKerekes in forum Dynomotion/Kflop/Kanalog
    Replies: 0
    Last Post: 05-23-2014, 08:00 AM
  3. Is Kflop/Kmotion CNC right for me?
    By Phy6 in forum Dynomotion/Kflop/Kanalog
    Replies: 6
    Last Post: 04-01-2014, 01:19 AM
  4. KMotion/KFlop Version 4.31 Released
    By TomKerekes in forum Dynomotion/Kflop/Kanalog
    Replies: 0
    Last Post: 03-12-2014, 11:08 PM
  5. Kmotion/KFLOP - Z axis as DRO
    By drb_001 in forum Dynomotion/Kflop/Kanalog
    Replies: 2
    Last Post: 05-29-2013, 05:33 PM

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
  •