The IT/OT Insider Video Archive
Toggle menu
Back to the archive

IT/OT Builds 9 min

Litmus Tutorial: Real Connectivity | IT/OT Builds

With Litmus Edge installed, it’s time to actually connect something. Dave McMorran connects two real data sources to our freshly deployed instance: an OPC UA server (a simulated tunnel oven) and a Rockwell PLC over Ethernet/IP — tags, naming conventions, and all.

  • Litmus Edge offers three ways to add tags: one at a time, by CSV upload, or by browsing devices that support it.
  • Dave McMorran connects an OPC UA simulator in polling mode and ingests its tags by browsing, then adds a Rockwell PLC via the generic AB Logix Ethernet driver.
  • Rather than keep browsed tag names, Dave exports them, renames them in a CSV template and re-imports them, so governance is applied at the source.
  • Right tag names give right topic names, which give one scalable data flow feeding a pre-built data model: new machines then take just two steps.
  • Naming devices to a standard, like CHK01, is part of the same governance: as Dave puts it, if you name it right, things flow.
  • Tag configuration is labor-intensive but critical data engineering, and David and Dave agree AI can get it 80 to 90 percent done from unstructured data dumps.
DM
Dave McMorran

Field CTO — Litmus

Connectivity Episode: PLCs, MQTT and OPC UA with Litmus

00:00 – 00:40

David opens another IT/OT Builds episode with Litmus, this time focused on connectivity: PLCs, MQTT, OPC UA and the rest.

He points first-time viewers to the earlier episodes, which covered where Litmus fits in the architecture and how Litmus Edge was installed, before handing over to Dave McMorran.

“In this one, we are going to do the connectivity. PLCs, MQTT, OPC UA, all the good stuff.”

David Ariens · 00:00

Connecting an OPC UA Server and Browsing Its Tags

00:40 – 03:13

Dave explains the three ways to add tags, depending on the PLC: one at a time, by CSV upload, or by browsing where the device supports it. The freshly installed Litmus Edge is still a blank slate, with no PLCs or digital twins, only its link to Edge Manager.

He connects to an OPC UA simulator running in another container, names the device after the tunnel oven and sets it to polling mode. Browsing the server exposes only the tags built for the demo rather than its 2,200, and he ingests them all, polled every second. Subscription would also work, but polling makes a slow-changing simulator visible on screen.

“So now I've got all those tags ingested now, so these are being polled every second. You could be in subscription and data comes in, but for demo purposes I made it polling.”

Dave McMorran · 01:27

Renaming Tags by CSV: Normalizing Close to the Source

03:13 – 05:21

David notes that real tag names are often internal and cryptic. Dave doesn't like the names either: he deletes the browsed tags and re-imports them from a CSV template where he has already set the names he wants, keeping the same data under governed names.

David calls this shift left: normalize close to the source and everything downstream gets easier. Dave spells out the chain. Right tag names give the right topic names, which give one data flow that scales across machines, feeding a pre-built data model. Adding a machine then means just two steps: deploy the connectivity with the right naming and instantiate the model.

“I want to build the data flow once. I don't want to have to build a data flow for every machine.”

Dave McMorran · 04:49

Adding a Rockwell PLC with a Governed Device Name

05:21 – 06:59

With OPC UA as only one data source, Dave adds a Rockwell PLC using the generic AB Logix Ethernet driver, which covers ControlLogix, CompactLogix and Micro850 controllers alike.

He names the device CHK01 following his naming standard, enters the IP address and keeps the default port, route and symbolic settings. Once connected, he uploads a prepared CSV of tags rather than clicking them in one by one, admitting it is a shortcut because nobody enjoys watching addresses being typed.

“I'm naming this CHK01 because again, I have a standard on this. I want to govern how we're... if I name it right, things flow.”

Dave McMorran · 05:28

Tag Setup Is Real Data Engineering, and AI Can Speed It Up

06:59 – 08:40

