Siemens NCM S7 - User Manual

Siemens NCM S7

Siemens NCM S7 – User Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

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

Table of Contents:

  • Page 4 – Prior to Startup
  • Page 6 – This Manual on SIMATIC NET NCM S7 for Industrial Ethernet; Audience; These include new functions for IP configuration:; Notice
  • Page 7 – Symbols Used in this Manual; This symbol indicates recommended documentation.; Conventions
  • Page 8 – You will find additional information in the following sources:; Title
  • Page 9 – Quick Start CD: Samples covering all aspects of communication; You can order this directly over the Internet at:; Additional Information on SIMATIC S7 and STEP 7; Topic; General information
  • Page 10 – Access to Online Help of STEP 7 and NCM S7; With the online help, you can obtain the following information:
  • Page 11 – Contents; Communication via Ethernet CPs in S7 Stations
  • Page 12 – Configuring Communication Connections
  • Page 13 – Programming FCs (Functions) and FBs for S7 Ethernet CPs
  • Page 14 – References; General Section; Linking to Other Systems with FETCH/WRITE
  • Page 16 – Communication via Ethernet CPs in S7 Stations; Industrial Ethernet; Definition; Industrial; Network Access
  • Page 17 – SIMATIC S7 Communication with S7 Ethernet CPs; Types of Communication; S7 communication
  • Page 18 – – ISO Transport; PROFInet communication; TCP connections are used for the PROFInet communication.; HTML process control
  • Page 19 – File management and file access with FTP; – S7 Station as FTP Client; Possibilities for Communication between Device Types
  • Page 20 – Configuration and Diagnostics
  • Page 21 – PG/OP Communication via Industrial Ethernet; Application; PG communication
  • Page 22 – Ethernet
  • Page 23 – PG Communication with STEP 7 over Industrial Ethernet; Requirements for PG Communication; PG / Engineering Station in the Configured Mode
  • Page 24 – Requirements; The operator interface device has:; Procedure
  • Page 25 – S7 Communication on Industrial Ethernet; Client and server functionality at both ends; – between S7 stations and PC/PG stations with an Ethernet CP.
  • Page 26 – – S7 communication over router
  • Page 27 – Configuring S7 Connections; Interface in the User Program of the S7 Station; Block Type
  • Page 28 – Notes on S7 Communication between PC/PG Station and S7 Station; – an Ethernet CP installed
  • Page 29 – – ISO transport connection; ISO Transport Connection
  • Page 30 – TCP connection
  • Page 31 – Stations; SIMATIC S7 PLC with Ethernet CP
  • Page 32 – FETCH; Connection Types; ISO Transport; Coordinating Access Using the User Program
  • Page 33 – Networking Stations with STEP 7; Configuring; Configuring a network or subnet involves the following:; Networking in a Multiproject; STEP 7 as of Version V5.2 supports configuration in a multiproject.; Tools
  • Page 34 – Variants; Characteristics/Configuration
  • Page 35 – Network/Project Variant: One Subnet – One Project; Configuration of the System; View in a STEP 7 Project
  • Page 36 – SIMATIC S5
  • Page 37 – Network/Project Variant: Two or More Subnets – One Project; This representation illustrates the following:
  • Page 38 – The functions for multiprojects in STEP 7 allow the following:
  • Page 39 – Possibilities for stations outside the current project
  • Page 40 – Merging Projects in the Multiproject:
  • Page 41 – Using (sub) projects in the “multiproject”; by configuring “Other stations / SIMATIC S5” in the other project.; Organization in a Multiproject
  • Page 45 – with integrated in STEP 7 by selecting Help
  • Page 46 – Installing and Starting the Ethernet CP with STEP 7; Installation
  • Page 48 – Creating an Industrial Ethernet Subnet; Aims; Follow the steps outlined below:; Subnet
  • Page 49 – “Ethernet” and confirm with Edit
  • Page 50 – Preserving Consistency in Merged Subnets
  • Page 51 – Entering an Ethernet CP in the Hardware Configuration; using an Ethernet CP.; Result: The CP is assigned to the SIMATIC station.; How to configure a module with STEP is described in detail in /6/.
  • Page 52 – Subnet Attachment
  • Page 53 – next free address automatically.; Note; Select the required subnet type in the “Subnet” list box.
  • Page 54 – With the latest Ethernet CPs, the situation is as follows:
  • Page 55 – Displaying the Network Attachments of a Station; A graphic overview in NetPro; Graphic Overview in NetPro; Follow the steps below:
  • Page 56 – Overview in Table Form; Select the Object Properties using the menu option Edit; or by double-clicking the station symbol.
  • Page 57 – Setting Further CP Properties; Overview; Select the Ethernet CP in the hardware configuration.; Object Properties. Depending on your type of CP, the dialog; Tabs
  • Page 58 – Addresses Tab; Please note the following notes on S7-300 stations:; Options Tab; Depending on the CP type, you can make the following settings:; Option; Notes
  • Page 61 – Diagnostics Tab; In the “Diagnostics” tab, you can startNCM S7 Diagnostics.; Addressing Tab
  • Page 62 – IP Access Protection Tab; As default, IP access protection is deactivated.; IP access protection for partners with specific IP addresses
  • Page 63 – IP Configuration Tab
  • Page 65 – “Substitute Objects” in the STEP 7 Project; SIMATIC S5 stations
  • Page 66 – Select the project in the SIMATIC Manager.; Select the menu command Insert; Attaching Non-S7 Stations to the Subnet; Select the required object in the project and select Edit; click the “New” button (for example “Other Station”.; Result: The New Interface – Type Selection dialog box is displayed.
  • Page 68 – Configuring Communication Services; Setting Up Connections; Contents. Select the topic “Configuring Connections and Data
  • Page 69 – Meaning of the Address Assignment – MAC Address and IP Address
  • Page 70 – The Ethernet port of your PG/PC must be accessible to STEP 7.; Follow the steps below to assign the IP address the first time:; Open the SIMATIC Manager; Select the menu command PLC
  • Page 72 – Alternative Procedure; Use the menu command PLC; nodes that you can access over Industrial Ethernet.; Then select the menu command PLC
  • Page 73 – Addressing using the Properties Dialog in HW Config or NetPro; HW Config in an existing or newly created project.
  • Page 74 – Principle; MPI interface
  • Page 75 – Select the menu command PLC; Deactivating the MAC Address in the Configuration
  • Page 76 – Relocating the CP in the Hardware Configuration
  • Page 78 – SEND/RECEIVE Interface in the User Program; How the SEND/RECEIVE Interface Works on the CPU; Amounts of Data
  • Page 79 – Programming the SEND/RECEIVE Interface; Principle of Job and Data Transfer
  • Page 80 – Calling FCs in the CPU Program; The following points are illustrated by the diagram:
  • Page 82 – The CPU cycle is faster than the transmission time.; FC Calls Faster than the Transmission Time
  • Page 83 – FC Calls Slower than the Transmission Time
  • Page 84 – Additional Information; Programming Data Transfer on TCP Connections; Purpose of TCP Connections; Use only the following functions (FCs) for data transmission:
  • Page 85 – Recommendations for Use with a High Communications Load; The recommendations below will help to avoid these situations:
  • Page 87 – Configuring Communication Connections; This chapter explains the following:
  • Page 88 – Initial Situation; The steps described here assume the following:; Setting up Connections and Using Them in the User Program; Programming
  • Page 89 – Possible Connection Configurations
  • Page 91 – Connections; Characteristics of a Connection; Exceptions to this are:
  • Page 92 – Tasks of the Ethernet CP
  • Page 93 – Requirements for Configuring Connections; As a bus node, the Ethernet CP has an address.; or
  • Page 94 – New Connection; establish the connection.
  • Page 96 – Handling Connections in a Multiproject; Connections to Partners in Other Projects; This method is described in the section above.
  • Page 97 – Unspecified Connections; Connection to a specific station in any project
  • Page 98 – The following table lists the possible options.; Meaning for Connection
  • Page 99 – Further Functions; Toolbar; Save; Print Function in the “Overview” Tab
  • Page 100 – Connections Without Assignment
  • Page 101 – Action; Connection
  • Page 103 – Configuring ISO Transport Connections; Introduction; Select the required connection in the connection table.; Select the menu option Edit; The following tabs are available for ISO transport connections:
  • Page 104 – Specifying the Local Connection Endpoint; General Tab
  • Page 105 – Attributes; Connection Name (Reference) – Only in Multiproject
  • Page 106 – Specifying ISO Transport Addresses; Address Parameters; MAC; Sending and Receiving on One ISO Transport Connection; The TSAPs of an ISO transport connection must match as follows:
  • Page 108 – Default TSAPs
  • Page 109 – Specifying ISO Transport Dynamic Properties; Dynamics Tab; Data Transfer
  • Page 111 – Checking ISO Transport Connection Properties; Overview Tab; Parameter; You can set the column widths in the “Overview” tab individually.; Connection Overview with Multiple CPUs in an S7 Station
  • Page 112 – Configuring ISO-on-TCP Connections Properties; The following tabs are available for ISO-on-TCP connections:
  • Page 115 – IP; Sending and Receiving on One ISO-on-TCP Connection
  • Page 118 – Checking ISO-on-TCP Connection Properties
  • Page 119 – Configuring TCP Connection Properties; The following tabs are available for TCP connections:
  • Page 123 – Specifying TCP Addresses; Address Parameters and Connection Types; Specified TCP connection
  • Page 124 – Addresses Tab – Specified TCP Connection; The following table shows the range of values:; Port Addresses
  • Page 125 – Addresses Tab – Unspecified TCP Connection
  • Page 126 – Checking TCP Connection Properties
  • Page 127 – Configuring UDP Connection Properties; The following tabs are available for UDP connections:
  • Page 130 – Specifying UDP Addresses; Specified UDP connection
  • Page 131 – Addresses Tab – Specified UDP Connections
  • Page 132 – Addresses Tab – Unspecified UDP Connection; An unspecified UDP connection can be used in two ways:
  • Page 133 – UDP with Broadcast and Multicast; Connection to all Broadcast Nodes; Connection to all Multicast Nodes; When to Use Multicast instead of Broadcast?
  • Page 134 – Why Does an S7-CP Prevent Reception on Broadcast Connections?; To avoid these disadvantages, S7-CPs handle broadcast as follows:
  • Page 135 – Addresses Tab – Connection to all Broadcast Nodes
  • Page 136 – Addresses Tab – Connection to all Multicast Nodes
  • Page 137 – Checking the Properties of a UDP Connection; Rack/slot of the local CP via which the connection is established.
  • Page 138 – Free UDP Connection; Program-Controlled Addressing
  • Page 139 – ISO transport connections; Configuration; SIMATIC S7 Station: FETCH PASSIVE / WRITE PASSIVE
  • Page 140 – SIMATIC PC Station: FETCH ACTIVE / WRITE ACTIVE
  • Page 141 – “S7 Addressing Mode” Option; S7 addressing mode: byte address; System Memory
  • Page 142 – Messages in the Diagnostic Buffer
  • Page 143 – Routing to Distribute Load
  • Page 145 – Programmed Communication Connections; You will find further information in the following sources:
  • Page 146 – Area of Application; Configuration Limits
  • Page 147 – Special Features / Restrictions; Consistency check only with STEP 7
  • Page 149 – Configuration Data Block; Meaning; The graphic below shows the following:
  • Page 150 – Usable Subfields
  • Page 151 – Example; Address
  • Page 152 – Parameter Fields for Connection Types; General; Connection ID; Range of values for the connection ID:
  • Page 153 – Parameter Field for TCP Connection; Structure
  • Page 154 – Parameter Field for a UDP Connection
  • Page 155 – Parameter Field for an ISO-on-TCP Connection
  • Page 156 – Parameter Field for an E-Mail Connection
  • Page 158 – Parameter field for FTP connection
  • Page 159 – Subfield types
  • Page 160 – Subfield
  • Page 164 – Programming FCs (Functions) and FBs for S7 Ethernet CPs; General Notes on FCs / FBs; Block Library
  • Page 165 – Which Block Version Should I Use?
  • Page 167 – Setting Parameters for FC Calls; Parameters for CP and connection assignment (input parameters); Calling Communication Blocks for an S7-300; Caution
  • Page 168 – Setting Block Parameters Automatically; Select the block call and its block parameters; Response to Incorrect Addresses; Cause
  • Page 169 – Parameters for Specifying a CPU Data Area (input parameters); Specifying the Data Area on the CPU; DONE or NDR; Evaluating Status Codes
  • Page 170 – FCs for the SEND/RECEIVE Interface; FC; for sending data
  • Page 171 – Specifying the Data Area on the CPU
  • Page 172 – Working without the Job Header
  • Page 173 – Working with the Job Header; Free UDP connections require a job header in the user data area.
  • Page 174 – Meaning of the Block; Call interface in LAD representation
  • Page 175 – Please note the following special feature on TCP connections:; How the Block Works; Case a: Sequence with older CP types
  • Page 176 – Time
  • Page 178 – Explanation of the Formal Parameters
  • Page 179 – Condition Codes
  • Page 180 – For entries coded with 8Fxx; DONE
  • Page 188 – Explanation of the Formal Parameters; tion
  • Page 190 – NDR
  • Page 191 – FCs for Access Coordination with FETCH/WRITE; Caution when Configuring; in HW Config
  • Page 192 – Cycle n
  • Page 193 – Representation of the AG_LOCK Function; Example in STL representation
  • Page 195 – Representation of the AG_UNLOCK Function
  • Page 198 – How It Works; Please refer to the sample program in the appendix.
  • Page 203 – Numeric Data / Resource Requirements of the FCs
  • Page 205 – NCM S7 Diagnostics; Further information is available from the following sources:
  • Page 206 – Diagnostic Options in STEP 7; Hardware Diagnostics and Troubleshooting with STEP 7; What You Should Already Know
  • Page 207 – Functions of NCM S7 Diagnostics; Functions
  • Page 208 – Installing and Starting NCM S7 Diagnostics; There are several ways in which you can start the diagnostic tool:; Alternative 1
  • Page 210 – General Menu Commands; Menu
  • Page 212 – Starting Diagnostics; Establishing a Connection to the Ethernet CP; Starting Diagnostics from the CP Properties Dialog
  • Page 213 – Starting Diagnostics from the Windows Start Menu; Open the Windows Start menu and select the command SIMATIC; your hardware configuration.; Attachment on
  • Page 214 – Examples of an Online Path without Gateway; Attachment of target; Network 2
  • Page 215 – Using a Gateway; You must also specify the S7 subnet ID of the destination network:; FIBUS address 9
  • Page 216 – Case b: Several Gateways; Routing over the other gateways is done automatically.; PROFIBUS address 9
  • Page 217 – Using the PC Station – Setting a Gateway with “PC internal”; Select the following settings:; Node address: PROFIBUS; S7 subnet ID of target network:
  • Page 218 – Other Ways of Starting Diagnostics; Starting in the properties dialog of the connections:; Activate Connection Status menu command to activate; Starting in the hardware configuration tool HW Config:; With the S7 station online, select the PLC
  • Page 219 – How to Use Diagnostics; Use the sequence shown below as a basis for using diagnostics:; If the CP is in the RUN mode; diagnostic function based on the recommendation there.
  • Page 220 – Starting Diagnostic Functions Explicitly; Diagnostic
  • Page 222 – Checklist for “Typical Problems” in a System; The checklists deal with the following topics:
  • Page 223 – Checklist for General CP Functions; Problem
  • Page 224 – Communication Connections Checklist; Check the user program.; Evaluate diagnostic buffer.
  • Page 225 – Firmware Loader
  • Page 226 – Firmware; PROFIBUS modules; The Firmware Loader supports the following file types:; Working with the Firmware Loader
  • Page 227 – Loading Firmware; Starting the Download; Open the Windows Start menu and select the menu command SIMATIC
  • Page 232 – For configuring PROFInet components and systems:; Order Numbers
  • Page 233 – Glossary
  • Page 234 – Communications Processor. Module for communications tasks.
  • Page 236 – Services provided by a communication protocol.
  • Page 238 – Base address
  • Page 239 – MAC address; see ISO transport connection; Subnet mask; A –> system consists of several –> subnets with unique subnet numbers.
  • Page 240 – UDP; Component based Automation
  • Page 244 – Linking to Other Systems with FETCH/WRITE; a) Structure of WRITE Frames
  • Page 245 – a) Structure of FETCH Frames
  • Page 246 – Parameter Values; S7 Address Area; DB
  • Page 247 – Address Area
  • Page 249 – Document History; Multiprojects; New in Release 04 / up to STEP 7 V5.1 SP2
  • Page 254 – A&D Technical Support
  • Page 255 – Service & Support on the Internet; where you will find the following:
