Example: stock market

OPC UA for S7-1500 and S7-1200 - Siemens

Unrestricted Siemens Siemens 2020 OPC UA for S7-1500 and S7-1200 Unrestricted Siemens 2020 Founded 1996 (OPC Classic specification) ,OPC UA specification release 2009 More than 450 members from all areasOPC UA at a glanceOPC FoundationABB Automation GmbHascolabGmbHBeckhoff Automation GmbHBosch Rexroth AGBosch Software Innovations GmbHBundesamtf rSicherheitin der Informationstechnik(BSI)CERNC isco SystemsEmerson Process ManagementEndress+Hauser Process Solutions AGFANUC CORPORATIONF esto AG & Co. KGFraunhofer IOSBH ilscherGesellschaft f rSystemautomationmbHHMS Industrial NetworksHoneywell IncIBMPHOENIX CONTACTPilzGmbH & Co. KGSAP AGProSoftTechnologyRockwell AutomationSchneider ElectricSiemens AGSoftingIndustrialYokogawa Electric CorporationUnified Automation GmbHMicrosoft CorporationB&RGEPage 2 Unrestricted Siemens 2020 OPC UA at a glanceCooperationsPage 3 Unrestricted Siemens 2020 North-South AlignmentStrategic alignment of OPC UA and PROFINETSCADA, DCSMES, UAPROFINETE nergymanagementSCADA-SystemEngineering-F rameworkManufacturing Execution SystemHMIIPCI ndustrialCommunicationMotionControlCNCC ontrollerPower supply and distributionIndustrialIdentificationDece ntral IODrivesIndustrial controllersPROFINETOPC UAIndustrial EthernetPage 4 Unrestricted Siemens 2020 OPC UA Data Access

Oct 29, 2018 · ABB Automation GmbH ascolab GmbH Beckhoff Automation GmbH Bosch Rexroth AG ... PROFINET Energy management SCADA-System Engineering-Framework Manufacturing Execution System HMI IPC Industrial Communication Motion Control Controller CNC ... Drive Method FB SetDrive Speed RPM: 01000

Tags:

  Drive, Profinet

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of OPC UA for S7-1500 and S7-1200 - Siemens

1 Unrestricted Siemens Siemens 2020 OPC UA for S7-1500 and S7-1200 Unrestricted Siemens 2020 Founded 1996 (OPC Classic specification) ,OPC UA specification release 2009 More than 450 members from all areasOPC UA at a glanceOPC FoundationABB Automation GmbHascolabGmbHBeckhoff Automation GmbHBosch Rexroth AGBosch Software Innovations GmbHBundesamtf rSicherheitin der Informationstechnik(BSI)CERNC isco SystemsEmerson Process ManagementEndress+Hauser Process Solutions AGFANUC CORPORATIONF esto AG & Co. KGFraunhofer IOSBH ilscherGesellschaft f rSystemautomationmbHHMS Industrial NetworksHoneywell IncIBMPHOENIX CONTACTPilzGmbH & Co. KGSAP AGProSoftTechnologyRockwell AutomationSchneider ElectricSiemens AGSoftingIndustrialYokogawa Electric CorporationUnified Automation GmbHMicrosoft CorporationB&RGEPage 2 Unrestricted Siemens 2020 OPC UA at a glanceCooperationsPage 3 Unrestricted Siemens 2020 North-South AlignmentStrategic alignment of OPC UA and PROFINETSCADA, DCSMES, UAPROFINETE nergymanagementSCADA-SystemEngineering-F rameworkManufacturing Execution SystemHMIIPCI ndustrialCommunicationMotionControlCNCC ontrollerPower supply and distributionIndustrialIdentificationDece ntral IODrivesIndustrial controllersPROFINETOPC UAIndustrial EthernetPage 4 Unrestricted Siemens 2020 OPC UA Data Access Client (SIMATIC S7-1500 )Customer use casesVertical Line Integration.

2 MES, SCADAI ndustry Standard SupportCompanion Specifications & MethodsMethodObjectVariableVariable PropertyMachinePLCM achineMachinePLCOPC UA Server S7-1500 OPC UA ClientOPC UA ClientPage 5 OPC UA Server S7-1200 Inbuilt server interface buildingUnrestricted Siemens 2020S7-1500 OPC UA ServerBrowsing of SPS-DataBrowse ResponseBrowse RequestAcyclic access to dataR/W ResponseR/W RequestHigh performance with repeated acyclic accessR/W ResponseR/W RequestNodeHandlesRegistering NodesLoad reduction for HMI / monitoring applicationsPublishingConsistent data transfer through function call (no handshakes)Call Response ( )Call Request ( )Information modelingBrowsingRead/WriteRegistered Read/WriteSubscriptionMethodsCompanion SpecificationsClientClientClientClientCl ientClientServerServerServerServerServer ServerSamplingPage 6S7-1500S7-1200*:Only for user modelled interfacesS7-1500S7-1200S7-1500S7-1200S7 -1500S7-1200S7-1500S7-1200S7-1500S7-1200 Unrestricted Siemens 2020 OPC UA Server forSIMATIC S7-1500 based CPUs Functional scopeBrowse Browsing of PLC Data Dynamic adaptation of the client configuration to the data provided by a serverOPC UA serverBrowseBrowse requestNode ID = 84 (root folder), BrowseDirection= forwardBrowse responseNode ID, browse name, display name, node class, type defPage 7 Unrestricted Siemens 2020 OPC UA Server forSIMATIC S7-1500 based CPUsFunctional scopeRead Symbolic read access to PLC dataOPC UA serverData accessRead requestNode ID = "DB1".

