<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ibhsoftec.com/en/index.php?action=history&amp;feed=atom&amp;title=IBH_OPC_UA%3ATIA_Portal_examples</id>
	<title>IBH OPC UA:TIA Portal examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ibhsoftec.com/en/index.php?action=history&amp;feed=atom&amp;title=IBH_OPC_UA%3ATIA_Portal_examples"/>
	<link rel="alternate" type="text/html" href="https://wiki.ibhsoftec.com/en/index.php?title=IBH_OPC_UA:TIA_Portal_examples&amp;action=history"/>
	<updated>2026-09-27T14:12:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.ibhsoftec.com/en/index.php?title=IBH_OPC_UA:TIA_Portal_examples&amp;diff=2365&amp;oldid=prev</id>
		<title>Axel: Linked the detailed S7-1200/1500 optimized data blocks guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.ibhsoftec.com/en/index.php?title=IBH_OPC_UA:TIA_Portal_examples&amp;diff=2365&amp;oldid=prev"/>
		<updated>2026-08-05T15:14:17Z</updated>

		<summary type="html">&lt;p&gt;Linked the detailed S7-1200/1500 optimized data blocks guide&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:14, 5 August 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* an OPC UA test client such as UaExpert&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* an OPC UA test client such as UaExpert&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For S7-1200 and S7-1500, the IBH OPC UA Server/Client supports &#039;&#039;&#039;access to optimized data blocks&#039;&#039;&#039;. Always use the current TIA Portal project so that symbolic names, data types and the block layout match the controller.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For S7-1200 and S7-1500, the IBH OPC UA Server/Client supports &#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[IBH OPC UA:S7-1200/1500 optimized data blocks|&lt;/ins&gt;access to optimized data blocks&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;&#039;&#039;&#039;. Always use the current TIA Portal project so that symbolic names, data types and the block layout match the controller.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Recommended current workflow ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Recommended current workflow ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Axel</name></author>
	</entry>
	<entry>
		<id>https://wiki.ibhsoftec.com/en/index.php?title=IBH_OPC_UA:TIA_Portal_examples&amp;diff=2355&amp;oldid=prev</id>
		<title>Axel: Converted the V5.27 PDF into current TIA Portal wiki documentation with images</title>
		<link rel="alternate" type="text/html" href="https://wiki.ibhsoftec.com/en/index.php?title=IBH_OPC_UA:TIA_Portal_examples&amp;diff=2355&amp;oldid=prev"/>
		<updated>2026-08-05T14:33:48Z</updated>

		<summary type="html">&lt;p&gt;Converted the V5.27 PDF into current TIA Portal wiki documentation with images&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page converts the former PDF manual &amp;#039;&amp;#039;&amp;#039;“PLC projects with TIA Portal V17”&amp;#039;&amp;#039;&amp;#039; into current, maintainable wiki documentation. The PDF describes IBH Link UA and IBH OPC UA Server/Client V5.27. The workflows below have been updated for the current IBH OPC UA Server/Client 6.10.&lt;br /&gt;
