STE 80722
– 30 –
4.3 INPUT Character String Conversion Function
The INPUT command in SCOL language cannot receive a character string. If a
nonnumeric character string is received, 2-046 Invalid Channel error occurs. A
character string may be sent depending on the specification of the external device.
This function converts the character string received by the robot into a numeric
value.
The value of (FUNCTION 1), the 1st column in 1st row of user parameter [U25]
FUNCTION SELECT SWITCH is set to the following to switch the processing if a
nonnumeric character string is received.
0: Function disabled (if a nonnumeric character string is received, Invalid Channel
error occurs.)
1: A nonnumeric character string is converted to 0 if received.
2: A nonnumeric character string is converted to any numeric value if received.
Character string
"ABC<CR>"
Note: <CR> signifies the record end code (0x0D).
SCOL
language
INPUT
command
INPUT character string conversion