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.
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.
Re: First 200 Persist.userdata() list (Distance to go Dro label)
Quote:
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.