How to Wire a Flow Alarm Contact and 4–20 mA Temperature Output to a PLC

How to Wire a Flow Alarm Contact and 4–20 mA Temperature Output to a PLC

1. Direct Answer: How Do You Wire a Flow Alarm and Temperature Output to a PLC?

To connect a combined flow-and-temperature device to a PLC, wire the flow alarm switch contact to a digital input (DI) and the 4–20 mA temperature output to an analog input (AI). The digital input detects an on/off flow alarm state, while the analog input measures continuous temperature.

These two signals must be wired and configured separately. The DI is used for alarm, interlock, or protection logic, whereas the AI converts the 4–20 mA signal into an engineering value, such as degrees Celsius (°C). Do not connect the switch contact to an analog input or the current loop to a digital input.

2. Key Takeaways

  • Flow alarm contact → PLC digital input (DI): Detects a switching state for low-flow or no-flow alarms and interlocks.
  • Temperature 4–20 mA output → PLC analog input (AI): Provides continuous temperature measurement for monitoring and trending.
  • Configure each channel independently: The DI uses on/off logic, while the AI requires current measurement and temperature scaling.
  • Check electrical compatibility: Verify contact type, PLC input specifications, loop power supply, load requirements, and terminal assignments.
  • Use the device datasheet: Wiring details and electrical ratings vary by model and must be confirmed before installation.

3. Understanding the Two Output Signals

Before wiring the device, understand how the two signals work and how the PLC processes them.

3.1 Digital Input (DI)

A digital input reads a discrete state, typically ON or OFF. Depending on the device and PLC configuration, it may receive a relay contact signal or a compatible transistor switching signal.

In a flow monitoring application, the DI can trigger a low-flow alarm, a no-flow alarm, or an equipment interlock when the flow switch reaches its configured switching point.

3.2 Analog Input (AI)

An analog input measures a continuously varying electrical signal, such as a 4–20 mA current loop. The PLC program converts the measured current into a process value, such as temperature in °C.

For a configured temperature range, 4 mA represents the lower end of the range and 20 mA represents the upper end.

3.3 Switch Contact Output

A switch contact changes state when the measured flow reaches a configured switching threshold. Depending on the device, the output may be a relay contact or a transistor output.

Unlike an analog output, a switch contact does not provide a continuous measurement of the flow rate.

3.4 4–20 mA Current Loop

A 4–20 mA signal represents a configured measurement range:

  • 4 mA = 0% of the configured span.
  • 12 mA = 50% of the configured span.
  • 20 mA = 100% of the configured span.

The actual temperature values represented by these percentages depend on the configured temperature range.

3.5 Signal Scaling

Signal scaling converts the PLC’s raw analog input value or measured current into engineering units. For example, a temperature output configured for a particular range must be mapped to the corresponding minimum and maximum temperatures in the PLC program.

4. Flow Alarm Contact vs. Temperature 4–20 mA: PLC Input Selection

The two outputs have different functions and require different PLC input channels.

SignalPLC ChannelMain FunctionPLC Program Handling
Flow alarm switch contactDigital input (DI)Low-flow/no-flow alarm, interlock, or tripRead as a discrete bit and apply alarm or permissive logic
Temperature 4–20 mA outputAnalog input (AI)Continuous temperature monitoring, trending, and high-temperature alarmScale the analog value into °C and apply configured limits

The flow switch provides a threshold-based switching signal, while the temperature current loop provides a continuous measurement. They are complementary signals, not interchangeable inputs.

5. How to Wire a Flow Alarm Contact to a PLC Digital Input

The flow alarm contact should be connected to a compatible PLC digital input channel.

Step 1: Confirm the Output and Input Types

Identify whether the device provides a dry relay contact, PNP output, or NPN output. Confirm that the selected PLC input module supports the corresponding signal type and wiring arrangement.

For transistor outputs, check the sourcing and sinking requirements before connecting the device.

Step 2: Connect the Signal According to the Wiring Diagram

Follow the device terminal diagram and the PLC input module manual. Do not assume that terminal assignments or common connections are identical across different models.

Step 3: Configure the Digital Input Tag

Assign the physical input to a PLC tag representing the flow alarm or flow status.

Use the input state in the program to initiate the required alarm, interlock, or equipment protection logic.

Step 4: Define the Alarm and Fail-Safe State

Determine whether an open or closed contact represents the alarm condition. This depends on the device’s contact configuration and the application’s protection requirements.

For applications requiring fault detection, consider how broken wires, loss of power, or other failures affect the input state.

Step 5: Check for Unwanted Switching

If brief flow fluctuations cause repeated alarm transitions, consider suitable input filtering or debounce logic. Configure the delay according to the process response and protection requirements so that necessary trips are not delayed.

6. How to Wire a 4–20 mA Temperature Output to a PLC Analog Input

The temperature output must be connected to an analog input configured to measure current.

Step 1: Confirm the Current Loop Requirements

Check the device datasheet to determine the output wiring, loop supply requirements, and allowable load. Confirm whether the output requires an external power supply or uses another specified loop arrangement.

Do not assume that all 4–20 mA devices use the same power and terminal configuration.

Step 2: Select the Correct Analog Input Mode

Configure the PLC analog input module for current measurement rather than voltage measurement.

A mismatch between the selected input mode and the connected signal can result in incorrect or unusable readings.

Step 3: Use Appropriate Signal Cable

Use a suitable shielded twisted-pair cable for the current loop where appropriate for the installation. Follow the equipment manuals and site grounding practices for shield termination; grounding the shield at one end is a common approach for reducing ground-loop and electrical-noise problems.

Step 4: Scale the Analog Signal into Temperature

Configure the PLC program using the temperature range selected for the transmitter.

For a linear 4–20 mA output, the temperature can be calculated as:

Temperature = T_min + [(I − 4 mA) / 16 mA] × (T_max − T_min)

Where:

  • I = measured loop current in mA
  • T_min = configured minimum temperature
  • T_max = configured maximum temperature

For example, if a transmitter is configured for a temperature range of 0–100°C, a current of 12 mA represents 50°C, assuming a linear output and correct configuration.

Always use the actual configured temperature span rather than assuming a universal range.

Step 5: Configure Diagnostics and Limits

Configure appropriate analog input diagnostics for the selected transmitter and PLC module.

Currents below approximately 3.8 mA or above 21 mA can indicate a fault or an out-of-range condition in many systems. However, the exact diagnostic thresholds depend on the transmitter’s fault signaling, the PLC module, and the application. Confirm the supported thresholds in the relevant manuals.

7. Common PLC Wiring and Configuration Problems

The following mistakes can prevent the PLC from receiving reliable flow alarm and temperature data.

7.1 Connecting the Flow Switch Contact to an Analog Input

A discrete switch contact does not provide a continuous analog measurement. Connecting it to an analog input will not produce a meaningful continuous flow value.

Solution: Connect the compatible switch output to a digital input and configure the PLC logic for the required switching state.

7.2 Connecting the 4–20 mA Signal to a Digital Input

A standard digital input is intended to detect discrete states, not measure and scale a continuous current loop.

Solution: Connect the temperature output to a compatible analog input configured for current measurement.

7.3 Selecting Voltage Mode Instead of Current Mode

If the analog input is configured for voltage while the transmitter provides a current signal, the PLC may display an incorrect or invalid reading.

Solution: Confirm the output type and configure the analog input module accordingly.

7.4 Incorrect or Missing Loop Power

A current loop wired without the required power supply, or with an incompatible loop arrangement, may produce a zero or faulty reading.

Solution: Check the transmitter’s wiring diagram, supply requirements, loop connections, and input-module specifications.

7.5 Incorrect Temperature Scaling

A PLC may receive a valid analog signal but display the wrong temperature if the configured range does not match the transmitter’s actual output span.

Solution: Verify the lower and upper temperature limits, the 4–20 mA mapping, and the PLC program’s raw-value conversion.

7.6 Incorrect Contact Logic

An alarm may operate in reverse if the PLC program assumes that a closed contact indicates normal operation when the actual configuration uses the opposite state.

Solution: Confirm the contact logic and test the alarm response under the required operating conditions.

