Mitsubishi Electric MELSEC IQ-R series Reference Manual page 486

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

Advertisement

■Device writing
• Binary 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)
50H
00H
Request data
Command
Subcomman
d
1401
0000
01H
14H
00H
*1 Monitoring timer (2 bytes) + Request data (14 bytes)
*2 The value of write data corresponds to the access target device as follows.
47
4
7
2
0 1 0 0 0 1 1 1 0 0 1 0 0 0 1 1 1 0 0 1 0 1 1 0 1 0 1 0 1 0 1 1
M107
M100 M115
to
to
2.
Receive the result.
Response message (Normal completion: No response data)
Subheader
3E frame (response)
D0H
00H
*1 End code (2 bytes)
APPENDICES APPENDIX
484
Appendix 7 Setting Examples
Access route
Network No.
PC No.
Host station
00H
FFH
Head device
number
100
00H
64H
00H
00H
23
96
AB
H
H
H
H
3
9
6
A
M108 M123
M116 M131
to
to
Access route
Network No.
PC No.
Host station
00H
FFH
Request
Request
destination
destination
module I/O No.
module station
No.
FFH
03H
00H
Device code
Number of
device points
M
2
90H
02H
B
0 = OFF
1 = ON
M124
Request
Request
destination
destination
module I/O No.
module station
No.
FFH
03H
00H
Request data
*1
length
16
10H
00H
*2
Write data
M100 to M115
00H
47H
23H
Response data
*1
length
2
02H
00H
Monitoring timer
4 seconds
10H
00H
M116 to M131
96H
ABH
End code
0000H
00H
00H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents