1, first configure the smart meter slave communication parameters, take 9600 8 1 none address 3 example 2, 200PLC master station first step initialization, reset modbus library completion bit, after initialization is complete, start read and write instructions m0.1 set 3, Network 3, fill in the communication parameters from the station 4, M0.1 set read slave data, read the holding register 40001-40008 8 data according to the data format written in & VB1000, such as 40001 40002 32-bit floating-point number, then stored in VB1000 VB1001 VB1002 VB1003, followed by analogy , Read completed M2.1 set, reset read slave holding register M0.1 M2.3 5, read the input register, read complete M2.2 set, reset M2, .1 6, M2.2 set, write data start, VB3000 write 00001, write is complete, M2.3 set, start reading, M2.2 reset 1000 Portable Power Station,1000 Portable Power Station Price, 1000 Portable Power Station product Jiangsu Zhitai New Energy Technology Co.,Ltd , https://www.zhitainewenergy.com