Skip to content

[New Integration]: Modbus - #7

Merged
MatrixEditor merged 5 commits into
masterfrom
feat/proto/modbus
Jul 26, 2026
Merged

[New Integration]: Modbus#7
MatrixEditor merged 5 commits into
masterfrom
feat/proto/modbus

Conversation

@MatrixEditor

@MatrixEditor MatrixEditor commented Jul 26, 2026

Copy link
Copy Markdown
Owner

This PR adds support for the Modbus protocol via `pymodbus including a simple client that supports TCP and UDP connections.

conn = Modbus_Connection(unit_id=1)
conn.connect(("192.168.1.50", 502))
values = conn.read_holding_registers(0, count=4)
conn.write_register(0, 1234)
conn.close()

# Modbus/UDP
udp_conn = Modbus_Connection(unit_id=1, transport="udp")
udp_conn.connect(("192.168.1.50", 502))

Client supports read and write operations:
modbusclient-write

@MatrixEditor
MatrixEditor merged commit ba545e5 into master Jul 26, 2026
@MatrixEditor
MatrixEditor deleted the feat/proto/modbus branch July 26, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant