5-45How to Operate Program
5Read Current Line of Robot Program
(3) Completion status
The values below are established as completion status:
(4) Data description
[Function No]
Selects the target function.
Function number setting allows you to select a work type (read current line) and specify a program name
(designation of ASCII character).
[Slot number]
Select the target slot. Specify a value (factory default: 8) in the range between 1 and the value of param-
eter TASKMAX.
[Program name]
ASCII characters of the output program name.
• Specifying ASCII character
• Specify ASCII program name in 6 words area (12 characters).
• To specify ASCII characters, specify all 12 characters or string data including terminating code. How-
ever, leading and ending whitespace characters (space) are ignored.
For information about ASCII data, available characters, refer to Page 37, "(4) Data description".
[Line No]
The line number of the read line is output.
When a program is selected but program is in abeyance (program is not running), the line number of first
line is output.
Setting
Value
Description
1 Successfully completed
2 Specified data (function number, slot number, program number) out of range
3 Program not selected for the target slot
4 (Reserved)
5 (Reserved)
6 (Reserved)
7 (Reserved)
10 NG because of a factor other than 2 to 7