EM500 Open-Loop Vector Control Inverter User Manual The content of the control field is the valid data length, and each frame contains up to 8 bytes of valid data. For EM500 inverter, the register address value and the register data length are both 16 bits, or 2 bytes. The slave device needs to occupy a fixed 2 bytes when data is restored. Therefore, the CAN protocol can read up to 3 register values per frame. write 2 registers values. After the slave receives the data sent from the host and parses it, it needs to return the data to the host. Specifies that the first two bytes of slave response data are slave address + exception code (normally 0) .
The function codes and the slave response data are described in detail below. 13.3.2.1 Read register or status word function code (0x200) The function code is used to read the contents of the register, the request message describes the register address, the normal state response message is register data, the high byte first. This function code can read up to 3 registers at a time.
request message Response message 414 Read the register or status word 0x200 0x280 201h~27Fh Write register or command, no save EEP 0x400 0x480 401h~47Fh Write register or command, Save EEP 0x600 0x680 601h~67Fh Diagnostic function code 0x700 0x780 701h~78Fh CAN-ID 0x200+slave address DLC(Date Length) 2*N Data Field N*2 Bytes CAN-ID 0x200+ Host address DLC(Date Length) 2+2*N Data Field 2+N*2 Bytes