Batch Write (Command: Tw) - 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: TW)

Write data to the buffer memory of a special function module.
Message format
The following shows the message format of the request data and response data of the command.
■Request data
T
W
Message wait
54
57
H
H
■Response data
There is no response data for this command.
Data specified by request data
■Command
ACPU common
T
W
54
57
H
H
■Message wait
Specify the delayed time of the response transmission. (Page 347 Message wait)
■Start address
Specify the start address of the buffer memory to be written in five digits. (Page 386 Start address)
■Byte length
Convert the numerical value to 2-digit ASCII code (hexadecimal), and send it from the upper digits.
Specify the byte length within the following ranges:
• 1  Byte length  128
■Special function module No.
Specify in two characters. (Page 386 Special function module No.)
■Write data
Store the data written to buffer memory.
The content of one data may cross 2 or 3 bytes depending on the special function module. For the
specifications of byte length, refer to the manual of each module.
Communication example
Write data of 4 bytes under the following conditions.
• Message wait: 0 ms
• Start address: 27FAH
• Byte length: 4 bytes
• Special function module No.: 13 (input/output signals are 120H to 13FH)
(Request data)
Message wait
Start address
T
W
0
0
2
54
57
30
30
32
H
H
H
H
H
17 COMMUNICATING USING 1C FRAMES
388
17.6 Read and write Buffer Memory of Special Function Module
Start address
Byte length
Special function module No.
Byte length
7
F
A
0
4
1
3
37
46
41
30
34
31
33
H
H
H
H
H
H
H
Special function
Write data
module No.
Write data
0
1
C
D
A
B
E
30
31
43
44
41
42
45
H
H
H
H
H
H
H
27FAH
27FCH
Buffer memory
Start address
(27FAH)
F
(27FCH)
46
H
CD01H
EFABH

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents