Seneca Seneca Z-4AI Modbus RTU template

Seneca Z-4AI

Four-channel analog input module for voltage and current signals from sensors and transmitters.

The Seneca Z-4AI is an analog input module that converts four voltage or current signals from sensors and transmitters into Modbus values in the control cabinet. This Modbus RTU template reads the four scaled measurements and their overflow flags and lets you set input type, scaling and filtering from ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 38400 baud
Registers
35, read and write
Brand
Seneca
Key readings
Input 1 to 4 value · Channel difference · Overflow and underflow
Available commands
Input type · Input scaling · Input filter · Address and baud rate
Compatible models
Z-4AI
Last updated

Registers (35)

35 read, 24 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Input 1 MeasurementRead
Input 2 MeasurementRead
Input 3 MeasurementRead
Input 4 MeasurementRead
Difference IN2 Minus IN1Read
Difference IN1 Minus IN2Read
Difference IN4 Minus IN3Read
Difference IN3 Minus IN4Read
Status WordRead and write
ErrorsRead
Input TypeRead and write
Input 1 FilterRead and write
Input 2 FilterRead and write
Input 3 FilterRead and write
Input 4 FilterRead and write
Input 1 Electrical End ScaleRead and write
Input 2 Electrical End ScaleRead and write
Input 3 Electrical End ScaleRead and write
Input 4 Electrical End ScaleRead and write
Input 1 Electrical Start ScaleRead and write
Input 2 Electrical Start ScaleRead and write
Input 3 Electrical Start ScaleRead and write
Input 4 Electrical Start ScaleRead and write
Input 1 Normalized End ScaleRead and write
Input 2 Normalized End ScaleRead and write
Input 3 Normalized End ScaleRead and write
Input 4 Normalized End ScaleRead and write
Input 1 Normalized Start ScaleRead and write
Input 2 Normalized Start ScaleRead and write
Input 3 Normalized Start ScaleRead and write
Input 4 Normalized Start ScaleRead and write
Baud Rate and AddressRead and write
Configuration FlagsRead and write
Module ID and VersionRead
Firmware CodeRead

Loading registers…

Send your device list

If a device is not in the library yet, we build the template for free as soon as we have the register data.

Use cases

  • Show four 4 to 20 mA transmitters, such as pressure or level, on a ModbusCloud dashboard.
  • Send an email alert when a scaled input passes a high or low limit you set.
  • Keep 365 days of history of a sensor that has no bus interface of its own.
  • Use the difference between two inputs to watch a pressure drop over a filter.
  • Alert on the overflow or underflow bit to catch a broken sensor wire.

Installation

  1. Wire the sensors to inputs 8 to 11 and GND 12; passive sensors can use the 13 V supply on terminal 7.

  2. Set the input type per channel with DIP switch SW2 and the address and baud rate with SW1.

  3. Connect RS485 A (6), B (5) and GND (4) to the ModbusCloud Gateway and terminate the bus at the last module.

  4. In ModbusCloud, add a Modbus device with the address of the module and import this template.

  5. Check that the four inputs come in and set the normalized start and end scale to the range of each sensor.

Things to watch for

Why does an input always read between 0 and 10000?

With the compatibility bit 0 of the configuration flags set to 1 (default), the inputs are fixed to 0 to 10000. Set it to 0 to use your own normalized start and end scale per input.

Why does the module not answer on the address I wrote?

With the address DIP switches of SW1 not all off, the module uses the DIP switch address and speed and ignores the stored values. Set switches 3 to 8 to off to use the address and baud rate from memory.

Why does a current input read nonsense?

The internal shunt for current is switched with DIP switch SW2, and the input type register must match. Check both, and that the electrical end scale is in microamps, such as 20000 for 20 mA.

What should I know before writing the settings?

Settings written over Modbus are kept until a restart unless you also write bit 7 of the status word to save them in memory. Bit 0 of the same word resets the module, so write that word with care.

Want to see how it works?

Electrician working in an open distribution board