585,759 active members*
4,042 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Dynomotion/Kflop/Kanalog > First 200 Persist.userdata() list (Distance to go Dro label)
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2013
    Posts
    33

    First 200 Persist.userdata() list (Distance to go Dro label)

    What are the first 200 persist.userdata variables
    Is there a list some where
    I’ve searched through most of the kmotion434 files
    And can’t find them.

    I'm try to make a distance to go dro labels in kmotioncnc.
    It will give the distance to commanded gcode position
    From current position the machine has to travel.

  2. #2
    Join Date
    May 2006
    Posts
    4045

    Re: First 200 Persist.userdata() list (Distance to go Dro label)

    Hi,

    Persist Variables 100-114 are used for KFLOP->PC communication and Spindle CSS variables. Other than those it is only the Variables you configured in KMotionCNC | Tool Setup or otherwise used by your C Programs.

    Distance to go will be difficult to implement as the Trajectory Planner is buffering potentially hundreds of blocks ahead and executing hundreds of blocks per second with blocks blended, eliminated, subdivided, rounded, etc. If the machine is very slow and mainly doing simple straight lines I suppose it could be useful.
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Mar 2013
    Posts
    33
    Your right I wasn’t considering buffering of the gcode

    The main reason to try and implement DistToGo is for proofing out a programs where clearance is an issue.

    Ya it wouldn’t be useful for complex tool paths like HSM and ball tracking.

    Where are the Pre defined variables for kmotioncnc stored?

    For example when you hover over the tool select button it tells the name slot id and offset
    Is it reading it from the tool library file

    Do I have to fopen and iterate threw the file to get alphanumeric (comment) information

    Thanks for the quick reply Tom

  4. #4
    Join Date
    May 2006
    Posts
    4045

    Re: First 200 Persist.userdata() list (Distance to go Dro label)

    For example when you hover over the tool select button it tells the name slot id and offset
    Is it reading it from the tool library file

    Do I have to fopen and iterate threw the file to get alphanumeric (comment) information
    If you want the comment yes there isn't currently a command to pass that to KFLOP so it is only accessible on the PC not KFLOP unless you read the Tool Table File yourself.
    TK
    http://dynomotion.com

Similar Threads

  1. List of dro's, leds, buttons, parameters etc. For mach4
    By QuinnSjoblom in forum Mach Wizards, Macros, & Addons
    Replies: 4
    Last Post: 10-25-2019, 02:32 PM
  2. KStep Spindle Control Example - UserData[1] array is empty
    By kdoske in forum Dynomotion/Kflop/Kanalog
    Replies: 4
    Last Post: 12-31-2015, 02:13 AM
  3. DRO's not reporting the correct movement distance
    By mikemaat in forum Mach Software (ArtSoft software)
    Replies: 7
    Last Post: 11-10-2012, 05:19 AM
  4. Sinpo DRO? - Need a Cheap DRO for a Bridgeport Mill - Need Advice
    By firestorm1284 in forum Bridgeport / Hardinge Mills
    Replies: 3
    Last Post: 05-30-2011, 03:17 AM
  5. emc users list - is this list alive?
    By visky in forum LinuxCNC (formerly EMC2)
    Replies: 3
    Last Post: 01-07-2009, 05:27 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
  •