sinee — 12.3.3.4 Diagnosis Function Code 0x08

EM600 High-Performance Vector Control Inverter User Manual ★ This function code can not be used to change parameters of “○” property (unavailable to be modified during inverter running), i.e., user can only operate parameters of “●” property (available to be modified during inverter running). If user tries to modify “○” property, error code 1 will be returned. 12.3.3.4 Diagnosis Function Code 0x08 Function code 08 of Modbus offers a series of tests for checking the communication system between client end (master) and server (slave) or checking various internal error status in the server. This function uses 2-byte sub-function code field in inquiry to define the executed test type.

In normal response, the server will copy function code and sub-function code. Some deagnostic functions can cause remote device to return corresponding data through normal response data field. Generally, sending diagnosis function command to a remote device will not affect user program in the remote device. Diagnosis function can not have access to user logic, for example discrete magnitude and register. Some functions can be used to reset error counter in recent device. Diagnosis function of our products is mainly line diagnosis (0000) and used for testing normal communication of master and slaves.

Normal response to inquiry data request shall return the same data and copy function code and the sub-function code.  Request PDU  Response PDU  Incorrect PDU  Sub-Function Code 0000: Return data transmitted in request data field in response. All messages shall be the same like request messages. The following is an example of requesting remote device to return inquiry data. It uses sub-function code 0000. Using 2-byte data field (0xA537) to return data.

257 Function Code 1 byte 0x08 Sub-Function Code 2 bytes 0x0000 - 0xFFFF Data 2 bytes 0x0000 - 0xFFFF Function Code 1 byte 0x08 Sub-Function 2 bytes 0x0000 - 0xFFFF Code Data 2 bytes 0x0000 - 0xFFFF Error Code 1 byte 0x88 Exception Code 1 byte See Table 12-4 Sub-Functi Data Field Data Field Indication on Code (Request) (Response) Return Any Copy request data 0000 Inquiry Data …