&lt;br /&gt;
== Quick overview ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Step !! Result&lt;br /&gt;
|-&lt;br /&gt;
| Prepare the PLC project || CPU, network and data blocks are compiled and consistent.&lt;br /&gt;
|-&lt;br /&gt;
| Import the project || The TIA Portal project is imported with the [[IBH OPC UA Editor]].&lt;br /&gt;
|-&lt;br /&gt;
| Select variables || Only the required symbols and structures are exposed through OPC UA.&lt;br /&gt;
|-&lt;br /&gt;
| Validate and transfer || The editor checks the configuration and transfers it to the server.&lt;br /&gt;
|-&lt;br /&gt;
| Verify the connection || The Web Configurator and an OPC UA client show status and live values.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* a current TIA Portal project that compiles without errors&lt;br /&gt;
* a reachable controller with a unique IP address or device name&lt;br /&gt;
* the current [[IBH OPC UA Editor]]&lt;br /&gt;
* access to the IBH OPC UA Server/Client Web Configurator&lt;br /&gt;
* the appropriate license scope for the required functions&lt;br /&gt;
* an OPC UA test client such as UaExpert&lt;br /&gt;
&lt;br /&gt;
For S7-1200 and S7-1500, the IBH OPC UA Server/Client supports &amp;#039;&amp;#039;&amp;#039;access to optimized data blocks&amp;#039;&amp;#039;&amp;#039;. Always use the current TIA Portal project so that symbolic names, data types and the block layout match the controller.&lt;br /&gt;
&lt;br /&gt;
== Recommended current workflow ==&lt;br /&gt;
=== 1. Prepare the TIA Portal project ===&lt;br /&gt;
# Open the project in TIA Portal.&lt;br /&gt;
# Verify the CPU type, firmware, PROFINET interface, IP address and subnet.&lt;br /&gt;
# Compile hardware and software completely.&lt;br /&gt;
# Download the PLC program and verify that the CPU is in RUN.&lt;br /&gt;
# Ensure that all variables intended for OPC UA have clear symbolic names.&lt;br /&gt;
&lt;br /&gt;
[[File:IBH_OPC_UA_TIA_Optimized_Configuration.png|thumb|center|700px|Network and device configuration in TIA Portal. This image is taken from the archived V5.27 manual; labels may differ in current TIA Portal versions.]]&lt;br /&gt;
&lt;br /&gt;
=== 2. Import the project with the IBH OPC UA Editor ===&lt;br /&gt;
# Start the [[IBH OPC UA Editor]].&lt;br /&gt;
# Create a project or read the existing configuration from the target server.&lt;br /&gt;
# Import or open the TIA Portal project.&lt;br /&gt;
# Select the required CPUs, data blocks, structures and variables.&lt;br /&gt;
# Review data types, access rights, descriptions and update requirements.&lt;br /&gt;
# Validate the project in the editor.&lt;br /&gt;
&lt;br /&gt;
The former &amp;#039;&amp;#039;&amp;#039;IBH OPC Editor&amp;#039;&amp;#039;&amp;#039; is no longer the recommended configuration tool for this workflow. Use the &amp;#039;&amp;#039;&amp;#039;IBH OPC UA Editor&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== 3. Transfer the configuration ===&lt;br /&gt;
# Connect the editor to the IBH OPC UA Server/Client.&lt;br /&gt;
# Compare the target system with the project before transferring.&lt;br /&gt;
# Transfer the validated configuration.&lt;br /&gt;
# Open the controller or slot view in the Web Configurator.&lt;br /&gt;
# Check the connection state, CPU assignment and number of configured variables.&lt;br /&gt;
&lt;br /&gt;
=== 4. Test OPC UA access ===&lt;br /&gt;
# Read the endpoint URL from the Web Configurator.&lt;br /&gt;
# Connect the OPC UA client to this endpoint.&lt;br /&gt;
# For a secure connection, verify and trust the correct server certificate.&lt;br /&gt;
# Browse the address space and add test variables to the data view.&lt;br /&gt;
# Verify reading, writing, timestamps and status codes according to the configured access rights.&lt;br /&gt;
&lt;br /&gt;
== Alternative: SIMATIC PC station configuration ==&lt;br /&gt;
The archived manual also describes an OPC server configured as a SIMATIC PC station. This remains relevant for existing projects.&lt;br /&gt;
&lt;br /&gt;
# Add a SIMATIC PC station to the TIA Portal project.&lt;br /&gt;
# Insert the OPC server component and Ethernet interface.&lt;br /&gt;
# Create the S7 connection between the OPC server and the CPU.&lt;br /&gt;
# Select the OPC symbols.&lt;br /&gt;
# Compile the PC station.&lt;br /&gt;
# Import the generated configuration into the IBH OPC UA Server/Client.&lt;br /&gt;
&lt;br /&gt;
[[File:IBH_OPC_UA_TIA_S7_Connection.png|thumb|center|800px|S7 connection between OPC server and CPU in the archived TIA Portal example. For new projects, importing with the IBH OPC UA Editor is recommended.]]&lt;br /&gt;
&lt;br /&gt;
== Examples covered by the former manual ==&lt;br /&gt;
=== Historical data ===&lt;br /&gt;
# Configure and test the PLC variables as normal OPC UA variables first.&lt;br /&gt;
# Enable the required variables in the Web Configurator&amp;#039;s &amp;#039;&amp;#039;&amp;#039;History&amp;#039;&amp;#039;&amp;#039; section.&lt;br /&gt;
# Set buffering and persistent storage as required by the target system.&lt;br /&gt;
# Verify access with a client that supports Historical Access.&lt;br /&gt;
&lt;br /&gt;
=== Integrated OPC UA Client ===&lt;br /&gt;
The integrated client reads values from external OPC UA servers and connects them to variables in the local address space.&lt;br /&gt;
&lt;br /&gt;
# Add the external server with its endpoint and security settings.&lt;br /&gt;
# Trust the server certificate.&lt;br /&gt;
# Select read variables on the external server.&lt;br /&gt;
# Connect them to local target variables.&lt;br /&gt;
# Verify status, timestamp and client diagnostics.&lt;br /&gt;
&lt;br /&gt;
See [[IBH OPC UA:Client functions|Client functions]].&lt;br /&gt;
&lt;br /&gt;
=== Alarms &amp;amp; Conditions ===&lt;br /&gt;
* Configure alarms and message texts in the PLC project.&lt;br /&gt;
* Import the related variables and alarm data.&lt;br /&gt;
* Enable the compliant OPC UA alarm model when required by the project.&lt;br /&gt;
* Verify states, acknowledgement and message texts in an OPC UA event view.&lt;br /&gt;
&lt;br /&gt;
=== Integrated S7 SoftPLC ===&lt;br /&gt;
The integrated [[IBH OPC UA:Integrated S7 SoftPLC|S7 SoftPLC]] can be configured as an additional controller. Download program and data blocks only to the intended SoftPLC instance and verify RUN/STOP and diagnostics before testing OPC UA.&lt;br /&gt;
&lt;br /&gt;
=== Multiple controllers and routing ===&lt;br /&gt;
For projects with multiple CPUs:&lt;br /&gt;
&lt;br /&gt;
* assign a unique address and slot to every CPU&lt;br /&gt;
* test routed connections through IBH Link S7++ or IBH Link S5++ separately&lt;br /&gt;
* structure variable names so that station and CPU are unambiguous&lt;br /&gt;
* verify each connection individually before enabling cross-station data exchange&lt;br /&gt;
&lt;br /&gt;
== Diagnostics ==&lt;br /&gt;
; Controller remains disconnected&lt;br /&gt;
: Check IP address, subnet, CPU state, routing, slot assignment and firewall.&lt;br /&gt;
&lt;br /&gt;
; Variables are missing or have the wrong data type&lt;br /&gt;
: Recompile the TIA Portal project, import it again in the IBH OPC UA Editor and transfer the updated configuration.&lt;br /&gt;
&lt;br /&gt;
; An optimized data block cannot be accessed&lt;br /&gt;
: Compare the CPU and project versions, verify the symbolic variable and use a CPU/firmware combination supported by the current product.&lt;br /&gt;
&lt;br /&gt;
; OPC UA client rejects the connection&lt;br /&gt;
: Check the endpoint, system time, security policy, user authentication and certificate trust.&lt;br /&gt;
&lt;br /&gt;
== Example files ==&lt;br /&gt;
* [https://download.ibhsoftec.com/german/Beispiele/IBH-Link-UA-Beispiele.zip Download example projects]&lt;br /&gt;
* [https://download.ibhsoftec.com/german/Handbuecher/IBH-Link-UA-Handbuch-SPS-Beispiele-TIA-Portal.pdf Archived PDF manual V5.27 (TIA Portal V17, German)]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[IBH OPC UA:Manual|Manual overview]]&lt;br /&gt;
* [[IBH OPC UA:Startup operations|Startup and commissioning]]&lt;br /&gt;
* [[IBH OPC UA Editor]]&lt;br /&gt;
* [[IBH OPC UA:STEP7 SIMATIC Manager examples|STEP7 / SIMATIC Manager examples]]&lt;/div&gt;</summary>
		<author><name>Axel</name></author>
	</entry>
</feed>