8. Important Wiring and Application Limits

Before commissioning the system, consider the following limitations:

  • Electrical specifications are model-specific. Supply voltage, contact ratings, loop load, and terminal assignments must be confirmed using the selected device’s datasheet or quotation.
  • PLC input requirements vary. Follow the PLC digital and analog input module manuals, including signal compatibility, common wiring, grounding, and isolation requirements.
  • Signal configuration affects measurement. The temperature range programmed into the PLC must match the range configured in the transmitter.
  • Fault thresholds are not universal. Diagnostic current thresholds depend on the transmitter, input module, and fault-signaling configuration.
  • A flow alarm is not a flow totalizer. A threshold-based flow contact indicates a switching condition; it does not provide a volumetric flow total.

This article describes general industrial DI/AI wiring practices. The final wiring arrangement must follow the manufacturer’s documentation and applicable electrical installation requirements.

9. Recommended Product: NOIKE-AH NK500C Flow & Temperature Integrated Transmitter

The NOIKE-AH NK500C Flow & Temperature Integrated Transmitter combines flow monitoring and temperature measurement in one device.

Its described output and design features include:

  • Flow alarm switch output.
  • Temperature 4–20 mA analog output.
  • Optional temperature switch output.
  • LED display and adjustable switching set point.
  • Thermal dispersion measurement principle.
  • Waterproof housing and low pressure loss.
  • Optional high-pressure version rated up to 600 bar.
  • Optional corrosion-resistant version.

The NK500C can be considered for applications that require both a flow switching signal and continuous temperature monitoring. The actual suitability depends on the process conditions, required output configuration, and electrical interface.

Before ordering or installation, confirm the supply requirements, contact ratings, terminal assignments, pressure rating, and optional configuration for the selected model. These specifications should not be assumed to be identical across all versions.

For product details, visit the NOIKE-AH NK500C Flow & Temperature Integrated Transmitter product page.

10. Frequently Asked Questions (FAQ)

Where should a flow alarm contact be connected on a PLC?

Connect a compatible flow alarm switch contact to a PLC digital input (DI). The PLC reads the contact state as an on/off signal and uses it for alarm, interlock, or protection logic.

Where should a 4–20 mA temperature signal be connected?

Connect the temperature current loop to a compatible PLC analog input (AI) configured for current measurement. Scale the signal to the transmitter’s configured temperature range for display and trending in °C.

Can a flow alarm contact and a 4–20 mA temperature output share the same PLC input channel?

No. Under the standard arrangement described here, the flow switch contact uses a digital input, while the temperature current loop uses an analog input. Each signal requires its own appropriate channel and program logic.

How do you scale a 4–20 mA signal to temperature in a PLC?

Map 4 mA to the configured minimum temperature and 20 mA to the configured maximum temperature. For a linear transmitter output, the PLC can calculate the temperature proportionally between these limits.

What current indicates a broken wire in a 4–20 mA loop?

A current below approximately 3.8 mA or above 21 mA may indicate a fault or out-of-range condition in many systems. The actual thresholds depend on the transmitter’s fault signaling and the PLC analog input module.

Does a flow alarm switch measure the total volume of liquid passing through a pipe?

No. A threshold-based flow switch indicates whether the monitored flow condition has reached a configured switching point. It does not provide a cumulative volumetric total.

What should be checked before connecting the NK500C to a PLC?

Verify the selected model’s output configuration, supply requirements, contact ratings, terminal assignments, and compatibility with the PLC digital and analog input modules. Confirm the temperature scaling range before commissioning.

11. Conclusion

Connecting a combined flow-and-temperature transmitter to a PLC requires matching each output to the correct input type. Wire the flow alarm contact to a digital input for switching logic and the temperature 4–20 mA output to an analog input for continuous measurement.

Correct wiring, compatible input configuration, accurate temperature scaling, and appropriate fault diagnostics help ensure reliable monitoring and protection. Always confirm model-specific electrical specifications before installation.

Need a flow and temperature monitoring solution for your application? Contact NOIKE-AH to discuss the NK500C configuration and confirm the output and wiring requirements for your project.

12. Related Reading

Table of Contents