Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Equipment >> Industrial equipment

Digital Sensors in Industrial Machinery: Function, Types, and Best Practices

Digital Sensors in Industrial Machinery: Function, Types, and Best Practices

Industrial machinery and processing equipment won’t run without functioning sensors. A bad sensor will bring production to a halt by not sending a signal to a controller or enabling a movement or operation. Worse still is a sensor that sends incorrect signals or signals at the wrong time. “Misfires” like these lead to accidents and costly collisions.

Sensors are classified as either analog or digital. This blog post reviews digital sensor usage and the types available. It also offers some guidance on picking the right digital sensor for specific applications.

How and Where Sensors Are Used

Digital sensors are used to communicate presence, absence, level, and position of movement to something that will perform an action in response. Examples include sensing a container on a conveyor, measuring liquid levels and recognizing when a mechanism has reached a certain position.

The output from a digital sensor typically goes into the IO module of a PLC. In some cases it may feed into a PC via IO hardware, or in less complex implementations, it connects directly to a relay.

An application can be as simple as turning on a light to tell an operator a part is in position. A more complex example is part presence sensors in a robot gripper that let the controller know a part has been grasped.

Electrical Basics

Most industrial sensors use 24Vdc. (Some industries prefer 120Vac.) This comprises two of the three wires coming from the sensor body. The third is the signal lead. Sensors are described as being PNP or NPN and sourcing or sinking. Whether you’re replacing existing sensors, adding sensors to a system, or starting from scratch, it’s important to select the right type.

1. PNP and NPN Sensors

PNP and NPN refer to how the transistors within the sensor switch the signal on and off. In a PNP sensor the signal goes high (+24V) when switched on while in an NPN sensor it goes low. It’s important to use the right type because it must complement the input module.

When replacing sensors, note that European and North American machine manufacturers generally prefer PNP sensors while Asian equipment often uses NPN.

2. Sourcing and sinking

These terms also relate to the transistors in the sensor. In a PNP sensor the signal is raised to +24V to indicate a logical true and this flows into the PLC DI module. Thus the sensor is the source and the DI module the sink.

With an NPN  sensor this becomes the sink and the PLC is the source. Thus 0V from the sensor is the logical true.

3. Switching logic

Sensors may be configured to be normally open (NO) or normally closed (NC). For example, a photosensor on a conveyor may output a low signal when no part is present and switch to high when the beam is blocked, or the opposite.

In addition, sensors can be wired in series or in parallel. This provides an opportunity to create AND and OR functions which reduces the number of wires running to the PLC and the amount of PLC programming needed.

Digital Sensor Types

Digital Sensors in Industrial Machinery: Function, Types, and Best Practices

Digital Sensor Selection Considerations

The main points are:

Get Help With Sensors from JH Foster

The best sensor delivers repeatable, accurate and reliable operation of the machine or other device to which it’s installed. Conversely, a poor choice could result in inconsistent operation that leads to variable quality, frequent stoppages, and may even create hazardous working conditions.

Specialists at JH Foster can advise on the best sensors for your applications. Contact us for a quote.


John Henry Foster recently acquired Sensors Incorporated and Sensors Integration. Sensors is a national leader in integration of industrial sensors, safety and machine vision with technical service and support for OEMs, system integrators and end users. Although both companies continue to operate independent of each other, both companies have strong intellectual resources and knowledge share with one another.

Images courtesy of Banner Engineering and Sensors Incorporated


Industrial equipment

  1. Key Automotive Sensors: How Modern Cars Use Advanced Technology
  2. Understanding the Oxygen (O2) Sensor: Role, Placement, and Failure Signs
  3. Digital Magnetic Hall Sensors: Fundamentals, Design, and Automotive Applications
  4. Which LiDAR Wavelength Will Dominate Automotive Applications?
  5. NASA-Developed Inductive Non-Contact Position Sensor for Precise Motion Control
  6. New Wearable Hologram Sensor Provides Instant Gas Leak Alerts
  7. Distance Sensors Explained: Types, Uses, and How to Choose the Right One
  8. Mastering Hall Effect Sensors: Principles, Applications, and Design
  9. Camshaft Position Sensor Explained: How It Keeps Your Engine Running Smoothly
  10. Crankshaft Position Sensor Explained: Powering Precise Engine Timing