Use this menu command to build Ethernet connections for the LOGO! Base Module.
|
① |
Here you select the Ethernet connection method. You first enable the S7 access or Modbus access before configuring the Ethernet connections. |
|
② |
Here you define the Ethernet properties. To add a client/server connection, you can right-click a connection item to enable the buttons:
Here you can define up to eight network connections, which are TCP/IP-based S7/Modbus communication connections to the following devices:
|
|
Note
For detailed information about S7 communication configurations between the LOGO! Base Module, SIMATIC PLCs, HMIs and CIM devices, see FAQs under the Support selection at LOGO! Website. |
Configuring S7 client connections
Each S7 connection can be configured to be a client or a server, in which the local IP/local TSAP (Transmission Layer Service Access Point) and remote IP/remote TSAP are configured respectively. The server is the data source side in communication, it sends information that responds to the requests from the other side - the client.
To configure the client or server connections of each LOGO! connection, double-click the connection.
Right-click the desired connection and choose to add a client connection.
Double-click the connection item to configure the client connection.
|
① |
Here you define the properties of the Client. TSAP is the Transmission Layer Service Access Point in TCP/IP communication. The local TSAP of Client is automatically generated by LOGO!Soft Comfort. |
|
② |
Here you define the properties of the Server. The remote TSAP is the TSAP of the Server that you want to connect. The remote IP address is the IP address of the Server that you want to connect. |
|
③ |
Here you define the properties of the data transfer connection. (Read: Client <- Server, Write: Client -> Server) You can create a maximum of 32 data transfers in a Client connection. In the read process, the local Base Module reads data from the remote server and stores it; in the write process, the local Base Module writes data to the remote server. You can store data either on the local Base Module or the remote Server by specifying the corresponding column. The maximum transfer data length is 212 bytes for every data transfer. |
S7 Data transfer configuration
You can set the following values in the data transfer table in configuring client connections:
Click the following drop-down menu to choose the data value for transferring.
Input one address in the address field.
If you configured VM mapping, you can also click
to display the VM mapping table as below:
In the VM mapping table, you can perform the following operations:
Click a column to choose the desired address or click and drag down and up to choose multiple addresses.
Click the mapping fields to switch to the parameter VM mapping dialog.
Click and drag the black arrow at the bottom right corner to expand or shrink the table.
See Tools -> Parameter VM Mapping (0BA7 and later versions only) for more information about the VM mapping.
Click the empty drop-down menu to choose data transfer directions.
Input the other address.
To add or remove rows, right-click an existing row to enable the buttons.
Save your changes.
Configuring S7 server connections
Double-click the connection item to configure the server connection.
|
Note
If the Server in this connection is a SIMATIC S7, you must configure the server connection on the added device. |
|
① |
Here you define the properties of the Server. TSAP: The range in LOGO! Base Module is 20.00 to FF.FF. The local TSAP of Server is automatically generated by LOGO!Soft Comfort. If the Operator Panel (SIMATIC HMI) is the Client in this connection, select the "Connect with an Operator Panel (OP)" check box. LOGO!Soft Comfort then automatically changes the TSAP to 02.00. If you select the "Accept all connections requests" check box, the Server responds to the requests from all Clients in the network. The Server can accept a request only from one IP address. This address is the IP address of the client that you want to connect. |
|
② |
Here you define the properties of the Client. The remote TSAP is the TSAP of the Client that you want to connect. |
Data transfer restrictions
The table below describes the range and local address restrictions for client connections.
Read requests:
|
Local address (LOGO!) |
Remote address (S7 compatible device) |
||
|---|---|---|---|
|
Address Type |
Range |
Address Type |
Range |
|
VB |
0 to 850 |
VB DB.DBB MB IB QB |
0 to 65535 DB[0 to16000].DBB[0 to 65535] 0 to 65535 0 to 65535 0 to 65535 |
|
Note
Address Type:
Local address + Data length - 1 ≤ 850 |
The table below describes the range and local address restrictions of client connection.
Write requests:
|
Local address (LOGO!) |
Remote address (S7 compatible device) |
||
|---|---|---|---|
|
Address Type |
Range |
Address Type |
Range |
|
VB MB IB QB |
0 to 850 0 to 3 0 to 2 0 to 1 |
VB DB.DBB MB IB QB |
0 to 65535 DB[0,16000].DBB[0,65535] 0 to 65535 0 to 65535 0 to 65535 |
|
Note
The values should follow the rule: Local address + Data length - 1 ≤ Max value of Local address type. |