What is a server interface? (S7-1200) - STEP 7

Configuring automation systems

ft:publication_title
Configuring automation systems
Product
STEP 7
Version
V20
Publication date
11/2024
Language
en-US
What is a server interface?

Definition

A server interface combines nodes of an OPC UA address space of a CPU into a unit, so that a specific view on this CPU is provided for OPC UA clients.

Each server interface defines one or more namespaces in the OPC UA server of the CPU.

STEP 7 (TIA Portal) differentiates between the following types of server interfaces:

  • Companion specification

    For this type of server interface, you use a Companion Specification created by a workgroup, for example.

    The workgroup is typically composed of members of the OPC Foundation and another industry organization who have jointly specified an OPC UA information model for a specific purpose (for example, for data exchange with RFID devices or with injection molding machines).

    This information model is realized in the form of OPC UA nodes in the address space of an OPC UA server. OPC UA clients can access these OPC UA nodes.

    You can also use the server interface type "Companion specification", for example, to download company-internal information models, e.g. in SiOME.

    If you implement a certain companion specification in your project, you apply the specifications of this companion specification into your project as server interface.

    For "Companion specification"-type server interfaces, you can import multiple namespaces which the Companion specification uses.

    Additional information on companion specifications: Creating a server interface for companion specificationhere.

    Additional information on SiOME: SiOME

    • When companion specifications refer to type definitions in dependent specifications, use the reference namespaces for this. You import reference namespaces as you would the actual companion specifications.

      See Creating a server interface for reference namespace.

    • If you want to make instance data from FBs or UDTs of the CPU accessible to OPC UA clients, you can have these instance data assignments automatically made as of TIA Portal version V17. You only need to map the FB types or the UDTs to suitable OPC UA data types of an imported reference namespace. For this mapping to be possible, enable the option "Generate OPC UA nodes based on the local data mapping" in the dialog for creating an OPC UA server interface of the type companion specification/reference namespace.

      See Generating OPC UA nodes based on local data mappings of FB types and UDTs

  • User-defined server interface:

    For this type of server interface you combine OPC UA nodes of an OPC UA server into a unit.

    To do this, use the specifications for your project or the requirements for your machine or your plant as a basis.

    Additional information on the user-defined server interface is available here.

Injection molding machine as an example for companion specification

A server interface of the type "Companion specification", for example, contains the following elements:

  • OPC UA nodes which you can write with an OPC UA client to receive information about this injection molding machine (in readable PLC tags)

  • OPC UA nodes which you can write with an OPC UA client to transfer values to the injection molding machine (in writable PLC tags)

This server interface enables a default view of a CPU, which can be used to control an injection molding machine.

For injection molding machines, the companion specification "Euromap" defines a whole series of OPC UA nodes which you can combine in a server interface.

Other OPC UA nodes of the CPU are not included in this server interface. This provides a better overview.

Additional Information on handling server interfaces

Creation, export and loading of server interfaces is exactly the same as for the S7-1500 CPUs.

As of firmware V4.5, S7-1200 CPUs support server methods and structured data types (structures and arrays).

Copying server interfaces of an S7-1500 CPU

If you have created server interfaces for an S7-1500 CPU, you can copy these server interfaces to the "OPC UA communication" area of an S7-1200 CPU.

If the server interface contains elements that are not supported, as described above, a compilation of the configuration or the consistency check is canceled with errors.