![YOKOGAWA F3SP71-4S Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/yokogawa/f3sp71-4s/f3sp71-4s_user-manual_3445797018.webp)
2-2
IM 34M06P15-03E 2nd Edition: Jan. 31, 2012-00
2.3
Data
Frames
The specifications of the Modbus/TCP data frames are as shown below.
F020301.VSD
Ethernet
Header
IP
Header
TCP
Header
Application Data
(Modbus/TCP ADU)
FCS
MBAP Header
PDU
Transaction
ID
Protocol
ID
Length
Unit ID
Function
Code
Data
Figure 2.3.1 Modbus/TCP Data Frames
z
MBAP Header
The Modbus Application Protocol (MBAP) header consists of seven bytes.
Table 2.3.1 MBAP Header
Name Size
Description
Transaction ID
2-byte
Freely selected value is specified to identify transactions of the master device.
The slave returns the received value.
Protocol ID
2-byte
"0" is specified if using the Modbus/TCP application protocol.
Length
2-byte
Byte count from after the unit ID.
Unit ID
1-byte
Used by the master when specifying the slave connected to another line via a
gateway or similar method.
Specifies the CPU number (1 to 4) executing commands.
*1
The slave returns the received value.
*1:
The CPUs that can be specified are the sequence CPU F3SP22/28/38/53/58/59/66/67/71/76. It cannot be executed
for other CPUs.
Tip
"1" is specified for the unit ID if the access target is the CPU inserted into slot 1.
"2" is specified for the unit ID if the access target is the CPU inserted into slot 2 with the CPU
connected using Modbus/TCP is inserted in slot 1.
z
PDU
The Protocol Data Unit (PDU) is configured as follows.
Table 2.3.2 PDU
Name Size
Description
Function code
1-byte
Processing contents for the slave from the master.
Data
1 to 252 bytes
Parameters for the function code.
Содержание F3SP71-4S
Страница 2: ...Blank Page Blank Page...
Страница 12: ...Blank Page...
Страница 32: ...Blank Page...
Страница 48: ...Blank Page...
Страница 50: ...Blank Page...