Loading the manual

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

Programmed Communication
Connections

5

Programming FCs (Functions)
and FBs for S7 Ethernet CPs

6

NCM S7 Diagnostics

7

Firmware loader

8

Appendix

References

A

Glossary

B

Linking to Other Systems with
FETCH/WRITE

C

Document History

D

Index

Manual

for NCM S7 V5.2 and higher

Release 6/2003

C79000–G8976–C129–07

SIMATIC NET
NCM for Industrial Ethernet

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 4 - Prior to Startup

4 SIMATIC NET NCM S7 for Industrial Ethernet Release 6/2003 C79000–G8976–C129–07 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 ple...

Page 6 - This Manual on SIMATIC NET NCM S7 for Industrial Ethernet; Audience; These include new functions for IP configuration:; Notice

This Manual on SIMATIC NET NCM S7 for Industrial Ethernet 6 SIMATIC NET NCM S7 for Industrial Ethernet Release 6/2003 C79000–G8976–C129–07 Audience This manual is intended for personnel responsible for installing and programmingSTEP 7 programs and for service personnel. Scope of this Manual This man...

Page 7 - Symbols Used in this Manual; This symbol indicates recommended documentation.; Conventions

This Manual on SIMATIC NET NCM S7 for Industrial Ethernet 7 SIMATIC NET NCM S7 for Industrial EthernetRelease 6/2003 C79000–G8976–C129–07 Symbols Used in this Manual Unless indicated otherwise, the functions described in this manual assume the useof STEP 7. This symbol is used to indicate functions ...

Other Siemens Models