3 "myArray Read responseValue= 11110000 , Timestamp= 10/29/2018 3:15pm, Status= 8 Unrestricted Siemens 2020 OPC UA Server forSIMATIC S7-1500 based CPUsFunctional scope Symbolic write access to PLC dataPage 9 WriteOPC UA serverWrite requestNodeID = "DB1"."myArray , Value= 11111111 , Write responseStatus= Data accessUnrestricted Siemens 2020 OPC UA Server forSIMATIC S7-1500 based CPUsFunctional scopeRegistered Read Repeated access to PLC dataOPC UA serverData accessRead requestNode ID = "123456789"Read responseValue= 11110000 , Timestamp= 10/29/2018 3:15pm, Status= Node requestNode ID = "DB1"."myArray Register Node response Node ID = 123456789"Improved performancewith repeated accessNode ID:"123456789 Memory: 16# ABCD_0123411111111123456789 Node ID: "DB1". "myArray"Node ID:"123456789"Page 10 Unrestricted Siemens 2020 OPC UA Server forSIMATIC S7-1500 based CPUsFunctional scope Load reduction for monitoring use cases Absoulte filters possible*: Simplified illustrationPage 11 SubscribeOPC UA serverSubscriberequestNodeID = DB1.

4 MyArray , Publishing interval= 5s,Samplinginterval= responseValue= 11111111 , Timestamp= 10/29/2018 3:15pm, Status= GoodPublish responseValue= 11110000 , Timestamp= 10/29/2018 3:15pm, Status= GoodPublish requestSampling reduction for monitoring use cases(Compared to polling) Unrestricted Siemens 2020 Call requestNode ID = instDrive". Method , InputArguments: [ DriveSpeed= 99999 ] Call responseOutputArguments: [ ] Status= BadInvalidArgumentOPC UA Server forSIMATIC S7-1500 based CPUsFunctional scopeMethodsOPC UA serverCall requestNode ID = instDrive". Method , InputArguments: [ DriveSpeed= 1000 ] Call responseOutputArguments: [ ] Status= GoodDriveMethod FBSetDriveSpeed RPM: 0 RPM: 1000 Consistent data transmission Request based interaction with the user programPage 12 Unrestricted Siemens 2020 Page 13 OPC UA with SIMATIC CPUs Access type recommendationsUse caseRecommended type of access Single or rare access of data Read / Write Cyclic read of data ( 10s) Monitor data Subscription High performance data access to predefined nodes Registered Read / Write Consistent data transfer No manual Handshake MethodsUnrestricted Siemens 2020 Accessing 1000 variables of realAccessing one structure with 1000variables of realAccessing one array with 1000variables of realOPC UA ReadOPC UA Registered ReadPLC programmerAlways structure your VariablesOPC UA Client programmerRead arrays and structures as a whole!

5 User OPC UA Registered Read when accessing the same data recurrentlyGraphic showstendencies,actual values depend onmultiple factors!Factor2-3 Page 14 Performance Usage of arrays and structures whenever possibleUnrestricted Siemens 2020 SIMATIC S7-1500 OPC UA ServerFunctional scope -SiOMEC ompanion Specifications Standardized OPC UA interfaces Information / models > according to specificationImportTypes according to specificationExportTypes, Instances, MappingPage 15 Unrestricted Siemens 2020 OPC UA Server forSIMATIC S7-1500 based CPUsFunctional scopeCompanion Specifications Standardized OPC UA interfaces Information modellingStandard SIMATIC interfaceAdditionalinterfacesCompanion specificationsPage 16 Unrestricted Siemens 2020 OPC UA Data Access Client (SIMATIC S7-1500 based CPUs)Functional scope from TIA and FW / WriteAsynchronous data accessClientR / W RequestR / W ResponseServerMethod CallConsistent data transmissionClientCall RequestCall ResponseServerPage 17 Unrestricted Siemens 2020 OPC UA Data Access Client (SIMATIC S7-1500 based CPUs)Configuration OPC UA runtime license is necessary (Server license includes client license) The client must be activated in the device configurationPage 18 Unrestricted Siemens 2020 OPC UA SecurityGeneral OPC UA security actions are based on the following IT standards: Encryption Signing Authentication via certificate and user accounts Note: Security mechanisms have a negative effect on performance, especially when establishing a connection.

