Searching A Character String - Yamaha RCX142 User Manual

4-axis robot controller
Table of Contents

Advertisement

10. "PROGRAM" mode
4
56
4-

10.2.14 Searching a character string

[Procedure]
1) In "PROGRAM>EDIT" mode, press the
"PROGRAM>EDIT>FIND" mode.
The message "Character string >" appears on the guideline.
2) Enter the character string you want to search for and press the
A maximum of 20 characters can be used.
Fig. 4-10-15 Character string search
PROGRAM
>EDIT
———————————————————————————————————————————
1 '***** TEST2 PROGRAM *****
2
GOTO *_'
3 DO2(0)=0
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0
Character string >MOV_
Search starts from the cursor position towards the end of the program and stops at the
first matching character string.
Fig. 4-10-16 Character string search
PROGRAM
>EDIT
———————————————————————————————————————————
18
MOVE P,P1
19 A=1
20 TOTO *A
21 *T2
22 WAIT A=1
SELECT
COPY
3) To continuously search for another character string, press the
(FIND-) key.
F 9
Pressing the
(FIND+) key restarts the search from the current cursor
F 8
position towards the end of the program.
Pressing the
(FIND-) key restarts the search from the current cursor position
F 9
towards the top of the program.
In either case, the search stops at the first matching character string.
(FIND) key to enter
F 7
<TEST2
1
2
'ORIGIN
<TEST2
1
2
CUT
PASTE
key.
>
3
>
3
BS
(FIND+) or
F 8

Advertisement

Table of Contents
loading

Table of Contents