It is possible to read the process data from remote locations over the internet by using SMX-RNS02 and monitor this data on SCADA or user application. In this application example, the data will be transferred to the central SCADA (WinCC) using SMX-RNS02, with the help of Amazon AWS IoT Core and Kepware MQTT Client.
For detailed information, please refer to the technical documents of the respective devices!
Select “Manage→ Things” from the Left Menu and press “Create single thing”
Proceed step by step. Add a certificate.
Activate the certificate. Define a policy with the “Attach a policy” option. To create Policy;
Download and save the following files from the certificate page.
Enter settings from “Settings→ Cloud” Connector page
Go to “Modules→ Cloud Topic” page and select the data you want to export to the cloud
Check your connection on the “Status→ Cloud” page
Go to “AWS IoT → Test” Page and check that the data is coming through MQTT. In the “Subscribe Topic” section, enter the name you entered while creating “Modules→ Cloud Topic”.
Start the Kepware program installation.
Choose “Custom”
Complete the installation by simply selecting “MQTT Client” during installation.
Kepware application will connect to AWS as a client like SMX-RNS02. For this reason, repeat the following operations in the AWS step;
Select “Manage→ Things” from the Left Menu and press “Create single thing”
Proceed step by step. Add a certificate.
Activate the cetificate. Define a policy with the “Attach a policy” option. Download and save the following files from the certificate page.
After the installation is completed, open the menu on the icon in the lower right corner and select the “Settings …” section.
Move to the “Certificate Store” section.
Go to the Kepware Configuration screen and add a new channel.
Name your channel
Set the channel as follows
Add tags under the channel (Use the format <TOPIC_NAME>+<VAR_NAME> as tag address. For example “process-values+MotorSpeed01”
Confirm that the values have been read with OPC Quick Client.
Open the WinCC program and create a new Project.
Go to the “Tag Manager” section. “Add new driver” via “Add new driver→ OPC”.
Add “localhost” with the “Computer ….” option and select Kepware.
Add the tags under Kepware to your project by browsing
Create new page with “Graphic Designer” and add tag to the page
“Graphic Designer” page view
Run your project and confirm that you have read the values