Application note
ifm Sensor FAQ: Time of Flight, AL1590 MQTT, Load Cell Testing, and Caliper Battery Cover Fixes
-
1. What is an ifm time of flight sensor?
-
2. How do I configure an ifm AL1590 IO-Link master for MQTT?
-
3. How do I test a Rice Lake load cell?
-
4. Why does my caliper battery cover keep falling off?
-
5. Is the multimeter 87 still worth buying?
-
6. My ifm sensor works in the workshop but fails on the machine. Why?
-
7. Why did my AL1590 stop publishing MQTT after a power cycle?
Got an email at 6:47 PM last night: “ifm sensor dead, line down tomorrow.” That's normal for me. I coordinate rush diagnostics and replacement parts for plants that can't afford downtime. Last quarter, we processed 47 emergency calls. 95% of them came down to something small that should have been checked first. This FAQ follows the same order I use on site.
1. What is an ifm time of flight sensor?
An ifm time of flight sensor measures distance by calculating how long a light pulse takes to hit a target and return. It is not just a photoelectric eye. A smart ToF sensor gives you a real distance reading, or at least a repeatable switch point at a set distance.
When I first started doing field sensor work, I assumed ToF was just “fancy photoelectric.” Then I lost an afternoon to a sensor that couldn't see a dark pallet because I didn't check the reflectivity spec. That was my mistake. Check the datasheet for minimum reflectance and target size before you mount the sensor.
Common places I install ifm ToF sensors: bin level detection, stack height control, AGV collision avoidance, and positioning. In each case, the key is a clean optical path and a stable target surface.
2. How do I configure an ifm AL1590 IO-Link master for MQTT?
The ifm AL1590 IO-Link master MQTT configuration is more straightforward than people expect, but there are two traps: IP addressing and port mode.
- Assign a static IP address to the AL1590, or set a DHCP reservation. A floating IP is the #1 cause of “IoT gateway offline.”
- Open the web interface and set each connected port to IO-Link mode. Verify the device ID against the IODD (per IO-Link 1.1).
- In the MQTT section, enter your broker IP, port (1883 for plain TCP, 8883 for TLS), and a unique client ID. Do not let the client ID auto-generate on every reboot.
- Map the process data inputs you want to publish, and set QoS to 1. QoS 0 is fine for non-critical data, but not for alarms.
- Save and reboot. Then watch the traffic on the broker—a 5-minute wire check saves a week of “why is no data arriving.”
As of April 2025, ifm's current firmware supports MQTT 3.1.1. If you use an older firmware, update it before you start the configuration. The AL1590 web interface is basic, but it works. Check the current manual on ifm's website if you are on a different firmware version.
3. How do I test a Rice Lake load cell?
Here's how to test a Rice Lake load cell with a multimeter 87 in your hand. This is the same routine I use before declaring a load cell dead.
- Disconnect the load cell from the indicator or junction box. Test with no load on the cell.
- Set the multimeter 87 to ohms. Measure between EXC+ and EXC−. A typical Rice Lake cell reads 350 Ω, sometimes 700 Ω or 1000 Ω. Then measure between SIG+ and SIG−. It should read the same nominal value, within about 0.5%.
- Measure from each wire to the cable shield. A healthy cell reads overrange/open. If you see a few hundred kΩ and climbing, that's moisture inside the cable. Dry it out before you condemn the sensor.
- To check the output, apply a known excitation—10 V DC is standard for many cells—and read the millivolt signal with the same multimeter 87. At zero load, the millivolts should be close to 0. With a test weight, the signal climbs in proportion to the rating on the label.
From the outside, this looks like simple resistance measurement. The reality is that you need a stable meter and a known test load. The multimeter 87 is old enough to be uncool, but its mV range is still reliable. (If your reading drifts, check the battery and the test leads first.)
4. Why does my caliper battery cover keep falling off?
Nine times out of ten, it's not the cover. After a battery change, the cover falls off because the battery isn't seated flat, or the contact spring is compressed. The cover's retaining ribs slip off the raised edge.
Clean the battery contacts with a cotton swab and a touch of alcohol. Press the battery down until it's fully below the cover edge. Then snap the caliper battery cover on from the back, not the front. If the cover is still loose, a small strip of electrical tape across the seam will hold it until you get a replacement cover. Not elegant, but workable.
This is exactly the “prevention over cure” category—when you buy a digital caliper, order a spare battery cover at the same time. Ten minutes of prevention beats a lunch break spent hunting a tiny plastic piece on the shop floor.
5. Is the multimeter 87 still worth buying?
The classic 87 is still my go-to meter for sensor and load cell work. It reads millivolts, microamps, and ohms without extra fuss. The rotary switch has a solid feel, and the input jacks take abuse.
If you buy one used, open the battery compartment first. Check the fuse for the current range. A missing or blown fuse is common and tells you how the last owner treated it. Also check the continuity buzzer before you rely on it—a dead buzzer still shows “0” on the screen, but that's your only warning before you button everything up.
Not a brand fanboy take. I've used cheaper meters that were fine for 24 V sensor circuits. But when I'm measuring a load cell at 1.2 mV, I want a meter I can trust. The 87 does that.
6. My ifm sensor works in the workshop but fails on the machine. Why?
This question gets me every time. The sensor is fine—most of the time, the installation isn't.
Check the cable first. Cables. Always the cables. VFD cables running parallel to the sensor cable cause false triggers. A loose M12 connector does the same. Put a tie wrap on the cable near the connector to stop vibration from working the nut loose.
Then check power under load. A sensor that reads 24 V with no load can dip under 18 V when the valve solenoid kicks in. That causes resets. Check target color and material, and make sure the sensing range is set with some margin.
5 minutes of verification beats 5 days of correction.
That phrase is the reason my company now has a checklist for every emergency sensor replacement.
7. Why did my AL1590 stop publishing MQTT after a power cycle?
This is the “you didn't know to ask this” question. The common causes are DHCP and client ID.
If the AL1590 uses DHCP, a power cycle can hand it a new IP address. The broker can't reach it, so the MQTT stream silently stops. Fix: set a static IP or a DHCP reservation.
The second cause is a client ID that changes on reboot. The broker treats it as a new connection, so any subscriptions are lost. Set a fixed client ID in the ifm AL1590 IO-Link master MQTT configuration section. Use QoS 1 for the data you actually care about.
Watch the first 30 seconds after reboot. If the diagnostics page shows a TCP connection but the broker shows nothing, it's almost always one of these two.
That's the list. If you're facing a deadline, start with the cable, then the power supply, then the configuration. And keep a spare caliper battery cover in the drawer—you'll need it.