A-2-31 Text String Processing Instructions - Omron CJ2 - 02-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

Appendices
A-2-31
Text String Processing Instructions
Instruction
Mnemonic
MOV STRING
MOV$
CONCATENATE
+$
STRING
GET STRING LEFT
LEFT$
GET STRING RIGHT
RGHT$
GET STRING MIDDLE MID$
FIND IN STRING
FIND$
STRING LENGTH
LEN$
REPLACE IN STRING
RPLC$
DELETE STRING
DEL$
EXCHANGE STRING
XCHG$
CLEAR STRING
CLR$
INSERT INTO
INS$
STRING
String Comparison
=$
Instructions
<>$
<$
<=$
>$
=$
*1 The instruction execution time is greatly affected by the amount to data. This will affect the cycle time. To reduce the effect
on the cycle time, background execution can be specified. Refer to 10-2-5 Background Execution for details.
A-102
Length
FUN No.
(steps)
CPU6@(-EIP)
664
3
31.5
656
4
56
652
4
33.5
653
4
33.4
654
5
32.3
660
4
30.3
650
3
14.0
661
6
110
658
5
45.6
665
3
40.3
666
2
15.9
657
5
85
670
4
27.0
671
672
673
674
675
ON execution time (µs)
CJ2H
CJ2M-CPU@@
58.3
104
62.2
62.1
60.8
56.3
24.9
213
86.8
75.4
28.3
162
50.9
CJ2 CPU Unit Software User's Manual
Conditions
Transferring 1 char-
*1
acter
1 character + 1 char-
*1
acter
Retrieving 1 charac-
ter from 2 charac-
*1
ters
Retrieving 1 charac-
ter from 2 charac-
*1
ters
Retrieving 1 charac-
ter from 3 charac-
*1
ters
Searching for 1 char-
acter from 2 charac-
*1
ters
Detecting 1 charac-
*1
ter
Replacing the first of
2 characters with 1
*1
character
Deleting the leading
character of 2 char-
*1
acters
Exchanging 1 char-
acter with 1 charac-
*1
ter
Clearing 1 charac-
*1
ter
Inserting 1 character
after the first of 2
*1
characters
Comparing 1 charac-
ter with 1 character

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents