Text String Processing Instructions - Omron CS1G/H-CPUxxH Instructions Manual

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Instruction Functions

2-2-31 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$
@RGHT$
653
S1: Text string
first word
S2: Number of
characters
D: First
destination word
GET STRING
MID$(654)
MIDDLE
MID$
@MID$
654
S1: Text string
first word
S2: Number of
characters
S3: Beginning
position
D: First
destination word
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.
S1
S2
D
Reads a designated number of characters from any position in the
middle of a text string.
S1
S2
S3
D
Function
+
00
Section 2-2
Location
Page
Execution
condition
Output
1013
Required
Output
1015
Required
Output
1018
Required
Output
1020
Required
Output
1022
Required
97

Advertisement

Table of Contents
loading

Table of Contents