Mitsubishi FX3U Series User Manual page 53

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
Series Programmable Controllers
3U
User's Manual - MODBUS Serial Communication Edition
3) How to see the request/response message formats provided in Section 7.4 to 7.18:
a) Request/Response message format diagram
The following shows how to see the request/response message format diagrams
provided in Section 7.4 to 7.18.
Area name
Frame contents
[For request message format]
Setting range
[For response message format]
Value stored to the
response message
b) Frame mode of the message format
The messages shown in Section 7.4 to 7.18 are displayed in RTU format.
For use in ASCII mode, convert the values into ASCII codes.
(Conversion example)
(ASCII mode)
Function code
Function code
0
1
(30
)
(31
)
H
H
(L)
(H)
c) Response message format
The response message formats issued from the slave to the master differs depending on whether the
slave has normally completed or failed to handle the requested processing (read/write, diagnostics,
etc.)
The formats for normal and error completions are shown in Section 7.4 to 7.18.
Function code
Head coil number
Function
(0000
to FFFF
code
H
(01
)
H
(H)
1 byte (8 bits)
1 byte (8 bits)
. . .
(RTU mode)
Function code
Function
Head coil number
code
(006E
H
(01
)
H
(H)
Data
Head coil number
0
0
6
(30
)
(30
)
(36
)
H
H
H
(H)
7.3 Protocol Data Unit Formats by Commands
Data
Read points
)
(0001
to 07D0
H
H
(L)
(H)
When a single data is expressed by 2 bytes,
set the upper byte (8 bits) as (H) and the lower
byte (8 bits) as (L). Note: no switching of the
high and low byte takes place (big endian).
Data
Read points
)
(003F
)
H
(H)
(L)
(L)
Convert RTU mode to ASCII mode
E
0
(45
)
(30
)
H
H
(L)
(H)
7 MODBUS Standard Commands
)
H
(L)
Data
Read points
0
3
F
(30
)
(33
)
(46
)
H
H
H
(L)
49
1
2
3
4
5
6
7
8
9
10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents