EM500 Open-Loop Vector Control Inverter User Manual 12.3 Protocol Format 12.3.1Message Format As shown in Figure 12-1, one standard MODBUS message includes start mark, RTU message (Remote Terminal Unit) and end mark. RTU message Start block of PDU Stop block of ≥3.5 characters frame ≥3.5 characters frame Figure 12-1 RTU Message Frame RTU message includes address code, PDU (Protocol Data Unit) and CRC[3] Parity. PDU includes the function code and data (mainly including register address, register number and register content; all function codes have different definitions, see the function code 12.3.3). [3]: CRC parity, with the low byte in the front and the high byte in the back.
12.3.2Address Code 12.3.3Function Code MODBUS function code classification is shown in Figure 12-2. 127(0x7F) 100(0x64) 110(0x6E) Common Function Code User-Defined Function Code Common Function Code 65(0x41) 72(0x48) User-Defined Function Code Common Function Code 1(0x1) Figure 12-2 MODBUS Function Code Classification 382 Address Function code Data CRC Parity 8 bits 8 bits N*8bits 2*8bits Register address Number of Registers Register content 2*8 bits 2*8 bits 2*Number of Registers*8 bits Address Scope Purpose 1 - 247 Slave 0 Broadcast