0% found this document useful (0 votes)
189 views14 pages

Communication Between Simatic Wincc Industrial Data Bridge and Simatic S7

This document provides instructions for configuring communication between SIMATIC WinCC Industrial Data Bridge (IDB) and a SIMATIC S7 PLC. It involves: 1. Creating a STEP 7 project with the PLC hardware configuration and function blocks for connecting, disconnecting, sending and receiving data. 2. Configuring IP addresses and subnets for the PLC and IDB machine. 3. Importing or creating an IDB configuration with Send/Receive as a provider and consumer to transfer data between the PLC and an MS Access database via IDB.

Uploaded by

campolucci
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views14 pages

Communication Between Simatic Wincc Industrial Data Bridge and Simatic S7

This document provides instructions for configuring communication between SIMATIC WinCC Industrial Data Bridge (IDB) and a SIMATIC S7 PLC. It involves: 1. Creating a STEP 7 project with the PLC hardware configuration and function blocks for connecting, disconnecting, sending and receiving data. 2. Configuring IP addresses and subnets for the PLC and IDB machine. 3. Importing or creating an IDB configuration with Send/Receive as a provider and consumer to transfer data between the PLC and an MS Access database via IDB.

Uploaded by

campolucci
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

FAQ Ÿ 10/2014

Communication between
SIMATIC WinCC Industrial
Data Bridge and SIMATIC S7
SIMATIC WinCC Industrial Data Bridge / V13

http://support.automation.siemens.com/WW/view/en/104117374
This entry is from the Siemens Industry Online Support. The general terms of use
(http://www.siemens.com/terms_of_use) apply.

Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, solutions, machines, equipment and/or
tion networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens’ products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a product-
specific newsletter. For more information, visit
http://support.automation.siemens.com.

Table of contents
1 Introduction .................................................................................................... 3
ã Siemens AG 2014 All rights reserved

2 Step by step configuration ............................................................................. 4

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 2
1 Introduction

1 Introduction
Send/Receive is a provider and also a consumer in WinCC IDB. This module helps
to transfer data to PLC from any IDB provider or from PLC to any IDB consumer.
To use Send/Receive as a provider or consumer user need to prepare three
different components.
· Step 7 Project
· IDB Configuration
· IDB Runtime

Environment used in this document


· Win 7 64bit
· Step 7 TIA V13 SP1
· IDB 7.3
· SIMATIC S7 300 PLC
ã Siemens AG 2014 All rights reserved

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 3
2 Step by step configuration

2 Step by step configuration


1. Create a new project in STEP 7 with proper hardware configuration.
2. Add Connect, Disconnect, Send and Receive module system blocks and
corresponding logic for that in function block. Configure data blocks
accordingly.
3. Configure IP addresses and subnet.
a. Give IP (PLC IP) in decimal form (For example – 172.17.1.30) in hardware
configuration.
Figure 2-1
ã Siemens AG 2014 All rights reserved

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 4
2 Step by step configuration

b. Give IP (IDB Machine IP) in hexadecimal form in function block.


Figure 2-2
ã Siemens AG 2014 All rights reserved

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 5
2 Step by step configuration

c. Give IP (IDB Machine IP) in hexadecimal form in data block.


Figure 2-3
ã Siemens AG 2014 All rights reserved

d. Give IP (IDB Machine IP) in hexadecimal form.


Figure 2-4

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 6
2 Step by step configuration

4. Compile the project and check if any error is coming.


Figure 2-5
ã Siemens AG 2014 All rights reserved

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 7
2 Step by step configuration

5. Download the project if there are no error(s) in time of compilation


Figure 2-6
ã Siemens AG 2014 All rights reserved

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 8
2 Step by step configuration

6. Make the project Online.


Figure 2-7
ã Siemens AG 2014 All rights reserved

7. Open watch table_1 and make it online to monitor to view the status of
configured data.
Figure 2-8

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 9
2 Step by step configuration

8. After making step 7 online create an IDB configuration or import an existing


configuration xml with Send/Receive as a consumer and Send/Receive as
provider in two different links. Example – MS Access to Send/Receive and
Send/Receive to MS Access.
Figure 2-9
ã Siemens AG 2014 All rights reserved

9. Provide Database path and other fields for Access DB as provider.


Figure 2-10

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 10
2 Step by step configuration

10. Provide the IP address and other fields for Send/Receive as consumer.
Figure 2-11
ã Siemens AG 2014 All rights reserved

11. Provide the Database path and other fields for the Access DB as consumer.
Figure 2-12

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 11
2 Step by step configuration

12. Give the IP address and other fields for Send/Receive as provider
Figure 2-13
ã Siemens AG 2014 All rights reserved

13. Export the configuration XML.


14. Load the configuration XML in runtime, click connect and start data transfer.
Figure 2-14

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 12
2 Step by step configuration

15. To check the data transfer open REC_DATA[Datablock] and


SEND_DATA[Datablock] in Step 7 and make it run.
Data from MS Access (provider) will come in the tables.
Figure 2-15
ã Siemens AG 2014 All rights reserved

Figure 2-16

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 13
2 Step by step configuration

Note
In IDB v7.3 configuration project file, where the two links (DBMSAccess_SR,
SR_DBMSAccess) are for writing data from DB to Send/Receive and
Send/Receive to DB using S7 300 PLC.
The use of the link (DBMSAccess_SR) is to make sure that some data will be
present in Send/Receive (in PLC).
Then second link (SR_DBMSAccess) will transfer the same data to DB consumer.
1.
ã Siemens AG 2014 All rights reserved

IDB Communication with S7


Entry-ID: 104117374, V1.0, 10/2014 14

You might also like