5Read Current Line of Robot Program
Function Description 5-28
5 Read Current Line of Robot Program
5.1 Function Description
(1) Function list
The Table 5-1 lists the program operations performed from the GOT.
Table 5-1:Program operation function list
(2) Program data
The program data is as follows:
• The data is one line of program (up to 128 characters) in ASCII.
• When the data is less than 128 characters, terminating code 0 (NULL) is added at the end of string.
• Shift JIS codes are used for kanji character (similar to GOT specification).
When a program line can be longer than 128 characters, the data after 128th char-
acter cannot be read.
Consequently, when the program whose line is longer than 128 characters is read
and the data is written as-is into the robot, be careful that the data which exceeds
128 characters will be deleted.
5.2 Operation flow
No Item Description
Robot's Response
Time
1
Read program's cur-
rent line
Reads currently performing robot program (one line, 128 charac-
ters) by specifying a slot number.
Practicable when a program is selected for robot's slot.
Responds within 1s
(it may vary accord-
ing to the robot con-
trol's load state)
Refer to Page 5, "2 Preparation for Using Extended Function".
Refer to Page 29, "5.3 How to Operate Program".
Start
Prepare for Using Extended Function
Carry out program operation (read)