Difference between revisions of "IBH OPC UA:Configuration with STEP7"

From IBHsoftec Wiki English
Jump to: navigation, search
(Created page with "Configuration of the '''IBH OPC UA Server/Client''' with STEP7 ==Example== In the following example the configuration with STEP7 is shown. The S7 IM151-8 station is connect...")
 
m (STEP7 Sample: IBH OPC UA Server/Client with S7 315-2DP routet via IBH Link S7++)
Line 81: Line 81:
 
'''Download: [http://download.ibhsoftec.com/german/Beispiele/IBH_Link_UA_IBH_Link_S5.zip STEP7 Sample: IBH OPC UA Server/Client S5]'''
 
'''Download: [http://download.ibhsoftec.com/german/Beispiele/IBH_Link_UA_IBH_Link_S5.zip STEP7 Sample: IBH OPC UA Server/Client S5]'''
  
==STEP7 Sample: IBH OPC UA Server/Client with S7 315-2DP routet via [http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBH Link S7++]==
+
==STEP7 Sample: IBH Link UA with S7 315-2DP routet via [http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBH Link S7++]==
  
'''Download: [http://download.ibhsoftec.com/german/Beispiele/IBH_Link_UA_IBH_S7_S7315DP_Routing.zip STEP7 Sample: IBH OPC UA Server/Client with S7 315-2DP]'''
+
'''Download: [http://download.ibhsoftec.com/german/Beispiele/IBH_Link_UA_IBH_S7_S7315DP_Routing.zip STEP7 Sample: IBH Link UA with S7 315-2DP]'''
 +
 
 +
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 NetPro and connected with the bus system (MPI or PROFIBUS)<br>
 +
 
 +
[[Image:IBH_Link_UA_Routing_Dummy_CPU.png|823px]]<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_IBH_Link_as_Station_HWK.png|591px]]<br>
 +
 
 +
 
 +
 
 +
A routed S7 connection from the OPC Server to the S7 PLC must be set up::
 +
 
 +
[[Image:IBH_Link_UA_Routing_Insert_New_Connection.png|362px]]<br>
 +
 
 +
[[Image:IBH_Link_UA_Routing_Connection_Properties.png|559px]]
 +
 
 +
 
 +
The further pocedure can be found at '''[https://wiki.ibhsoftec.com/en/IBH_Link_UA:Configuration_with_STEP7 Configuration with_STEP®7]]'''
  
 
==STEP7 Sample: IBH OPC UA Server/Client with S7-200 via [http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBH Link S7++]==
 
==STEP7 Sample: IBH OPC UA Server/Client with S7-200 via [http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBH Link S7++]==

Revision as of 09:38, 2 August 2016

Configuration of the IBH OPC UA Server/Client with STEP7

Example

In the following example the configuration with STEP7 is shown.

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

The following addresses were chosen in the example:

IP addresses:

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

Configuration:

A new device will be added (in the sample a S7 IM151-8) and networked with Ethernet(1):

IBH Link UA Step7 IM HW.png

Now a DB can be created:

IBH Link UA Step7 DB eng.png

IBH Link UA Step7 hint.png

In our sample the symbols Data and Flagword 1 are defined within the symbolic table:

IBH Link UA Step7 symbol table.png

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

IBH Link UA Step7 OB eng.png

After downloading the blocks OB1 and DB1 to the IM151-8 a Simatic PC Station must be added:

IBH Link UA Step7 add station.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

after adding an OPC Server in slot 1 and an IE-module in slot 2

IBH Link UA Step7 station.png

IBH Link UA IP.png

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

IBH Link UA Step7 connection.png

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

IBH Link UA Step7 configure symbols.png

Now the configuration needs to be downloaded to the PLC and the IBH OPC UA Server/Client:

IBH Link UA Step7 download stations.png

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

IBHLink UA STEP7 OPC Client eng.png

STEP7 Sample: IBH OPC UA Server/Client with SIMATIC S5 via IBH Link S5++

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

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

Download: STEP7 Sample: IBH Link UA with S7 315-2DP

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 NetPro and connected with the bus system (MPI or PROFIBUS)

IBH Link UA Routing Dummy CPU.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 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 Insert New Connection.png

IBH Link UA Routing Connection Properties.png


The further pocedure can be found at Configuration with_STEP®7]

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

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

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

STEP7 Beispiel: IBH OPC UA Server/Client with IBH SoftSPS

Download: STEP7 Sample: IBH OPC UA Server/Client with IBH SoftSPS