How To: Install the 4-20 mA Sensor (EC420)

Installation steps & configuration information for the EC420 4-20 mA

Prerequisites: 

CTid

The Sensor Hub and all related CTid enabled sensors are compatible with EG4xxx and newer and will not work correctly with EG3xxx or earlier model eGauge meters.

 

 

  • Required installed hardware:
    • EG4xxx or newer eGauge meter
    • eGauge Sensor Hub (ESH044)
  • Only use straight-through RJ11 cables to connect powered sensors to the Sensor Hub. See this article for more information on verifying the correct RJ-11 wiring. Every Sensor Hub compatible sensor sold by eGauge Systems comes with a straight-through RJ-11 cable.
  • It is not advisable to extend the RJ11 leads from the Sensor to Sensor Hub. It is acceptable to use a longer RJ45 cable from the Sensor Hub to the eGauge.
  • If RJ11 cable between Sensor and Sensor Hub must be extended, it is advisable to use twisted pair wires, such as a CAT5 cable with RJ11 plugs (most commonly used for DSL modems).
  • If terminating own cables, both RJ11 and RJ45 cables should be straight-through cables, with the same color order on both ends.

 

Instructions: 

Step 1: Connect the EC420 Sensor to an available RJ11 port on your Sensor Hub using the included RJ11 cable. Be sure to adjust the selector switch on the Sensor hub port to the left and plug the breakout cable2-pin connector with the same color into an available sensor port on your eGauge.

 

Step 2: Connect the 4-20 mA output that you want to measure to the signal and ground ports on the EC420 Sensor.  The 5V port will remain unused.

 

Step 3: Configure the sensor in the eGauge configuration. Please see this article for more information regarding configuration of CTid sensors.

 

Additional Resources

Additional Software Configuration

The EC420 will report and record the milliamp value as a decimal number. The milliamp value can be linearly mapped to the actual sensor value and unit by using a formula register with function map420 (x: number, min: number, max: number) where xis the register value, min is the minimum sensor value (reported when the input is 4mA or lower) and max is the maximum value (reported when the input is 20mA or greater).

The unit of the sensor's measurement is determined by the formula register type selected.

Generally, the instantaneous register value of the raw 4-20mA sensor reading will be used for x. To get an instantaneous register value, use the format of $"Register Name" like in the examples shown below.

Examples

If a 4-20mA sensor is connected to the meter's S3 input, measuring the output of a CO2 meter that reads between 0 and 10,000 ppm, the formula register will be:

 map420($"4-20mA sensor raw value", 0, 10000)

 

Similarly, a temperature sensor that can read between -50 °C and 200 °C would have a formula register of:

map420($"4-20mA temp sensor raw value", -50, 200)

 

This assumes the minimum and maximum values of the sensor range start at 4mA and end at 20mA.

 
 

Typical Setup Diagram