Siemens SIMATIC ET 200AL System Manual page 891

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200AL:
Table of Contents

Advertisement

3. Import the XML file as "Server interface".
"Step 3" sets out the procedure in detail.
Compile the STEP 7 project.
Download the project to the CPU that acts as the controller for an injection molding
machine.
4. In your STEP 7 project, create the PLC tags and server methods to which you have
assigned Euromap 77 tags and methods under 2.
The PLC tags must have compatible data types; see "Mapping data types".
Enable read and write access to these PLC tags for OPC UA clients in accordance with
Euromap 77.
Save the PLC tags in a data block, for example.
"Step 4" sets out the procedure in detail.
Result: The Euromap 77 tags and server methods are available for OPC UA clients in the
address space of the OPC UA server of your CPU.
Step 1: Creating an instance
The example below uses the "UaModeler" program from Unified Automation. You can also
use other tools to create the OPC UA XML file (server interface). The tools for designing
information models are constantly being honed and improved. You should therefore always
use the documentation provided by the manufacturer. That documentation takes priority over
the description provided here.
You can download "UaModeler" here: Unified_Automation_Download
automation.com/downloads/opc-ua-development.html)
You use UaModeler to design information models/address spaces for your OPC UA server
and can create new types and instances of OPC UA nodes. You can also use UaModeler to
define extensions to UA tags or UA methods in order to map UA tags and UA methods to
PLC tags and PLC function blocks (instances).
Proceed as follows to create an XML file with an instance of "IMM_MES_InterfaceType":
1. Download the files "Opc_Ua.EUROMAP77.NodeSet2.xml" and
"Opc_Ua_EUROMAP83_NodeSet2.xml" from the Euromap website (see above).
2. Create a new project in UaModeler and enter a project name.
In the example, the project name is "Demo".
3. Go to "Generate Code", click "modeling > v1_0" and then "Next".
4. Under "Choose Base Models", click "Find another model" if the file
"Ua.EUROMAP77.NodeSet2.ua" or "Opc_Ua_EUROMAP83_NodeSet2.xml" has not
already been loaded.
UaModeler saves the XML files in an internal format with the extension ".ua".
5. In the "Add Information Model" dialog, select "Information Model (*.xml)" as the file type.
You then select the XML files "Opc_Ua.EUROMAP77.NodeSet2.xml" and
"Opc_Ua_EUROMAP83_NodeSet2.xml" in the file system of your computer.
Communication
Function Manual, 12/2017, A5E03735815-AF
OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
(https://www.unified-
205

Advertisement

Table of Contents
loading

Table of Contents