Display variable name on the teach pendant

Is there a way to display a variable name (not its value) on the teach pendant?

I have a variable that will be passed into a function to check its value, then I want to display the original variable name on the teach pendant. The display codes will be run inside the function.

Any help will be appreciated !

Hi,

you can use the function ArgName to get the Name of the variable.

Pleser refer the reference Manual for further Information.

BR

Micky