
Chapter 1 Built-in FEnet communication
1-24
Buil
t-
in
Comm
(2)
MBAP Header structure
Type
Size
Description
Client
Server
Transaction
Identifier
2byte
Separation of
MODBUS
request/response
processing
Initialized by the client
When the server
responds, it is copied
and responded.
Protocol
Identifier
2byte
0 = MODBUS protocol Initialized by the client
When the server
responds, it is copied
from the request frame.
2byte
Frame size except
MBAP
Created by the client
(On request)
Created by the server
(In case of response)
Unit Identifier
1byte
Separation of units
connected to the serial
line
Initialized by the client
When the server
responds, it is copied
from the request frame
(3)
Available function codes
Function codes
Function
Modbus transcription
Function Code 01 (h01)
Reading output bit
Read Coils
Function Code 02 (h02)
Reading input bit
Read Discrete Inputs
Function Code 03 (h03)
Reading output word
Read Holding Registers
Function Code 04 (h04)
Reading input word
Write Input Register
Function Code 05 (h05)
Writing output bit
Write single Coil
Function Code 15 (h0F)
Writing output bit
sequentially
Write Multiple Coils
Function Code 16 (h10)
Writing output word
sequentially
Write Multiple Registers
2) Frame structures by function codes
(1)
Function code h01 : Reading output bit (Read Coils)
• Request
Items
Size
Range
Function code
1 byte
h01
Initial address
2 bytes
h0000 ~ hFFFF
Number of coils
2 bytes
h0001 ~ h07D0 (2000 bit)
• Response
Items
Size
Range
Function code
1 byte
h01
Number of bytes
2 bytes
N
Coil status
n byte
n = N or N + 1
• Error
Items
Size
Range
Function code
1 byte
h81 (function code+ h80)
Exceptional code
1 byte
h01,h02,h03,h04
Содержание XBE-DC08A
Страница 124: ...Main Chapter 1 Configuration and Operation Mode of Programs 1 27 1 Memory block diagram ...
Страница 155: ...Main Chapter 2 CPU Function 2 29 Notice For more details on the monitor refer to the XG5000 manual ...
Страница 504: ...Position Chap 6 Commands 6 61 6 11 Function blocks related to Servo Drive ...
Страница 512: ...Positioning Chapter 7 Program 7 8 manual operation 7 1 4 Parameter and Operation Data Setting 1 Parameter Setting ...
Страница 644: ...Positioning Chapter 8 Functions 8 91 ...
Страница 727: ...Positioning Chapter 9 Positioning Error Information Solutions 9 13 ...
Страница 861: ...Special Chapter 1 Embedded Analog 1 39 5 Select View Variables Comments Variables and comments are both displayed ...
Страница 1206: ...Appendix 2 Dimension App2 1 Appendix 2 Dimension Unit mm 1 CPU Type XEC DN32U 2 Positioning Type XEC DN32UP ...
Страница 1207: ...Appendix 2 Dimension App2 2 2 Analog Type XEC DN32UA ...
Страница 1209: ...Appendix 2 Dimension App2 4 XBE DC08A XBE DC16A XBE TN08A XBE TN16A XBE DR16A XBE RY08A ...
Страница 1210: ...Appendix 2 Dimension App2 5 4 Extension Cnet I F Module XBL C41A XBL C21A ...