Mitsubishi MELSEC Q Series Programming Manual page 767

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

If n 12340 is specified, the data will be written to the lower 8 bits of ZR11170.
Write destination
designation
n
12340
If n 43257 is specified, the data will be written to the upper 8 bits of ZR21628.
Write destination
designation
43257
n
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• A device number (serial byte number) that exceeds the range of allowable designations
has been designated.
Program Example
(1) The following program writes the data at the lower bits of D100 and D101 to the lower bits of
R16000 and the upper bits of R16003 when X0 is turned ON.
[Ladder Mode]
[Operation]
Serial byte No. 32000
(Lower bits of R16000)
Serial byte No. 32007
(Upper bits of R16003)
b15
b8 b7
b0
43
21
ZR11170
H
H
b15
b8 b7
b0
43
54
H
H
b15
b8 b7
b0
ZR21628
12
50
H
H
b15
b8 b7
b0
43
50
H
H
b15
b8 b7
R16000
54
H
R16001
4A
H
R16002
AB
H
R16003
99
H
b15
b8 b7
R16000
54
H
R16001
4A
H
R16002
AB
H
R16003
01
H
b15
b8 b7
S
Ignored
54
b15
b8 b7
S
Ignored
43
[List Mode]
Step
Instruction
b0
b15
b8 b7
D100
Ignored
59
H
BA
H
80
b15
b8 b7
H
D101
Ignored
77
H
b0
10
H
BA
H
80
H
77
H
ZRWRB(P)
b0
H
b0
H
(Error code: 4101)
Device
b0
10
H
b0
01
H
7-393
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents