Mitsubishi MELSEC Q Series Programming Manual page 765

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

Advertisement

(a) If the value of n has been designated as 23560, the data at the lower 8 bits of ZR11780
will be read.
n
23560
(b) If the value of n has been designated as 43257, the data at the upper 8 bits of ZR21628
will be read.
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 reads the lower bits of ZR16000 and the upper bits of R16003, and
stores results at D100 and D101 when X0 is ON.
[Ladder Mode]
[Operation]
Serial byte No. 32000
(Lower bits of R16000)
Serial byte No. 32007
(Upper bits of R16003)
Read destination
b15
b8 b7
designation
ZR11780
43
H
Read destination
b8 b7
b15
designation
93
ZR21628
H
b15
R16000
8F
H
R16001
42
H
R16002
12
H
R16003
93
H
b0
b15
21
D
H
Data is stored
b0
b15
D
42
H
Data is stored
[List Mode]
Step
Instruction
b8 b7
b0
b15
25
D100
00
H
32
D101
00
H
34
H
00
H
ZRRDB(P)
b8 b7
b0
00
21
H
H
b8 b7
b0
00
93
H
H
(Error code: 4101)
Device
b8 b7
b0
25
H
H
93
H
H
7-391
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