The Solution Configuration Tutorial introduces the Designer tool, guiding users through steps to create and manage solutions. It covers creating new solutions, configuring data connections using Data Explorer, working with MQTT brokers and simulators, mapping tags to devices, and creating displays with symbols. The tutorial explains how to create alarms, test solutions, and run them in various environments, including a web client, using built-in platform features.
On this page:
Using the Designer for Solution Configuration
There are various ways to work with the Designer, allowing you to configure the modules in a way that suits you. In this first tutorial, we will follow this outline:
- Recap on how to create solutions
- Using the Data Explorer and the MQTT Broker and Simulator.
- Automatically create Tags and Device Connections.
- Learn more about mapping tag to field Devices.
- Create a screen with SmartSymbols.
- Create Alarm conditions and visualize them on the screen.
- Execute your solution.
Bonus - Extra steps on Expanders.
- Review the Unified Namespace Data Templates.
- Learn more about SmartSymbols.
Creating a New Solution
If you want to create your own solution, simply click "New" in the Solution Manager, and follow the wizard steps.
Once loading is complete, you'll see the Designer homepage, the main UI for editing your solutions.
Data Explorer and MQTT Tools
The DataExplorer tools allow you to easily perform data mining and monitoring from various data sources, including MQTT brokers, OPC-UA, PLCs, and SQL databases. Here, let's see how you can connect to our MQTT Simulator to browse its data.
Go to Data Explorer / MQTT Tools to start. You can connect to your own broker or use our built-in MQTT broker.
Our platform also offers an MQTT Publisher Simulator, which has customizable data being published. Simply click both of the green "Start" buttons to start the broker and simulator.
When first starting the MQTT broker, it auto-connects, but you can manually connect and disconnect anytime using the Play and Stop buttons.
Once you've done this, click "Connect" to view and browse the generated data.
Creating Tags and Device Points
We'll be using this simulated data to make it easier to build a simple solution. Select "Panel1" from the list of simulated data and click "Map to the Solution". This will create a new Data Model with the device properties. In this example, we named the new Data Template "SolarPanel." In the Module option, we'll leave the first option selected, which represents the traditional behavior of mapping tags to external devices.
The platform also has the TagProviders functionality, which allows consuming directly data from other sources without having to create tags.
Unified Namespace and Tags
In the Unified Namespace section, you'll be able to define the data models you'll use in the solution.
The AssetsTree is the central point where you can manage asset folders, create and edit tags, and link data from TagProvider connections.
In this Getting Started guide, as you can see in the RootTags folder, the DataExplorer export has already created a tag "Panel_1"
You can go ahead to review the Devices configuration, or explore more functionalities in the Unified Namespace.
Field Communication, Industrial Protocols
The wizard from Data Explorer automatically created a connection with the MQTT broker, but it's important to understand what happened behind the scenes.
In addition to MQTT, OPC, Rockwell PLCs and Codesys devices, we offer 70+ native industrial communication protocols.
Using these communication protocols is a straightforward process:
Create a Channel, an instance of the protocol with optional configuration settings.
Create a Node within that Channel, specifying the device's location in your network using the PrimaryStation field.
Map a tag in your application to an address in the Device Node.
The Export Wizard in Data Explorer completed these three steps automatically for you.
As an exercise you can create one more tag and its mapping.
Creating a Simple Display with Symbols
Let's start by exploring the Draw environment. To access it, go to Displays / Draw, or simply click the Draw button in the top menu.
This opens the main Draw Environment. By default, the first page created will be the MainPage, where your main content should go.
On the left side of the screen, you'll find all the components you can use to build your display. They're categorized by different types of graphical components, such as icons, charts, navigation, and symbols (including high-performance graphics). You can also search for something specific in our library using the search input.
In this example, add a button from the Symbol Library by following these steps:
Navigate the tree to Symbols / Library / HMI and select the red button by clicking on it.
Go to the position on the screen where you want to place it, and do a left-click to insert it on the display.
Double-click on the symbol to open its configuration popup, where you can map the component's properties to your tags.
In this example, there is only one exposed property, State. Map that property to Tag.Device01.State either by using IntelliSense when typing or by using the button (...) to open a Tag Selection dialog.
That’s all you have to do! The value of the tag is now connected to drive the visual of the selected symbol.
Optional exercises:
Create a Real-Time Alarm
To test out the alarming functionalities in the platform, let's create an Alarm.
On Alarms / Items, simply type on the first line of the table to create a new Alarm. Type "Panel_1." and you'll see the available properties associated with that Node. For this example, establish a condition, set a limit, select a group (a few are available by default), and add a message to display when that limit is reached.
On Draw, using the left panel, navigate to pickup the component Module / AlarmViewer. Alternatively, you can use the Search Box to find the component. See AlarmViewer Control for more information.
Running your Solution
It's time to run your solution by clicking on the Runtime module (or selecting the play icon at the top of the page for a quick shortcut). On this page, you'll find information regarding the solution, including redundancy settings, command lines, and URLs for the clients.
To run your solution, simply click "Run Startup".
The first time you edit and run solutions after a new installation, Windows Firewall may request authorization. Just press OK if a user authorization request or firewall message is prompted.
Click on the Play button for HTML5 Client URL to see your solution running also as a Web Client!
In this section: