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

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
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
1221
1223
1226
1228
1230

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents