Replacing Character Strings - Mitsubishi Electric 700 Series Training Manual

Hide thumbs Also See for 700 Series:
Table of Contents

Advertisement

4. Edit Screens

4.2.13 Replacing Character Strings

A character string in a program can be searched for and replaced.
The following two methods can be used.
• The applicable character string is searched for and replaced one by one. (To search for the next
character string, press the INPUT key.)
• All applicable character strings in the program are replaced in a batch. (Designate "/G" when setting.)
Operation method
(1) Press the menu
(2) Designate the search character string and
the replace character string.
((Ex.) Search character string: G02
Replace character string: In the
case of G03
G02/G03
(3) Press the
Y or
Press the
N
(4) Press the
Y or
continuing the search/replace.
(5) To end search/replace, press the
String replace .
(Note 1) When batch replacing for all the character strings in the program, add "/G" to the above setting.
Search character string/replace character string/G (Ex.) G02/G03/G
During batch replacement, after replacing all character strings to the end of the program, the
process ends while showing the last character string replaced. Note that the replacement mode
is held, and the character string remains in the input area.
(Note 2) If the program character strings from the current cursor position to the last line are to be
replaced in a batch, add "/E" to the above setting.
Search character string/replace character string/E (Ex.) G02/G03/E
(Note 3) "Executing" is displayed in flickering during string replace.
String replace .
INPUT (Note 1)
INPUT key.
key not to replace.
INPUT key again if
The menu is highlighted.
The cursor appears at the lower input area.
The character string is searched downward from the
character after the current cursor position.
If a character string is discovered, the cursor moves to the
start of that character string, and a
message appears.
If any character string is not found in the program, the cursor
does not move.
The character string is replaced, and a search is performed
for the next applicable character string. (If a batch
replacement is performed, a search is not made as the
replace has been completed.)
"
A
Designated character string not found
when the end of the program is reached.
"
"
Editing
appears if replace is performed.
The same operation as above is performed.
The menu highlight returns to normal, and the character
string in the input area disappears.
The replacement mode is held until the menu key is
pressed.
(The character string remains in the setting area.)
158
4.2 Program Editing
"
"
Replace? (Y/N)
"
message appears

Advertisement

Table of Contents
loading

This manual is also suitable for:

70 series

Table of Contents