David stresses that, boring as it is on video, configuring tags is an important part of data engineering. Dave agrees: knowing where the data is, naming it properly and choosing polling rates per tag is critical, just labor intensive.

David shares that he has had success handing unstructured data dumps to an AI agent to produce clean CSV files and apply initial ISA-95 style structure: not perfect, but faster. Dave adds that getting 80 to 90 percent of the way there is that much time saved, and that further devices mostly look the same: change the IP, change the name, maybe add metadata.

“If it can get me close, get me to eighty or ninety percent, that's still eighty, ninety percent of my time I just saved.”

Dave McMorran · 08:09

Install and Connectivity Done, Context Models Next

08:40 – 09:22

David wraps up: the install and initial connectivity are done.

The next episode moves on to building context models on top of the connected data.

“We've done the install, we've done the initial connectivity, and I think then in the next video, this is where we'll be starting building our context models.”

David Ariens · 08:40
Full episode transcript raw feed ▸

David: Okay, another IT/OT Build with Litmus. And in this one, we are going to do the connectivity. PLCs, MQTT, OPC UA, all the good stuff. We're gonna tackle that in this video. If this one is the first you're watching, make sure to tune in to the previous one as well. We already talked about the architecture where Litmus fits in. We actually also installed Litmus Edge in the previous video. so you can find them all on our YouTube channel and on our website. and with that it's back over to Dave. Dave: Thanks, David. all right, so here we're adding the tags. We can, you know, depending on the PLC, we can basically either add a tag one at a time or we can upload a CSV or we have a browse feature for some PLCs actually allow browsing. So we can do that. So I'm gonna do that in the in the product. So just to kind of level set where we you know where we are with the products. So what I can do here now is I'll go to the the browser or the the one I just installed. So I'll go to that image right here. So here's our the one we just installed. There's you know, notice no PLCs connected, no digital twins, etc. So David: Virg Virgin Grounds. Dave: yes, very you know, we all we did we installed it and connected it to the Litmus David: Yeah. Dave: Edge Manager, right? So one thing I can do then is I can just basically connect to the PLCs here. So again, I go click here. And the first thing we're going to connect is an OPC UA server. So remember, I I said there's another container that's got a couple of simulators running in. So I'm gonna go grab that. I'm going to name it my my code for tunnel oven And I'm gonna set it up into polling mode here because there's there's a couple options for it, and then let me copy my a URL for it, so I don't Type it in correctly. And that's basically it. I mean, you can set up up for you OPC UA you have other things you can set up. I'm gonna keep it easy and just create the device with it like that. And there we are, we're connected to the OPC UA server. Okay. So now if I want to actually go grab the tags, what I can do is I can go here and I can go to my browse section and basically say, okay, browse all the devices on there. Now we specifically built for this demo, we specifically built the browser to only spoke expose the tags we wanted instead of going through the other 2200 tags that we're not gonna each interested in so I can basically take these you know select all and create the tags here right so now I've got I've got all those tags ingested now so these are being polled every second you could be in subscription and data comes in for demo purposes I made it polling because if the data is not changing the simulator you don't see anything so it's not great for a demo so I did it that way. David: And and and interestingly here, I think the the fact that here the tag name well the tag name is already readable, but I think in in practice this is where you'll see like the internal naming, the yeah, the the stuff which might yeah. Dave: So here, I don't like these names. I don't like them. So what I do David: No. Dave: here, I'm actually gonna delete them. And what I did is I basically created a template here. So I'm gonna upload a CSV file. Okay. So to your point. David: Okay. Dave: and I've got these tags here, so it's just it's a you know a CSV file. I'm gonna upload those. And I'm gonna add those tags, and now I've got it's the same namespaces, right? It's the same data. I just went basically what I did is I downloaded the the tags here, went into the naming, changed the names to what I wanted, and then re-imported them. So I could do that David: Yeah, yeah. Dave: pretty quickly on there. So this is where that normalization we've been talking about, that governance kind of comes in and is like, I I know what my names are gonna be. I want to use those names for everything. Okay. David: Yeah, and this and the I would say the the people sometimes call that shift left or something like that, but the the the more you already normalize close to source, the easier it actually bec be becomes in yeah, the rest of your entire chain, huh? Dave: Yeah, th that's the whole idea, right? Is if you if you build it right and you so if if you get your tag names right, which makes the topic name the same, and it's the same data types and values from machine to machine, your data flow should also be scalable, David: Yeah. Dave: right? Yeah, like I want to build the data flow once. I don't want to have to build a data flow for every machine. David: Yep, yeah. Dave: Build me a scalable one. So if I get my tag names right, which gets my topic names right, which then that gets my data flow right, and then that flows into the data model. So basically all I really need to do is deploy the new PLC connectivity with the right naming and then a model, the new instance of the model that's already pre-built. So it's not a, I'm not redoing everything. I'm just basically doing the two steps that I need to to make it scalable. David: So so so so so we have we have an OPC UA server, which is only one data source. Dave: Yep, yep. Let's go let's actually add a new connection. Let's actually go to a Rockwell plc as well. So I've got a rockwell PLC. I'm gonna pick my AB logic ethernet. that's that's the generic one. That is the later, you know, like control logics, compact logics, micro50s, same protocols. So I'm gonna go and what do I want to name this one? I'm naming this CHK01 because again, I have a standard on this. I want to govern how we're if I name it right, things flow. Okay. So then I'm going to basically put in the IP address here. Right, default port, default the the route, symbolic, and basically I don't I'm not gonna add metadata or status register, so just do that. Right, and connected to the rockwell plc, and then again, David: Works. Dave: yeah, again from the tag standpoint. If I go to here, I don't have any tags yet. I I to save time, I basically had another CSV file already built. For that, open that up, upload it, and I've added my tags here with the right time. Okay. David: Yeah, perfect. Yeah. Dave: So so I basically, yeah, I'm cheating a little bit by having a pre pre configured one, but the idea is that, you know, I can browse on some of them, but the idea is like this is watching me click plus and adding in addresses is not enjoyable for anyone, including myself. David: Would be would become f a fun video if I then do fast forward or something like that. But but but but but but but but also Dave: Yeah. David: but but the thing is also that w I it's an important step of the data engineering work. Dave: It really is. It really is. It like 'cause it's knowing where the data is, naming David: Yeah. Dave: it properly, what's my polling rate. You know, like I'm doing all everything at a second, but it could vary, you right? I could have one second, one minute, you know, once an hour or whatever. so it's it's a critical part on this journey, I would agree. Right? It's just somewhat labor intensive and boring. Although AI is helping with that, you know. David: No, but it's it's it's a fact. Absolutely, no, no, absolutely, absolutely. I've I've I've been very successful in just, you know, g getting I would say giving some data dumps of of unstructured data dumps, okay, and then just asking them to asking the AI agent to put that into a nicely formatted CSV file, or you know, helping me doing some initial structuring, applying some initial IC ninety five type of concepts, and it's it just it makes it not perfect. But faster. Dave: Yeah, yeah. And and and that's it, you know, if it can get me close, you can get me to eighty or ninety percent, that's still eighty, ninety percent of my time I just saved, right? So so David: Yeah, absolutely. Dave: so yeah, so we basically, you know, we've we basically here we've added two devices. I could keep adding more on simulators, but you know, they're all kind of start to look the same, honestly. You David: Yeah. Dave: know, it's like change the IP address, change the name, maybe add metadata, maybe not, depending on what you're trying to do. Okay. David: But I think I think with that or I'd say on this on this point, Dave, this is a perfect time to to to end this video where we've we've done the install, we've done the initial connectivity, yeah. and I think then in the next video, this is where we'll be starting to, you know, building our context models and that type of stuff. Yeah. All right, perfect. Dave: Right, right. Sounds good. Thanks, David. David: So thanks for watching. make sure to stay with us, and then in the next video. Take it one step further, so see you there.