Need Help! Yellow axis after flashing (user memory) Kflop.


Results 1 to 3 of 3

Thread: Yellow axis after flashing (user memory) Kflop.

  1. #1
    Member RuslanRobot's Avatar
    Join Date
    May 2019
    Posts
    26
    Downloads
    0
    Uploads
    0

    Default Yellow axis after flashing (user memory) Kflop.

    Good day!

    Help please.

    Here is the InitKstep4axis file (compiled without errors). I configured the INIT button on the KMotionCNC panel that runs file InitKstep4axis.
    Before flashing, when the machine is turned on, I press the INIT button twice (I load the KMotionCNC file two times), the first time I press it, the motors go into hold mode, but the axes remain yellow and do not move. The second time I press INIT, the - axes become active (green) and I can start working.
    Then I made flashing Kflop (download InitKstep4axis into User Memory). The engines started to go on hold automatically (I don't need to run the InitKstep4axis file), but the axes still remain inactive (yellow). Only after an additional run (now on?e) of the InitKstep4axis file, the axes become active (green) and I can start working.

    What do I need to do, so that the axes become active (green) immediately automatically in KMotionCNC, without the need to additionally run the InitKstep4axis file?

    Similar Threads:
    Attached Files Attached Files


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

    Default Re: Yellow axis after flashing (user memory) Kflop.

    Hi,

    The KStep Opto Inputs require a small amount of time (a few time slices) to be fully configured and to begin updating. So the inputs should not be tested until a short time after KFLOP is informed that a KStep is present. KStep Opto Inputs will be 0 after power up until updated which is your condition for EStop. Try adding a 10 millisecond delay after setting KStepPresent such as:

    Code:
        KStepPresent=TRUE;
        Delay_sec(0.01);
    We don't recommend Flashing anything to KFLOP. See here. You can restore KFLOP to its original state by re-Flashing New Version.


    Note this code is not indented properly and confusing using double NOTs.

    Code:
            // if ESTOP present disable any enabled Axis ??
    if (!ReadBit(ESTOP_BIT)!=0)
    Simpler would be:

    Code:
            // if ESTOP present disable any enabled Axis ??
            if (ReadBit(ESTOP_BIT)==0)

    HTH

    Regards
    TK http://dynomotion.com


  3. #3
    Member RuslanRobot's Avatar
    Join Date
    May 2019
    Posts
    26
    Downloads
    0
    Uploads
    0

    Default Re: Yellow axis after flashing (user memory) Kflop.

    YES! Work. Thank you!



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

Yellow axis after flashing (user memory) Kflop.

Yellow axis after flashing (user memory) Kflop.