EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Direct Read (Command: NR)

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...
17 COMMUNICATING USING 1C FRAMES
17.5 Read and Write Extended File Register
381
17
Direct read (command: NR)
Read 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
The value of read device is stored in word units. (Page 74 Read data, write data)
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.
Communication example
Read data of 2 points (R8190 and R8191) of block number 2 under the following conditions.
Message wait: 0 ms
Block number: 2
Head device: R8190
Number of device points: 2 points (2 words)
(Request data)
(Response data)
ACPU common
NR
4E
H
52
H
Message wait Head device No.
Number of device points
(Number of words)
NR
4EH 52H
NR
4E
H
52
H
30
H
8
31
H
38
H
32
H
02
30
H
32
H
20
30
H
30
H
00 1
33
H
6
36
H
3
Message wait
Head device No.
Number of device points
(Number of words)
7AB C1234
32
H
33
H
34
H
31
H
41
H
42
H
43
H
37
H
Data read
(Decimal : 4660) (Decimal : 31420)
(R8190 in No.2) (R8191 in No.2)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals