Mitsubishi Electric QJ71MB91 User Manual page 287

Modbus interface module
Table of Contents

Advertisement

10
DEDICATED INSTRUCTIONS
Remark
Address field
Function code
Function code
Target station
(17
)
No.
H
(01
)
H
In this sample program, the following MODBUS frames are used for the
communication with the slave.
Request message format (Master (QJ71MB91)
Read head
Read points
holding register
n
number
(0064
)
H
(2AF7
)
H
(H)
(L)
(L)
(H)
Response message format (Slave
Address field
Function code
Function code
Host station No.
Number
(17
)
(01
)
of bytes
H
H
Data
Write head
Number of
Number
of bytes
holding register
write points
number
m
(0040
(01F3
)
(0020
)
H
H
(L)
(L)
(H)
(H)
Master (QJ71MB91))
Data
Read device data
1
n x 2
(value of 411000)
(C8
)
H
(H)
(L)
Slave)
Write device
Write device
data
m x 2
1
)
(value of W0000)
(value of W001F)
H
(L)
(H)
(H)
(Number of bytes m x 2)
Read device data
n
(value of 411099)
(H)
(Number of bytes n x 2)
10.2 Z(P).MBRW
9
10
data
m
11
(L)
(L)
10
- 13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw1d5c-qmbu-e

Table of Contents