3/16/2023 0 Comments Modbus server ubuntu mate![]() ![]() After setting, you need to re-power on and restart the transmitter to make this address take effect. Slave response frame (hexadecimal): 00 10 10 00 00 01 04 D8 (7byt), that is, the modification is successful. Modify register 0x1000, which is the Modbus slave address (ADDRESS).The wind speed value is (hexadecimal, original code) 00 25 = 0x0025 = 37, then the wind speed measuring value is 37/10 = 3.7m/s Slave response frame (hexadecimal): 02 03 02 00 25 3D 9F (7byt) Slave Add Read register 0x0000, that is the measuring value of the wind direction.The default communication parameters are: baud rate 9600bps, one start bit, 8 data bits, no parity, and one stop bit.Įxample: If the returned value is 00 25 (hexadecimal, original code) = 0x0025 = 37, then the wind speed measuring value is 37/10=3.7m/s Modbus Slave Add (ADDRESS) Communication protocol: RS485 interface Modbus protocol. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |