How do I read in a string from the teach pendant?

I wish to have a text entry field on the pendant that is waiting for a user inputted string which is a maximum of 12 characters.
Based on what that string says (case statement) I will make decisions on what to do.

Best Answer