258
11.9 Modbus Communication Example
MODBUS communication with Siemens S7-200 example as follows:
※ Slave is set to 1,E6-06 = 1。
※ Addr set to 49250, corresponding to the invertor position is 2421H, 2421H representatives began to
read data from the location
※ Coun`t set to 11, read 11 data continuously
※ VB as Byte, so a data occupies two VB。
※ 2422H (frequency command),13 * 256 + 172 = 3500。
※ 2423H (frequency output),13 * 256 + 172 = 3500。
※ 2424H (current output),0 * 256 + 1 = 1。
※ 2425H (voltage output),10 * 256 + 26 = 2586。
※ 2426H (DC),23 * 256 + 192 = 6080。
※ 2427H (Warning Description),0 * 256 + 0 = 0。
※ 2428H (Fault description),0 * 256 + 0 = 0。
※ 2429H (Input and output status),0 * 256 + 0 = 0。
※ 242AH (AI1 input),0 * 256 + 0 = 0。
※ 242BH (AI2 input),0 * 256 + 0 = 0。
※ The above values for the panel display, the decimal point does not count the units,