That should be easy enough do you know what the Dro# is?
You need several references
The length of the space
The length of the routine
Somewhere to display the value
These can be DROs or stored variables or Just inputs and ouputs to the screen via CB OR injected into a Gcode program by way of #vars
Let me know what you need and i can work on it with you.
Godspeed on the recovery, (;-) TP