![Omron CJ1G-CPUxx Instructions Manual Download Page 118](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491118.webp)
97
Instruction Functions
Section 2-2
2-2-31 Text String Processing Instructions
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
MOV STRING
MOV$
@MOV$
664
Output
Required
CONCATENATE
STRING
+$
@+$
656
Output
Required
GET STRING
LEFT
LEFT$
@LEFT$
652
Output
Required
GET STRING
RIGHT
RGHT$
@RGHT$
653
Output
Required
GET STRING
MIDDLE
MID$
@MID$
654
Output
Required
S: 1st source
word
D: 1st destination
word
MOV$(664)
S
D
Transfers a text string.
S1: Text string 1
S2: Text string 2
D: First
destination word
+$(656)
S1
S2
D
+
Links one text string to another text string.
→
→
→
→
S1: Text string
first word
S2: Number of
characters
D: First
destination word
LEFT$(652)
S1
S2
D
Fetches a designated number of characters from the left (beginning)
of a text string.
S1: Text string
first word
S2: Number of
characters
D: First
destination word
RGHT$(653)
S1
S2
D
Reads a designated number of characters from the right (end) of a
text string.
00
S1: Text string
first word
S2: Number of
characters
S3: Beginning
position
D: First
destination word
MID$(654)
S1
S2
S3
D
Reads a designated number of characters from any position in the
middle of a text string.
→
→
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...