7-3
7.2.3 Data format
The data formats of MBAP Header and PDU are
shown below
■Data format of MBAP Header
*1) In case configuring a length setting which
differs from the specification, it will be
determined as the error and there will be no
response.
■Data format of PDU
The transfer from client (higher-level device) to the
server (P1-EN) and server (P1-EN) to client
(higher-level device) have the same format.
The client (higher-level device) to the server (P1-EN):
Configure an arbitrary ID to identify the transaction.
The server (P1-EN) to the client (higher-level device):
It returns the received data as it is.
The client (higher-level device) to the server (P1-EN):
Configure "0000h".
The server (P1-EN) to the client (higher-level device):
It returns "0000h".
Configure the size of datas united Unit ID (address 6) and PDU
(address 7 to N). (unit: the number of bytes) *1)
The client (higher-level device) to the server (P1-EN):
Configure "FFh".
The server (P1-EN) to the client (higher-level device):
It returns "FFh".
The client (higher-level device) to the server (P1-EN):
Configure an arbitrary Modbus function code.
The server (P1-EN) to the client (higher-level device):
In the case of normal response, it returns the Modbus function
code.
Or in the case of exception response, it returns the code the
Modbus function code concatenated with "80h".
The client (higher-level device) to the server (P1-EN):
Configure the inquiry data.
The server (P1-EN) to the client (higher-level device):
It returns the response data.
Or in the case of exception response, it returns the exception
code.