Professional Industrial Sensor Manufacturer
XSZ Sensor
Industrial sensor beside a carton conveyor in a bright factory

Sensor Terminology

Voltage

Meaning, Types and Importance for Sensors

Voltage is the electrical potential difference between two points. For an industrial sensor, the right supply voltage is a basic requirement—but its output and the connected PLC input must be checked separately.

Measured between
two points
Check the sensor's
rated supply range
Match output to
controller input
Understand voltage  →

What Is Voltage?

Voltage, measured in volts (V), is the difference in electric potential between two points. One volt represents one joule of energy per coulomb of charge. A voltage across a suitable closed circuit can drive electric current; the resulting current also depends on the circuit and its load.

Think of water pressure as a rough analogy: a pressure difference can move water through a pipe, just as a potential difference can drive charge through a circuit. It is only an analogy—electrical behavior also depends on resistance, impedance and circuit design.

Quick distinction: voltage is potential difference (V); current is the rate of charge flow (A). A 24 V label describes a voltage, not how much current the sensor draws.
Potential difference between points A and B in a simple closed DC circuit

Common Voltage Types in Industrial Sensors

The electrical supply can be DC or AC. A sensor's rated input range tells you which supply it is designed to accept.

01 / DC

DC voltage

Direct-current supply has a defined polarity. Its value may vary within a specified range or contain ripple; “DC” does not mean perfectly constant. Many control circuits and industrial sensors use a DC supply.

Illustrative DC voltage waveform with unchanged polarity over time
02 / AC

AC voltage

Alternating voltage reverses polarity periodically. AC-rated equipment also specifies a frequency, commonly 50 or 60 Hz for mains-powered equipment. Do not infer that a DC sensor can use AC because the machine itself is AC-powered.

Example sinusoidal AC voltage alternating above and below zero
03 / OPERATING WINDOW

Voltage range

The operating range gives the allowed voltage at the sensor terminals, not just the nominal number printed on a power supply. Check the exact model's minimum, maximum and any ripple limits.

Illustrative sensor supply range with minimum, nominal and maximum voltage

Typical Voltage Values: How to Read Them

These are examples of supply labels you may encounter—not universal ratings or permission to substitute one supply for another. The exact sensor datasheet controls the decision.

Example labelWhat it indicatesWhat to verify
12 V DCA nominal 12-volt direct-current supply.Whether the exact sensor's DC operating range includes the actual voltage at its terminals.
24 V DCA common nominal control-system supply; it is not a rating shared by all sensors.Sensor range, polarity, available current and connected controller input.
10–30 V DCAn example of a model-specific permitted DC range, rather than one fixed voltage.Include supply tolerance, ripple and voltage drop in the installed circuit.
AC supply ratingSome sensor models accept AC; others are DC-only.The exact AC voltage range, frequency, output/load limits and wiring diagram. Never connect a DC-only sensor directly to mains.
For example, one OMRON E2B series specification states 10–30 V DC (including its specified ripple) and lists NPN and PNP output variants. That is an example of a product-family rating, not an XSZ or industry-wide specification.

Why Voltage Matters for Sensors

SUPPLY

Correct operation

The sensor needs a supply within its rated range at its terminals, including when the machine is running.

RELIABILITY

Stable detection

An undersupplied or noisy circuit can produce unreliable operation; check the manufacturer's power requirements.

INTERFACE

System compatibility

Supply voltage alone does not establish output compatibility. Confirm NPN/PNP or other output type, load limits and PLC input specification.

PROTECTION

Avoid damage

Exceeding the rated voltage or using the wrong supply type or polarity can damage a sensor and create a safety hazard.

Supply Voltage vs. Output Signal

These terms answer different questions. Confusing them is a common reason a sensor and PLC fail to work together.

SpecificationQuestion it answersExample of what to check
Supply voltageWhat powers the sensor?Rated DC/AC range, polarity, current consumption and permitted ripple.
Output typeHow does the sensor switch or communicate a detection?PNP, NPN, relay, analog or IO-Link—according to the actual model.
Output/load ratingWhat electrical load may the output drive?Maximum current, residual voltage or voltage drop, leakage current and protection provisions.
PLC inputWhat signal does the controller recognize?Input voltage thresholds, wiring/common arrangement and compatibility with the chosen output.
NPN or PNP describes a transistor output arrangement; NO or NC describes switching behavior. Neither term by itself states the sensor's allowable supply voltage.

How to Choose a Sensor Supply Voltage

Start with the exact part number and its datasheet. Compare the installed electrical system to the rated operating conditions, not just the nominal label.

  • Identify the available supply type: DC or AC, nominal voltage and AC frequency if applicable.
  • Confirm the complete voltage range at the sensor terminals, including supply tolerance and ripple.
  • Check correct polarity for DC models and follow the model-specific wiring diagram.
  • Allow for cable and connector voltage drop, especially on long runs or under load.
  • Match the sensor output and load rating to the PLC input or other connected device.
  • Keep sensor wiring and power design consistent with the manufacturer's electrical and safety precautions.
If you need to measure an energized installation, use a qualified electrical professional and appropriate procedures. This page is a selection guide, not a live-wiring instruction.

Voltage in Industrial Automation

Each application may combine an AC-powered machine with a separate DC control circuit. The sensor's own rated supply and output interface must still match the installed system.

Photoelectric sensor monitoring cartons on a packaging conveyor

Packaging lines

Photoelectric or proximity sensors can detect cartons and position changes. Verify their supply and PLC-input interface independently of the conveyor motor supply.

Industrial proximity sensor monitoring a metal machine component

Automated machinery

Machine sensors may share a control supply. Check loaded voltage at the farthest devices and follow each model's wiring requirements.

Industrial sensor installed near a PLC control cabinet

Control systems

A PLC input must recognize the sensor's output state. Supply voltage, output type and input thresholds are separate compatibility checks.

Frequently Asked Questions

What is the difference between voltage and current?

Voltage is electric potential difference between two points, measured in volts. Current is the rate at which electric charge flows, measured in amperes. The current drawn depends on the connected circuit; a voltage value alone does not tell you the sensor's current consumption.

What voltage do industrial sensors usually use?

Many industrial control sensors are DC-powered, and 24 V DC is a common nominal control-system supply. Actual sensor ratings vary by model: some accept a DC range around that nominal value, while other models use different DC or AC supplies. Read the exact datasheet.

Can a 24 V DC sensor run on 12 V DC?

Only if 12 V DC is within that exact model's specified operating range after allowing for supply tolerance and wiring losses. A “24 V DC” nominal system label alone cannot answer this.

Can I connect a DC sensor to AC mains?

No—never connect a DC-only sensor directly to AC mains. Only use the supply type, voltage range and frequency specifically stated for the exact model, following its wiring and safety instructions.

Does a 24 V supply mean the sensor output is always 24 V?

No. The output depends on its circuit type, state and load. NPN and PNP transistor outputs, relay contacts and analog outputs behave differently; the controller must be matched to the actual output specification.

Why can the voltage at a sensor be lower than at the power supply?

Wiring, connectors and load current can create voltage drop. Check the voltage at the sensor under realistic load and compare it with the rated minimum; use a qualified person for measurements on energized equipment.

What happens if the wrong voltage is used?

Too little voltage can prevent correct operation. Too much voltage, incorrect polarity or the wrong AC/DC supply can damage equipment and create hazards. Disconnect power and check the exact model's rating before changing the circuit.