All devices

Waveshare · Remote I/O

Modbus RTU IO 8CH (8 digital inputs / 8 digital outputs, RS485) Modbus register map

Serial device: in Modbus Connect, choose “Add to existing device” and pick the serial (RTU) device you created on your COM port.

Default configuration

Protocol
Modbus RTU over RS-485
Unit ID
1
Addressing
0-based
Byte order
Big endian
Word order
High word first
Baud rate
9600
Parity
None
Data bits
8
Stop bits
1

To read this device over Modbus RTU in Modbus Connect:

  1. In Modbus Connect, add a serial (RTU) device on your COM port with the serial settings and unit ID shown above.
  2. Click Add to Modbus Connect (or open the downloaded JSON), choose “Add to existing device” and pick that serial device. Its registers, byte order and word order are added; the serial device keeps its own line settings.

The “Add device” tab creates a Modbus TCP device (IP address and port), so use it only when you reach this device through a Modbus RTU-to-TCP gateway set to the serial settings above.

Register map

AddressCountNameTypeUnitScaleAccess
01
Digital output 1
Output channel address 0x0000-0x0007: 0xFF00 = on, 0x0000 = off, 0x5500 = toggle (function 01/05/0F).
Binary-1RW
11
Digital output 2
Output channel address 0x0000-0x0007: 0xFF00 = on, 0x0000 = off, 0x5500 = toggle (function 01/05/0F).
Binary-1RW
21
Digital output 3
Output channel address 0x0000-0x0007: 0xFF00 = on, 0x0000 = off, 0x5500 = toggle (function 01/05/0F).
Binary-1RW
31
Digital output 4
Output channel address 0x0000-0x0007: 0xFF00 = on, 0x0000 = off, 0x5500 = toggle (function 01/05/0F).
Binary-1RW
41
Digital output 5
Output channel address 0x0000-0x0007: 0xFF00 = on, 0x0000 = off, 0x5500 = toggle (function 01/05/0F).
Binary-1RW
51
Digital output 6
Output channel address 0x0000-0x0007: 0xFF00 = on, 0x0000 = off, 0x5500 = toggle (function 01/05/0F).
Binary-1RW
61
Digital output 7
Output channel address 0x0000-0x0007: 0xFF00 = on, 0x0000 = off, 0x5500 = toggle (function 01/05/0F).
Binary-1RW
71
Digital output 8
Output channel address 0x0000-0x0007: 0xFF00 = on, 0x0000 = off, 0x5500 = toggle (function 01/05/0F).
Binary-1RW

Read this device live with Modbus Connect, free for Windows, macOS and Linux

Related guides

Notes

Source: Waveshare wiki page https://www.waveshare.com/wiki/Modbus_RTU_IO_8CH, section 'Development Protocol V2' (function-code table, register-address table and worked commands), plus the product page https://www.waveshare.com/modbus-rtu-io-8ch.htm whose specification table prints 'Default communication format 9600, N, 8, 1', the baud-rate list and the input/output characteristics, and the vendor wiki page 'Modbus Series BootLoader Description' (restoring the default device parameters gives '9600 N 8 1' and device address 0x01). The wiki page's own specification table prints the same values - 'Default Communication Format 9600, N, 8, 1' and 'Set the device address range 1~255 (1 by default, corresponds to the hexadecimal value of 0x01)' - so the frame and the address are each cited twice. The control-mode registers are named in the page's Read/Write Control Mode sections (0 = normal, 1 = linkage, 2 = toggle, 3 = edge trigger). The register table prints addresses as 0x0000-0x0007, 1x0000-1x0007, 4x1000, 4x2000, 4x4000 and 4x8000; the seed stores those numbers unchanged and declares zero_based addressing. Only the readable / read-writable blocks are seeded: the write-only command coils 0x00FF (all outputs), 0x0200-0x0207 (flash on, interval in 100 ms steps) and 0x0400-0x0407 (flash off) are left out because the schema's coil area allows R and RW only. The four output control modes behind register 4x1000 are documented only as a 0-3 range, so they are stored without invented names. The input channels are passive or active 5-36 V inputs (NPN or PNP) with bidirectional optocoupler isolation; the outputs are open-drain, 5-40 V, 500 mA per channel.

Related devices