EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 585

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.11 Character String Processing Instructions
583
7
Program example
The following program stores the 3rd character through the 6th character from the left of the character string stored in the
area starting from D10 at devices starting from D0 when X0 is turned ON.
The following program stores 4 characters of the character string data stored in the area starting from D0 into the area
starting from the 3rd character from the left of the character string data in the area starting from D100 when X0 is turned
ON.
[Ladder Mode] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
Instruction
Device
Step
3
4R1
R0
D11
42
H
(B)41
H
(A)
32
H
(2)31
H
(1)
33
H
(3)46
H
(E)D12
D13
"BA213ED"
45
H
(D)00
H
D10
D1
32
H
(2)31
H
(1)
33
H
(3)46
H
(E)
D2
00
H
"213E"
D0
b15 b8b7 b0
b15 b8b7 b0
Instruction
Device
Step
3
4
R1
R0
D1
32
H
(2)31
H
(3)
46
H
(F)45
H
(E)
30
H
(0)33
H
(3)
D2
D3
"21FE03"
00
H
D0
D101
55
H
(U)53
H
(S)
43
H
(C)59
H
(Y)
D102
"USCYZ10B"
D100
5A
H
(Z)31
H
(1)
30
H
(0)42
H
(B)
00
H
D103
D104
Before execution
D101
55
H
(U)53
H
(S)
32
H
(2)31
H
(1)
D102
"US21FE0B"
D100
46
H
(F)45
H
(E)
30
H
(0)42
H
(B)
00
H
D103
D104
After execution
b15 b8b7
b0 b15 b8b7 b0
b15 b8b7 b0

Table of Contents

Related product manuals