17 COMMUNICATING USING 1C FRAMES
17.5 Read and Write Extended File Register
375
17
Batch read (command: ER)
Read extended file register (R) in 1-point units.
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 block number and 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 12 under the following conditions.
• Message wait: 0 ms
• Block number: 12
• Head device: R8190
• Number of device points: 2 points (2 words)
(Request data)
(Response data)
ACPU common
ER
45
H
52
H
Message wait Head device No.
Number of device points
(Number of words)
ER
45
H
52
H
31
H
8
52
H
38
H
31
H
02
30
H
32
H
12
32
H
30
H
01 R 9
39
H
30
H
0
Message wait
Number of device points
(Number of words)
Head device No.
7ABC1234
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.12) (R8191 in NO.12)