Difference between revisions of "IBH OPC UA:Configuration with TIA Portal"

From IBHsoftec Wiki English
Jump to: navigation, search
(Created page with "Configuration of the '''IBH OPC Server/Client''' with TIA portal ==Example== In the following example, the configuration with TIA Portal V13 is shown. The S7-1500 station i...")
 
m (TIA Sample: IBH OPC UA Server/Client S7-315-2 DP routed via IBH Link S7++)
Line 106: Line 106:
 
'''Download: [http://download.ibhsoftec.com/english/Samples/IBH_Link_UA_S7200_TIA.zip TIA Sample: IBH OPC UA Server/Client S7-200 via IBH Link S7++]'''
 
'''Download: [http://download.ibhsoftec.com/english/Samples/IBH_Link_UA_S7200_TIA.zip TIA Sample: IBH OPC UA Server/Client S7-200 via IBH Link S7++]'''
  
==TIA Sample: IBH OPC UA Server/Client S7-315-2 DP routed via [http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBH Link S7++]==
+
==TIA Sample: IBH Link UA S7-315-2 DP routet via [http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBH Link S7++]==
  
'''Download: [http://download.ibhsoftec.com/german/Beispiele/IBH_Link_UA_S7_315_Routing_TIA.zip TIA Sample: IBH OPC UA Server/Client S7-315-2 DP routet via IBH Link S7++]'''
+
'''Download: [http://download.ibhsoftec.com/german/Beispiele/IBH_Link_UA_S7_315_Routing_TIA.zip TIA Sample: IBH Link UA S7-315-2 DP routet via IBH Link S7++]'''
 +
 
 +
S7-300 and S7-400 controllers which do not have an Ethernet port available can be connected via the '''[http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBH Link S7++]''' or the '''[http://www.ibhsoftec.com/IBH-Link-S7-PP-HS-Eng IBH Link S7++ HS]''' to the  IBH Link UA.
 +
 
 +
Within the IBHNet settings the routing mode must be activated. This mode is available beginning with firmware version 2.142.<br>
 +
 
 +
With projected connections via RFC1006 it is not possible to communicate over unprojected connections any more!<br>
 +
 
 +
The normal IBHNet communication over port 1099 via the IBHNet driver is not influenced from this setting.
 +
 
 +
[[Image:IBHLink_routing.png|463]]<br>
 +
 
 +
 
 +
 
 +
The IBH Link S7++ will be configured as a S7-400 station within the TIA Portal and connected with the bus system (MPI or PROFIBUS)<br>
 +
 
 +
[[Image:IBH_Link_UA_Routing_TIA_Dummy_PLC.png|934px]]<br>
 +
 
 +
The following station must be selected:<br>
 +
MLFB: '''6ES7 412-2EK06-0AB0 V6.0'''<br>
 +
Rack '''0''', Slot '''2'''<br>
 +
MPI/PROFIBUS address of the IBHLink S7++<br>
 +
IP Address of the IBHLink S7++
 +
 
 +
Configuration of the Station within the hardware configurator:<br>
 +
 
 +
[[Image:IBH_Link_UA_Routing_TIA_ IBH_Link_as_Station_HWK.png|930px]]<br>
 +
 
 +
 
 +
 
 +
A routed S7 connection from the OPC Server to the S7 PLC must be set up::
 +
 
 +
[[Image:IBH_Link_UA_Routing_TIA_Properties_S7_Connection.png|851px]]
 +
 
 +
 
 +
 
 +
