EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Direct Write (Command: NW)

Mitsubishi Electric MELSEC iQ-R Series
498 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
Loading...
382
17 COMMUNICATING USING 1C FRAMES
17.5 Read and Write Extended File Register
Direct write (command: NW)
Write extended file register in 1-point (1 word) units by specifying the consecutive device number of extended file register.
Message format
The following shows the message format of the request data and response data of the command.
Request data
Response data
There is no response data for this command.
Data specified by request data
Command
Message wait
Specify the delayed time of the response transmission. (Page 347 Message wait)
Head device No.
Specify the device number of head device with 7 digits. (Page 374 Device number)
Number of device points
Convert the numerical value to 2-digit ASCII code (hexadecimal), and send it from the upper digits.
Specify the number of device points within the following range:
•1 Number of device points 64
Head device No. + Number of device points - 1 Maximum device No.
Write data for the number of device points
Store 4-digit data per one device point.
Communication example
Write data of 3 points under the following conditions.
Message wait: 0 ms
Write data: Write R8190 and R8191 of block number 12 and RO of block number 13.
(When the extended file register of block number 1 to 8 and 10 to 13 exist.)
Number of device points: 3 points (3 words)
(Request data)
ACPU common
NW
4E
H
57
H
Message wait Head device No.
Number of
device points
Write data for the number of device points
NW
4EH 57H
NW
4E
H
57
H
30
H
1
31
H
31
H
30
H
03
30
H
33
H
00
30
H
30
H
00 19
39
H
0
30
H
33
H
32
H
32
H
33
H
31
H
32
H
33
H
30
H
42
H
43
H
37
H
41
H
33 22AB C 701 2 3
Message wait
Number of device points (Number of words)
Head device No. Write data for the number of device points
(Decimal : 291)
(Decimal : 21753) (Decimal : 13090)
(R8190 in No.12) (R8191 in No.12) (R0 in No.13)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals