This commit is contained in:
Your Name
2025-01-29 10:04:01 +01:00
parent d095e53cd6
commit 4a5e0b3577
9 changed files with 179 additions and 7 deletions

2
NPM/get_data_modbus.py Normal file → Executable file
View 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 )
'''