6 While operating, performance is reduced by approx. 10%.User Accounts Theconfiguration of user accounts is analogue to the web server. The configuration is mostly self-explanatoryCertificates The management of the certificates must be coordinated in detail with the IT department of the user / customer. In many cases, certificates are managed centrally by the IT department, which increases the consulting effort massively. Simple example: S7-1500 and Third Party Client with self-signed certificates( , chapter ) Consulting intensive example:Integration into existing IT infrastructure with certificate generation by Microsoft Active DirectoryAD ServerPage 19 Unrestricted Siemens 2020 OPC UA SecurityCertificate based authenticationProject protection is necessary to activate centralized certificate managementThis enables the global certificate manager which includes the certification authorityTIA Portal provides a project wide certification authority (CA)TIA ProjectClientServerCACAC lientCAServerPage 20 Unrestricted Siemens 2020 Page 21 OPC UA with SIMATIC S7 CPUsLicensingCPU-TypeS7-1200ET200SP CPUup toCPU 1513 CPU1515 / 1515SP PCCPU 1516 / 1516proCPU 1507 SCPU1517/ CPU 1518 /CPU 1508S (New)Required LicensesmallmediumlargeBasicUnrestricted Siemens 2020 OPC UA System limitsS7-1200 & S7-1500 Quantity structureS7-1200 CPU 1515/16 CPU 1517/18No.

7 Of sessions, of accessible variables, ,00050,000100,000200,000No. of registerable nodes, ,00020,00050,000No. of subscriptions per session, interval, ms100 ms100 ms10msPublishing interval, ms500 ms200 ms10msNo. of server methods, of in/outputs per server method, of monitored items, (max.)1,0002,00010,000for 1 s sampling interval and 1 s publishing intervalNo. of server interfaces, max.(SIMATIC, Information m., Reference m.)2/2/x10/10/2010/10/2010/10/20No. of nodes for server interfaces, ,0001,0005,00030,000 Further information about system 22 Unrestricted Siemens 202001000200030001005001000 Struct of1000 Array of1000 Time [ms]Items [DINT]Read Read 1:Requirement for good performanceStructuring and registering data Structuring of data budget required( Transfer oriented storage of data in UDTs) TheClient has to support access to UDTs Alternative: Using registered Read / Write TheClient has to support registered access Measuring (CPU 1516)Example: Modeling of system components in UDTs Registered access is approx.

8 10 times faster Structured access is approx. 100 times faster The CPU 1517/18 is up to 18 times faster compared to smaller CPUsClientFull access to UDTs (Conveyor and ProductionUnit) High performance access to only three elements0501001502002503001005001000 Struct of1000 Array of1000 Time [ms]Items [DINT]Read Read (CPU 1518)Page 23 Unrestricted Siemens 2020 Guideline 2:Influence on other types of communicationResource pool for communication Note:Within the S7-1500 exists only one resource pool for all non real-time communication types. (Webserver, alarms, HMI, TCP, UDP, S7, etc.) The size of this resource pool can be influenced by the setting maximum cycle load by communication and minimum cycle time . Due to its own resource pool, cyclic real-time communication ( profinet ) has no influence on / through OPC UA. The load due to OPC UA may fluctuate greatly under certain circumstances (logon processes of OPC UA clients, for example, create a temporarily high communication load).

9 Example: HMI communication without influence of OPC UAAll communication resources are available for HMI communicationExample: HMI communication with onfluence of OPC UA The HMI communication is slowed down depending on the OPC UA client.(HMI and OPC UA client share the PLC communication resources)Page 24 Unrestricted Siemens 2020 Guideline 3:Quantity structuresSmall quantity structures Small quantity structures without strict time requirements are usually not critical Example:Transfer of machine status and energy data (approx. 100 data points per second) to a cloud gatewayLarge quantity structures Large quantity structures should be coordinated with the technical advisor (the possible quantity structures depend strongly on the client). Example:Use of OPC UA as an integrated communication standard for HMI, SCADA, MES with more than 1000 data points per second.

10 General:The maximum quantity structures of the CPU 1517 and 1518 are up to a factor of 10 higher compared to smaller CPUs ( 1510).OPC UACloudGatewayCloud ProtocolOPC UAPage 25 Unrestricted Siemens 2020 Guideline 4:SecurityGeneral OPC UA security actions are based on the following IT standards: Encryption Signing Authentication via certificate and user accounts Note: Security mechanisms have a negative effect on performance, especially when establishing a connection. While operating, performance is reduced by approx. 10%.User Accounts Theconfiguration of user accounts is analogue to the web server. The configuration is mostly self-explanatoryCertificates The management of the certificates must be coordinated in detail with the IT department In many cases, certificates are managed centrally by the IT department, which increases the consulting effort massivel Simple example: S7-1500 and Third Party Client with self-signed certificates Consulting intensive example:Integration into existing IT infrastructure with certificate generation by Microsoft Active DirectoryAD ServerPage 26 Unrestricted Siemens 2020 Guideline 5:Standards viainformation models (Companion Specifications)Predefined and simple customized models The integration of predefined models ( Euromap 77) can be done with SiOME according to the application example.