update
This commit is contained in:
2
NPM/get_data_modbus.py
Normal file → Executable file
2
NPM/get_data_modbus.py
Normal file → Executable file
@@ -14,7 +14,7 @@ Request
|
||||
\x01 Slave Address (slave device address)
|
||||
\x03 Function code (read multiple holding registers)
|
||||
\x00\x80 Starting Address (The request starts reading from holding register address 0x80 or 128)
|
||||
\x00\x0A Quantity of Registers (Requests to read 0x0A or 10 consecutive registers starting from address 50)
|
||||
\x00\x0A Quantity of Registers (Requests to read 0x0A or 10 consecutive registers starting from address 128)
|
||||
\xE4\x1E Cyclic Redundancy Check (checksum )
|
||||
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user