TIA Portal: OPC UA Standard Server Tutorial - Quick Configuration and Browsing

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what this video series is intending to cover are the workings of opc ua as a component of the s7 plc families firmware this modernized version of machine to machine communication can be accomplished completely using opc ua on a somatic s7 1500 controller whether it's between two controllers or even between two different management softwares opcua offers reliability security and mechanisms that help facilities stay flexible and secure there are videos already about opc ua servers and a plc all over youtube siemens makes this super easy as well with just a check box opcua clients can perform more tasks here there are additional benefits there are native instruction blocks for opcua communication these now include a compact configuration see all these blocks in the bubble now they are compact in the sense down to just three blocks what do i mean by this you'll soon find out the series for this content is aligned as you can see into these five steps the current video is step one the end result will walk us through a series of configuration and use cases that set the path forward for an end example where a plc client uses method calls to interact with a plc server using opc ua starting up the project i'm selecting a plc i own however if you're simulating using plc sim advanced feel free to pick any 1500 of your choice selecting a 1515 tf with the firmware version 2.9 provides me with opcoa instructions i will later need here's a great picture showing off the plc's useful front panel interface with tia portal version 17 several security improvements for the communication between engineering stations plcs and hmi panels have been introduced this concept has been named security by default to simplify the security configuration on the devices the user is guided through a wizard which assists them with the security settings this includes the protection of confidential plc configuration data the secure pgh my communication and access levels to the somatic controller now for the second controller i'm selecting this time an et200sp cpu the 1510sp at any point you can relaunch the security wizard in the section labeled protection and security any added plc will generate the pop-up for security unless configured not to repeat the security setup according to your customer specifications now moving to the network view the hardware's property and networking can be configured we can rename the plcs and network them together by dragging from one ethernet port to the other compile to ensure configuration is error free while this is compiling if you are finding this channel beneficial please like and subscribe it's a great way to let me know which topics deserve the most attention going into the properties of the opcua client it's time to activate the device configuration navigate in the inspector window to opcua server activate the check box activate opcua server here we wish to enable the use of alarms and conditions and can allow the client to reset the alarms then find the selected labeled client general and activate the checkbox activate opcua client repeat a similar setup for the opcwa server by only configuring the server section there are several settings worth noting but the ones that we want to configure quickly to start out with are the following the server address which will be used to identify the server by the client port configuration and interval settings are left by default while we uncheck a setting that pertains to using an older version of opcua definitions related to version 1.03 or less the remaining sections pertain to security and diagnostics properties such as health and services of the opcwa communication become logged on the plc diagnostics buffer if enabled one last tool found at the end of the property setup is the xml export this can be used to assist in the importation of the client alternatively you do not require this file as we can also browse instead a great feature of tia portals plc's is that i can turn on the clock and system bytes with ease these clock tags will allow me a quick way to play with the communication mechanisms once complete on configuring the system and clock tags for both sides compile the plc here we want to note the plc does require an opcwa server license simply select the one you have and then recompile do this for both plc's okay while this is compiling it's due time we review why this protocol has become more relevant traditionally opc runs on windows os to get around this restriction the opc foundation developed opc ua unified architecture standard here it's fully suited in an s7 1500 an important component of this concept is that the opc ua communication can take place in parallel with real-time communication for time-critical machine level data transfer the opcwa server and services for the plc are operating within the firmware level itself opc ua makes available not only data but also quality information about the data at the same time making possible machine interpretable access to both data for human and computer no matter the platform what i appreciate is the data types and arrays are supported and symbolically browsable here it is nice to be able to commission with the web server now the end result may not require the web services but it's definitely nice to highlight here you can see much data without having tia portal using the check boxes enable the relevant features while i'm enabling everything it's best to adhere to the best practices of the plant at minimum for this demo turn on the features for cpu diagnostics and query diagnostics it's really nice to be able to have at least one additional user besides everyone so that way you can securely tighten all the feature sets go ahead and repeat the web server exercise for both plc's now let's also consider naming them something more meaningful for identification purposes here i'm going to use an online extended download find the target and then load sarah brought us to the application example for the siemens opcua modeling editor the recent update we can now use this as a browsing tool you have the possibility to establish an online connection to an opc ua server this allows you to browse through the server's address space open the dialog information model online in the information model area click connect to opcway server in the peering dialog box in the dialog that appears enter the server address in the opcwa server field click the find selected server button don't forget the port number select the opc ua server endpoint the dialog that appears if the authentication with username and password is activated then enter the credentials today we're just going to show you the possibility while we are unsecured see the different methods we're going to choose none had a chosen sign or sign and encrypt would depend on the other settings that are available in combination with using certificates i'm going to load the completed node set so we can see all the tags now as you can see the information is now filled in with the root directory of the actual server and here we're going to go look at the objects i'm going to change this from the event view to the data access view and then based on our configuration you can see we have tags available i'm going to go for the memory bytes that we set up and here's the clock byte if i click monitor and data access then this makes this available in another tab and here you can see my clock byte with value changes now take a little bit of time and notice that you'll get a lot of data out of different areas of the object itself you can come look at the model and a lot of other different details about the plc you also have the possibility to establish an online connection to a opc ua server and receive alarming conditions in the layout area open the ready-made event view layout connect to the opc ui server here we've already done this and then we'll begin to handle some of the functions here to receive an alarm or event right click on an object with the event notifier attribute and add it to the event nodes area with monitor and event view in the context menu by default ceom reports all events that are marked as mandatory by the opc ua specification if additional event fields are to be received they must be configured explicitly select the event fields that are to be received additionally and accept the settings by left-clicking the disk icon so do know there are a few tabs here that expand as you can see the event view detail here i'll expand this and you can see that we actually have an active server message that says the cpu is not and run now this awesome feature is provided because we have the opc way server on the firmware level of the plc what's nice about this is that we can gather cpu diagnostics on top of all of our i o while the pl seasons stop all while sending this through the opcua server and seeing this through the alarms and events there's another section for the event view detail so let's click the alarms tab this is a bit more relevant user area because we can become more aware of the actual details such as the time stamps here you can see that the daytime hasn't been established correctly on the plc this type of alarm is a not acknowledged alarm in other words when the error clears it will acknowledge itself but if we do have acknowledged alarms you can use this feature here by right-clicking on the alarm and clearing it we will not go through the entirety of use of the siemens opc ua modeling editor this is more of just a practice of showing what a client can do by browsing the server okay first things first let's get the plc server time corrected we can do this by going to the online and diagnostics view and then we'll go online with the plc once we're online we need to drill down into the functions area where we can use the function called set time yes you can see that it time has been updated bring yourself to the web server of the plc by typing in https and the ip address once you're logged in you can see that there's an overview on the left side where we've configured every feature available but i'd like to at least point out the diagnostics section with the runtime information here we get program and communication load so more importantly we can see communication load as it occurs we're going to use this section after we talk about the client setup in order to discuss how we can optimize the communication load between the client and the server this may be relevant for plc to plc communication or even for skated a plc communication so i didn't come here just to show you the siemens opcwa modeling editor as a tool but rather we'd like to use a plc as a tool so the tool would be that we have a plc as a client we can read tags and write tags back and forth to the opcway server so in future videos please look for this this is just the introductory to setting up the opcway server which leads up to the opcwa client
Info
Channel: System-Restored
Views: 3,147
Rating: undefined out of 5
Keywords: TIA Portal, Siemens, SiOME, OPC UA, OPCUA, Modeling Editor, OPC, S7-1500, OPC UA sever, OPC UA Client, OPC Modeling, OPC DA, OPC A&E, OPC AE, PLC
Id: UIu16U5RX6U
Channel Id: undefined
Length: 16min 0sec (960 seconds)
Published: Tue Aug 09 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.