Text String Processing Instructions - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

2-2-32 Text String Processing Instructions

Instruction
Symbol/Operand
Mnemonic
Code
MOV STRING
MOV$(664)
MOV$
@MOV$
664
S: 1st source
word
D: 1st destination
word
CONCATENATE
+$(656)
STRING
+$
@+$
656
S1: Text string 1
S2: Text string 2
D: First
destination word
GET STRING
LEFT$(652)
LEFT
LEFT$
@LEFT$
652
S1: Text string
first word
S2: Number of
characters
D: First
destination word
GET STRING
RIGHT
RGHT$(653)
RGHT$
S1
@RGHT$
653
S2
S1: Text string
first word
S2: Number of
characters
D: First
destination word
GET STRING
MIDDLE
MID$(654)
MID$
@MID$
654
S1: Text string
first word
S2: Number of
characters
S3: Beginning
position
D: First
destination word
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Transfers a text string.
S
D
Links one text string to another text string.
S1
S2
D
Fetches a designated number of characters from the left (beginning)
of a text string.
S1
S2
D
Reads a designated number of characters from the right (end) of a
text string.
D
Reads a designated number of characters from any position in the
middle of a text string.
S1
S2
S3
D
Function
+
00
2. Summary of Instructions
Location
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Page
1066
1067
2
1069
1069
1072
119

Advertisement

Table of Contents
loading

Table of Contents