{"id":710,"date":"2016-04-18T22:21:23","date_gmt":"2016-04-18T20:21:23","guid":{"rendered":"http:\/\/www.rocworks.at\/wordpress\/?p=710"},"modified":"2016-04-18T22:21:23","modified_gmt":"2016-04-18T20:21:23","slug":"internet-of-things-iot-and-wincc-oa-with-mqtt","status":"publish","type":"post","link":"https:\/\/www.rocworks.at\/wordpress\/?p=710","title":{"rendered":"Internet of Things (IoT) and WinCC OA with MQTT &#8230;"},"content":{"rendered":"<p>Recently i implemented\u00a0a JAVA API for WinCC Open Architecture.\u00a0So,\u00a0it is possible to implement WinCC OA API Manager in Java.\u00a0I used this to implement a simple\u00a0API Manager in Java to connect WinCC OA to MQTT.<\/p>\n<p>MQTT is a machine-to-machine (M2M) &#8220;Internet of Things&#8221; connectivity protocol. It was designed as an extremely lightweight publish\/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and\/or network bandwidth is at a premium (http:\/\/mqtt.org\/).<\/p>\n<p>The example is connected to a WinCC OA datapoint in system 1, sends incoming\u00a0values through MQTT to HiveMQ (http:\/\/www.hivemq.com\/try-out\/, there is\u00a0a public available MQTT broker for testing available). Another Java API Manager is subscribed to the MQTT broker, receives the values changes by MQTT and sets it\u00a0to the WinCC OA system 2&#8230;<\/p>\n<p><a href=\"http:\/\/www.rocworks.at\/wordpress\/?attachment_id=712\" rel=\"attachment wp-att-712\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-712\" src=\"http:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/04\/OA-MQTT-OA-1.png\" alt=\"OA-MQTT-OA\" width=\"2557\" height=\"2000\" srcset=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/04\/OA-MQTT-OA-1.png 2557w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/04\/OA-MQTT-OA-1-300x235.png 300w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/04\/OA-MQTT-OA-1-768x601.png 768w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/04\/OA-MQTT-OA-1-1024x801.png 1024w\" sizes=\"auto, (max-width: 2557px) 100vw, 2557px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently i implemented\u00a0a JAVA API for WinCC Open Architecture.\u00a0So,\u00a0it is possible to implement WinCC OA API Manager in Java.\u00a0I used this to implement a simple\u00a0API Manager in Java to connect WinCC OA to MQTT. MQTT is a machine-to-machine (M2M) &#8220;Internet of Things&#8221; connectivity protocol. It was designed as an extremely lightweight publish\/subscribe messaging transport. It &hellip; <a href=\"https:\/\/www.rocworks.at\/wordpress\/?p=710\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Internet of Things (IoT) and WinCC OA with MQTT &#8230;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,3],"tags":[],"class_list":["post-710","post","type-post","status-publish","format-standard","hentry","category-bigdatanosql","category-wincc-oa"],"_links":{"self":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=710"}],"version-history":[{"count":1,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/710\/revisions"}],"predecessor-version":[{"id":713,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/710\/revisions\/713"}],"wp:attachment":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}