In this week’s deep dive on Coordinated with Fredrik, we tackled the $222 billion elephant in the room. That is the estimated amount manufacturers spend annually on maintenance caused by aging equipment. As engineering leaders, we face a brutal dilemma: How do we embrace Industry 4.0 and predictive analytics without ripping out the legacy systems that are actually keeping the lights on?. We hear so much about “digital transformation,” but in sectors like energy and water, reliability is everything3. You cannot just beta-test a substation. The answer isn’t to replace the past; it’s to coordinate it with the future. The “Operational Museum” and Trapped Data Most industrial environments are what I call “operational museums”. You have equipment from the 80s, 90s, and today, all trying to coexist. The biggest cost here isn’t just the spare parts; it’s the trapped data. We still see critical machine data confined to clipboards and paper logs. When data is entered manually hours later (or never), it becomes worthless for automation. You can’t build a predictive maintenance algorithm on data that is late or inaccurate. The 45-Year-Old Backbone: Modbus To solve this, we went technically deep into the grandfather of industrial connectivity: Modbus. It was published in 1979 by Modicon. Why are we still talking about a protocol that predates the World Wide Web? Because it is royalty-free, ruthlessly simple, and it runs on everything. However, integrating Modbus is where the “coordination” headache begins: * The Architecture: It uses a Master-Slave architecture where slaves are passive - they only speak when spoken to. * The Addressing Trap: One of the biggest debugging time-sinks is the difference between the documentation (one-based indexing) and the actual message packet (zero-based addressing). * The Security Void: Modbus has zero native security. If you are on the network, you can read or write to any register. The Strategic Pivot: The Gateway So, how do we bridge a 1979 protocol with 2025 AI analytics? We don’t rip out the machines. We invest in intelligent gateways. The strategy discussed in this episode involves using gateways to translate raw, local Modbus data into modern, IT-friendly protocols like MQTT or OPC UA. * OPC UA adds context and security, modeling the data so a register isn’t just a number, but a defined temperature value. * SunSpec standardization helps manage multi-vendor solar plants by ensuring registers are always in the same place. The Human Factor Finally, we can’t ignore the biological component of the system. Automation fails when the people on the floor reject it. We looked at a case study where foundry workers rejected a “cobot” because they saw it as a threat. Successful coordination means redefining the human role from “operator” to “supervisor and augmenter” The Takeaway Digital transformation isn’t a binary choice between old and new. It is an “and” strategy. By using gateways to coordinate legacy reliability with modern analytics, we can turn dormant data into immediate operational levers. Listen to the full episode to hear the technical breakdown of RS-485 best practices and why “daisy chaining” is non-negotiable. This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit frahlg.substack.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_01Welcome to the Deep Dive. I want to start today by asking you, as an engineering leader, a pretty fundamental question about digital transformation.
SPEAKER_02Okay.
SPEAKER_01We hear so much about Industry 4.0, but in a sector like energy, where reliability is everything, what's the real cost? If maintenance alone is costing manufacturers up to $222 billion a year because of agent equipment, where do you draw the line?
SPEAKER_02That's the core dilemma, isn't it? How do you decide when to replace the old proven systems versus just integrating them? Exactly. Because if those legacy protocols are what's guaranteeing your uptime right now, the risk of adding new layers is very, very real.
SPEAKER_01So that's what we're doing today.
SPEAKER_02Yeah. This deep dive is all about giving you the technical and the strategic framework to answer that. We're going to unpack a whole stack of sources that get into this interplay between future ready automation and the 40-year-old protocols that are still keeping the lights on.
SPEAKER_01Specifically Modbus.
SPEAKER_02Specifically Modbus. No.
SPEAKER_01Absolutely. So our mission today is clear. We're going to dissect the main obstacles to modernization and then we're going to do a really detailed engineer level deep dive into that foundational protocol.
SPEAKER_02We need to understand its architecture, its quirks, all of it.
SPEAKER_01so that you can make those critical decisions about interoperability, about system longevity, and at the end of the day, where you put your capital for the highest return, both for Sourceful Energy and really for anyone listening who's dealing with these kinds of brownfield sites.
SPEAKER_02Okay, so let's start with that foundational tension we just mentioned. The past versus the future right there on the factory floor. Most industrial environments, especially in sectors like energy or water, were built out decades ago. They rely on legacy equipment, legacy software.
SPEAKER_01And these things were just not designed for modern plant automation.
SPEAKER_02No, not at all. They weren't thinking about AI or the massive data loads of Industry 4.0. They were built for one thing, robust, reliable control, not agile communication.
SPEAKER_01And that failure to communicate is where the money pit opens up. If your infrastructure can't support predictive maintenance, you're stuck in reactive mode. You're just fixing things after they break. Or you're doing inefficient time-based maintenance instead of condition-based. And we keep coming back to that huge number, an estimated $222 billion spent every year globally just on maintenance tied to aging equipment.
SPEAKER_02And we really need to break down what that number means. It's not just the cost of a spare part.
SPEAKER_01No, it's much bigger than that. It's the unplanned downtime, which can be millions an hour in some sectors. It's inefficient labor teams diagnosing things by hand instead of being guided by data. It's even things like having to keep a huge inventory of spore parts just in case.
SPEAKER_02Exactly. High insurance premiums, regulatory fines, it all adds up. So that shift from reactive to predictive maintenance, that is the single biggest leverage point for financial optimization here.
SPEAKER_01Okay, so let's unpack the hurdles. What's stopping you from making that shift? Our source would point to three really common interconnected obstacles. The first one is all about that information disconnect.
SPEAKER_02Yeah, this is the trapped data problem.
SPEAKER_01Trapped data.
SPEAKER_02The information exists, the machine is generating it, but it's collected in formats that just don't play nicely with modern IT platforms.
SPEAKER_01And the classic example is the clipboard.
SPEAKER_02The clipboard, paper logs, isolated spreadsheets. An operator checks a pump, writes down a vibration level, and that critical piece of data might get entered into a system hours later. Or never. Or never. And that delay, or just the simple inaccuracy of someone typing it in wrong, it makes the data worthless for automation.
SPEAKER_01You can't build a predictive algorithm on data that's late or incomplete.
SPEAKER_02No. Automating the data collection itself, pulling it right from the machine with a protocol like Modbus, That is the absolute first step. You cannot build a smart plant on clipboards.
SPEAKER_01And that leads right into the second big obstacle.
SPEAKER_02Which is bringing all these different systems and protocols together. A typical large plant is like, it's like an operational museum.
SPEAKER_03Oh, I like that.
SPEAKER_02You've got equipment from different decades, different manufacturers, all with their own philosophies, all trying to coexist. You might have Modbus, Ethernetip, Profabus.
SPEAKER_01Maybe even some ancient DH plus running in a corner somewhere.
SPEAKER_02Exactly. So the challenge shifts from just collecting data to translating it. interoperability becomes everything.
SPEAKER_01And the strategy isn't to replace it all.
SPEAKER_02No, it's intelligent translation. The sources highlight a great example of a gas company. They used a gateway to pull their remote engine controls using simple Modbus.
SPEAKER_03Okay. And then that gateway translated and sent the data seamlessly to their central
SPEAKER_02Rockwall processor using the much more complex Ethernet-IP protocol.
SPEAKER_01So the gateway is the strategic investment. It lets you maximize the assets you already have.
SPEAKER_02Precisely. Which brings us to obstacle number three, which is purely financial and strategic. Planning this transformation at the right pace.
SPEAKER_01Because capital budgets are always tight.
SPEAKER_02Always. Rising costs, supply chain disruptions. You can't just greenfield every site or do a massive software overhaul all at once. It's financially impossible and it's operationally very risky.
SPEAKER_01So the answer has to be a phased, step-by-step roadmap.
SPEAKER_02It has to be. You avoid the big risky bets by leveraging what you already have. Use those intelligent gateways to extend the life of your current machines and you reduce the immediate capital hit. Migration scenarios become your most important tool.
SPEAKER_01Okay. So that covers the protocol and data side. But the sources also zoom out a bit and they identify five broader field level challenges that can derail automation, even if you get the communication right.
SPEAKER_02Right. And the first one is about managing environmental variability.
SPEAKER_01What do you mean by that?
SPEAKER_02Well, conventional automation loves stability. It wants fixed routines, repeatability. But the real world is messy.
SPEAKER_01Things change.
SPEAKER_02Things change. You get logistical delays, urgent orders, temporary reconfigurations. And rigid automation systems tend to fail spectacularly when that happens. The example of the eponymous mobile robots, the AMRs, really drives this home. It does. They're programmed for fixed routes in an assembly plant. But say an urgent order comes in and you have to temporarily move a kitting station 10 feet to the left.
SPEAKER_01The robots get lost.
SPEAKER_02They get lost. They fail their mission. You get cues, interruptions, and suddenly people have to step in and do it manually, which defeats the entire purpose.
SPEAKER_01So what's the solution? The sources talk about living systems.
SPEAKER_02Yeah, and this requires three layers of intelligence working together. First, you need real-time sensors to actually see the physical changes.
SPEAKER_03Okay. Second, the AMR itself needs some onboard logic to recalculate its path on the fly.
SPEAKER_02And third, this is the crucial part, You need a centralized robotic orchestrator that's connected to your EER key system.
SPEAKER_01So it knows the business priorities.
SPEAKER_02It knows the priorities. It can sync the logistics with the production needs. And the whole automated system can adapt dynamically to whatever the real world throws at it. The second broader challenge brings us back to integration, but from a different angle.
SPEAKER_01This is about the physical incompatibility of old equipment.
SPEAKER_02Exactly. Old PLCs, old machines, old software, all trying to live together.
SPEAKER_01There's a great example from a food processing company.
SPEAKER_02Yes. They wanted to use an intelligent camera for quality control. Very modern. But the legacy PLC controlling the conveyor belt? It just wasn't built for that kind of precision. It couldn't stop the belt accurately enough for the camera to get a clear picture. Right. You get blurred images, missed defects. But the solution wasn't to rip out the old reliable PLC.
SPEAKER_01They used a gateway.
SPEAKER_02They used an OPC UAM QTT communication gateway. It created this agnostic interoperability layer between the old OT world of the PLC and the new IT world of the camera and the analytics server. The two systems could talk without changing a single line of the legacy control logic.
SPEAKER_01And that successful incarnation opens the door to the third challenge, how to actually exploit and structure all the data you're now collecting.
SPEAKER_02The data deluge.
SPEAKER_01Thousands of events a day from all these sensors. You've solved the collection problem with Modbus, but now what? The data is often siloed or analyzed way too late.
SPEAKER_02And the architecture you need here is edge computing. Instead of sending every single raw data point up to the cloud, you do local processing right there at the edge.
SPEAKER_01So you're filtering it.
SPEAKER_02You're filtering it. You aggregate just the critical, actionable data points, waiting times, weight, loading rates. And you feed that into local algorithms for real-time anomaly detection. You turn dormant data into an immediate operational lever.
SPEAKER_01You get an alert in milliseconds, not in report you read hours later.
SPEAKER_02Exactly.
SPEAKER_01Okay, challenge number four is all about location, location, location. Precise indoor geolocation.
SPEAKER_02Yeah, if you're using anything that moves, AGVs, robots, even people with augmented reality, you need a reliable real-time location layer. It's basic infrastructure.
SPEAKER_01And this is especially tough in a dynamic logistics center.
SPEAKER_02It is. If workstations get moved around, the AGVs can get completely disoriented, and standard GPS doesn't work well indoors.
SPEAKER_01So what's the tech?
SPEAKER_02You need something like ultra-wideband, UWB, or sophisticated vision systems that can continuously locate both the workstations and the AGVs, even in environments with a lot of metal and movement. The key is that the system has to automatically update the delivery points without needing manual recalibration.
SPEAKER_01And finally, the fifth challenge, maybe the most important one.
SPEAKER_02The human factor, supporting the teams. We see so many projects fail, not because the tech was bad, but because the people rejected it. Total lack of team ownership. The case study of the foundry worker and the co-bot is just perfect.
SPEAKER_01Right. The collaborative robot was installed and the operators immediately saw it as a threat.
SPEAKER_02A threat to their jobs. So they just, they found ways to ignore it, to work around it. The technology was fine, but the organization was broken.
SPEAKER_00So what did they do?
SPEAKER_02They had to go back to the drawing board. They did active on-site training. They co-designed the workflows with the operators getting their feedback. They had to fundamentally revalue the human's role as a supervisor and augmenter of the system.
SPEAKER_01You have to make the human factor the keystone, not the obstacle.
SPEAKER_02Absolutely. Successful automation means rethinking the employee's role from a physical performer to an augmented player.
SPEAKER_01Okay, we've set the stage. We know the obstacles. Now let's get into the core technology that's keeping so many of these brownfield sites running. Let's talk Modbus.
SPEAKER_02The grandfather of industrial connectivity. Where did this thing come from and why on earth are we still talking about it 45 years later? It's an amazing story, really. It was published way back in 1979 by Modicon, the PLC maker, who are now part of Schneider Electric. And at the time, this was completely revolutionary.
SPEAKER_01The first widely accepted field bus standard.
SPEAKER_02Yeah, and its genius was its simplicity. It created this very simple, open, and this is the critical part royalty-free messaging structure. It was built for multi-drop networks on a master-slave architecture.
SPEAKER_01And that royalty-free part is why it's everywhere.
SPEAKER_02It's exactly why. Any manufacturer could just implement it without paying licensing fees, so it got baked into everything. RTUs, sensors, meters, drives, you name it. Its reliability, its simplicity, and its versatility. The fact that it runs over old serial lines and modern Ethernet makes it perfect for connecting legacy gear today.
SPEAKER_01So let's talk about the core communication model. It's a request-response system.
SPEAKER_02Fundamentally, the client or the master initiates everything. It sends a request, a query, the server or the slave just listens, and then it responds with data or it executes a command.
SPEAKER_01And this is a really important distinction for engineers.
SPEAKER_02Crucial. Slaves never, ever initiate communication. They are completely passive. They only speak when spoken to based on the master's polling schedule.
SPEAKER_01And the addressing on a serial line is also elegantly simple.
SPEAKER_02Each slave gets a unique address from 1 to 247. The mastel sends out a message with the target address, and only that specific node responds. All the others just ignore it.
SPEAKER_01And what's address 0?
SPEAKER_02Address 0 is for broadcast messages. So all the slaves have to listen and execute the command, but they're not allowed to send a response back. It keeps the network quiet.
SPEAKER_01Every message follows a very rigid structure, right?
SPEAKER_02Very rigid, which is great for debugging. It's always the same sequence. Device address, then the function code.
SPEAKER_01Which says what to do, like read a register.
SPEAKER_02Exactly. Then the data payload itself, and finally an error check. A CRC, usually. If it all works, the slave responds with the same function code. If there's a problem, it signals an exception by flipping the most significant bit of that function code high.
SPEAKER_01Okay, let's get into the memory structure. This is where engineers really need to pay attention. Modbus organizes data into four distinct tables.
SPEAKER_02four separate memory blocks inside the slave device, and they're categorized by two things, access, type read-write or read-only, and data size, 1-bit or 16-bit.
SPEAKER_01Let's start with the 1-bit values, the discretes.
SPEAKER_02Okay, first you have coils. Think of these as discrete outputs. They're 1-bit values, on or off, true or false.
SPEAKER_01And they're read-write, so I can check if a pump is on, and I can also send a command to turn it off.
SPEAKER_02Precisely. Then you have discrete inputs. Also one bit, but these are read-only. This would be the status of something like an emergency stop button or a door sensor. You can read it, but you can't change it.
SPEAKER_01Then we move up to the 16-bit values, the registers. First, holding registers.
SPEAKER_02These are the workhorses. They're 16-bit words, and they are read-write. This is where you put your configuration values, your set points.
SPEAKER_01Like setting the target flow rate for a valve.
SPEAKER_02Exactly that. And finally, you have the input registers. Again, 16-bit words, but these are strictly read-only. This is where your measurements live.
SPEAKER_00The current temperature of a boiler. The voltage from a meter.
SPEAKER_02All your process variables. You can only observe them. And each of these four tables can hold up to 65,536 items. Okay.
SPEAKER_01Now for the part that trips everyone up. The real headache. The addressing. This is without a doubt the single biggest source of debugging time when you're
SPEAKER_02integrating gear from different vendors. So the documentation, the manuals, they use a convention called one-based indexing. Right. Modicon notation. So logically, you'll see holding registers starting at address 4001. That's the human readable address.
SPEAKER_01But that's not what you send in the message.
SPEAKER_02No, absolutely not. The actual Modbus message packet uses a zero-based address offset from the start of that memory block.
SPEAKER_01So if I want to read the first holding register, the manual calls 4001.
SPEAKER_02The address you actually put in the query packet is 0. If you want 4000 or 0, no, the offset is 1. If you mix those two up when you're writing your control logic, nothing will work. Guaranteed failure.
SPEAKER_01On top of that, there's the data encoding, the byte order.
SPEAKER_02Right. Modbus specifies big Endian representation.
SPEAKER_01Which means what in practice?
SPEAKER_02It means for a 16-bit value, the most significant byte, the high byte, is always transmitted first, followed by the least significant byte. So for a value like hex 1234, the byte 12 gets sent before the byte 34.
SPEAKER_01That seems like a minor detail, but becomes critical when you start dealing with more advanced data types.
SPEAKER_02It becomes mission critical.
SPEAKER_01So how does a 16-bit protocol handle modern data, which often needs 32 or even 64 bits of precision?
SPEAKER_02It does it by concatenation. You can combine adjacent 16-bit registers to form larger data types, like a 32-bit floating point number. So to get that value, you need to read two contiguous registers in a single request. And then the master has to stitch those two 16-bit words back together into the
SPEAKER_01correct 32-bit value.
SPEAKER_02Right. And this is where vendors love to introduce their own special brand of confusion.
SPEAKER_01Oh, so. While the Modbus standard says the byte order within a 16-bit register is Big
SPEAKER_02Endian, it doesn't strictly define the word order when you combine two registers. So some vendors might put the high word first and others might put the low word first. And they do all the time. So as an engineer, you have to check the vendor's manual to see if you need to swap the registers after you read them. You get that word older wrong. The number you get back is complete garbage. The reason Modbus has survived for so long is its ability to run on different physical layers. It started on serial lines and that version Modbus RTU is still the reliable workhorse.
SPEAKER_01Especially for remote or noisy environments like in the energy sector.
SPEAKER_02Absolutely indispensable. Modbus RTU, remote terminal unit, it mostly uses RS-485 as the physical layer, right?
SPEAKER_01Which was a big step up from the older point-to-point RS-232.
SPEAKER_02A huge step up. RS-485 gave us multi-drop networking. You could suddenly put 32 or more devices on a single cable bus over much longer distances.
SPEAKER_01And RTU is efficient.
SPEAKER_02Very efficient. It uses a compact binary format. Unlike the ACI version of Modbus, which uses two text characters for every byte of data, RTU uses one. You get much higher data density, which is critical over those slower baud rates. And for data integrity, it uses that robust 16-bit CRC.
SPEAKER_01And the framing is interesting. It doesn't use start and end characters. It uses silence.
SPEAKER_02Yeah, it's a timing-based protocol. A gap of at least 3.5 character times of silence on the line signals the start and end of a message. Within that frame, the data has to be continuous.
SPEAKER_01Okay, let's focus on RS-485's reliability because this is where the strategic decisions really come into play for you. For critical assets like pump stations or remote substations. Why is RS-485 considered so bulletproof?
SPEAKER_02The answer is differential signaling. Instead of measuring voltage against ground, it's looking at the difference between two wires. Exactly. Two wires, usually labeled A and B. So when a big motor kicks on and creates a blast of electromagnetic interference, or EMI, that noise hits both wires more or less equally.
SPEAKER_01It's common mode noise.
SPEAKER_02It is. And because the receiver is only looking for the difference in voltage between A and B, it effectively just ignores that common noise. That's what makes it so resilient. It's why you can run these networks reliably for up to 1200 meters, about 4000 feet.
SPEAKER_01But that reliability comes with some very strict engineering rules. The topology, for one, it has to be a daisy chain.
SPEAKER_02Always. If an engineer tries to use star wiring on an RS-485 bus...
SPEAKER_01It's a disaster.
SPEAKER_02Total disaster. You get signal reflections off the ends of the wires, which corrupts the data. You see these intermittent phantom communication failures that are a nightmare to debug.
SPEAKER_01And there are three non-negotiable setup details that have to be perfect. What are they?
SPEAKER_02First and most important, termination resistors. You have to have a resistor, usually 120 ohms, at both physical ends of the bus. Forgetting to put one on the far end is probably the number one cause of field communication problems.
SPEAKER_01It prevents those signal reflections.
SPEAKER_02It absorbs the signal energy, yes. Second, you need biasing resistors. Why? Because when the line is idle, the voltage can just float in an undefined state. Noise can make the receivers think a new message is starting. Biasing resistors gently pull the lines into a known idle state.
SPEAKER_01And third, isolation.
SPEAKER_02Crucial in big industrial sites, you often have devices grounded at different points, creating what's called a ground potential difference. This can inject huge amounts of noise right onto the bus.
SPEAKER_01So you use isolated transceivers?
SPEAKER_02You have to. They use an optical or capacitive barrier to pass the data signal through, but block the ground loop noise. It preserves the signal integrity.
SPEAKER_01Okay, so if RTU on RS-485 is the field workhorse, Modbus TCP IP is the bridge to the modern world.
SPEAKER_02It is. It just runs on the standard TCP IP stack over Ethernet or Wi-Fi, usually on port 502. And the huge architectural shift is concurrency.
SPEAKER_01Multiple masters.
SPEAKER_02Multiple masters. Your SCADA system, your HMI, a cloud gateway. They can all talk to the same Modbus server at the same time. You can't do that on a single master serial RTU network.
SPEAKER_01And it doesn't need the CRC check.
SPEAKER_02Nope. It's all wrapped in a TCP IP packet, so it relies on the TCP layer for error checking and guaranteed delivery. It just adds a small 7-byte header called the MBAP header. Which brings us to a really powerful migration strategy, Modbus RTU over TCP. This is a fantastic tool for brownfield sites. You're basically taking the entire serial Modbus RTU frame CRC and just wrapping it inside a TCP IP packet. So your legacy serial device doesn't even know it's on an Ethernet network. It's completely transparent to the end device. You use a gateway and you can suddenly control your old serial
based systems from
SPEAKER_02anywhere on the IP network without touching the field hardware.
SPEAKER_01Now, before we move on, we should quickly mention an even older protocol from the sources, just for context, Data Highway Plus or DH Plus.
SPEAKER_02Oh, yes. This is a perfect example of the kind of deep legacy that you're dealing with out there. Introduced by Alan Bradley in the late 70s, same era as Modbus, but totally proprietary. And it used a completely different mechanism called token passing to manage the bus. Very complex. It also used differential signals, but they were transformer coupled, which was great for noise immunity.
SPEAKER_01The language it spoke was proprietary to.
SPEAKER_02PCCC, Programmable Controller, Control, and Command Language. Fundamentally different from Modbus. It used specific commands to access structured data tables inside the PLCN files, B files, F files.
SPEAKER_01So if you want to integrate a DH Plus network today, You need a highly specialized gateway that can understand and translate that very specific structured language into something modern like Modbus TCP or OPC UA.
SPEAKER_02And there are still hundreds of thousands of these nodes out there.
SPEAKER_01Okay, so we know Modbus is the plumbing. But its architecture, this polling paradigm, it has major strategic consequences.
SPEAKER_02It does. It's a synchronous protocol. The master has to constantly ask for data. The faster you poll, the more current your data is, but the more load you put on the network.
SPEAKER_01For basic telemetry, you might poll every few seconds.
SPEAKER_02One to five seconds is typical. But if you're trying to do a tight control loop, you need sub-second polling, and that really starts to stress the network and the slave device.
SPEAKER_01This structure also defines best practices for performance.
SPEAKER_02Yeah.
SPEAKER_01Why is a register sweep, reading a block of contiguous registers at once, so much more efficient?
SPEAKER_02Because every single Modbus message has overhead. The address, the function code, the CRC. It's the same amount of overhead whether you're reading one register or 125 registers. So by reading 100 registers in one big chunk instead of 100 separate times. You slash the network traffic. You minimize latency. You maximize throughput. It's the number one optimization technique for Modbus.
SPEAKER_01And it's also critical for data consistency, especially with those 32-bit values we talked about.
SPEAKER_02Absolutely. If you read the two 16-bit halves of a 32-bit float in two separate requests, the device could update the value right between your two reads.
SPEAKER_01And you end up with a garbage number.
SPEAKER_02A useless hybrid value. Reading them in one frame ensures you get a consistent snapshot. Though as an engineer, you still need to check the vendor docs to see how truly atomic that snapshot is inside the device itself.
SPEAKER_01So Modbus is the data source, the plumbing. But it's not the modern pipeline. The key strategic investment is the IoT gateway.
SPEAKER_02The gateway is the translator. It's the magic box. It takes that raw local register based Modbus data and converts it into modern cloud friendly protocols like MQTT or HTTP. And that's what enables the analytics, the AI, the enterprise level energy management. That is the move. The gateway is how you aggregate data from thousands of meters across dozens of sites into one unified actionable platform.
SPEAKER_01Which leads to the big strategic question for you. When is the simplicity of Modbus not enough? When do you need something more complex?
SPEAKER_02Let's do a head-to-head comparison. First, Modbus versus OPC UA. Modbus is lightweight, simple, device level. It gives you raw values. OPC UA, Open Platform Communications Unified Architecture, operates at a much higher enterprise level.
SPEAKER_01What are the key advantages of OPC UA that justify that complexity?
SPEAKER_02Two big things. First, advanced data modeling. OPC UA doesn't just give you a number, it gives you context. It can tell you that register 4001 is actually boiler 3 outlet temperature with units in Celsius, a quality flag, and an acceptable range.
SPEAKER_01So it reduces the integration work on the back end.
SPEAKER_02Drastically. And second, security. OPC UA was built from the ground up with robust security. Authentication, authorization, encryption, it's all built in. You can't say that about classic Modbus.
SPEAKER_01Okay, next comparison. Modbus TCP versus Ethernet AP.
SPEAKER_02Right. Modbus TCP is simple, easy, great for legacy support. Ethernet AP is built for high performance control and much more complex, scalable networks.
SPEAKER_01And the crucial difference is how they handle timing, right? Modbus is just asynchronous polling. whereas Ethernetopsy's real power is its ability to do real-time communication with cyclic I.O. What does that mean for a control system?
SPEAKER_02It's vital. Cyclic I.O. establishes a scheduled deterministic data exchange. Data updates are sent at a guaranteed fixed rate, the RPI, often down to sub-millisecond levels.
SPEAKER_01Which is why it's used for things like high-speed motion control.
SPEAKER_02Exactly. Modbus polling is reliable, but it's not deterministic. It's not suitable for those really stringent, real-time applications. Ethernet also supports more complex topologies and has much better diagnostics and built-in security.
SPEAKER_01And this brings us right back to the biggest vulnerability of Modbus.
SPEAKER_02It's complete lack of native security.
SPEAKER_01It was designed in 1979. They weren't thinking about cybersecurity.
SPEAKER_02Not at all. So in a critical infrastructure scenario, like a solar plant, security depends entirely on network isolation. Air gaps, industrial VPNs, firewalls.
SPEAKER_01Because if an attacker gets onto that network...
SPEAKER_02They can read, or much worse, write to any control register they want with no protocol-level challenge whatsoever. Now, there are modern extensions like Modbus Security that add encryption. There are, but they require both the client and the server to support it, which your legacy field equipment almost never will. So as a leader, you have a choice. invest heavily in network segmentation to protect simple protocols or invest in protocols that have security built in.
SPEAKER_01Finally, let's touch on a real success story for the energy sector. The SunSpec standardization.
SPEAKER_02This is a huge deal. It's all about tackling vendor heterogeneity.
SPEAKER_01So historically, if you had solar inverters from three different brands.
SPEAKER_02You had three completely different Modbus register maps. To integrate them, you had to write three different software drivers, constantly digging through manuals to find the registers for voltage, power, status, and so on. It was a mess.
SPEAKER_01And SunSpec fixes this. It defines common standardized register models for renewable energy devices.
SPEAKER_02So if a device is SunSpec compliant, you know that the basic metrics will always be in the same place, in the same format. It radically simplifies integration in multi-vendor plants. So we started this deep dive with the cost of aging equipment and that tension between reliability and digital transformation. And I think what the sources show us is that it's not an either choice. It's an and strategy. And the key is the intelligent use of gateways.
SPEAKER_01The technical details really confirm that. For those remote, noisy brownfield sites, the resilience of RS-485 running Modbus RTU is still a fantastic tool. It's cost effective. It's robust. It just works. But the second you need speed or concurrency or you want to get that data into a
SPEAKER_02centralized SCADA system or the cloud, Modbus RTU hits a hard limit.
SPEAKER_01And that's where the strategic investment comes in, that communication layer, the gateway that translates the simple, reliable field beta into a modern IT-friendly format.
SPEAKER_02The DH Plus example is the perfect reminder. These legacy systems can hang around for decades. You need clever communication strategies to leverage that installed base, not just replace it.
SPEAKER_01So for you as an engineering leader, this all points to the need for a planned phased migration.
SPEAKER_02You have to have a roadmap.
SPEAKER_01You use gateways, things like Modbus RTU over TCP or an OPC UA bridge to unlock the valuable data that's trapped in your existing devices today.
SPEAKER_02Instead of pursuing a massive, costly, high risk rip and replace project that your capital budget probably can't support anyway.
SPEAKER_01So here's the final thought for you to take away.
SPEAKER_02We've established that Modbus, this protocol from the industrial stone age, has survived because of its utter simplicity. It's easy to implement. It's easy to debug.
SPEAKER_01But with the growing need for cybersecurity and critical infrastructure, is that very simplicity, its greatest strength, now its single greatest point of failure, if that last gateway or that isolation layer gets breached.
SPEAKER_02Or, on the other hand, does its sheer ubiquity, the fact that it's on hundreds of thousands of nodes and every engineer knows it inside and out, does that offer a different kind of defense, a sort of organizational defense in depth built on widespread expertise?
SPEAKER_01That balance between robust simplicity and necessary complexity. That's the strategic tightrope you have to walk.
Coordinated with Fredrik, Episode 127. Forty-two minutes on how a company gets its price: what a multiple counts, why the same krona can be worth seven years in one company and twenty-seven in another, how a rise in...
Fifty minutes on two runs a day apart: the rest of Vancouver, and the road from ten Helium gateways to physics first. An interview with Lily. On Thursday I answered her questions in English; on Friday I went back to...
Thirty-seven minutes on two runs a day apart: the two years after the money came in, and home. An interview with Lily. I answered her questions in Swedish while running; the English voice you hear is my cloned voice...
Thirty-nine minutes on the two years before a term sheet arrived on my birthday, and what it took to turn it into money. An interview with Lily. I answered her questions in Swedish on a fifteen-kilometre run; the...
This episode started in a car. A clear October day, low sun, the drive from Kalmar to Stockholm. I could have flown, and it would have been faster. But the hours in the car are a different kind of time. The car keeps...