Mitsubishi MELSEC-Q/L Programming Manual page 262

Table of Contents

Advertisement

$MOV, $MOVP
(2) Processing will be performed without error even in cases where the range for the devices storing the character data to be
transferred (
to
+n) overlaps with the range of the devices which will store the character string data after it has been
S
S
transferred (
to
+n).
D
D
The following occurs when the character string data that had been stored from D10 to D13 is transferred to D11 to D14:
b15
b8
b7
b0
D10
32
(2)
31
(1)
H
H
D11
34
(4)
33
(3)
H
H
D12
36
(6)
35
(5)
H
H
D13
00
H
D14
(3) If the "00
" code is being stored at lower bytes of
H
of
+n.
D
b15
b8 b7
S
42
(B)
41
(A)
H
H
S
+1
44
(D)
43
(C)
H
H
S
+2
45
(E)
00
H
H
Upper byte is not transferred.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
There is no "00
" code stored in the devices between the device
H
number specified by
The entire character string cannot be stored in the points between the
4101
device number specified by
corresponding device.
The character string of
Program Example
(1) The character string data stored in D10 to D12 is transferred to D20 to D22 when X0 goes ON.
[Ladder Mode]
[Operation]
b15
b8 b7
b0
D10
4D
(M)
2A
( * )
H
H
D11
45
(E)
45
(E)
H
H
00
D12
H
(2) When X0 is turned ON, the character string "ABCD" is transferred to D20 and D21.
[Ladder Mode]
260
b15
b8
b7
32
(2)
31
D10
H
32
(2)
31
D11
H
34
(4)
33
D12
H
36
(6)
35
D13
H
00
D14
H
S
b0
b15
b8 b7
D
42
(B)
41
H
D
+1
44
(D)
43
H
D
00
00
+2
H
At the upper byte position,
"00
" is automatically stored.
H
Error details
and the corresponding device number.
S
and the last device number of the
S
exceeds 16383 characters.
S
[List Mode]
Step
b15
b8 b7
D20
4D
(M)
2A
H
D21
45
(E)
45
H
D22
00
H
[List Mode]
Step
b0
(1)
Character string before
H
transfer is remained.
(1)
H
(3)
H
(5)
H
+n, "00
" will be stored at both the higher bytes and the lower bytes
H
b0
(A)
H
(C)
H
H
Q00J/
Q00/
QnH
Q01
Instruction
Device
b0
( * )
H
(E)
H
Instruction
Device
QnPH QnPRH
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents