Posted in

How to connect an explosion – proof tuning fork level switch to a PLC?

Hey there, if you’ve ever worked with industrial level monitoring—whether it’s managing chemicals in a refinery, bulk solids in a grain silo, or flammable liquids in a pharmaceutical processing plant—you know how critical explosion-proof equipment is. I’ve been supplying explosion-proof tuning fork level switches for over a decade now, and one question I get asked more than any other by plant electricians and maintenance teams is this: “How do I actually connect this thing to my PLC without messing up the explosion protection, or blowing a circuit?” Explosion-proof Tuning Fork Level Switch

Let’s cut to the chase—connecting an explosion-proof tuning fork level switch to a PLC isn’t just about sticking a wire into a terminal block. It’s about balancing PLC communication needs, strict hazardous area standards, and the reliability your process depends on. I’ve seen too many projects cut corners on this step, leading to false level readings, safety shutdowns, or even code violations that get plants fined. Today, I’m walking you through the exact process we walk our customers through every time they purchase one of our switches, so you can do this right the first time.

First, let’s start with the basics: why explosion-proof tuning fork level switches aren’t your standard off-the-shelf level sensor. Our tuning fork switches are designed for Class I, Division 1 or Zone 1 hazardous areas—think places where flammable gases, vapors, or dust are present 24/7 or periodically. The “explosion-proof” label means if a flammable mixture does manage to get inside the switch and ignite, the housing is strong enough to contain that explosion, and the threads on the enclosure are sized so the flame is cooled before it escapes. That’s why when you connect wiring to these switches, you can’t use just any cable gland or conduit—you have to keep that enclosure’s integrity intact.

Before we even touch tools or wires, there are three non-negotiable checks you need to do. First, confirm the hazardous area classification of your installation. Grab your plant’s process P&ID (Piping and Instrumentation Diagram) and look up the area where the switch will mount. Our switches are rated for both North American Class standards and European ATEX/IECEx, so make sure the switch’s rating matches your area—don’t try to use a Class I, Division 1 rated switch in a Zone 1 area, even if they’re similar. Second, check the switch’s output type. Most of our tuning fork switches come with two core outputs: a relay output (dry contact, no external power needed) and a 4-20 mA analog output, plus some have a digital Modbus RTU interface for smart monitoring. For PLC connections, 4-20 mA is the most common for discrete level detection, while Modbus is great if you want remote diagnostics. Third, review your PLC’s input module specs. The module needs to be rated for use in the same hazardous area? No—wait, no, the PLC is usually in a safe area (like a control room or non-hazardous junction box) connected via an intrinsic safety barrier. That’s a key point most people miss: the switch is in the hazardous area, the PLC is in the safe area, so you need a barrier to prevent excessive voltage or current from reaching the switch, which could ignite a gas.

Okay, let’s get to the step-by-step. I’m going to use the most common setup we see: our standard XPP-EX1 tuning fork switch (our best-selling model for general industrial hazardous areas) connected to a Siemens S7-1200 PLC, since that’s what 60% of our North American customers use. The steps will be similar for other PLC brands—Allen-Bradley, Omron, whatever.

Step 1: Prep the Installation Site and Gather the Right Tools
First, turn off all power to the hazardous area’s local disconnect switch. Lockout/tagout (LOTO) is non-negotiable here—never skip this, even if you “just need to connect a couple wires.” You’ll need:

  • Explosion-proof flexible conduit (or rigid metal conduit, approved for your area)
  • Explosion-proof cable glands (threaded to match your switch’s conduit entry, rated for hazardous areas, with proper IP ratings for your process)
  • Intrinsic safety barrier (we recommended our customers use barriers rated for the switch’s intrinsic safety parameters—we can provide the exact specs for our XPP-EX1 on request)
  • A wire stripper (16-18 AWG gauge is standard for this setup)
  • A screwdriver set (for the switch terminal block and PLC input module)
  • A multimeter (set to DC voltage, to test continuity and signal before powering up)
  • The switch’s installation manual (keep this handy—each model has unique wiring specs)

Step 2: Connect the Conduit and Gland to the Switch
This is where explosion protection starts, and cutting corners here is a safety risk. Our explosion-proof tuning fork switches have two conduit entries: one for power (if you’re using a relay output, some switches have an internal power supply) and one for the signal to the barrier. First, remove the plastic blank plugs from the switch’s entries (save these for if you ever need to service the switch—never leave an entry open with no plug or gland). Screw the explosion-proof cable gland into the entry hand-tight first, then use a wrench to tighten it an extra quarter turn—no more, no less. The key here is that the gland’s compression seal around the cable is tight enough to prevent flammable gas from creeping through the gap, and the threaded connection between the gland and switch is explosion-proof. Don’t use a generic gland from a hardware store—we’ve had customers tell us they tried that and got their installation rejected by the local electrical inspector; only use explosion-rated glands for hazardous areas.

Step 3: Wire the Switch’s Terminal Block
Next, strip about 1/2 inch of insulation from the end of your two-conductor signal cable (for 4-20 mA, you only need two wires: positive and negative). Do not strip more than that—exposed wire can cause short circuits inside the switch, which is a problem even in safe areas, and a disaster in hazardous ones. Look at the switch’s terminal block: it will be labeled with S+ (signal positive) and S- (signal negative). Connect the positive wire to S+ and the negative wire to S-. If your switch has a separate power terminal (used for relay outputs), connect the 24V DC power supply (rated for hazardous areas) to the L and N terminals, but make sure that power is only supplied when the system is powered up, per the barrier’s specs. Tighten the terminal screws just enough to hold the wire—over-tightening can strip the plastic terminal block, which ruins the switch’s explosion-proof housing integrity. Once the wires are in, double-check that there are no stray strands of wire sticking out—those can cause shorts or interfere with the switch’s internal circuitry.

Step 4: Install the Intrinsic Safety Barrier
Now, the signal cable runs from the switch in the hazardous area, through the conduit, to the intrinsic safety barrier, which is mounted in a safe area junction box. Intrinsic safety is the method we use to prevent ignition: the barrier limits the voltage and current going to the switch to levels too low to ignite a flammable mixture, even if there’s a fault in the wiring. For our XPP-EX1 switch, we recommend a model like the Pepperl+Fuchs KFD2-SL2-Ex1 barrier, which is pre-calibrated for our switch’s signal range. The barrier will have two sets of terminals: one set for the hazardous side (connected to the switch’s S+ and S-) and one set for the safe side (connected to the PLC’s analog input module). Label each wire here—“Switch Signal Positive” and “PLC Input Positive” will save you hours of troubleshooting later. A pro tip I give all our customers: use shielded cable for the signal run, and connect the shield only on the safe side (the barrier’s safe side terminal, not the hazardous side). Connecting both ends of the shield can cause ground loops that mess up the 4-20 mA signal, leading to false level readings.

Step 5: Wire the PLC Input Module
Now we’re in the safe area, where the PLC is mounted. Locate the analog input module (for 4-20 mA signals) on your PLC. For a Siemens S7-1200, that’s usually the AI 4x 2-wire module. The module’s terminals will be labeled AI0+ and AI0- for the first analog channel. Connect the safe side of the barrier: barrier’s positive terminal goes to AI0+ and barrier’s negative terminal goes to AI0-. Don’t mix these up—reverse polarity will give you a negative signal, which the PLC will interpret as a faulty sensor or no level reading. Once wired, use your multimeter to test the signal: set it to DC milliamps, and measure the current between AI0+ and AI0-. When the tuning fork is not covered by material (free), you should get around 4 mA. When the fork is covered (level present), you should get around 20 mA. If that checks out, great—you’re on the right track. If not, double-check your wiring, the barrier’s calibration, and the switch’s power.

Step 6: Program the PLC for Level Detection
Wiring is half the battle—programming the PLC is the other half, and it’s where a lot of people mess up. For discrete level detection (so your PLC knows when the level is high or low), you’ll set a threshold in the PLC program. Our tuning fork switches have a dead band (usually 5-10 mm of material) to prevent false triggers from vibration, so you’ll want to set the threshold between, say, 10 mA (for low level) and 18 mA (for high level) to account for that dead band. For a Siemens S7-1200, you’ll use TIA Portal software to create a data block for the level signal, then set up two bits: one for “Low Level Alarm” that activates when the signal is below 10 mA, and one for “High Level Alarm” that activates when the signal is above 18 mA. Test this with your multimeter: manually adjust the switch’s sensitivity (most of our switches have a small potentiometer on the terminal block—use a flathead screwdriver to adjust it) to simulate a covered or free fork, and confirm the PLC bits trigger correctly. If you’re using Modbus RTU, you’ll need to set the baud rate (9600 is standard for our switches) and address in the PLC, then pull the level data from the Modbus registers—we provide a free Modbus register map for all our switches to make this easy.

Now, let’s talk about common mistakes I see all the time, because these are the ones that cause problems. First, skipping the intrinsic safety barrier. I once had a customer who tried to connect our switch directly to their PLC, no barrier, and when they powered up, the switch’s internal circuit shorted, and luckily the area wasn’t actually hazardous (they misclassified it) but it still fried the switch and their PLC module. Second, using the wrong cable gland. Another customer used a compression gland from a big box store, and during an inspection, the local electrical inspector flagged it because the gland didn’t have the explosion-proof thread rating, so they had to re-do all the wiring on the weekend, costing them thousands in downtime. Third, connecting both ends of the signal shield. That causes a ground loop, leading to a fluctuating signal that makes the PLC show a level that doesn’t exist. Fourth, not confirming the dead band in the PLC. That leads to false alarms every time the process vibrates, which makes operators ignore actual critical alarms.

Once everything is wired and programmed, do a final check: turn off power, open the barrier’s junction box, confirm all terminals are tight, close it up with explosion-proof hardware, turn power back on, and test the switch by gently tapping the tuning fork (or placing a small block of material on it, if it’s installed in a silo mockup) to confirm the PLC triggers the correct alarm. For permanent installations, we recommend doing a full pressure test of the explosion-proof housing every 5 years, per NFPA 70 (NEC) standards, to make sure there are no cracks or gaps that could compromise safety.

If you’re still feeling unsure about this process, here’s the thing: as a supplier of explosion-proof tuning fork level switches, we don’t just ship you a product and disappear. We provide free installation guides, wiring diagrams tailored to your PLC model, and even virtual support to walk you through the connection step-by-step. We’ve worked with thousands of plants across industries—oil and gas, chemical, food and beverage, pharmaceuticals—and we know that even the most experienced electricians need a hand with explosion-proof wiring, because it’s not the same as wiring a light switch in your garage.

Connecting an explosion-proof tuning fork level switch to a PLC doesn’t have to be a stressful, mistake-prone process. The key is to follow the hazardous area standards, use the right components, and take your time with each step. If you have questions about our switches, need help with a specific PLC setup, or want to request our free wiring diagrams and compatibility guides, don’t hesitate to reach out. We’re here to make your level monitoring project safe, compliant, and reliable.

Capacitive Level Meter References:

  1. National Electrical Code (NEC) Article 500: Hazardous (Classified) Locations, 2023 Edition
  2. ATEX Directive 2014/34/EU: Equipment and Protective Systems Intended for Use in Potentially Explosive Atmospheres
  3. IECEx System: International Certification Scheme for Explosive Atmosphere Equipment, 2022 Edition
  4. Pepperl+Fuchs Intrinsic Safety Barriers: Selection and Installation Guide, 2021

Shandong Aipuxin Automation Instrument Co., Ltd.
Shandong Aipuxin Automation Instrument Co., Ltd. is one of the most professional explosion-proof tuning fork level switch manufacturers and suppliers in China, specialized in providing high quality customized service. We warmly welcome you to wholesale cheap explosion-proof tuning fork level switch in stock here from our factory. For price consultation, contact us.
Address: Huigu Phase 1, Zhongnan High-tech Canal New City, Rencheng District, Jining City, Shandong Province
E-mail: aipuxin0124@gmail.com
WebSite: https://www.aipxin.com/