Batch Write (Command: Ew) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Batch write (command: EW)

Write 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
E
W
Message wait
45
57
H
H
■Response data
There is no response data for this command.
Data specified by request data
■Command
ACPU common
E
W
45
57
H
H
■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.
■Write data for the number of device points
Store the data to be written in batch.
Communication example
Write data of 3 points (R7010 to R7012) of block number 5 under the following conditions.
• Message wait: 0 ms
• Block number: 5
• Head device: R7010
• Number of device points: 3 points (3 words)
(Request data)
Message wait
Head device No.
E
W
0
0
5
45
57
30
30
35
H
H
H
H
H
17 COMMUNICATING USING 1C FRAMES
376
17.5 Read and Write Extended File Register
Number of
Head device No.
device points
Number of device points (Number of words)
Write data for the number of device points
R
7
0
1
0
0
3
(Decimal : 291)
52
37
30
31
30
30
33
30
H
H
H
H
H
H
H
(R7010 in No.5)
Write data for the number of device points
0
1
2
3
A
B
C
7
(Decimal : 21753) (Decimal : 13090)
31
32
33
41
42
43
37
H
H
H
H
H
H
H
(R7011 in No.5)
3
3
2
2
33
33
32
32
H
H
H
H
H
(R7012 in No.5)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents