This is #28 in our Siemens SIMATIC WinCC V8 Course. Here we show you how to use the WinCC V8 REST Connector feature to connect to a Weather Service REST API to bring in local weather information into your SCADA Application. We will create and test our connection, and build a screen in Graphics Designer to trigger the connection and show the JSON Response from the REST API. Then we will write some VB Script to parse the data into internal tags. Be sure to watch 'til the end!
00:00 Introduction
00:37 Selecting a REST Service Provider
01:07 Grab your API Key
01:27 Get URL to call Weather Service API
01:53 Configure REST Connector
02:05 Server and Endpoint identification
02:16 Create REST Server Connection
02:29 Add Endpoint to REST Server
02:52 Configure Endpoint
03:03 Create Tags for Endpoint
03:57 Assign Tags to Endpoint
04:32 Save REST Connection
04:51 Configure REST Service RT
05:21 Create Weather Screen
06:41 Test In Runtime!
07:21 Review Response JSON
08:03 Add debug print control to screen
08:21 review initial JSON Parse Script
09:03 Test script in Runtime
09:21 Create Tags for Weather Info
09:54 Get Weather values into Tags
10:25 explanation of parse script
11:36 Test final solution in Runtime
#wincc #scada #scadaprogramming #scadasystem