Jump to content

OPC/UA - Lessons Learned (April 2020)


Recommended Posts

I'm working with OPC/UA right now and just to clarify a few things:

1)  The existing help file [September, 2019] mention of the certificate in the PLC [UniApps->Network-> (2nd Page)-> OPCUA] may or may not be present in there.  It depends on the OPC/UA Client program.  

2)  The generation of the OPC/UA certificate appears to be created/generated when the PLC is first powered up.   In order to get the OPC/UA Client to connect I had to download the program and then reset/reboot the PLC.  

3)  If you plan to implement OPC/UA do yourself a favor and wrap all of your tags into one or more Structs.   You can add Structs to the OPC/UA Address Space.  Otherwise you have to add the tags one at a time.   For my existing project that means adding 168 tags by hand.  And of course I find it necessary to have the OPC tag name match that of the 'source' tag exactly.  That means at least 600 actions to add them.  [I batch process similar to that of the MODBUS configuration would come in handy.  Hint Hint !!!].

If anyone has any additional tips/tricks/faqs please add them.   

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...