Agrowtek Agrowtek DX Series I/O Module Modbus RTU template

Agrowtek DX Series I/O Module

DIN-rail I/O modules for sensors, relays and analog outputs in grow rooms.

The Agrowtek DX series are DIN-rail I/O modules that connect sensors, contactors, dimmers and fans in grow rooms. This Modbus RTU template reads analog inputs, relay states and closure counters, and lets you switch relays and set PWM or 0-10 V outputs from ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
45, read and write
Key readings
Analog inputs · Relay states · Output closure counts · Firmware version
Available commands
Relays · PWM or analog output values · Communication timeout
Compatible models
DXIO · DXI8 · DXO8 · DXR6 · DXV4 · DXC4
Last updated

Registers (45)

45 read, 16 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Analog Input 1 (float)Read
Analog Input 2 (float)Read
Analog Input 3 (float)Read
Analog Input 4 (float)Read
Analog Input 5 (float)Read
Analog Input 6 (float)Read
Analog Input 7 (float)Read
Analog Input 8 (float)Read
Analog Input 1 (integer)Read
Analog Input 2 (integer)Read
Analog Input 3 (integer)Read
Analog Input 4 (integer)Read
Analog Input 5 (integer)Read
Analog Input 6 (integer)Read
Analog Input 7 (integer)Read
Analog Input 8 (integer)Read
Relay 1Read and write
Relay 2Read and write
Relay 3Read and write
Relay 4Read and write
Relay 5Read and write
Relay 6Read and write
Relay 7Read and write
Relay 8Read and write
Output 1 ValueRead and write
Output 2 ValueRead and write
Output 3 ValueRead and write
Output 4 ValueRead and write
Output 5 ValueRead and write
Output 6 ValueRead and write
Communication TimeoutsRead and write
Output 1 Closure CountRead
Output 2 Closure CountRead
Output 3 Closure CountRead
Output 4 Closure CountRead
Output 5 Closure CountRead
Output 6 Closure CountRead
Output 7 Closure CountRead
Output 8 Closure CountRead
Device Slave AddressRead and write
Serial NumberRead
Date of ManufactureRead
Hardware VersionRead
Firmware VersionRead
Device ModelRead

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.

Number of installations (optional)

Use cases

  • Switch a dehumidifier or extraction fan through a DXR6 relay from a ModbusCloud schedule or threshold.
  • Set a 0-10 V dimming level for grow lights on a DXV4 output.
  • Log moisture or pressure sensors connected to a DXI8 and send an email alert on a threshold.
  • Follow relay closure counts to plan contactor maintenance.
  • Set the communication timeout so outputs turn off if the bus goes quiet.

Installation

  1. Connect the GrowNET port of the module to an Agrowtek LX2 ModLINK and the LX2 RS485 terminals to the ModbusCloud Gateway.

  2. Give each DX module a unique device address and keep the LX2 at 19,200 baud, 8-N-1, or match a changed setting.

  3. In ModbusCloud add a Modbus device with that address and import this template.

  4. Delete the inputs and outputs your module does not have, then check one input value before switching any output.

Things to watch for

Some registers return an illegal address error. Is that a fault?

No. Each module only answers the inputs and outputs it has, for example a DXR6 has no analog inputs. Remove those registers from the device in ModbusCloud.

Which unit does an output value use?

PWM outputs take a duty cycle from 0 to 100 %, 0-10 V outputs take 0 to 10,000 mV. Check which output type your module has before writing a value.

The module does not answer at all. What should I check?

Check the LX2 ModLINK power and serial settings, the RS485 polarity and termination, and that no other device uses the same address. The reset button behind the pin hole clears the stored address.

Why do the outputs switch off on their own?

The communication timeout turns the outputs off when no Modbus traffic arrives within the set number of seconds. Raise the timeout or poll the module more often.

Want to see how it works?

Electrician working in an open distribution board