Difference between revisions of "IBHLink S7++:LOGO! with IBHLink S7++"

From IBHsoftec Wiki English
Jump to: navigation, search
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== S7 Connection from Siemens LOGO! (RCE version) to a S7 PLC  via [http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBHLink S7++] or [http://www.ibhsoftec.com/IBH-Link-S7-PP-HS-Eng IBHLink S7++ HS]==
 
== S7 Connection from Siemens LOGO! (RCE version) to a S7 PLC  via [http://www.ibhsoftec.com/IBH-Link-S7-PP-Eng IBHLink S7++] or [http://www.ibhsoftec.com/IBH-Link-S7-PP-HS-Eng IBHLink S7++ HS]==
  
The RCE versions from Siemens LOGO! are equiped with an Ethernet port and support S7 connections via Ethernet. This allows a data communication between LOGO! and a S7-PLC via IBH Link S7++. Process data can be exchanged between both PLC.
+
The RCE versions of Siemens LOGO! are equiped with an Ethernet port and support S7 connections via Ethernet. This allows a data communication between LOGO! and a S7-PLC via IBH Link S7++. Process data can be exchanged between both PLCs.
Below there is the decription how to setup the LOGO! for data communication with the IBH Link S7++.
+
Below is the decription, how to setup the LOGO! for data communication with the IBH Link S7++.
  
 
== Communikation ==
 
== Communikation ==
  
The communikation with the LOGO! will be establhed via S7V connections. The LOGO! can read and write from data area of the S7 PLC via IBH Link S7++:
+
The communication with the LOGO! will be established over S7 connections. The LOGO! can read and write from following data areas of the S7 PLC via IBH Link S7++:
  
 
* Inputs
 
* Inputs
Line 14: Line 14:
 
* Flags
 
* Flags
  
* Content of data blocks.
+
* Contents of data blocks.
  
 
== Settings of the LOGO! via Display ==
 
== Settings of the LOGO! via Display ==
  
Zuerst muss die LOGO! über das Ethernet Netzwerk erreichbar sein. Danach erst kann über die LOGO! Soft Comfort Software eine IP Adresse eingestellt werden. Gegebenenfalls muss die Adresse des PCs entsprechend umgestellt werden, damit sich LOGO! und PC im gleichen Subnetz befinden. Die aktuelle Adresse der LOGO! sieht man über das Display.
+
First of all, the LOGO! must be accessible via Ethernet. After that, an IP address can be set with the LOGO! Soft Comfort software. Maybe the IP address of the PC needs to be changed, so that the LOGO! and the PC are within the same subnet.
 +
The current address of LOGO! is shown on the display.
  
 
* With <ESC> you'll get to the settings.
 
* With <ESC> you'll get to the settings.
Line 24: Line 25:
 
* Scroll down until <network> appears.
 
* Scroll down until <network> appears.
  
* <OK>  'IP address'. <OK> The current adress is shown.
+
* <OK>  'IP address'. <OK> The current address is shown.
  
 
== Settings within the LOGO!Soft Comfort software ==
 
== Settings within the LOGO!Soft Comfort software ==
  
In der LOGO!Soft Comfort Software muss die IP-Adresse der Steuerung eingestellt werden. Dies geschieht über "Extras - Übertragen - Netzwerkadresse konfigurieren".
+
Within the LOGO!Soft Comfort software setup the IP address of the PLC via "Tools - Transfer - Configure Network Address".
  
[[Image:logo-comfort-setaddr-ger.PNG|none]]
+
[[Image:logo-comfort-setaddr-eng.png|none]]
  
Dann muss die Logo so konfiguriert werden, dass diese Clientverbindungen zu anderen Stationen aufbaut.
+
After that, the LOGO! must be configured to establish Client connections to other stations.
  
Via "Extras - Ethernet Connections" a new connection can be added.
+
Via "Tools - Ethernet Connections" a new connection can be added.
  
[[Image:logo-comfort-connections-ger.PNG|none]]
+
[[Image:logo-comfort-connections-eng.png|none]]
  
Mit einem Doppelklick auf die Verbindung, kann diese konfiguriert werden.
+
With a double click on the connection, it can be configured.
  
[[Image:logo-comfort-softsps-ger.PNG|none]]
+
[[Image:logo-comfort-softsps-eng.png|none]]
  
A Client cneectrion must be selected. The settings for the TSAPs are local '20.00' and remote '01.nn'. 'nn' stands hierbei für die MPI-Adresse der S7-Steuerung, mit der die Daten ausgetauscht werden sollen. Die Schreibweise ist Hexadezimal, d.h. '01.15' steht für die Adresse 21, '01.02' für die Adresse 2. Als Operationen stehen Lesen und Schreiben zu Verfügung. Die lokalen Variablen beziehen sich auf den intern simulierten DB1. Die Syntax für Variablen aus den lokalen DB lautet VBn, die des remoten Partners ist S7-Syntax.
+
A Client connection must be selected. The settings for the TSAPs are local '20.00' and remote '01.nn'. 'nn' stands for the MPI address of the S7 PLC. The syntax is Hexadecimal, which means '01.15' stands for the address 21, '01.02' for the address 2. As operations, read and write are available. The local variables relate to the internal simulated DB1. The syntax for variables from the local DB is VBn, for the remote partner is S7 Syntax.
  
To exchange variables with the DB1, the DB must be created. Via "Extras - Parameter VM assignment" the elements of the program can be selcted, die in den DB1 abgebildet werden sollen.
+
To exchange variables with the DB1, the DB must be created. Via "Tools - Parameter VM Mapping" the elements of the program can be selcted, which should be mapped within the DB1.
  
[[Image:logo-comfort-db1-ger.PNG|none]]
+
[[Image:logo-comfort-db1-eng.png|none]]
  
Es kann vorkommen, dass die LOGO! Soft Comfort Software nach Änderungen der Verbindungen neu gestartet werden muss, damit die geänderten Einstellungen auf die Steuerung übertragen werden.
+
Sometimes, the LOGO! Soft Comfort software needs to be restarted after changing the connections, to tranfer the changes to the LOGO!
  
 
== Access with IBHNet object ==
 
== Access with IBHNet object ==
  
Beginning with IBHNet V1.49 it is possible to access the LOGO!via 'RFC1006'. Die zu verwendende MPI-Adresse bei der Funktion 'Connect()' is 128, bei 'Connect_DP()' ist es der Steckplatz 128. As variables Inputs, Outputs, Flags, the DB1 and the Order N. can be eslected.
+
Beginning with IBHNet V1.49 it is possible to access the LOGO! via 'RFC1006'. The MPI Address for the function 'Connect()' is 128, for 'Connect_DP()' it is the Slot 128. As variables, Inputs, Outputs, Flags, the DB1 and the Order No. can be selected.

Latest revision as of 11:51, 29 January 2013

S7 Connection from Siemens LOGO! (RCE version) to a S7 PLC via IBHLink S7++ or IBHLink S7++ HS

The RCE versions of Siemens LOGO! are equiped with an Ethernet port and support S7 connections via Ethernet. This allows a data communication between LOGO! and a S7-PLC via IBH Link S7++. Process data can be exchanged between both PLCs. Below is the decription, how to setup the LOGO! for data communication with the IBH Link S7++.

Communikation

The communication with the LOGO! will be established over S7 connections. The LOGO! can read and write from following data areas of the S7 PLC via IBH Link S7++:

  • Inputs
  • Outputs
  • Flags
  • Contents of data blocks.

Settings of the LOGO! via Display

First of all, the LOGO! must be accessible via Ethernet. After that, an IP address can be set with the LOGO! Soft Comfort software. Maybe the IP address of the PC needs to be changed, so that the LOGO! and the PC are within the same subnet. The current address of LOGO! is shown on the display.

  • With <ESC> you'll get to the settings.
  • Scroll down until <network> appears.
  • <OK> 'IP address'. <OK> The current address is shown.

Settings within the LOGO!Soft Comfort software

Within the LOGO!Soft Comfort software setup the IP address of the PLC via "Tools - Transfer - Configure Network Address".

Logo-comfort-setaddr-eng.png

After that, the LOGO! must be configured to establish Client connections to other stations.

Via "Tools - Ethernet Connections" a new connection can be added.

Logo-comfort-connections-eng.png

With a double click on the connection, it can be configured.

Logo-comfort-softsps-eng.png

A Client connection must be selected. The settings for the TSAPs are local '20.00' and remote '01.nn'. 'nn' stands for the MPI address of the S7 PLC. The syntax is Hexadecimal, which means '01.15' stands for the address 21, '01.02' for the address 2. As operations, read and write are available. The local variables relate to the internal simulated DB1. The syntax for variables from the local DB is VBn, for the remote partner is S7 Syntax.

To exchange variables with the DB1, the DB must be created. Via "Tools - Parameter VM Mapping" the elements of the program can be selcted, which should be mapped within the DB1.

Logo-comfort-db1-eng.png

Sometimes, the LOGO! Soft Comfort software needs to be restarted after changing the connections, to tranfer the changes to the LOGO!

Access with IBHNet object

Beginning with IBHNet V1.49 it is possible to access the LOGO! via 'RFC1006'. The MPI Address for the function 'Connect()' is 128, for 'Connect_DP()' it is the Slot 128. As variables, Inputs, Outputs, Flags, the DB1 and the Order No. can be selected.