omron — $ENCODE string function

$ENCODE string function The $ENCODE function provides a way of adding format control to the output from PROMPT instructions. This is shown by the following example, in which the value of motor is displayed as part of the prompt message to you. PROMPT $ENCODE(/B,"Start motor #",/I0,motor," (Y/N)? "), $answer This PROMPT instruction beeps the terminal (/B), and displays the following user prompt when the value of motor is 3: Start motor #3 (Y/N)? Related Keyword TYPE program instruction eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 201