EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
108
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
1221
CONCATENATE
STRING
+$
@+$
656
Output
Required
1223
GET STRING
LEFT
LEFT$
@LEFT$
652
Output
Required
1226
GET STRING
RIGHT
RGHT$
@RGHT$
653
Output
Required
1228
GET STRING
MIDDLE
MID$
@MID$
654
Output
Required
1230
MOV$(664)
S
D
S: 1st source
word
D: 1st destination
word
Transfers a text string.
+$(656)
S1
S2
D
S1: Text string 1
S2: Text string 2
D: First
destination word
+
Links one text string to another text string.
→→
LEFT$(652)
S1
S2
D
S1: Text string
first word
S2: Number of
characters
D: First
destination word
Fetches a designated number of characters from the left (beginning)
of a text string.
RGHT$(653)
S1
S2
D
S1: Text string
first word
S2: Number of
characters
D: First
destination word
00
Reads a designated number of characters from the right (end) of a
text string.
MID$(654)
S1
S2
S3
D
S1: Text string
first word
S2: Number of
characters
S3: Beginning
position
D: First
destination word
Reads a designated number of characters from any position in the
middle of a text string.

Table of Contents

Related product manuals