The further pocedure can be found at '''[https://wiki.ibhsoftec.com/en/IBH_Link_UA:Configuration_with_TIA_Portal Configuration with the TIA Portal]'''
  
 
==TIA Sample: IBH OPC UA Server/Client S5 95U via [http://www.ibhsoftec.com/IBH-Link-S5-PP-Eng IBH Link S5++]==
 
==TIA Sample: IBH OPC UA Server/Client S5 95U via [http://www.ibhsoftec.com/IBH-Link-S5-PP-Eng IBH Link S5++]==
  
 
'''Download: [http://download.ibhsoftec.com/german/Beispiele/IBH_Link_UA_S5.zip TIA Sample: IBH OPC UA Server/Client S5]'''
 
'''Download: [http://download.ibhsoftec.com/german/Beispiele/IBH_Link_UA_S5.zip TIA Sample: IBH OPC UA Server/Client S5]'''

Revision as of 12:01, 2 August 2016

Configuration of the IBH OPC Server/Client with TIA portal

Example

In the following example, the configuration with TIA Portal V13 is shown.

The S7-1500 station is connected with the IBH OPC Server/Client via Ethernet.

The following addresses were chosen in the example:

IP addresses:

Station Address
IBH OPC Server/Client 192.168.10.125
S7-1500 192.168.10.129

Configuration:

A new device will be added (in the sample a S7-1500):

IBH Link UA add device.png

The S7-1500 will be connected with Ethernet Subnet PNIE_1 and the IP address must be set:

IBH Link UA S7 1500 PNIE.png

Full access and access with PUT/GET communication is necessary:

IBH Link UA S7 protection.png

Now a DB can be created:

IBH Link UA S7 add DB.png

The Optimized block access must be deactivated:

IBH Link UA S7 DB properties.png

IBH Link UA S7 DB eng.png

Within OB1 the data word 1 and flag word 1 will be counted in our example:

IBH Link UA S7 OB1 eng.png

Flag word 1 is now listed as standard tag:

IBH Link UA S7 standard tag.png

As next step a Simatic PC Station must be added:

IBH Link UA S7 add pc station.png

After adding an OPC Server in slot 1 and an IE-module in slot 2, the version of the OPC Server must be changed from version V12 to V8:

IBH Link UA S7 change device.png

IBH Link UA S7 device V8.png

Within the properties of the Ethernet Port of the PC Station, the IP address of the IBH OPC UA Server/Client must be entered:

IBH Link UA S7 IE.png

IBH Link UA IP.png

Now a S7 connection between the OPC Server and the PC station must be established:

461.px

Within the properties of the OPC Server at <General> <S7> <OPC tags > the OPC Tags can be selected:

IBH Link UA S7 PLC tags.png

IBH Link UA S7 DB tags.png

Now the configuration needs to be downloaded to the PLC:

IBH Link UA S7 dwonload plc.png

and to the IBH OPC UA Server/Client:

IBH Link UA S7 dwonload.png

The configuration is now completed and the tags from the IBH OPC UA Server/Client are available .

IBHLink UA OPC Client.png

TIA Sample: IBH OPC UA Server/Client S7-1200

Download: TIA Sample: IBH OPC UA Server/Client S7-1200

TIA Sample: IBH OPC UA Server/Client S7-200 via IBH Link S7++

Notes about the configuration can be found within the ReadMe.txt.

Download: TIA Sample: IBH OPC UA Server/Client S7-200 via IBH Link S7++

TIA Sample: IBH Link UA S7-315-2 DP routet via IBH Link S7++

Download: TIA Sample: IBH Link UA S7-315-2 DP routet via IBH Link S7++

S7-300 and S7-400 controllers which do not have an Ethernet port available can be connected via the IBH Link S7++ or the IBH Link S7++ HS to the IBH Link UA.

Within the IBHNet settings the routing mode must be activated. This mode is available beginning with firmware version 2.142.

With projected connections via RFC1006 it is not possible to communicate over unprojected connections any more!

The normal IBHNet communication over port 1099 via the IBHNet driver is not influenced from this setting.

463


The IBH Link S7++ will be configured as a S7-400 station within the TIA Portal and connected with the bus system (MPI or PROFIBUS)

IBH Link UA Routing TIA Dummy PLC.png

The following station must be selected:
MLFB: 6ES7 412-2EK06-0AB0 V6.0
Rack 0, Slot 2
MPI/PROFIBUS address of the IBHLink S7++
IP Address of the IBHLink S7++

Configuration of the Station within the hardware configurator:

IBH Link UA Routing TIA IBH Link as Station HWK.png


A routed S7 connection from the OPC Server to the S7 PLC must be set up::

IBH Link UA Routing TIA Properties S7 Connection.png


The further pocedure can be found at Configuration with the TIA Portal

TIA Sample: IBH OPC UA Server/Client S5 95U via IBH Link S5++

Download: TIA Sample: IBH OPC UA Server/Client S5