Del - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

DEL$

Instruction
DELETE STRING
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S1
Text string first word
S2
Number of characters
S3
Beginning position
D
First destination word
S1: Text String
15
S1
Text string data: 4,095 characters max. + NUL
to
S1 + maximum 2,047 words
S2: Number of Characters
(0000 to 0FFF hex or &0 to &4095)
S3: Beginning Position
(0001 to 0FFF hex or &1 to &4095)
Note
• The data from S1 to S1 + the maximum 2,047 words, from S2 to S2 + the maximum 2,047 words, and from D to D +
the maximum 2,047 words must be in the same area.
• The data from S1 to S1 + the maximum 2,047 words and from D to D + the maximum 2,047 words can overlap.
Operand Specifications
Word addresses
Area
CIO
WR
HR
S1, S2
S2, S3
OK
OK
OK
D
1080
Mnemonic
Variations
DEL$
@DEL$
Block program areas
Step program areas
OK
OK
Description
0
to
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
Deletes a designated text string from the middle of
658
a text string.
DEL$
DEL$(658)
S1: Text string first word
S1
S2: Number of characters
S2
S3
S3: Beginning position
D
D: First destination word
Subroutines
OK
Data type
UINT
UINT
UINT
UINT
D: First Destination Word
D + maximum 2,047 words
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
OK
OK
OK
---
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
Variable
1
1
Variable
15
D
Text string data: 4,095 characters max. + NUL
to
to
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
0
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents