Siemens S7 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Siemens S7. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Siemens S7 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Siemens S7 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Siemens S7 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Siemens S7
- nom du fabricant et année de fabrication Siemens S7
- instructions d'utilisation, de réglage et d’entretien de l'équipement Siemens S7
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Siemens S7 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Siemens S7 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Siemens en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Siemens S7, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Siemens S7, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Siemens S7. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    Preface, Contents Communication via Ethernet CPs in S7 Stations 1 Installing and Starting the Ethernet CP with STEP 7 2 SEND/RECEIVE interface 3 Configuring Communication Connections 4 Programming Functions (FCs) 5 NCM S7 Diagnostics 6 Firmware Loader 7 Appendix References A Glossary B Linking to Other Systems with FETCH/WRITE C Document History D [...]

  • Page 2

    2 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Classification of Safety–Related Notices This manual contains notices which you should observe to ensure your own personal safety , as well as to protect the product and connected equipment. These notices are highlighted in the manual by a warning triangle and are marked as foll[...]

  • Page 3

    3 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T rademarks SIMA TIC R , SIMA TIC HMI R and SIMA TIC NET R are registered trademarks of SIEMENS AG. Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners. Safety Instructions Reg[...]

  • Page 4

    4 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Prior to Startup Before putting the product into operation, note the following warning: Caution Prior to startup you must observe the instructions in the relevant documentation. For ordering data of the documentation please refer to the catalogs or contact your local SIEMENS repre[...]

  • Page 5

    5 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 This Manual on SIMA TIC NET NCM S7 for Industrial Ethernet ...supports you when using the communication services provided by the SIMA TIC NET communications processors (Industrial Ethernet CPs) for communication on SIMA TIC NET with Industrial Ethernet in the management and cell a[...]

  • Page 6

    This Manual on SIMA TIC NET NCM S7 for Industrial Ethernet 6 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Audience This manual is intended for personnel responsible for installing and programming STEP 7 programs and for service personnel. Scope of this Manual This manual applies to version 5.2 and higher of the NCM S7 configur[...]

  • Page 7

    This Manual on SIMA TIC NET NCM S7 for Industrial Ethernet 7 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Y ou will find additional information in the following sources: This manual is also part of the NCM S7 for Industrial Ethernet documentation package. These documents are also on the Manual Collection CD supplied with every[...]

  • Page 8

    This Manual on SIMA TIC NET NCM S7 for Industrial Ethernet 8 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Quick Start CD: Samples covering all aspects of communication The Quick Start CD that can be ordered separately is a treasure-trove of sample programs and configurations. Y ou can order this directly over the Internet at: [...]

  • Page 9

    This Manual on SIMA TIC NET NCM S7 for Industrial Ethernet 9 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Access to Online Help of STEP 7 and NCM S7 With the online help, you can obtain the following information: S Y ou can display the contents of the STEP 7 basic help system with the menu command Help –> Contents. S Cont[...]

  • Page 10

    10 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Contents 1 Communication via Ethernet CPs in S7 Stations 13 . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1 Industrial Ethernet 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 SIMA TIC S7 Communication with S7 Ethernet [...]

  • Page 11

    Contents 11 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.2 Possible Connection Configurations 85 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Connections 87 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.1 Creating a New Connection 90 . . . . .[...]

  • Page 12

    Contents 12 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.2.1 Installing and Starting NCM S7 Diagnostics 178 . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.2 General Menu Commands 180 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3 Starting Diagnostics – Establishing a Connection t[...]

  • Page 13

    13 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Communication via Ethernet CPs in S7 Stations The Ethernet CP for SIMA TIC S7 provides a series of communications services for different tasks. This chapter explains the following: S The types of communication possible with the Ethernet CP on Industrial Ethernet S The tasks handl[...]

  • Page 14

    Communication via Ethernet CPs in S7 Stations 14 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.1 Industrial Ethernet Definition Within the open, heterogeneous SIMA TIC NET communication system, Industrial Ethernet is the network for the management and cell level. Physically , Industrial Ethernet is an electrical network that [...]

  • Page 15

    Communication via Ethernet CPs in S7 Stations 15 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.2 SIMA TIC S7 Communication with S7 Ethernet CPs T ypes of Communication The Ethernet CP for SIMA TIC S7 supports the following types of communication depending on the CP type: Possible types of communication Interfaces / Services /[...]

  • Page 16

    Communication via Ethernet CPs in S7 Stations 16 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 S S7 communication S7 communication forms a simple and efficient interface between SIMA TIC S7 stations and PGs/PCs using communication function blocks. S S5-compatible communication with SEND/RECEIVE interface Depending on the CP typ[...]

  • Page 17

    Communication via Ethernet CPs in S7 Stations 17 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 S File management and file access with FTP The IT -CP (S7-400 / S7-300) provides additional functions for FTP services. Y ou can use your S7 station both as an FTP client and as an FTP server (refer to the manual of the IT -CP /5/). ?[...]

  • Page 18

    Communication via Ethernet CPs in S7 Stations 18 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Configuration and Diagnostics T o connect and configure the Ethernet CP , you require the STEP 7 configuration software and the SIMA TIC NET NCM S7 for Industrial Ethernet option. NCM S7 for Industrial Ethernet is installed as a STEP [...]

  • Page 19

    Communication via Ethernet CPs in S7 Stations 19 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.3 PG/OP Communication via Industrial Ethernet Application PG/OP communication provides functions that are already integrated in every SIMA TIC S7/M7/C7 device. A distinction must be made between the following two types of function: [...]

  • Page 20

    Communication via Ethernet CPs in S7 Stations 20 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Ethernet S7 – 300 Create configuration data for every CP and download to the Ethernet CPs STEP 7 NCM S7 S7 – 400 Ethernet CP Ethernet attachment * only TCP/IP S7 – 400 Ethernet CP Modem / ISDN W AN * Ethernet CP PC with Ethernet[...]

  • Page 21

    Communication via Ethernet CPs in S7 Stations 21 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.3.1 PG Communication with STEP 7 over Industrial Ethernet Requirements for PG Communication PG communication is possible when the following requirements are met: S An Ethernet CP is installed in the PG or engineering station or ther[...]

  • Page 22

    Communication via Ethernet CPs in S7 Stations 22 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.3.2 OP Operation: Connecting Operator Interface Devices via Industrial Ethernet Requirements Operation allowing operator interface functions is possible when the following conditions are met: S The operator interface device has: –[...]

  • Page 23

    Communication via Ethernet CPs in S7 Stations 23 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.4 S 7 Communication on Industrial Ethernet Application S7 communication via Industrial Ethernet allows program-controlled communication using communication SFBs/FBs via configured S7 connections. Per job, up to 64 Kbytes of user dat[...]

  • Page 24

    Communication via Ethernet CPs in S7 Stations 24 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 S Client and server functionality at one end only (S7 connections configured at one end) In the following situations, write and read functions can be implemented with PUT / GET : – S7 communication over router PG/PC stations can acc[...]

  • Page 25

    Communication via Ethernet CPs in S7 Stations 25 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Configuring S7 Connections Create S7 connections to use S7 communication for data exchange between two SIMA TIC S7 stations. For more detailed information, refer to the STEP 7 Description /6/ /8/. Notice S7 connections via routers are[...]

  • Page 26

    Communication via Ethernet CPs in S7 Stations 26 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notes on S7 communication between PC/PG station and S7 station Applications in a PC/PG station communicate with the S7 station over an OPC interface or SAPI-S7 interface for operator intervention, monitoring and control. The S7 statio[...]

  • Page 27

    Communication via Ethernet CPs in S7 Stations 27 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.5 S5-compatible Communication (SEND/RECEIVE Interface 1 ) Application Using the SEND/RECEIVE interface, your S7 user program has access to S5-compatible communication with configured transport connections. Data transmission on a con[...]

  • Page 28

    Communication via Ethernet CPs in S7 Stations 28 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 IP (Internet Protocol) For internetwork data transmission, the following services are available with suitable CPs such as the CP 443-1 TCP: S ISO-on-TCP connection ISO-on-TCP is intended for reliable, internetwork data transmission. T[...]

  • Page 29

    Communication via Ethernet CPs in S7 Stations 29 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Stations The SEND/RECEIVE interface allows program-controlled communication on Industrial Ethernet between the SIMA TIC S7 PLC and the following: S SIMA TIC S7 PLC with Ethernet CP S SIMA TIC S5 PLC with Ethernet CP S PC/PG with Ether[...]

  • Page 30

    Communication via Ethernet CPs in S7 Stations 30 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.6 FETCH/WRITE Services (Server) Application In addition to the SEND/RECEIVE interface, the FETCH/WRITE functionality provides further services for S5-compatible communication on configured transport connections. The FETCH/WRITE inte[...]

  • Page 31

    Communication via Ethernet CPs in S7 Stations 31 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7 Networking Stations with STEP 7 Configuring T o allow stations to communicate with each other the networks must be configured in the STEP 7 projects. Configuring a network or subnet involves the following: 1. Y ou create one or mo[...]

  • Page 32

    Communication via Ethernet CPs in S7 Stations 32 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 V ariants Before configuring networks with STEP 7, you should be aware of the various configurations possible in the STEP 7 project. The following configurations are typical for stations networked with CPs: V ariant (examples) Charact[...]

  • Page 33

    Communication via Ethernet CPs in S7 Stations 33 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7.1 Network/Project V ariant: One Subnet – One Project Configuration of the System In the simplest case, your system consists of SIMA TIC S7 stations connected by one subnet, for example of the type Industrial Ethernet. Ethernet ([...]

  • Page 34

    Communication via Ethernet CPs in S7 Stations 34 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7.2 Network/Project V ariant: SIMA TIC S5 and Non-SIMA TIC Devices on the Subnet Configuration of the System In addition to SIMA TIC S7 stations, SIMA TIC S5 stations and non-SIMA TIC devices can be included in your system. Ethernet[...]

  • Page 35

    Communication via Ethernet CPs in S7 Stations 35 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7.3 Network/Project V ariant: T wo or More Subnets – One Project Configuration of the System Due to the dif ferent tasks of the stations or due to the extent of the system it may be necessary to operate more than one network. View[...]

  • Page 36

    Communication via Ethernet CPs in S7 Stations 36 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7.4 Network/Project V ariant: One Subnet – More Than One (Sub)Project Configuration of the System In complex networked systems, during configuration it is sometimes more efficient to manage plant sections in different (sub) projec[...]

  • Page 37

    Communication via Ethernet CPs in S7 Stations 37 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 to bring connections with identical connection names together . The topic of multiprojects is dealt with in detail in the STEP 7 basic help. Here, you will find information on the following topics: S Requirements for interproject func[...]

  • Page 38

    Communication via Ethernet CPs in S7 Stations 38 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Stations of the type SIMA TIC S5 function in just the same way as representative objects. Merging projects in the multiproject: If you have used the multiproject functions allowing you to use connections to a partner in an unknown pro[...]

  • Page 39

    Communication via Ethernet CPs in S7 Stations 39 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7.5 Network/Project V ariant: Several Subnets in Several (Sub) Projects Configuration of the System If several network types need to be used and if these need to be managed in different projects due to the dif ferent tasks of the st[...]

  • Page 40

    Communication via Ethernet CPs in S7 Stations 40 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Representative Objects for Stations Outside the Current Project If you do not want to use the multiproject functions, you can fall back on the use of representative objects as used previously . T o be able to network the representativ[...]

  • Page 41

    Communication via Ethernet CPs in S7 Stations 41 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7.6 Network/Project V ariant: Connections between Subnets (TCP/IP) Configuration of the System If connections are required to stations on network structures connected by routers due to the differing tasks of the stations or the larg[...]

  • Page 42

    Communication via Ethernet CPs in S7 Stations 42 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 -[...]

  • Page 43

    43 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Installing and Starting the Ethernet CP with STEP 7 T o attach a SIMA TIC station to Industrial Ethernet via the Ethernet CP , configure the CP with the NCM S7 configuration software. The chapter explains the following: S How the CP is configured in the STEP 7 project S How the v[...]

  • Page 44

    Installing and Starting the Ethernet CP with STEP 7 44 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.1 General Information About the NCM S7 for Industrial Ethernet Option Installation Please follow the instructions in the README file when installing the NCM S7 for Industrial Ethernet option on your PG/PC under STEP 7. Functio[...]

  • Page 45

    Installing and Starting the Ethernet CP with STEP 7 45 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2 Procedure A CP is managed in an S7 project just as the other modules. Y ou use STEP 7 to configure the hardware and create and manage the user software (see /6/). Configuring a CP involves the following basic steps (the brok[...]

  • Page 46

    Installing and Starting the Ethernet CP with STEP 7 46 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2.1 Creating an Industrial Ethernet Subnet Aims T o be able to attach the SIMA TIC stations to a subnet, you create the subnet in your project. This means that all the parameters for the entire subnet are managed centrally . P[...]

  • Page 47

    Installing and Starting the Ethernet CP with STEP 7 47 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 3. If you prefer a NetPro graphic network display , select the network object “Ethernet” and confirm with Edit " Open Object . Figure 2-2 Graphic Network Representation (here showing stations not yet networked) From thi[...]

  • Page 48

    Installing and Starting the Ethernet CP with STEP 7 48 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Preserving Consistency in Merged Subnets After merging the subnets, you should check the consistency throughout the multi- project using the menu command Network > Check Interproject Consistency in NetPro to make sure [...]

  • Page 49

    Installing and Starting the Ethernet CP with STEP 7 49 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2.2 Entering an Ethernet CP in the Hardware Configuration Procedure By installing and assigning the Ethernet CP in the rack of a SIMA TIC station, you establish the logical attachment between the Internet CP and the subnet. 1.[...]

  • Page 50

    Installing and Starting the Ethernet CP with STEP 7 50 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Note Y ou can open the dialog for setting the interface at any time from the Properties dialog of the CP in the “General” tab. 1. If you have not yet created a subnet in the project or have not yet created the selected subne[...]

  • Page 51

    Installing and Starting the Ethernet CP with STEP 7 51 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Setting Addresses in the Configuration and Addressing for the First Time The address settings described here are made on the CP only after you download the configuration data. With the latest Ethernet CPs, the situation is as fo[...]

  • Page 52

    Installing and Starting the Ethernet CP with STEP 7 52 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2.3 Displaying the Network Attachments of a Station Procedure Y ou can easily get an overview of the network attachment configurations of a SIMA TIC station in one of the following ways: S A graphic overview in NetPro; S An ov[...]

  • Page 53

    Installing and Starting the Ethernet CP with STEP 7 53 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Overview in T able Form The table view in the Properties dialog of the station provides a detailed overview of the components used for network attachment. Follow the steps below: 1. Using the SIMA TIC Manager , select the statio[...]

  • Page 54

    Installing and Starting the Ethernet CP with STEP 7 54 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2.4 Setting Further CP Properties Overview In addition to the network attachment, you can also make further settings for the specific module or you can call functions. 1. Select the Ethernet CP in the hardware configuration. 2[...]

  • Page 55

    Installing and Starting the Ethernet CP with STEP 7 55 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Please note the following information on S7–300 stations: If you selected the option ”Update OB1 process image cyclically” in the CPU confi- guration, (default), make sure that the start address of the CP is outside[...]

  • Page 56

    Installing and Starting the Ethernet CP with STEP 7 56 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 2-1 Settings in the “Options” T ab , continued Option Meaning / Effect S Replace Module without PG With this option, you can have the configuration data of the CP stored on the CPU. If you then replace CP , the config[...]

  • Page 57

    Installing and Starting the Ethernet CP with STEP 7 57 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 2-1 Settings in the “Options” T ab , continued Option Meaning / Effect S Individual Network Settings Here, you can make fixed network settings, when necessary . As default, “Automatic Setting” is selected and this[...]

  • Page 58

    Installing and Starting the Ethernet CP with STEP 7 58 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 2-1 Settings in the “Options” T ab , continued Option Meaning / Effect S Multiplex OP Connections / Reserve Internal CPU Connection Resources T o attach TD/OPs or HMI devices, you can optimize the connection resources[...]

  • Page 59

    Installing and Starting the Ethernet CP with STEP 7 59 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Diagnostics T ab In the “Diagnostics” tab, you can start NCM S7 Ethernet Diagnostics. See Chapter 6 Diagnostics for a description of the diagnostic functions themselves. Addressing T ab In the ”Addressing” tab, you can a[...]

  • Page 60

    Installing and Starting the Ethernet CP with STEP 7 60 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2.5 “Substitute Objects” in the STEP 7 Project Overview Communication connections can be configured fully when the communications partners are available in the current project. For the stations on the Ethernet subnet, whos[...]

  • Page 61

    Installing and Starting the Ethernet CP with STEP 7 61 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Procedure T o enter a substitute object in the project, following the steps below: 1. Select the project in the SIMA TIC Manager . 2. Select the menu command Insert " Station " and then as necessary Other Station , PG/[...]

  • Page 62

    Installing and Starting the Ethernet CP with STEP 7 62 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Figure 2-7 Selecting the Subnet Type for “Other Station” (Example) 3. Select a subnet. Result : The “Properties – Ethernet Interface” dialog is displayed. Here, you can select the subnet, connect the station to the net[...]

  • Page 63

    Installing and Starting the Ethernet CP with STEP 7 63 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2.6 Configuring Communication Services Setting Up Connections Y ou must set up connections for the connection-oriented services supported by the Industrial Ethernet CP , see also the T able in Section 1.2. S S7 connections see[...]

  • Page 64

    Installing and Starting the Ethernet CP with STEP 7 64 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.3 Assigning Addresses for the First Time (Applies to Latest CPs) Meaning of the Address Assignment – MAC Address and IP Address The CP ships with a factory-set MAC address. Without further configuration, the device can only [...]

  • Page 65

    Installing and Starting the Ethernet CP with STEP 7 65 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Requirements Before you can use the addressing described here, the CP must be obtainable online, which means: S An attachment to the Ethernet LAN must already exist; there must be no routers between subnets in the path. S The Et[...]

  • Page 66

    Installing and Starting the Ethernet CP with STEP 7 66 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 3. Start a network search for available modules by selecting the “Browse...” button. 4. Select the CP with the matching MAC address from the components listed. 5. Enter the required IP parameters and assign them to the CP . [...]

  • Page 67

    Installing and Starting the Ethernet CP with STEP 7 67 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Alternative Procedure Y ou can also follow the steps outlined below in the SIMA TIC Manager: 1. Use the menu command PLC " Display Accessible Nodes to display the nodes that you can access over Industrial Ethernet. 2. Selec[...]

  • Page 68

    Installing and Starting the Ethernet CP with STEP 7 68 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.3.2 Addressing using the Properties Dialog in HW Config or NetPro Follow the steps below to assign the IP address the first time: 1. Open the SIMA TIC Manager. 2. Define the configuration of your S7 station with the appropriat[...]

  • Page 69

    Installing and Starting the Ethernet CP with STEP 7 69 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.4 Downloading the Configuration Data to the T arget System Principle The configuration data of the Ethernet CP are downloaded from the hardware configuration. All the configuration data of the S7 station are downloaded includi[...]

  • Page 70

    Installing and Starting the Ethernet CP with STEP 7 70 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Procedure T o download the configuration data to the S7 station, follow the steps outlined below: 1. Open the “Set PG/PC Interface” dialog box in the Windows Control Panel. 2. Set the PG/PC interface according to the CPs ava[...]

  • Page 71

    Installing and Starting the Ethernet CP with STEP 7 71 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Relocating the CP in the Hardware Configuration If you are using communication services with configured connections, the connection IDs also identify the slot of the CP . If you “drag” a CP you have already configured to a d[...]

  • Page 72

    Installing and Starting the Ethernet CP with STEP 7 72 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06[...]

  • Page 73

    73 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 SEND/RECEIVE Interface in the User Program This chapter explains the following: S How to send and receive data. S Which data areas can be used on the S7 CPU. S How to program the SEND/RECEIVE interface in the user program. Y ou will find further information in the following sourc[...]

  • Page 74

    SEND/RECEIVE Interface in the User Program 74 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 3.1 How the SEND/RECEIVE Interface Works on the CPU Functions (FCs) The following functions (FCs) are available for handling communication on connections: S AG_SEND/AG_LSEND This block takes the user data from the specified user data are[...]

  • Page 75

    SEND/RECEIVE Interface in the User Program 75 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 3.2 Programming the SEND/RECEIVE Interface Principle of Job and Data T ransfer The user program triggers the transfer of the user data areas with FC calls and monitors the transfer by evaluating the return codes of the FCs. The following[...]

  • Page 76

    SEND/RECEIVE Interface in the User Program 76 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Calling FCs in the CPU Program One possible sequence for FCs in conjunction with the organization and program blocks in the CPU cycle is illustrated in the following diagram. AG_RECV AG_SEND AG_SEND Read in the received data of the conne[...]

  • Page 77

    SEND/RECEIVE Interface in the User Program 77 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 S At various points (event and program-controlled) the user program sends data on a connection using the AG_SEND call. S At various points in the CPU cycle, the user program accepts the data received on the connection using an AG_RECV ca[...]

  • Page 78

    SEND/RECEIVE Interface in the User Program 78 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 3.3 Data Exchange S7 CPU <–> Ethernet CP The Ethernet CP processes the send and receive jobs independent of the CPU cycle and requires one transmission time. The interface to the user program with the FCs is synchronized by an ac[...]

  • Page 79

    SEND/RECEIVE Interface in the User Program 79 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Remember that resource shortages can occur if the processing speeds on the sender and receiver are not the same (sender faster than receiver). The sender receives a message from the FCs if problems occur (“No resources on the de[...]

  • Page 80

    SEND/RECEIVE Interface in the User Program 80 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 3.4 Additional Information 3.4.1 Programming Data T ransfer on TCP Connections Purpose of TCP Connections TCP connections should be used above all for connections to systems of a different type if they do not support RFC1006. For communi[...]

  • Page 81

    SEND/RECEIVE Interface in the User Program 81 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 3.4.2 Recommendations for Use with a High Communications Load Overview The points below will help you to avoid overload situations on your CPU when using the Ethernet CPs. In particular when you replace an older CP with a newer CP and ar[...]

  • Page 82

    SEND/RECEIVE Interface in the User Program 82 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 -[...]

  • Page 83

    83 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Configuring Communication Connections This chapter explains the following: S The general aspects of configuring communication connections S How to configure ISO transport connections, ISO-on-TCP and TCP connections S How to use the connection configuration functions to specify co[...]

  • Page 84

    Configuring Communication Connections 84 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.1 Procedure Steps The following steps are necessary to operate connections on the SIMA TIC S7 PLC with the Ethernet CP: Program the SEND/RECEIVE interface in the user program. (Refer to Section 3.2 and the detailed FC description in Chapter[...]

  • Page 85

    Configuring Communication Connections 85 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.2 Possible Connection Configurations Communication connections are possible between the communication partners shown in the diagram below . The communication partners can be in the same project or distributed in the subprojects of a multipr[...]

  • Page 86

    Configuring Communication Connections 86 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Organization in a Multiproject If interproject subnets are configured, you can also configure connections over such subnets using STEP 7 V5.2. The endpoints of these connections can be located in different projects. STEP 7 supports you both w[...]

  • Page 87

    Configuring Communication Connections 87 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.3 Connections Characteristics of a Connection A communication connection allows program-controlled communication between two nodes on Industrial Ethernet with the following characteristics: S The data transfer is bi-directional, in other wo[...]

  • Page 88

    Configuring Communication Connections 88 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Amounts of Data Refer to the manual /1/ supplied with the Ethernet CP for the number of communication connections supported by the Ethernet CP . The number of connections per station can be increased by adding more CPs. The Ethernet CP can tr[...]

  • Page 89

    Configuring Communication Connections 89 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Requirements for Configuring Connections The Ethernet CP was entered in the hardware configuration and connected to the subnet. As a bus node, the Ethernet CP has an address. Notice All stations not in the STEP 7 project must be configured wi[...]

  • Page 90

    Configuring Communication Connections 90 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.3.1 Creating a New Connection Principle When you create new connections, you start from entered and networked stations. A connection is then configured starting from a station or CPU in the current S7 project and then selecting a destinatio[...]

  • Page 91

    Configuring Communication Connections 91 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06[...]

  • Page 92

    Configuring Communication Connections 92 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Figure 4-4 Layout of the “New Connection” Dialog (Example of an ISO Transport Connection) 3. Select the partner station to which you want to establish a connection (if several CPUs exist, please select the required CPU). 4. Select the con[...]

  • Page 93

    Configuring Communication Connections 93 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Handling Connections in a Multiproject Interproject connections to a specified partner (for example, a CPU) are created in the same way as connections within a project (identical procedure). The dialog for selecting the connection partner has[...]

  • Page 94

    Configuring Communication Connections 94 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 In both projects, the same connection name must be configured in the properties of the connection. The connection name is used as a textual reference when the projects are merged. Based on the connection name it is possible to assign the conn[...]

  • Page 95

    Configuring Communication Connections 95 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 The free UDP connection is another variant. With this type of connection, the address of the connection partner is left open during configuration. The communication nodes are identified by address information in the communication job in the u[...]

  • Page 96

    Configuring Communication Connections 96 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.3.3 Further Functions T oolbar In the toolbar of the connection configuration dialog the following functions are available: Save T o save the configured connection, select the Save function or click the save button. Print Y ou can print the[...]

  • Page 97

    Configuring Communication Connections 97 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.3.4 Connections Without Assignment Overview This section explains the actions that can lead to a configured connection losing its assignment to the CP or being deleted. Caution Remember that in contrast to the S7 connections, the connection[...]

  • Page 98

    Configuring Communication Connections 98 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 4-3 Actions That Can Cause Changes to Configured Connections, continued Action How to Establish the Connection Again Consequences for the Connections Deleting a remote station. The connections of the stations in the project to remote s[...]

  • Page 99

    Configuring Communication Connections 99 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.4 Configuring ISO T ransport Connections Introduction As well as the entry in the connection table, you can also modify special properties for each configured connection. Here, you can change specific connection parameters that were entered[...]

  • Page 100

    Configuring Communication Connections 100 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.4.1 Specifying the Local Connection Endpoint General T ab This tab of the Properties dialog displays general connection parameters that identify the local connection endpoint. Figure 4-6 Layout of the Properties Dialog for the “General?[...]

  • Page 101

    Configuring Communication Connections 101 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Attributes Description Access Local Endpoint ID The entry is identical to the Local ID parameter in the connection list. Selectable Name When you create the connection, a name is proposed here along with a connection number as suffix. With u[...]

  • Page 102

    Configuring Communication Connections 102 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.4.2 Specifying ISO T ransport Addresses Address Parameters An ISO transport connection is specified by the local and remote connection endpoint. S Local addresses: Local MAC address and local TSAP (T ransport Service Access Point) S Remote[...]

  • Page 103

    Configuring Communication Connections 103 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses T ab The addresses tab displays proposed values for the relevant local and remote address information. When connecting to non-S7 stations, you can set the TSAP addresses individually . Figure 4-8 Layout of the “Addresses” T ab [...]

  • Page 104

    Configuring Communication Connections 104 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Default TSAPs When configuring the local and remote TSAPs, there is a default value “ISO-1” for the first connection between the two partners (can be changed). For a new connection between the two partners, the default value “ISO-2” [...]

  • Page 105

    Configuring Communication Connections 105 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.4.3 Specifying ISO T ransport Dynamic Properties Dynamics T ab The Dynamics tab displays the relevant timers and counters of this connection. Y ou can normally accept these default values. If necessary , for example with connections to non[...]

  • Page 106

    Configuring Communication Connections 106 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Attributes Access Description Inactivity Time The inactivity time specifies the interval after which the connection is terminated if no sign of life is received from the partner (6–180 s, default 30 s). Modifiable W indow Time The window t[...]

  • Page 107

    Configuring Communication Connections 107 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.4.4 ISO T ransport with the FETCH/WRITE Mode Using FETCH P ASSIVE / WRITE P ASSIVE If you select one of the FETCH P ASSIVE or WRITE P ASSIVE modes for the ISO transport connection, you can access the system areas on a SIMA TIC S7 PLC from [...]

  • Page 108

    Configuring Communication Connections 108 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Remember that with this configuration on an S7-300, one connection resource (free connection for S7 functions) of the S7-300 CPU is used. CPU connection resources are also used, for example, by S7-300 CPs, in the FMS mode or by PGs an[...]

  • Page 109

    Configuring Communication Connections 109 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.4.5 Checking ISO T ransport Connection Properties Overview T ab The Overview tab displays all previously configured ISO transport connections and their parameters for this station (information only). For an example of this display , refer [...]

  • Page 110

    Configuring Communication Connections 11 0 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.5 Configuring ISO-on-TCP Connections Properties Introduction As well as the entry the connection table, you can also modify specific connection parameters that were entered as defaults during the New connection dialog. Opening the Dialog [...]

  • Page 111

    Configuring Communication Connections 111 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.5.1 Specifying the Local Connection Endpoint General T ab This tab of the Properties dialog displays general connection parameters that identify the local connection endpoint. Figure 4-12 Layout of the “General” T ab in the Properties [...]

  • Page 112

    Configuring Communication Connections 11 2 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Parameter Description Access Local Endpoint ID The entry is identical to the Local ID parameter in the connection list. Selectable Name When you create the connection, a name is proposed here along with a connection number as suffix. With u[...]

  • Page 113

    Configuring Communication Connections 11 3 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.5.2 Specifying ISO-on-TCP Addresses Address parameter A connection is specified by the local and remote connection endpoint. S Local addresses: Local IP address and local TSAP (T ransport Service Access Point) S Remote addresses: Remote I[...]

  • Page 114

    Configuring Communication Connections 11 4 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses T ab The addresses tab displays proposed values for the relevant local and remote address information. If necessary , you can set the TSAP addresses individually . Figure 4-14 Layout of the “Addresses” T ab of the Properties D[...]

  • Page 115

    Configuring Communication Connections 11 5 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Default TSAPs When configuring the local and remote TSAPs, there is a default value “TCP-1” for the first connection between the two partners (can be changed). For a new connection between the two partners, the default value “TCP-2”[...]

  • Page 116

    Configuring Communication Connections 11 6 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.5.3 ISO-on-TCP with the FETCH/WRITE Mode Using FETCH P ASSIVE / WRITE P ASSIVE If you select one of the FETCH P ASSIVE or WRITE P ASSIVE modes for the ISO-on-TCP connection, you can access the system areas on a SIMA TIC S7 PLC from a SIMA[...]

  • Page 117

    Configuring Communication Connections 11 7 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Remember that with this configuration on an S7-300, one connection resource (free connection for S7 functions) of the S7-300 CPU is used. CPU connection resources are also used, for example, by S7-300 CPs, in the FMS mode or by PGs a[...]

  • Page 118

    Configuring Communication Connections 11 8 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.5.4 Checking ISO-on-TCP Connection Properties Overview T ab The overview shows all the configured ISO-on-TCP connections and their parameters (cannot be modified here). Y ou can adjust the width of the columns in the table. For an example[...]

  • Page 119

    Configuring Communication Connections 11 9 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.6 Configuring TCP Connection Properties Introduction After the entry in the connection table, you can modify specific connection parameters for each configured connection that were given default values when you created the connection. Ope[...]

  • Page 120

    Configuring Communication Connections 120 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.6.1 Specifying the Local Connection Endpoint General T ab This tab of the Properties dialog displays general connection parameters that identify the local connection endpoint. Figure 4-17 Layout of the “General” T ab in the Properties [...]

  • Page 121

    Configuring Communication Connections 121 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Attributes Description Access Local Endpoint ID The entry is identical to the Local ID parameter in the connection list. Selectable Name (loc. endpoint) When you create the connection, a name is proposed here along with a connection number a[...]

  • Page 122

    Configuring Communication Connections 122 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.6.2 Specifying TCP Addresses Address Parameters and Connection T ypes With TCP , the communication partners are addressed by the local and remote endpoints as follows: S Local addresses: Local IP address and local port S Remote addresses: [...]

  • Page 123

    Configuring Communication Connections 123 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses T ab – Specified TCP Connection The addresses tab displays proposed values for the relevant local and remote address information. Y ou can change the port settings individually . Figure 4-19 Layout of the Properties Dialog in the[...]

  • Page 124

    Configuring Communication Connections 124 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses T ab – Unspecified TCP Connection If you select the partner type as “unspecified”, depending on your task, you can enter address information about the communication partner here. The options available to you are explained in [...]

  • Page 125

    Configuring Communication Connections 125 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.6.3 TCP with the FETCH/WRITE Mode Using FETCH P ASSIVE / WRITE P ASSIVE If you select one of the FETCH P ASSIVE or WRITE P ASSIVE modes for the TCP connection, you can access the system areas on a SIMA TIC S7 PLC from a SIMA TIC S5 station[...]

  • Page 126

    Configuring Communication Connections 126 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Remember that with this configuration on an S7-300, one connection resource (free connection for S7 functions) of the S7-300 CPU is used. CPU connection resources are also used, for example, by S7-300 CPs, in the FMS mode or by PGs an[...]

  • Page 127

    Configuring Communication Connections 127 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.6.4 Checking TCP Connection Properties Overview T ab The overview shows all the previously configured TCP connections and their parameters (cannot be modified here). For an example of this display , refer to Section 4.3.4 (the ISO transpor[...]

  • Page 128

    Configuring Communication Connections 128 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.7 Configuring UDP Connection Properties Introduction After the entry in the connection table, you can modify specific connection parameters for each configured connection that were given default values when you created the connection. Open[...]

  • Page 129

    Configuring Communication Connections 129 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.7.1 Specifying the Local Connection Endpoint General T ab This tab of the Properties dialog displays the parameters of the connection and a local connection name for the UDP connection. The local ID is identical to the ID in the NetPro con[...]

  • Page 130

    Configuring Communication Connections 130 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Attributes Description Access Local Endpoint ID The entry is identical to the Local ID parameter in the connection list. Selectable Name When you create the connection, a name is proposed here along with a connection number as suffix. With u[...]

  • Page 131

    Configuring Communication Connections 131 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.7.2 Specifying UDP Addresses Address Parameters and Connection T ypes With UDP , the communication partners are addressed using the local and remote endpoint, as follows. S Local addresses: Local IP address and local port S Remote addresse[...]

  • Page 132

    Configuring Communication Connections 132 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses T ab – Specified UDP Connections The addresses tab displays proposed values for the relevant local and remote address information. Y ou can make the settings for the ports individually . Figure 4-24 Layout of the Properties Dialo[...]

  • Page 133

    Configuring Communication Connections 133 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses T ab – Unspecified UDP Connection An unspecified UDP connection can be used in two ways: S Free UDP Connection T o configure a free UDP connection, select the “Address assignment in block” check box. The input boxes for the r[...]

  • Page 134

    Configuring Communication Connections 134 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.7.3 UDP with Broadcast and Multicast Application When you select the connection partner , you have the following two extra options on UDP connections: S Connection to all Broadcast Nodes If you select the “all broadcast nodes”, you spe[...]

  • Page 135

    Configuring Communication Connections 135 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Why Does an S7-CP Prevent Reception on Broadcast Connections? It is often necessary for one station to send frames to a number of partner stations. It is important that the frames are sent at the same time and arrive and practically the same[...]

  • Page 136

    Configuring Communication Connections 136 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses T ab – Connection to all Broadcast Nodes If you select “all broadcast nodes” as the connection partner , you specify that UDP frames are sent to all obtainable broadcast nodes. In the “Addresses” tab, a valid broadcast ad[...]

  • Page 137

    Configuring Communication Connections 137 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses T ab – Connection to all Multicast Nodes By selecting “all multicast nodes” as the connection partner , you specify that S sent UDP frames are delivered to all multicast nodes of the multicast group; S the local device receiv[...]

  • Page 138

    Configuring Communication Connections 138 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.7.4 Checking the Properties of a UDP Connection Overview T ab At the overview level, all the configured UDP connections and their parameters in this station are displayed (cannot be modified). For an example of this display , refer to Sect[...]

  • Page 139

    Configuring Communication Connections 139 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.7.5 Free UDP Connection Program-Controlled Addressing A free UDP connection allows program-controlled addressing of the communication partner . Communication between two nodes on Industrial Ethernet has the following properties: S Data tra[...]

  • Page 140

    Configuring Communication Connections 140 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.8 Routing to Di stribute Load Routing to Distribute Load If more than one CP of the same type exists in a station and is connected to the same subnet, the route can be selected. Click the “Route” button in the “General” tab to disp[...]

  • Page 141

    141 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Programming FCs (Functions) and FBs for S7 Ethernet CPs Ready-made blocks form the interface to some of the communications services available with the Ethernet CPs. This chapter includes a detailed description of these blocks. The description of each FC includes the following se[...]

  • Page 142

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 142 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.1 General Notes on FCs / FBs Block Library The functions (FCs) and function blocks (FBs) described here are supplied with the STEP 7 basic package unless indicated otherwise. The following list shows the numbers of the FC[...]

  • Page 143

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 143 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Which Block V ersion Should I Use? The following descriptions also include information on differences between the various block versions. Please take note of the version identifiers of the blocks you are using. The SIMA TIC[...]

  • Page 144

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 144 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Please remember that if you replace a module, you must only use the blocks per- mitted for the configured CP type in the user program. This means: S If you replace the module without adapting the configuration data t[...]

  • Page 145

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 145 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.2 Setting Parameters for FC Calls Before describing the FCs in detail, a few general comments on calling and setting parameters for FCs will be useful in this point. It is possible to make the following general statements[...]

  • Page 146

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 146 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Setting Block Parameters Automatically 1) T o ensure correct parameter settings for the block calls, The LAD/STL/FBD editor in STEP 7 provides you with the option of accepting all the relevant parameters from the hardware c[...]

  • Page 147

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 147 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.2.2 Parameters for Specifying a CPU Data Area (input parameters) Specifying the Data Area on the CPU When you call an FC, you transfer the address and length of the data area on the CPU in which the user data are availabl[...]

  • Page 148

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 148 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.3 F Cs for Configured Connections Overview The following functions (FCs) are available for transferring data over configured connections: FC Can be used with 1) Meaning S7 – 300 S7 – 400 AG_SEND (FC5) x x for sending [...]

  • Page 149

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 149 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Connection Ethernet CP CPU STEP 7 user program receive send User data areas AG_RECV AG_SEND CPU STEP 7 user program User data areas AG_RECV AG_SEND Ethernet CP send receive Note Unless specifically stated otherwise, the inf[...]

  • Page 150

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 150 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 5-1 FC ISO T ransport ISO-on-TCP TCP UDP AG_LSEND (S7-400) AG_SEND (S7-300) 8192 bytes 8192 bytes 8192 bytes 2048 bytes AG_LRECV (S7-400) AG_RECV (S7-300) 8192 bytes 8192 bytes 8192 bytes 2048 bytes Note For informat[...]

  • Page 151

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 151 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 W orking with the Job Header Free UDP connections require a job header in the user data area. The following schematic illustrates the structure of the job buffer and the meaning and location of the parameters in the job hea[...]

  • Page 152

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 152 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.3.1 FC5 AG_SEND / FC50 AG_LSEND Meaning of the Block The FCs AG_SEND / AG_LSEND pass data to the Ethernet CP for transfer over a configured connection. The selected data area can be a process image area, a memory bit area[...]

  • Page 153

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 153 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Please not the following special feature on TCP connections: With the S7-CPs for S7-400, you must use FC AG_LSEND on TCP connections! With the latest S7-CPs for S7-300, you must also use FC AG_SEND for TCP connection[...]

  • Page 154

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 154 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 User program (CPU cycle) Ethernet CP Communications Partner AG_SEND 0, 0, 8181 1) 1, 0, 0000 1) AG_SEND Supply AG_SEND with data “ X ” ACT = 1 Transfer “ X ” active on Ethernet Legend: 1) parameter transfer DONE, ER[...]

  • Page 155

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 155 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Explanation of the Formal Parameters The following table explains all the formal parameters for the AG_SEND /AG_LSEND functions. Parameter Declara- tion T ype Possible V alues Remarks ACT INPUT BOOL 0,1 If an FC is called w[...]

  • Page 156

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 156 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Parameter Remarks Possible V alues T ype Declara- tion LEN INPUT INT On ISO T ransport and ISO-on-TCP / TCP: 1 2 t 32767 Number of bytes to be sent from the data area with this job. The possible values range from 1 to lengt[...]

  • Page 157

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 157 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Note For entries coded with 8Fxx H in ST A TUS, refer to the information in the STEP 7 Standard and System Functions reference manual. The chapter describing error evaluation with the RET_V AL output parameter contains deta[...]

  • Page 158

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 158 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 5-2 AG_SEND / AG_LSEND Codes DONE Meaning ST A TUS ERROR 0 1 8F7F H Internal error , e.g. illegal ANY reference. e.g. parameter LEN=0 0 1 8090 H No module with this address exists or the CPU is in the ST OP mode. 0 1[...]

  • Page 159

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 159 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Example of AG_SEND Below you will find an executable example of an FC5 (AG_SEND) call and parameter evaluation. The OB100 listed below belongs to the FC100 selected here in which the send call takes place; OB100 sets the AC[...]

  • Page 160

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 160 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 err: NOP 1; NOP 1; S M100.0; BEU; // // // // An error occurred. The status word can be eva- luated here. Set ACT to TRUE in any case, so that a new send job can be triggered if the error disappears. //–––––––[...]

  • Page 161

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 161 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.3.2 FC6 AG_RECV / FC60 AG_LRECV Meaning of the Block The AG_RECV / AG_LRECV function receives the data transferred on a configured connection from the Ethernet CP . The data area specified for the receive data can be a pr[...]

  • Page 162

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 162 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Notice Please not the following special feature on TCP connections: With the S7-CPs for S7-400, you must use FC AG_LRECV on TCP connections! With the latest S7-CPs for S7-300, you must also use FC AG_RECV for TCP connection[...]

  • Page 163

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 163 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 How the Block Works The following diagram illustrates the normal sequence of data acceptance triggered by an AG_RECV in the user program. Each AG_RECV job in the user program is acknowledged by the Ethernet CP with an entry[...]

  • Page 164

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 164 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Explanation of the Formal Parameters The following table explains all the formal parameters for the AG_RECV / AG_LRECV function. Parameter Declara- tion T ype Possible V alues Remarks ID INPUT INT 1,2...16 The connection nu[...]

  • Page 165

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 165 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Parameter Remarks Possible V alues T ype Declara- tion LEN OUTPUT INT On ISO T ransport and ISO-on-TCP: 1,2...8192 Specifies the number of bytes accepted from the Ethernet CP and entered in the data area. S Note the block t[...]

  • Page 166

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 166 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 5-3 AG_RECV / AG_LRECV Codes NDR Meaning ST A TUS ERROR 0 1 8304 H The connection is not established. The send job should only be attempted again after waiting for at least 100 ms. 0 1 8F23 H Source area invalid, for[...]

  • Page 167

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 167 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.4 FC s for Access Coordination with FETCH/WRITE Overview The following FCs are available for FETCH/WRITE function to coordinate access: FC can be used with: Meaning S7 – 300 S7 – 400 AG_LOCK (FC7) x x Locks external d[...]

  • Page 168

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 168 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 User program (CPU cycle) Ethernet CP Communications Partner LOCKED = 0 LOCKED = 0 AG_LOCK AG_LOCK AG_LOCK LOCKED = 1 FETCH/WRITE access to DB x active FETCH/WRITE access to DB x active Time T ime Time Data processing in DB [...]

  • Page 169

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 169 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.4.1 FC7 AG_LOCK Meaning of the Block Using the AG_LOCK block the data exchange using FETCH or WRITE on the connection selected with the parameter ID is disabled. The LOCKED output indicates whether or not the lock was suc[...]

  • Page 170

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 170 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Parameter Declara- tion T ype Possible V alues Remarks ID INPUT INT 1,2...16 for S7-300 1,2...64 for S7-400 The connection number of the connection is specified in the parameter ID. (see Configuration Section 4.3.1) LADDR I[...]

  • Page 171

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 171 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.4.2 FC8 AG_UNLOCK Meaning of the Block Using the AG_UNLOCK function, the external access to system areas on the S7 CPU with FETCH or WRITE on the connection specified by the ID parameter is released. The next external FET[...]

  • Page 172

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 172 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Parameter Declara- tion T ype Possible V alues Remarks ID INPUT INT 1,2...16 for S7-300 1,2...64 for S7-400 The connection number of the connection is specified in the parameter ID. (see Configuration Section 4.3.1) LADDR I[...]

  • Page 173

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 173 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.5 Numeric Data / Resource Requirements of the FCs Notice Please note the version information of the blocks. Blocks with other versions have different resource requirements. T able 5-6 Information for FCs with an S7-400 NA[...]

  • Page 174

    Programming FCs (Functions) and FBs for S7 Ethernet CPs 174 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 -[...]

  • Page 175

    175 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 NCM S7 Diagnostics The NCM S7 Diagnostics described here provides dynamic information on the operating state of the communication functions of online CPs. This chapter provides a general overview of the individual diagnostic functions. The following checklist will help you to re[...]

  • Page 176

    NCM S7 Diagnostics 176 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.1 Overview Diagnostic Options in STEP 7 STEP 7 provides you with a graded concept allowing you to query information about the status of your SIMA TIC S7 components and functions and to sort out problems in a variety of different situations. These options cov[...]

  • Page 177

    NCM S7 Diagnostics 177 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.2 Functions of NCM S7 Diagnostics Functions The diagnostic functions can be grouped as follows: S General diagnostic and statistical functions S T ype and mode-dependent diagnostic functions General diagnostic and statistical functions Regardless of the conf[...]

  • Page 178

    NCM S7 Diagnostics 178 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.2.1 Installing and Starting NCM S7 Diagnostics Installation NCM S7 Diagnostics is an integrated component of the NCM S7 for Industrial Ethernet optional package. NCM S7 Ethernet Diagnostics is installed along with NCM S7 for Ethernet on your PG. There are se[...]

  • Page 179

    NCM S7 Diagnostics 179 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Structure In the same way , for example, as the SIMA TIC Manager , NCM S7 Diagnostics appears as a separate two-part application window with a menu and toolbar: Navigation area with diagnostic objects Content area with the diagnostic result S In the navigation[...]

  • Page 180

    NCM S7 Diagnostics 180 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.2.2 General Menu Commands Overview When running diagnostic functions, the following menu commands have general significance. Depending on the context, other functions may be available; for more detailed information refer to the online help for NCM Diagnostic[...]

  • Page 181

    NCM S7 Diagnostics 181 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 6-1 Meaning of the Menu Commands Menu Meaning Options " Customize With this menu command, you set the general parameters for the diagnostic session. On Ethernet: S Dialog update time This sets the interval at which the diagnostic data are updated i[...]

  • Page 182

    NCM S7 Diagnostics 182 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.3 Starting Diagnostics – Establishing a Connection to the Ethernet CP Initial Situation Establish the physical connection between the PG and the SIMA TIC S7 Station. There are two ways of doing this: S MPI S Industrial Ethernet S Industrial Ethernet TCP/IP[...]

  • Page 183

    NCM S7 Diagnostics 183 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 6-2 Possible Settings for the Online Paths – without Parameters for Internetworking Attachment on Destination Station Location of the Module Rack / Slot Node Address Industrial Ethernet MAC address of the Ethernet CP via which the S7 station is reache[...]

  • Page 184

    NCM S7 Diagnostics 184 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Other Startup Options In the Properties dialog of the connections: 1. Select the PLC " Activate Connection Status menu command to activate online access. 2. Select the “Special Diagnostics” button in the “Status Information” tab. In the hardware c[...]

  • Page 185

    NCM S7 Diagnostics 185 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.4 H ow to Use Diagnostics Procedure T o use diagnostics efficiently , particularly when working with the diagnostic tool for the first time, the following procedure can be recommended. 1. Use the sequence shown below as a basis for using diagnostics: Begin N[...]

  • Page 186

    NCM S7 Diagnostics 186 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.5 Call-Specific Diagnostic Functions The following table shows the diagnostic options that exist in the available functions. T able 6-3 General Diagnostic and Statistical Functions Diagnostic Functions / Diagnostic Object Diagnostic Aims Special Features CP [...]

  • Page 187

    NCM S7 Diagnostics 187 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 T able 6-4 Mode-Dependent Functions, continued Diagnostic Functions / Diagnostic Object Special Features Diagnostic Aims Connections " T ype S Overview of all the communication connections of a particular type, for example all TCP connections; S Informati[...]

  • Page 188

    NCM S7 Diagnostics 188 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.6 Checklist for ‘T ypical Problems‘ in a System Meaning The following lists contain several typical problems and their possible causes and how you can use the NCM S7 Ethernet Diagnostics tool to remedy the situation. The checklists deal with the followin[...]

  • Page 189

    NCM S7 Diagnostics 189 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.6.1 Checklist for General CP Functions T able 6-5 Checklist for T ypical Problems When Operating a CP in a System Problem Possible Cause Identifying the Cause and Remedy The Ethernet CP will not change to the RUN mode. Invalid configuration loaded on the Eth[...]

  • Page 190

    NCM S7 Diagnostics 190 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.6.2 Communication Connections Checklist T able 6-6 Checklist for T ypical Problems with ISO Transport / ISO-on-TCP / UDP Connections Problem Possible Cause Identifying the Cause and Remedy No data transfer on an ISO transport connection / ISO-on-TCP connecti[...]

  • Page 191

    191 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Firmware Loader This chapter will familiarize you with the uses and handling of the Firmware Loader . The firmware loader allows you to download more recent firmware versions to the SIMA TIC NET modules. 7[...]

  • Page 192

    Firmware Loader 192 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 7.1 Application Firmware Here, firmware means the system programs in the SIMA TIC NET modules. Uses of the Firmware Loader The firmware loader allows you to download more recent firmware versions to the SIMA TIC NET modules. It is used on the following: S PROFIBU[...]

  • Page 193

    Firmware Loader 193 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 7.2 Loading Firmware Starting the Download Start the program from the Windows standard Start menu using the SIMA TIC " NCM S7 " Firmware Loader menu command. Select the Next button and follow the instructions displayed in the dialog. 1st Step Select the[...]

  • Page 194

    Firmware Loader 194 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2nd Step Select the interface via which you want to download the firmware. The interface type (PROFIBUS or Industrial Ethernet) is already decided by the load file you selected. S For a PROFIBUS module: There are no further settings in this dialog; go to the next[...]

  • Page 195

    Firmware Loader 195 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 ! Caution Remember that interrupting the download can lead to an inconsistent state on the module! With Industrial Ethernet, please note the instruction in the second step for displaying the emergency address. Using the Modify ... button, you can set the PG/PC in[...]

  • Page 196

    Firmware Loader 196 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 -[...]

  • Page 197

    197 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 References /1/ Product information bulletin / manual SIMA TIC NET CP Supplied with the specific CP Siemens AG /2/ NCM S7 for PROFIBUS Primer Part – of the documentation package NCM S7 for PROFIBUS – of the online documentation in the STEP 7 optional package NCM S7 for PROFIB[...]

  • Page 198

    References 198 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 /5/ SIMA TIC NET IT–CP , manual Part – of the documentation package NCM S7 for Industrial Ethernet – of the online documentation in the STEP 7 optional package NCM S7 for Industrial Ethernet Siemens AG /6/ SIMA TIC STEP 7 Configuring Hardware with STEP 7 Part of[...]

  • Page 199

    References 199 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 /12/ SINEC CP 1413 Manuals for MS-DOS, Windows SIEMENS AG /13/ SIMA TIC S7 S7-300 Programmable Controller Hardware and Installation Manual SIEMENS AG /14/ SIMA TIC NET Manual for T riaxial Networks SIEMENS AG /15/ SIMA TIC NET Ethernet Manual SIEMENS AG /16/ Lokale Ne[...]

  • Page 200

    References 200 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 /19/ RFC793 (TCP) /20/ RFC791 (IP) /21/ Berger , Hans Automation with STEP 7 SIMA TIC S7-300/400 Programmable Logic Controllers For configuring PROFInet components and systems: Basic help in the SIMA TIC iMap engineering tool For configuring PROFInet components and sy[...]

  • Page 201

    201 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Glossary B.1 General Section 202 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2 Industrial Ethernet 206 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.3 PROFInet 208 . . . . .[...]

  • Page 202

    Glossary 202 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 B.1 General Section Baud rate –> transmission rate Broadcast A broadcast is like ”calling all stations”: Using one broadcast frame, you can re- ach all nodes that are prepared to accept broadcast frames. Bus segment Part of a –> subnet. Subnets can consist[...]

  • Page 203

    Glossary 203 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Functions (FCs) STEP 7 code blocks of the type ”function”. Gateway Intelligent connectivity device that connects local area–> networks of different types at the ISO Layer 7 level. Industrial Ethernet A LAN system complying with IEEE 802.3 (ISO 8802–2) Multica[...]

  • Page 204

    Glossary 204 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 PROFInet Standard of the PROFIBUS Users organization defining a heterogeneous com- munications and engineering model. Protocol A set of rules for transferring data. Using these rules, both the formats of the fra- mes and the data flow are specified. Segment Synonym for [...]

  • Page 205

    Glossary 205 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Subnet A subnet is part of a –> network whose parameters (for example –> PROFIBUS) must be matched. The subnet includes bus components and all the attached stations. Subnets can, for example, be connected together by –> gateways to form a network. A –&g[...]

  • Page 206

    Glossary 206 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 B.2 Industrial Ethernet Base address Logical address of a module in S7 systems. S For PROFIBUS The PROFIBUS base address is the address starting at which all addresses that are calculated automatically in the project are assigned. S For Industrial Ethernet The base MAC [...]

  • Page 207

    Glossary 207 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 ISO T ransport Connection see ISO–on–TCP Communication connection of the transport layer (with the CP/COM 143 previously S5S5 connection). ISO transport connections allow program/event-controlled communication on Industrial Ethernet between SIMA TIC S7 PLCs and S SI[...]

  • Page 208

    Glossary 208 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 TCP/IP TCP = T ransport Connection Protocol; IP = Internet Protocol UDP User Datagram Protocol. User Datagram Protocol: datagram service for simple internetwork transmission without acknowledgment. B.3 PROFInet Component based Automation Concept for implementing modular[...]

  • Page 209

    Glossary 209 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 PROFIBUS device In Component based Automation: A PROFIBUS device has only one PROFIBUS attachment as a slave. It does not take part directly in PROFInet communication but is linked using a proxy PROFInet device. PROFInet Standard of the PROFIBUS Users organization defin[...]

  • Page 210

    Glossary 210 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06[...]

  • Page 211

    21 1 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Linking to Other Systems with FETCH/WRITE The FETCH and WRITE modes supported on ISO transport connections, TCP , and ISO-on-TCP connections can be used with any other device to access the S7 system memory areas. T o be able to use this type of access, for example for PC applic[...]

  • Page 212

    Linking to Other Systems with FETCH/WRITE 212 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 a) Structure of WRITE Frames The meaning and values of parameters shown without values in the following table can be found in the section “Parameter V alues“. WRITE request frame WRITE acknowledgment frame 0 System ID =”S” 0 Syst[...]

  • Page 213

    Linking to Other Systems with FETCH/WRITE 213 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 a) Structure of FETCH Frames The meaning and values of parameters shown without values in the following table can be found in the section “Parameter V alues“. FETCH request frame FETCH response frame 0 System ID =”S” 0 System ID [...]

  • Page 214

    Linking to Other Systems with FETCH/WRITE 214 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Parameter V alues S7 Address Area DB M I Q ORG ID 01 H 02 H 03 H 04 H Source/dest. data from/to data block in main memory Source/dest. data from/to flag area Source/dest. data from/to process image of the inputs (PII) Source/dest. data f[...]

  • Page 215

    Linking to Other Systems with FETCH/WRITE 215 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 S7 Address Area PI/PQ C T ORG ID 05 H 06 H 07 H Source/dest. data from/to in I/O modules. With source data input modules, with dest data output modules Source/dest data from/to counter cells Source/dest data from/to timer cells DBNR irre[...]

  • Page 216

    Linking to Other Systems with FETCH/WRITE 216 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 -[...]

  • Page 217

    221 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Document History This section provides an overview of the previous releases of this manual and the functional expansions in STEP 7 and NCM S7. New in Release 05 / STEP 7 V5.1 SP3 S Configuring multicast and broadcast on UDP connections. See Chapter 4. S The blocks AG_SEND and AG[...]

  • Page 218

    Document History 222 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06[...]

  • Page 219

    Index-223 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 A Access coordination, 167 Address parameters broadcast, 136, 137 unspecified ISO-on-TCP connection, 1 15 unspecified TCP connection, 124 unspecified UDP connection, 133 AS-interface, 14 B Broadcast, with UDP , 134 C Communication options, 15 Communication services, config[...]

  • Page 220

    Index-224 SIMA TIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 ISO-on-TCP connection addresses, 1 13 checking, 1 18 properties, 1 10 J Job header , 150 M MAC address, 70 Multicast, with UDP , 134, 137 Multiproject, 31, 36 configuring connections, 86, 93 N NCM S7 general information, 44 installation, 44 NCM S7 Diagnostics, 175 NCM S7 d[...]

  • Page 221

    A&D Technical Support A &D Technic al Support W o rldwide, availab le 24 hours a da y : Beijing Nuernberg Johnson City Worldwide (Nuer nberg) Technical Support 24 hours a day, 365 days a year Phone: +49 (0) 180 5050-222 Fax: +49 (0) 180 5050-223 E-Mail: adsupport @ sie mens. com GMT: +1:00 Europe / Africa (Nuern berg) Authorization Local ti[...]

  • Page 222

    A&D Tec hnical Su pport A&D Technical Support Service & Support on the Internet In additio n to our docum entation, we off er our Know-how online on the i nternet at: http://www.si emens.com /auto mation/s e rvice&s upport where y ou will find the following : • The ne w sletter , which const antly provides you with up-to-da te inf[...]