📦 Archived documentation: r1 (committed 2026-07-24) View current documentation →

modbus.disconnect()

modbus.disconnect()

Closes the master connection to the remote Modbus device.

Example

modbus.disconnect();