Mitsubishi Electric MELSEC IQ-R series Reference Manual page 484

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

Advertisement

■Device writing
• ASCII code, 3E frame
• Access target: QCPU of the connected station (host station)
• Command: Batch write in word units (command: 1401)
• Device: M100 to M131 (for 2 words)
1.
Write values to devices.
Request message
Subheader
3E frame (request)
5
0
0
0
35H
30H
30H
30H
Request data
Command
1
4
0
1
31H
34H
30H
31H
Request data
*2
Write data
2
3
32H
33H
*1 Monitoring timer (4 bytes) + Request data (28 bytes)
*2 The value of write data corresponds to the access target device as follows.
2
3
32
33
H
H
2
3
4
0 0 1 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1 0
M115
to
2.
Receive the result.
Response message (Normal completion: No response data)
Subheader
3E frame (response)
D
0
0
0
44H
30H
30H
30H
*1 End code (4 bytes)
APPENDICES APPENDIX
482
Appendix 7 Setting Examples
Access route
Network
PC No.
Request destination
No.
module I/O No.
Host station
0
0
F
F
0
30H
30H
46H
46H
30H
Subcommand
Device code
0
0
0
0
M
30H
30H
30H
30H
4DH
4
34H
4
7
A
B
9
6
34
37
41
42
39
36
H
H
H
H
H
H
7
A
B
9
M100 M131
to
Access route
Network
PC No.
Request destination
No.
module I/O No.
Host station
0
0
F
F
0
30H
30H
46H
46H
30H
Request
destination
module
station No.
3
F
F
0
33H
46H
46H
30H
Head device number
*
0
0
2AH
30H
30H
7
A
37H
41H
6
0 OFF
1 ON
M116
Request
destination
module
station No.
3
F
F
0
33H
46H
46H
30H
Request data
*1
length
32
0
0
0
2
0
30H
30H
30H
32H
30H
Number of device points
0
1
0
0
0
30H
31H
30H
30H
30H
B
9
42H
39H
Response data
*1
length
4
0
0
0
0
4
30H
30H
30H
30H
34H
Monitoring timer
4 seconds
0
0
1
0
30H
30H
31H
30H
0
0
2
30H
30H
32H
6
36H
End code
0000H
0
0
0
0
30H
30H
30H
30H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents