Text String Processing Instructions - Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual

Function blocks
Table of Contents

Advertisement

Instruction Support and Operand Restrictions

2-6-31 Text String Processing Instructions

Instruction
Mnemonic
MOV STRING
MOV$
@MOV$
CONCATENATE
+$
STRING
@+$
GET STRING LEFT
LEFT$
@LEFT$
GET STRING
RGHT$
RIGHT
@RGHT$
GET STRING MID-
MID$
DLE
@MID$
FIND IN STRING
FIND$
@FIND$
STRING LENGTH
LEN$
@LEN$
Function
Symbol
code
664
MOV$
S
D
656
+$
S1
S2
D
652
LEFT$
S1
S2
D
653
RGHT$
S1
S2
D
654
MID$
S1
S2
S3
D
660
FIND$
S1
S2
D
650
LEN$
S
D
Operands
Supported
variable
data types
S: 1st source word
UINT
D: 1st destination
UINT
word
S1: Text string 1
INT
S2: Text string 2
INT
D: First destination
INT
word
S1: Text string first
UINT
word
S2: Number of
UINT
characters
D: First destination
UINT
word
S1: Text string first
UINT
word
S2: Number of
UINT
characters
D: First destination
UINT
word
S1: Text string first
UINT
word
S2: Number of
UINT
characters
S3: Beginning posi-
UINT
tion
D: First destination
UINT
word
S1: Source text
UINT
string first word
S2: Found text
UINT
string first word
D: First destination
UINT
word
S: Text string first
UINT
word
D: 1st destination
UINT
word
Section 2-6
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
Yes (not
fixed)
Yes (not
fixed)
Yes (not
fixed)
Yes (not
fixed)
Yes (not
fixed)
Yes (not
fixed)
---
Yes (not
fixed)
Yes (not
fixed)
---
Yes (not
fixed)
Yes (not
fixed)
---
---
Yes (not
fixed)
Yes (not
fixed)
Yes (not
fixed)
---
Yes (not
fixed)
---
101

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents

Save PDF