Data “tags” are essential to any industrial process on the factory floor. They rarely leave the factory floor, but when they do, a great deal can be learned from them for operational queries such as: “What was the state of the system when the tank started leaking?” or, “How efficient was our process last week, and the week before, and the year prior?” 

Tags whizz through the factory, data flowing across wires and through the air; little samples of something, a name and a value. These packages of names and values are known as tags, and they are used everywhere as a primitive unit in the Industrial Internet of Things (IIoT). 

The tags originate from sensors. In a factory, sensors monitor tanks, belts, coolers, lights, and pretty much everything else possible. They then transmit signals to a hub computer, acting as the nerves to the computer’s “brain”. In the factory, this computer is often called a PLC, or Programmable Logic Controller. By using its sensors, the PLC detects, calculates, and orchestrates complex tasks. In another environment, this hub computer could be a microcontroller or system-on-chip, like an Arduino or a Raspberry Pi. These computers essentially act as a hub device to translate sensor information to other machines via its network.

To harness and allow the tags to leave the factory floor, Caravela (the IoT arm of Stack41), has designed its own secure data gateway appliance called the TBox. The TBox is a cellular gateway that reads tags, secures them for transit, and transmits them over the Internet to Stack41’s private cloud.

There, the tags are stored in a structured format, a database, which makes it easy to compare information, and also to generate documents for filing appropriate paperwork for compliance or other purposes.

 From the database, tags can also be used in any program hosted on servers to create added value through dashboarding or alerting. We particularly like using one such hosted program, Grafana, because it lets a user create attractive dashboards from their tag data, issue alerts triggered on any logic, and is permissively-licensed.

So if, for example, the database indicates that the level in an industrial water tank is too low, the Grafana software automatically dispatches an email to give the operator real-time instructions how to correct the problem. If multiple parts of the system are detected as malfunctioning, the operator can also look at this data in real time when making decisions about how to proceed. Operators can also question the database for predictions, such as: “based on the rate of water flowing through Pump A and Pump B, how long will it take before someone needs to fill Tank A?” This kind of information is invaluable for scheduling advance maintenance and keeping performance records.

The TBox communicates over an Ethernet network, which is compatible with the majority of factory PLC networks. From its position on the factory network, the TBox “asks” the PLC what it knows about its sensors. The PLC replies with a list of tags, which the TBox inserts into a database. 

For security purposes, the TBox is programmed only to talk to Stack41’s cloud over an encrypted VPN. If can’t do that for any reason, it will quietly save those tags on a local disk until the secure network connection is re-established. Typically, Stack41 hosts a PostgreSQL+TimescaleDB database-as-a-service where the tags rest.

The possibilities are only limited by the imagination and willingness to create something of value from the data. Significantly, the data user doesn’t need to be a programmer; graphical tools like Grafana or Tableau exist to “translate” data visually by clicking, although having an IoT engineer does help educate and improve the quality of the end result. Such engineers are trained to speak computer languages, and are skilled in deducing the source of logical errors. 

Caravela offers in-house engineering services for the entire IIoT ecosystem; please contact us to start a conversation.