Text String Processing Instructions - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
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
MIDDLE
MID$(654)
MID$
@MID$
654
S1: Text string
first word
S2: Number of
characters
S3: Beginning
position
D: First
destination word
108
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
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Page
1222
1224
1227
1229
1231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents