![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030148.webp)
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.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...