Easy Modbus
  1. Home
  2. Modbus register maps
  3. Seneca
  4. Z-D-IN 5-channel digital input / counter module (Modbus RTU)

Sensor (digital input / counter I/O module) · Modbus register map

Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU) Modbus register map

Updated 17 November 2026

Short answer

The Z-D-IN is a DIN-rail module with five digital inputs, each feeding a counter, on an RS-485 Modbus RTU port. Address and baud rate come from DIP switches or from EEPROM. This map covers input states, the five counters (IN5 can run as a 32-bit counter), filter, configuration flags and the save/reset command register.

This page lists 16 Modbus registers for the Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU) — 14 writable — with the table, 0-based wire address, data type, word order, scale, units and access of each, re-typed from Seneca’s own free documentation (linked below) and checked against it.

Manufacturer
Seneca
Model
Z-D-IN 5-channel digital input / counter module (Modbus RTU)
Equipment type
Sensor (digital input / counter I/O module)
Registers
16 (14 writable)
Transport
Modbus RTU
Default unit ID
1
Default serial
38400 baud, 8N1
Documented addressing
Modicon 3xxxx/4xxxx (drop the prefix, subtract 1)
32-bit word order
CDAB low word first (word-swapped)
Also known as
ZDIN, Z D IN, Seneca Z-D-IN
Source document
User Manual Z-D-IN · MI00252-3-EN · rev. 2022-01-13
Download CSV all columns JSON Manufacturer PDF ↗

Integration notes: Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU)

Integration in brief

Read holding registers 0-6 (function 03) for the input states and the five counters. Write a counter register to preset or clear it.

Minimum registers to map

Addresses are 0-based wire addresses. Enough to monitor and run the unit; map more as the job needs.

RegisterNameTypeWhyAccess
HR 1Input status and counter overflowsBITMAP16Input states and overflow flagsRead/write
HR 2Counter 1UINT16Counter 1Read/write
HR 3Counter 2UINT16Counter 2Read/write
HR 4Counter 3UINT16Counter 3Read/write
HR 5Counter 4UINT16Counter 4Read/write
HR 6Counter 5 (16-bit mode)UINT16Counter 5Read/write

Enable Modbus control & writes

Modbus RTU is always on. DIP switches 3-8 set the address (all off = take address and baud from EEPROM), 1-2 the baud rate, 9-10 the RS-485 terminator.

Byte order & addressing

Network setup

Watch out for

Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU) Modbus registers

Address = 0-based wire address (the documented number is shown under it when it differs) · Order: ABCD = high word first, CDAB = low word first · Scale: engineering value = raw × scale.

16 of 16 shown
Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU) Modbus register map
TableAddressNameDescriptionTypeOrderScaleUnitsAccessValues / bits
HR0doc 40001Machine IDModule identification code.UINT16Read
HR1doc 40002Input status and counter overflowsOverflow bits can be written to 0 to clear them.BITMAP16Read/writebit 0 = IN1 state; bit 1 = IN2 state; bit 2 = IN3 state; bit 3 = IN4 state; bit 4 = IN5 state; bit 8 = Counter 1 overflow/underflow; bit 9 = Counter 2 overflow/underflow; bit 10 = Counter 3 overflow/underflow; bit 11 = Counter 4 overflow/underflow; bit 12 = Counter 5 overflow/underflow
HR2doc 40003Counter 116-bit counter (0-65535) kept in FeRAM; writable.UINT16Read/write
HR3doc 40004Counter 216-bit counter (0-65535) kept in FeRAM; writable.UINT16Read/write
HR4doc 40005Counter 316-bit counter (0-65535) kept in FeRAM; writable.UINT16Read/write
HR5doc 40006Counter 416-bit counter (0-65535) kept in FeRAM; writable.UINT16Read/write
HR6doc 40007Counter 5 (16-bit mode)16-bit counter (0-65535) kept in FeRAM; writable. In 32-bit mode use 18-19.UINT16Read/write
HR7doc 40008Input filter1-254 ms, applied to all inputs (not IN5 in 32-bit mode). Default 3.UINT16msRead/write
HR8doc 40009Configuration flagsSaved to EEPROM only after the save command bit.BITMAP16Read/writebit 0 = Input logic: 0 direct, 1 inverted; bit 1 = Count mode: 0 up, 1 down; bit 2 = RS485 reply pause: 0 none, 1 insert pause; bit 3 = Parity: 0 none, 1 on; bit 4 = Parity type: 0 even, 1 odd; bit 7 = IN5 32-bit mode (filter off, up to 10 kHz)
HR10doc 40011Bit command registerBITMAP16Read/writebit 0 = Write 1: save 40008-40010 to EEPROM; bit 1 = Write 1: reset module
HR12doc 40013Firmware revisionUINT16Read
HR14doc 40015Counter 1 copy16-bit counter (0-65535) kept in FeRAM; writable.UINT16Read/write
HR15doc 40016Counter 2 copy16-bit counter (0-65535) kept in FeRAM; writable.UINT16Read/write
HR16doc 40017Counter 3 copy16-bit counter (0-65535) kept in FeRAM; writable.UINT16Read/write
HR17doc 40018Counter 4 copy16-bit counter (0-65535) kept in FeRAM; writable.UINT16Read/write
HR18doc 40019 (LSW) / 40020 (MSW)Counter 5 (32-bit mode)32-bit counter used when IN5 32-bit mode is on; LSW first.UINT32CDABRead/write

Notes on this map

Check it against the live device. A register map tells you what the controller can expose; the unit in front of you may differ by firmware or options. Read a few registers and compare them with the unit’s own display; for a 32-bit value the float and byte-order decoder shows all four word orders at once, so a wrong word order or scale is obvious. New to this? Read what a register map is and why addresses are off by one.

Questions about the Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU)

What Modbus registers does the Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU) have?

This map lists 16 registers: 16 holding registers. 14 of them can be written. Registers vary with firmware, options and configuration, so confirm against the device.

Are the Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU) Modbus addresses 0-based or 1-based?

The manufacturer's document numbers registers Modicon 3xxxx/4xxxx (drop the prefix, subtract 1). Every address on this page is the 0-based wire address you put in the request; the documented number is shown under it where it differs. The table prints both the Modbus address (40001 = first register) and the offset address (0). The offset is what goes on the wire.

What byte order does the Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU) use for 32-bit values?

Multi-register values in this map use CDAB (low word first (word-swapped)). Set your client to this order for every 32/64-bit value in the table.

What are the minimum Modbus registers to integrate the Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU)?

Start with HR 1 Input status and counter overflows (Input states and overflow flags); HR 2 Counter 1 (Counter 1); HR 3 Counter 2 (Counter 2); HR 4 Counter 3 (Counter 3); HR 5 Counter 4 (Counter 4); HR 6 Counter 5 (16-bit mode) (Counter 5).

How do I enable Modbus control of the Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU)?

Modbus RTU is always on. DIP switches 3-8 set the address (all off = take address and baud from EEPROM), 1-2 the baud rate, 9-10 the RS-485 terminator.

Where is the official Seneca Z-D-IN 5-channel digital input / counter module (Modbus RTU) Modbus documentation?

The source is User Manual Z-D-IN (MI00252-3-EN), revision 2022-01-13, published free by Seneca at https://www.seneca.it/media/2495/mi00252-3-en.pdf.

More Seneca Modbus register maps

Other remote i/o modules register maps

All remote i/o modules Modbus register maps →

Source: User Manual Z-D-IN · MI00252-3-EN · rev. 2022-01-13. Register numbers, types, scaling and units are reproduced as published; descriptions are our own.