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 #767 background imageLoading...
Page #767 background image
7-393
ZRWRB(P)
1
2
3
4
6
6
7
8
7.18 Other instructions
7.18.5 File register direct 1-byte write (ZRWRB(P))
If n 12340 is specified, the data will be written to the lower 8 bits of ZR11170.
If n 43257 is specified, the data will be written to the upper 8 bits of ZR21628.
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 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] [List Mode]
[Operation]
b15 b8
b7
b0
ZR11170
43
H
b15 b8
b7
b0
Ignored
Write destination
designation
n
12340
b15 b8b7 b0
43
H
S
21
54
54
H
H
H
b15 b8 b7 b0
ZR21628
50
H
b15 b8 b7 b0
Ignored
Write destination
designation
n
43257
b15 b8 b7 b0
50
H
S
43
H
12
H
43
H
Step Instruction Device
b15 b8
b7
b0
R16001
R16002
54
H
BA
H
80
H
4A
H
AB
H
77
H
R16000
R16003
b15 b8 b7 b0
R16001
R16002
54
H
BA
H
80
H
4A
H
AB
H
77
H
R16000
R16003
Serial byte No. 32000
(Lower bits of R16000)
Serial byte No. 32007
(Upper bits of R16003)
b15 b8
b7
b0
Ignored
D100
b15 b8 b7 b0
Ignored
D101
59
H
99
H
10
H
01
H
10
H
01
H

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