You are on page 1of 3

(http://www.siemens.

com)
Industry Online Support
Product Support

 Home (start)  Product Support

Entry type: FAQ, Entry ID: 2615830, Entry date: 12/10/2010      (8)
 Rate

How can you communicate data between the S7-200 and the S7-300 via PROFIBUS DP?
Entry Associated product(s)

Instructions
The S7-200 can be incorporated as slave in a PROFIBUS DP netw ork w ith the EM277 module. The process is
described below taking the example of an S7-226 (slave) connected to an S7-314C-2 DP (master).

The figure below show s the sample configuration:

(/cs/images/2615830/s7_200_ueber_profibus_dp_mit_s7_300_verbinden_01_e.gif?
inline=1)

Fig. 01

Configuration of the slave (S7-200)


The activities here are limited to setting the PROFIBUS DP address that must match the configuration in the master.

No. Procedure
1 Sw itch off the module's pow er supply.
2 Set the defined PROFIBUS DP address on the EM277. To do this you turn the low er address sw itch so that the
arrow points to the desired number ("3" in the sample configuration).

(/cs/images/2615830/s7_200_ueber_profibus_dp_mit_s7_300_verbinden_02_e.gif?
inline=1)

Fig. 02
3 Sw itch the module's pow er supply on again.

Note
A new ly set PROFIBUS DP is recognized only after turning the pow er supply on.

Configuration of the m aster (S7-300)

Here you integrate the EM277 module in your S7-300 configuration, connect it to the PROFIBUS DP and configure the
data communication betw een master and slave.

No. Procedure
1 Create a new project in the SIMATIC Manager.
2 Insert an S7-300 station and a PROFIBUS DP netw ork in the new project.
3 Open the "HW Config" editor and insert a channel, pow er supply and a CPU 314C-2 DP. Connect the CPU to the
PROFIBUS DP segment.

(/cs/images/2615830/s7_200_ueber_profibus_dp_mit_s7_300_verbinden_03_e.gif?
inline=1)

Fig. 03
4 You must integrate the EM277 in the hardw are catalog of STEP 7 afterw ards using a GSD file, because it is not
included by default. The GSD file for the EM277 is located in the Internet on the SIMATIC Customer Support
w ebsite in Entry ID:  113652 (/cs/document/113652/profibus-gsd-files-%3a-simatic?lc=en-w w ) .
Detailed instructions on how to import a GSD file in STEP 7 are available in Entry ID:
 2383630 (/cs/document/2383630/how -do-you-integrate-a-gsd-file-into-the-step-7-hw -config-for-profibus-or-
profinet?lc=en-w w )
.
5 To find the new module quickly you can use the Find function in the hardw are catalog.

(/cs/images/2615830/s7_200_ueber_profibus_dp_mit_s7_300_verbinden_04_e.gif?
inline=1)

Fig. 04
© Siemens AG 2009-2017 - Imprint (http://www.siemens.com/corporate_info) Privacy policy (http://www.siemens.com/privacy) Cookie policy (http://www.siemens.com/cookie-policy-en)
6 Shift the EM277 module to the PROFIBUS
Terms of DP
usesegment and set the address of the slave. Digital
(http://www.siemens.com/terms_of_use) The address is "3" in the
ID (http://www.siemens.com/digital_id_en) 0.0.0.0
sample configuration.
7 For data communication betw een master and slave you must define the address areas for receive and send
data on both sides. In the S7-200 these areas are in the variable memory.
For the sample configuration w e have defined a data length of 2 bytes for receive and send data. The follow ing
address areas have been selected:
Receive area S7-300: EB10 and EB11
Send area S7-300: AB10 and AB11
Receive area S7-200: VB100 and VB101
Send area S7-200: VB102 and VB103

(/cs/images/2615830/s7_200_ueber_profibus_dp_mit_s7_300_verbinden_05_e.gif?
inline=1)

Fig. 05
Add the relevant input/output module (2 Bytes Out / 2 Bytes In) from the hardw are catalog according to the
receive and send areas selected.
8 Change the addresses for the receive area (input) and send area (output) of the S7-300 appropriately.
Also specify the type of data consistency to be used for data communication according to the input/output
module selected.

(/cs/images/2615830/s7_200_ueber_profibus_dp_mit_s7_300_verbinden_06_e.gif?
inline=1)

Fig. 06
9 Open the Properties w indow of the EM277 module and specify the start address of the receive area w ith the
parameter I/O Offset in the V Mem ory. VB100 has been chosen as address in the sample configuration. The
system automatically attaches the send area behind the receive area so you do not have to do this manually.

(/cs/images/2615830/s7_200_ueber_profibus_dp_mit_s7_300_verbinden_07_e.gif?
inline=1)

Fig. 07
10 Save and compile the configuration and load it in the CPU 314C-2 DP.

Note
In the case of data communication the data sent by the master is stored in the receive area of the slave (variables
memory). The user program of the S7-200 CPU must "save" this data to another data area, because otherw ise it w ill
be overw ritten at the next send procedure. While the user program is processing the data in the variable memory
cannot be overw ritten. This is possible at the next update of the process image of the inputs (PIQ) and outputs (PII).

Note
The data consistency set in Step 8 must match the data volume used. If, for example, w ith a data length of four data
w ords you use a w ord consistency, this does not ensure that the w ords are received by the slave in the order in
w hich they w ere sent by the master. The consistency here is only for individual w ords. To ensure consistent order
of the w ords, you must use a buffer consistency in this example.

Detailed information about this topic is available in the section entitled "EM 277 PROFIBUS-DP Module
Specifications" of the S7-200 system manual in Entry ID:
 1109582 (/cs/document/1109582/s7-200-system-manual?lc=en-w w ) .

Keyw ords
Connection, PROFIBUS DP, S7-200, S7-300, EM 277, Variable memory

Security information
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions constitute one element of such a concept.
For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity. (http://www.siemens.com/industrialsecurity)

Also available in the following languages:


 German
 French
 Italian
 Spanish
 Chinese

Entry belongs to product tree folder(s):


 Automation Technology  Automation Systems  Industrial Automation Systems SIMATIC  PLC  Basic Controller  S7-200  Communication  EM277 PROFIBUS DP module (products?pnid=13652)

Rate entry
     no rating Submit rating

Feedback *)
Name

Phone number

email

Comment Number of characters: 0 (max. 500)

Send copy of comment to sender Send

*) Important: Please use this form for general feedback only. All technical and specialist topics should be directed to the expert community in the Technical Forum
(https://support.industry.siemens.com/tf/ww/en/).

You might also like