How do I write to multiple registers simultaneously using Modbus function code 16x?

How do I write to multiple registers simultaneously using Modbus function code 16x?
none 0.0 0

I’m trying to talk to a device over Modbus TCP/IP and it requires me to write multiple registers at the same time using modbus function code 16x, I can’t seem to find this under the Modbus TCP/IP device, does it exist?

4X registers use function code 16 to write multiple Holding Registers on Modbus devices.

Hi @itsmomito,

To add to @TimWusa’s response, while using the “MODBUS TCP/IP” driver, the “Device Type” corresponds with the following Modbus function codes:


For more information please review the PLC connection guide for this driver. This document is referenced within this post: Link