Agrowtek GrowNET User manual

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
1
Contents
GrowNET™ MODBUS Devices 2
MODBUS 3
Connection Types 3
Supported Commands 3
Register Types 3
MODBUS RTU 4
LX1 USB AgrowLINK 4
LX2 ModLINK™ 4
GrowNET™ Network with HX8 Hubs 5
LX2 ModLINK™ Conguration 6
Device Address 7
Set Address via Modbus 7
Set Address via LX1 USB Link 7
Serial (RTU) Registers 9
All Devices 9
Environment Sensors (SXC, SXE, SXW) 9
Hydroponics Sesnors (SXH, PHX) 10
Dosing Pumps (ADi) 10
Relays & I/O Modules (RX, RD, DX, VX series) 11
MODBUS TCP/IP 12
Holding Registers 13
Integer Register Scaling 13
Discrete Registers 15
Control Function Registers 16
Dosing Recipe Registers 21
© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
Technology to Help You Grow
AGROWtEK INSTRUCTION MANUAL
MODBUS

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
2
GrowNET™ MODBUS Devices
Irrigation Valve Controller
Motor Controllers
Wet & Dry Contacts
Outlet Relays
DIN Rail I/O
Climate Sensors
Weather Sensors
Irrigation Panels
Dosing Pumps
Hydroponics Sensors
LX Link Modules
GrowNET™ Hub
MODBUS RTU
All of Agrowtek’s GrowNET™ peripheral devices support serial MODBUS RTU directly to your PLC or host
device via RS-422 (LX2) or USB (LX1.)
MODBUS TCP
Agrowtek’s GCX control system allow advanced access to GrowNET™ devices and control settings through
MODBUS TCP via the standard CAT5/WiFi network connection.

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
3
Data registers are 16 bits wide with addresses using the standard MODICON protocol.
Floating point values use the standard IEEE 32-bit format occupying two contiguous 16 bit registers.
ASCII values are stored with two characters (bytes) per register in hexadecimal format.
Coil registers are single bit values which control and indicate the status of a relay; 1 = on, 0 = o.
Register Types
0x01 Read Coils
0x03 Read Multiple Registers
0x05 Write Single Coil
0x06 Write Single Register
Supported Commands
Sensors Relays Pumps
Read 16bit Signed Read Coil Status Read Pump Speed
Read 32bit Float Write Coil Status Write Pump Speed
Write Calibration Read Close Count Read Pump Hours
Read Manufacturing Info
Agrowtek’s intelligent sensors, relays and peristaltic pumps are designed to communicate via the standard
industrial MODBUS protocol for PLC, PC, embedded and OEM control applications.
MODBUS
MODBUS data can be accessed using a PLC directly from GrowNET™ devices using a serial“RTU”connection.
Multiple devices (up to 247) can be connected via RTU using Agrowtek’s HX8 communication hubs to a LX
link module. LX1 (USB) or LX2 (RS-485) modules interface the GrowNET™ device network with a PLC or PC.
MODBUS data can also be accessed via local area networks or remotely through the internet using MODBUS
TCP when the application involves a GrowControl™ GCX control system to which GrowNET™ devices are con-
nected.
Connection Types

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
4
LX1 USB AgrowLINK
The LX1 USB AgrowLINK may be used for USB/UART communications to devices, or for rmware updates,
calibration, addressing and testing/manual operation using free PC software.
Standard drivers automatically install in Windows for the LX1 USB AgrowLINK. MODBUS commands may be
sent over USB from a terminal or software application.
USB Connection Requirements:
115,200 baud, 8-N-1
LX2 ModLINK™
LX2 ModLINK™ connects Agrowtek’s intelligent sensors, peristaltic dosing pumps,
and control relays equipped with a GrowNET™ RJ45 port to a standard RS-485 serial
bus for use with the MODBUS RTU protocol. ModLINK is an MCU-buered bridge be-
tween Agrowtek’s high-speed, full duplex GrowNET™ devices connected with RJ45
cables, to a terminal block for integration with PLC systems. 15kV ESD rated RS485
terminals with 70V fault protection to protect against wiring errors and short circuits.
LX2 may be congured for 19,200 -115,200 baud rates and any serial data format usung the LX1 USB Link
and free PC application.
LX1
USBGrowNET™ RJ45
RJ45/CAT5
7 - 24 Vdc
3.3/5Vdc Serial Bus Compatible.
Include required bus terminating resistors per EIA standard.
TX/RX+
TX/RX-
PLC
RS-485
MODBUS RTU
Agrowtek’s intelligent sensors, relays and peristaltic pumps can communicate directly using the standard
industrial MODBUS RTU serial protocol for PLC and OEM control applications. Each device may be assigned
an address of 1-247. Address 254 is a universal broadcast address. Addresses may be sent to the address
register by MODBUS command, or congured using the LX1 USB link with PC software.

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
5
HX8 GrowNET hubs connect multiple devices to a MODBUS network using only one LX2 ModLINK.
HX8 hubs supply power to all 8 ports from one power supply to operate sensors and relays from the
GrowNET (Ethernet) cable connection for fast, easy installation (pumps require their own power supply.)
HX8 Hubs are fully buered for excellent signal performance in long distance and distributed applications.
Daisy chain hubs as needed for the number of ports required.
Uses standard RJ45 Ethernet cable for all connections.
GrowNET™ Network with HX8 Hubs
LX2
Power is provided to GrowNET™ devices from the HX8 hub’s power supply allowing for
single-cable installation for most devices (pumps require their own power supply.)

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
6
The default serial data format for the LX2 ModLINK interface is: 19,200 baud, 8-N-1.
Alternate speeds and formats may be congured with the LX1 USB AgrowLINK and the cross-over adapter
supplied with the LX2 ModLINK.
Open the ModLINK utility and set:
Device Address = 254 (address must be set to 254 to congure the LX2.)
Congure the serial settings according to your master control device, then press the“Set” button.
“OK”reply conrms the settings have been successfully congured on the LX2.
Download ModLINK Utility
LX2 ModLINK™LX1 USB AgrowLINK™
GrowNET™
Cross-Over
7 - 24 Vdc
USB
LX2 ModLINK™ Conguration

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
7
The LX1 USB AgrowLINK may be used to
congure the LX2 ModLINK and set device
(slave) addresss of devices.
Download ModLINK Utility
1. Connect the GrowNET™ device to the USB AgrowLINK with a standard Ethernet cable.
2. Connect the USB AgrowLINK to the PC and allow the drivers to install automatically.
If the drivers do not install automatically download and install them Download Driver.
The device address (slave ID) is stored in each device at address register 1 (40001) and can be modied in
several ways:
1. Send a modbus command using the broadcast address (254) to modify the value in register 1.
2. Use the LX1 USB link connected to a device with the AgrowLINK software utility to set the address.
Device address 254 is a universal broadcast address which can be used to set an address on a device which
has an unknown address or has a 0 address. The device to be congured must be the only device on the bus
when using the broadcast address or conicts may occur.
To set a device address of “5”, send the value“5”to register# 1 (40001) using address 254.
Set Address via Modbus
Set Address via LX1 USB Link
Technology to Help You Grow
AGROWtEK
U.S.A.
MADEIN
© 2016 Agrowtek Inc.
www.agrowtek.com
GrowControl
DigiClimate Canopy Sensor
TM
TEMP RH LIGHT CO2
ifequipped
KEEP
FAN
FILTER
CLEAN
Technology to Help You Grow
AGROWtEK
U.S.A.
MADE IN www.agrowtek.com
GrowNET
Device/Hub
TM
USB
AgrowLINKTM
LX1 USB to GrowNET™ Bridge
TX
RX
Ethernet
Cable USB
Cable
Sensor PC
LX1 USB AgrowLINK™
Device Address

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
8
6. Set the device address to the desired value by selecting the “Addr.” drop down then press“Set.”
8. The device is ready to be deployed on a MODBUS network. Set the Device Address in the Connection box
back to“254” to connect to the next device.
7. Verify the new address by selecting the new address in the Connection box then press“Read Status.”
5. Check the device connection by clicking the “Read Status”button; you should get a reply with last internal
status update from the device.
3. The COM port should be automatically selected when the program is opened if the drivers are installed.
Select the COM Port drop-down to refresh and scan for a USB AgrowLINK.
4. Ensure device address “254” (universal broadcast address) is selected in the Connection box.

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
9
Environment Sensors (SXC, SXE, SXW)
Parameter Description Range Type Access Address
Toggle Units Toggle sensor units 1 - 4 16 bit, unsigned W 41002
Sensor Reading,
Integer
Temperature -2000 - 6000 (-20 - 60°C) x100
16 bit, signed R
40101
Humidity 0 - 1000 (0 - 100%) x10 40102
Light 0 - 1000 W/m2 40103
CO2 0 - 10,000ppm 40104
PLIR Leaf IR Temperature -2000 - 6000 (-20 - 60°C) x100 40105
Sensor Reading,
Float
Temperature -20.00- 60.00 °C
32 bit, oating pt R
40201
Humidity 0 - 100.0 % 40203
Light 0 - 1000 W/m2 40205
CO2 0 - 10,000ppm 40207
PLIR Leaf IR Temperature -2000 - 6000 (-20 - 60°C) x100 40209
Calibration Input,
Oset (Zero)
Temperature
See integer ranges above. 16 bit, signed W
41101
Humidity 41102
Light 41103
CO2 41104
Calibration Input,
Analog Output
Temperature
-255 - 255 (bits) 16 bit, signed W
41301
Humidity 41302
Light 41303
CO2 41304
A request to read or write a register that is not available will return an illegal address error (0x02).
Serial (RTU) Registers
Sensors with alternate units may toggle the units using the“toggle units” register. To toggle the units, send
the sensor channel number to to the toggle register. This register is write-only.
For example: to toggle between °F and °C, send a “1” to register 1002.
All Devices
Parameter Description Range Type Access Address
Address Device Slave Address 1 - 247 8 bit R/W 40001
Serial# Device Serial Number ASCII 8 char R 40004
DOM Date of Manufacture ASCII 8 char R 40008
HW Version Hardware Version ASCII 8 char R 40012
FW Version Firmware Version ASCII 8 char R 40016
Device Model Product Model Number ASCII 8 char R 40020
RTU registers are accessed directly on the device via a serial connection through a LX1 or LX2 link module.

© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
10
Hydroponics Sesnors (SXH, PHX)
Parameter Description Range Type Access Address
Toggle Units Toggle sensor units 1 - 4 16 bit, unsigned W 41002
Sensor Reading,
Integer
Temperature -2000 - 6000 (-20 - 60°C)
16 bit, signed R
40101
pH 0 - 1400 (0 - 14.00pH) 40102
Conductivity 0 - 5000 microSiemens
0 - 2500 ppm
40103
O.R.P. / D.O. -1000 - +1000 mV
0 - 4000 (0 - 40.00 mg/L)
40104
Flow 0 - 30gpm (0-150lpm) 40104
Sensor Reading,
Float
Temperature -20.00- 60.00 °C
32 bit, oating pt R
40201
pH 0 - 14.00pH 40203
Conductivity 0 - 5000 microSiemens
0 - 2500 ppm
40205
O.R.P. / D.O. -1000 - +1000 mV
0 - 4000 (0 - 40.00 mg/L)
40207
Flow 0 - 30gpm (0-150lpm) 40207
Calibration Input,
Zero
Temperature
See integer ranges above. 16 bit, signed W
41101
pH 41102
Conductivity 41103
O.R.P. / D.O. 41104
Calibration Input,
Span Point
Temperature
See integer ranges above. 16 bit, signed W
41201
pH 41202
Conductivity 41203
O.R.P. / D.O. 41204
Calibration Input,
Analog Output
Temperature
-255 - 255 (bits) 16 bit, signed W
41301
pH 41302
Conductivity 41303
O.R.P. / D.O. 41304
Dosing Pumps (ADi)
Parameter Function Range Type Access Address
Motor Speed (%)
Pump 1
0 - 100
16 bit, unsigned
R/W
40101
Pump 2 16 bit, unsigned 40102
Pump 3 16 bit, unsigned 40103
Pump 4 16 bit, unsigned 40104
Pump 5 16 bit, unsigned 40105
Pump 6 16 bit, unsigned 40106
Timeout (seconds) Turn o pumps if no communication 0 - 32767 16 bit, unsigned R/W 41001
Accumulated Run Time
(seconds)
Pump 1
Unsigned Int 32 bit, unsigned R
49001
Pump 2 49003
Pump 3 49005
Pump 4 49007
Pump 5 49009
Pump 6 49011
Table of contents
Popular Network Hardware manuals by other brands

Matrix Switch Corporation
Matrix Switch Corporation MSC-HD161DEL product manual

B&B Electronics
B&B Electronics ZXT9-IO-222R2 product manual

Yudor
Yudor YDS-16 user manual

D-Link
D-Link ShareCenter DNS-320L datasheet

Samsung
Samsung ES1642dc Hardware user manual

Honeywell Home
Honeywell Home LTEM-PV Installation and setup guide











