Hach Hach pHD sc Modbus RTU template

Hach pHD sc

Digital differential pH or ORP sensor, read through a Hach sc controller with a Modbus RS485 module.

The Hach pHD sc is a digital differential pH or ORP sensor that measures process water, such as irrigation and drain water in greenhouses, and connects to a Hach sc controller. This Modbus RTU template reads pH or ORP, temperature, electrode impedances and the error and status words, and lets you write sensor settings such as the temperature element and impedance limits from ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
68, read and write
Brand
Hach
Key readings
pH or ORP · Temperature · Electrode impedance · Sensor signal · Error and status word · Calibration slope and offset
Available commands
Sensor type pH or ORP · Temperature element · Calibration buffer set · Impedance limits · Log intervals
Compatible models
pHD sc digital differential pH sensor (DPD) · pHD sc digital differential ORP sensor (DRD)
Last updated

Registers (68)

68 read, 41 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
pH or ORP ValueRead
Temperature°CRead
Sensor SignalmVRead and write
Active Electrode ImpedanceRead and write
Reference Electrode ImpedanceRead and write
pH SlopeRead and write
pH OffsetRead and write
ORP OffsetmVRead and write
Sensor ADC CountsRead
Temperature ADC CountsRead
Active Impedance CountsRead
Reference Impedance CountsRead
Electrode StatusRead
Sensor DaysdRead and write
Electrode DaysdRead and write
Last Calibration DateRead
Classified Error WordRead
Classified Status WordRead
Measurement TypeRead and write
Temperature UnitsRead and write
pH Display FormatRead and write
Tagged pH FormatRead and write
Filter TimesRead and write
Temperature ElementRead and write
Manual Temperature Value°CRead and write
pH Buffer SetRead and write
Pure Water Compensation TypeRead and write
Pure Water Compensation SlopeRead and write
Reject FrequencyRead and write
Impedance CheckRead and write
Active Impedance Low LimitRead and write
Active Impedance High LimitRead and write
Reference Impedance Low LimitRead and write
Reference Impedance High LimitRead and write
Impedance Active CorrectionRead and write
Impedance Reference CorrectionRead and write
Calibration Warning DaysdRead and write
Sensor Warning DaysdRead and write
Sensor Log IntervalRead and write
Temperature Log IntervalRead and write
Output ModeRead and write
Calibration LeaveRead and write
Calibration AbortRead and write
Calibration Edit Value TagRead and write
Calibration Edit ValueRead and write
Calibration CodeRead and write
Edit Temperature ValueRead and write
Edit Temperature MinimumRead
Edit Temperature MaximumRead
Sensor Measurement TagRead
Temperature Measurement TagRead
Manual Temperature TagRead and write
Function CodeRead and write
Next StateRead
Sensor NameRead and write
Sensor Name LongRead
Serial NumberRead
Software VersionRead
Software Version 1Read
Software Version 2Read
Boot VersionRead
Sensor TypeRead
Device DriverRead
Device Driver 1Read
Device Driver 2Read
Device Driver 3Read
Device Driver 4Read
Production DateRead and write

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

  • Show pH and temperature of irrigation or drain water on a dashboard next to EC and dissolved oxygen.
  • Get an email or webhook alert when the pH goes above or below the limits you set for the nutrient solution.
  • Alert on an error word that is not 0, so a failed calibration or hardware fault reaches you right away.
  • Follow the active and reference electrode impedance over months to plan salt bridge and sensor replacement.
  • Keep 365 days of pH history to compare dosing changes, water sources and seasons.

Installation

  1. Fit the Modbus RS232/RS485 module in the Hach sc200 or SC4500 controller and set its switches to RS485, with termination on at the end of the bus.

  2. Wire RS485 A and B of the module to A and B of the ModbusCloud Gateway and terminate both ends of the bus.

  3. In the controller's Modbus settings, set or note the Modbus address of the pHD sc. Keep 19200 baud, RTU, no parity, 1 stop bit and data order Little Endian.

  4. In ModbusCloud, add a Modbus device with the address of the sensor and the same serial settings, then import this template.

  5. Check that pH or ORP and temperature match the controller display.

Things to watch for

The sensor does not answer. What should I check?

Every sensor answers on its own Modbus address, not on the address of the controller or the module. Check the address of this sensor in the controller's Modbus settings, the serial settings (19200 baud, no parity, 1 stop bit by default), that switch 4 on the module selects RS485 and that A and B are not swapped. The template needs the RS485 module; it does not work over SC4500 Modbus TCP.

pH and temperature show huge or tiny numbers. Why?

The template expects the factory data order of the Modbus module, Little Endian. When the data order in the controller is set to Big Endian, the two halves of every value are swapped. Set the data order back to Little Endian.

Is the main value pH or mV?

The same register holds pH on a pH sensor and mV on an ORP sensor, depending on the sensor type set in the controller. The template shows it without a unit so it fits both. Temperature is in °C unless the sensor is set to °F.

Can I read the sensor through an SC1000 controller?

Yes, with the SC1000 Modbus RS485 card and virtual slaves switched on. Each sensor then answers on its own address, counting up from the address of the configured slave. The template is set for the factory word order of the sc200 and SC4500 module; scrambled values on an SC1000 point to a different word order.

Can I write settings from ModbusCloud safely?

A write changes the sensor configuration directly, the same as the controller menu. Read the current value first, change one setting at a time and leave the calibration and menu registers alone while someone works on the controller. Register writing is off per gateway until you request it.

Want to see how it works?

Electrician working in an open distribution board