![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030149.webp)
109
Instruction Functions
Section 2-2
FIND IN STRING
FIND
@FIND$
660
Output
Required
1233
STRING LENGTH
LEN$
@LEN$
650
Output
Required
1235
REPLACE IN
STRING
RPLC$
@RPLC$
661
Output
Required
1237
DELETE STRING
DEL$
@DEL$
658
Output
Required
1240
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
FIND$(660)
S1
S2
D
S1
: Source text
string first word
S2
: Found text
string first word
D
:
First
destination word
→
→
→
Finds a designated text string from within a text string.
Found data
LEN$(650)
S
D
S
: Text string first
word
D
: 1st destination
word
1
3
5
2
4
→
Calculates the length of a text string.
RPLC$(654)
S1
S2
S3
S4
D
S1: Text string
first word
S2: Replacement
text string first
word
S3: Number of
characters
S4: Beginning
position
D: First
destination word
→
→
Replaces a text string with a designated text string from a designated
position.
DEL$(658)
S1
S2
S3
D
S1
: Text string
first word
S2
: Number of
characters
S3
: Beginning
position
D
:
First
destination word
→
G
→
Deletes a designated text string from the middle of a text string.
Number of characters to be
deleted (designated by S2).
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...