OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
Communication
276
Function Manual, 05/2021, A5E03735815-AJ
Procedure
To map a data type from a reference namespace to an FB type or UDT data type, follow these
steps:
1.
Select the CPU that you want to use as an OPC UA server.
2.
Import the prepared nodeset file (XML file) with the type definitions as a reference
namespace
(See AUTOHOTSPOT).
–
In the "Add new server interface" dialog, enable the option "Generate OPC UA nodes
based on the local data mapping".
Only when this option is enabled can you map FB types or UDTs by dragging them to
the OPC UA type descriptions.
3.
Double-click the icon for the server interface of the "Reference namespace" type that you
just generated.
The editor for mapping between OPC UA server interface and OPC UA elements opens. In
the properties area of the editor, in the "Mapping of local data" area, the option "Generate
OPC UA nodes based on the local data mapping" is enabled. If not, enable the option now.
Edit the "Interface name" field; to do this, click on the three dots on the right edge of the
field.
Select an existing server interface or create a new server interface ("Add" button).
When adding, a new server-interface is created. If you select an existing server interface,
you can edit the properties ("Edit" button).
4.
Assign the existing FB types or UDTs to the nodes of the server interface (reference
namespace) by dragging the OPC UA element (right side of the editor) to the corresponding
node of the server interface (reference namespace, "Local data" column).
5.
Compile the project.
After the compile, the newly generated nodes of the instances are located in the server
interface. STEP 7 creates an object for each instance DB. The generated elements are
located under each of these objects.
Similarly, STEP 7 also creates an object for each global DB that is created when a UDT is
instantiated.
Содержание SIMATIC ET 200AL
Страница 2: ......
Страница 143: ......
Страница 218: ......
Страница 250: ......
Страница 296: ......
Страница 337: ......
Страница 365: ......
Страница 392: ......
Страница 419: ......
Страница 451: ......
Страница 483: ......
Страница 597: ......
Страница 648: ......
Страница 702: ......
Страница 739: ......
Страница 781: ......
Страница 804: ......
Страница 828: ......
Страница 853: ......
Страница 880: ......
Страница 906: ......
Страница 996: ...Diagnostics ...
Страница 1121: ......
Страница 1565: ......