![YOKOGAWA VZ20X User Manual Download Page 105](http://html1.mh-extra.com/html/yokogawa/vz20x/vz20x_user-manual_3498955105.webp)
7-38
IM 77V01B01-01EN
5th Edition: 2023.03.07-00
●
PDU configuration
The PDU (Protocol Data Unit) comprises the following n bytes.
Byte No.
0
1 to (n-1)
Description
Function code
Data
Function code: Specify the command from the host device.
Data: Specify the register No. and number of internal registers, parameter values, etc.
according to the function code.
The following example explains action for function code 03.
(Example) Function code 03 Read multiple registers
For details on the response format when an error occurs, refer to the response error
code.
●
Request (during normal operation) Read n items of data
MBAP Header
PDU
Number of
bytes
2
2
2
1
1
2
2
Command
elements
Transfer
ID
Protocol
ID
Number of
bytes
Unit ID Function
code
Register
start No.
(Hex
number)
Number of
registers
(Hex)
Arbitrary
0000
0006
01
03
n
The register start no. is the value obtained by subtracting 40001 from the register
number (reference number).
●
Response (during normal operation)
MBAP Header
Number of
bytes
2
2
2
1
Command
elements
Transfer
ID
Protocol
ID
Number of
bytes
Unit ID
(Hex)
Arbitrary
0000
2n+3
01
Continuation of response
PDU
1
1
2
2
Function
code
Byte
count
Register
content
...
Register
content n
03
2n
Summary of Contents for VZ20X
Page 16: ...Contents 3 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Revision Information 1...
Page 17: ...Contents 4 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...
Page 23: ...2 2 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...
Page 29: ...3 6 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...
Page 145: ...9 10 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...
Page 149: ...App 4 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...