EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Batch Write (Command: TW)

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...
388
17 COMMUNICATING USING 1C FRAMES
17.6 Read and write Buffer Memory of Special Function Module
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
Response data
There is no response data for this command.
Data specified by request data
Command
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)
ACPU common
TW
54
H
57
H
Message wait Start address Write data
Byte length
Special function
module No.
TW
54H 57H
CD01H
EFABH
(27FCH)
(27FAH)
27FAH 27FCH
TW
54
H
57
H
30
H
F
37
H
46
H
41
H
04
30
H
34
H
A2
32
H
30
H
00 7
31
H
3
33
H
1
30
H
D
43
H
44
H
1
31
H
0C
41
H
F
45
H
46
H
B
42
H
AE
Special function module No.
Message wait
Start address Write data
Byte length
Buffer memory
Start address

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals