Direct Read (Command: Nr) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

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
N
R
Message wait
Head device No.
4E
52
H
H
■Response data
The value of read device is stored in word units. (Page 74 Read data, write data)
Data specified by request data
■Command
ACPU common
N
R
4E
52
H
H
■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)
Message wait
Head device No.
N
R
0
0
0
1
6
4E
52
30
30
30
31
36
H
H
H
H
H
H
H
(Response data)
Data read
1
2
3
4
7
A
B
C
(Decimal : 4660) (Decimal : 31420)
31
32
33
34
37
41
42
43
H
H
H
H
H
H
H
H
(R8190 in No.2) (R8191 in No.2)
Number of device points
(Number of words)
Number of device points
(Number of words)
3
8
2
0
2
33
38
32
30
32
H
H
H
H
H
17 COMMUNICATING USING 1C FRAMES
17.5 Read and Write Extended File Register
17
381

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents