494
STRDEL, STRDELP
Program
E
xamp
l
e
(1) The following program inserts the character string data stored in the device D0 and up to the fourth device from the initial
character string data stored in D20 and up, when M0 is turned on.
[Ladder Mode]
[List Mode]
[Operation]
: Head number (character string) of the devices where character strings to be deleted are stored
n1
: Deletion start position (Setting range 1
n1
16383) (BIN 16 bits)
n2
: Number of characters to be deleted (Setting range 1
n2
16384-n1) (BIN 16 bits)
7.11.19 STRDEL, STRDELP
Deletion of character string
7.11.19
STRDEL, STRDELP
• QnU(D)(H)CPU, QnUDE(H)CPU: The serial number (first five
digits) is "10102" or later.
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
Other
Bit
Word
Bit
Word
K, H
––
––
––
––
n1
––
––
n2
––
––
Step
I
nstruct
i
on
De
vi
ce
P
R
O
5
8
4
G
R
A
M
A
B
C
D
50
H
(P)
52
H
(R)
4F
H
(O)
35
H
(5)
38
H
(8)
3
4
H
(
4
)
4
7
H
(G)
52
H
(R)
4
2
H
(B)
44
H
(D)
4
1
H
(A)
4
3
4
D
H
(M)
4
1
H
(A)
H
(C)
00
H
D0
character
str
i
ng
D0
35
H
(5)
38
H
(8)
D1
3
4
H
(
4
)
00
H
D20
50
H
(P)
52
H
(R)
4F
H
(O)
4
7
H
(G)
52
H
(R)
4
1
H
(A)
4
D
H
(M)
4
1
H
(A)
4
2
H
(B)
4
3
H
(C)
00
H
44
H
(D)
D21
D22
D23
D2
4
D25
D20
D21
D22
D23
D2
4
D25
D26
D27
5
8
4
D20
character
str
i
ng
I
nserted
bet
w
een
"
O
"
and
"
G
"
F
ourth
character
from
the
l
eft
(
I
nsert
pos
i
t
i
on)
D20
character
str
i
ng
Befor
i
nsert
i
on
After
i
nsert
i
on
P
R
O
G
R
A
M
A
B
C
D
D20
character
str
i
ng
Bas
i
c
Hi
gh
performance
Process
Redundant
Universal
LCPU
Ver.
STRDEL
STRDELP
S
T
RD
EL
S
T
RD
EL
P
n2
n2
D
n1
n1
D
Command
Command
D
D