Mitsubishi Electric MELSEC IQ-R series Reference Manual page 480

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

Advertisement

■Device writing
• Format 1 (sum check enabled), 3C 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
Control code
Frame ID No.
ENQ
3C frame
F
05H
46H
The subtotal of the additional value of binary data = 22BH
Request data
Command
1
4
0
1
31H
34H
30H
31H
The subtotal of the additional value of binary data = 3E0H
Request data
*2
Write data
2
3
32H
33H
The subtotal of the additional value of binary data = 1C2H
*1 The addition result of the sum check range: 22BH + 3E0H + 1C2H = 7CDH
*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)
Control
Frame ID No.
code
ACK
3C frame
F
06H
46H
APPENDICES APPENDIX
478
Appendix 7 Setting Examples
Access route
Station No.
Host station
9
0
0
39H
30H
30H
Subcommand
Device code
0
0
0
0
M
30H
30H
30H
30H
4DH
4
7
A
34H
37H
41H
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
Station No.
Host station
9
0
0
39H
30H
30H
Network No.
0
0
30H
30H
Head device number
*
0
0
0
2AH
30H
30H
30H
B
9
6
42H
39H
36H
6
0 OFF
1 ON
M116
Network No.
0
0
30H
30H
PC No.
Self-station No.
F
F
0
46H
46H
30H
Number of device points
1
0
0
0
0
31H
30H
30H
30H
30H
*1
Sum check code
C
D
43H
44H
PC No.
Self-station No.
F
F
0
46H
46H
30H
0
30H
0
2
30H
32H
0
30H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents