By Deane Horn, director of marketing, Softing Inc.
Imagine you’re manufacturing an automotive part, such as a wheel.
Let’s say the wheel is type “premium mag wheel.” Thousands of parameters describe how that wheel will be made, such as size, color, where to drill holes, size of holes, wheel spokes and more. This is called the recipe.
The recipe is different if the customer orders “black premium mag wheel” vs. “gray premium mag wheel.” Since the data is a collection of parameters and is dependent on the production line or customer order, we say the data has context. Data that can be changed in real time in context with production needs is much more complex than typical programmable logic controller (PLC) static data used to carry out repetitive tasks.
A recipe is a great example of complex data; it’s a collection of parameters. And, if you manufacture 10 different wheels, you need 10 different recipes. What does a recipe look like to a PLC? The answer: a table (see Figure 1). A table has rows and columns. For this wheel example, you’ll have one recipe per row, and each column will have the parameters of the recipe — paint type, paint level, etc.
PLCs have challenges with tables. Why? The memory and performance of a PLC is optimized and dedicated to production, moving machines, moving product, making product — simple data. Complex data requires more memory. In PLCs, memory is expensive.
What platform would be good with handling complex data and tables and relieving the burden and risk from the PLC? An SQL database.
Function of an SQL Database
What’s an SQL database? You can visualize it as a table, and most likely, you have one! Your IT Manager probably is already using an enterprise SQL database across your company to share information throughout your organization. Why? Because businesses need to share information across the company, and an SQL database is designed for this.