EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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
Page #765 background imageLoading...
Page #765 background image
7-391
ZRRDB(P)
1
2
3
4
6
6
7
8
7.18 Other instructions
7.18.4 Direct 1-byte read from file register (ZRRDB(P))
(a) If the value of n has been designated as 23560, the data at the lower 8 bits of ZR11780
will be read.
(b) If the value of n has been designated as 43257, the data at the upper 8 bits of ZR21628
will be read.
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. (Error code: 4101)
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] [List Mode]
[Operation]
b15 b8
b7
b0
ZR11780
43
H
21
H
b15 b8
b7
b0
00
H
21
H
Data is stored
Read destination
designation
n
23560
D
D
b15 b8
b7
b0
ZR21628
93
H
42
H
b15 b8
b7
b0
00
H
93
H
Data is stored
Read destination
designation
n
43257
Step Instruction Device
b15 b8 b7 b0
R16001
R16002
8F
H
25
H
32
H
34
H
42
H
12
H
00
H
93
H
R16000
R16003
Serial byte No. 32000
(Lower bits of R16000)
Serial byte No. 32007
(Upper bits of R16003)
25
H
D100
93
H
D101
00
H
00
H
b15 b8 b7 b0

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals