{"id":1006,"date":"2020-11-27T08:58:26","date_gmt":"2020-11-27T06:58:26","guid":{"rendered":"https:\/\/www.rocworks.at\/wordpress\/?p=1006"},"modified":"2020-11-27T08:58:26","modified_gmt":"2020-11-27T06:58:26","slug":"enable-opc-ua-server-in-wincc-unified","status":"publish","type":"post","link":"https:\/\/www.rocworks.at\/wordpress\/?p=1006","title":{"rendered":"Enable OPC UA Server in WinCC Unified"},"content":{"rendered":"\n<p>In the TIA Portal you have to enable &#8220;Operate as OPC Server&#8221; in the Runtime Settings of your project. Download and restart the runtime, and then the OPC UA Server is listening on opc.tcp:\/\/localhost:4890.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"383\" src=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-1-1024x383.png\" alt=\"\" class=\"wp-image-1007\" srcset=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-1-1024x383.png 1024w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-1-300x112.png 300w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-1-768x287.png 768w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-1.png 1096w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You need to have a user which has a role with the OPC-UA read and write access permission. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"898\" height=\"536\" src=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-5.png\" alt=\"\" class=\"wp-image-1011\" srcset=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-5.png 898w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-5-300x179.png 300w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-5-768x458.png 768w\" sizes=\"auto, (max-width: 898px) 100vw, 898px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"636\" src=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-6.png\" alt=\"\" class=\"wp-image-1012\" srcset=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-6.png 993w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-6-300x192.png 300w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2020\/11\/image-6-768x492.png 768w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/><\/figure>\n\n\n\n<p>When you try to connect with a client the client will send the certificate to the server and typically the certificate is rejected by the server. To trust the certificate you have to move the certificate from the &#8220;Rejected&#8221; folder to the &#8220;Trusted&#8221; folder. <\/p>\n\n\n\n<p>C:\\Program Files\\Siemens\\Automation\\WinCCUnified\\bin\\PKI\\<strong>Rejected<\/strong>\\certs<\/p>\n\n\n\n<p>C:\\Program Files\\Siemens\\Automation\\WinCCUnified\\bin\\PKI\\<strong>Trusted<\/strong>\\certs<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the TIA Portal you have to enable &#8220;Operate as OPC Server&#8221; in the Runtime Settings of your project. Download and restart the runtime, and then the OPC UA Server is listening on opc.tcp:\/\/localhost:4890. You need to have a user which has a role with the OPC-UA read and write access permission. When you try &hellip; <a href=\"https:\/\/www.rocworks.at\/wordpress\/?p=1006\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Enable OPC UA Server in WinCC Unified<\/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":[33],"tags":[],"class_list":["post-1006","post","type-post","status-publish","format-standard","hentry","category-wincc-unified"],"_links":{"self":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1006","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=1006"}],"version-history":[{"count":1,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1006\/revisions"}],"predecessor-version":[{"id":1013,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1006\/revisions\/1013"}],"wp:attachment":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}