Summary of the content on the page No. 1
Preface, Contents
Communication via Ethernet CPs
1
in S7 Stations
Installing and Starting the
2
Ethernet CP with STEP 7
SIMATIC NET
SEND/RECEIVE
3
interface
NCM for Industrial Ethernet
Configuring Communication
4
Manual
Connections
Programmed Communication
5
Connections
for NCM S7 V5.2 and higher
Programming FCs (Functions)
6
and FBs for S7 Ethernet CPs
7
NCM S7 Diagnostics
8
Firmware loader
Appendix
A
References
B
Glossary
Linking to Other Systems with
C
FETCH/WRITE
D
Document History
Index
Re
Summary of the content on the page No. 2
Classification of Safety-Related Notices This manual contains notices which you should observe to ensure your own perso- nal safety, as well as to protect the product and connected equipment. These noti- ces are highlighted in the manual by a warning triangle and are marked as follows according to the level of danger: Danger ! indicates that death or severe personal injury will result if proper precautions are not taken. Warning ! indicates that death or severe personal injury can result if prop
Summary of the content on the page No. 3
Trademarks SIMATIC, SIMATIC HMI and SIMATIC NET 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 Regarding your Product: Before you use the product described here, read the safety instructions below thoroughly. Qualified Personnel Only qualified personnel should be allowed to install and work on this equipment. Qualified pers
Summary of the content on the page No. 4
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 representative. Copyright Siemens AG 2001–2003 All rights reserved Disclaimer of Liability The reproduction, transmission or use of this document or its contents is not We have checked the contents of this manual for agree
Summary of the content on the page No. 5
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet ...supports you when using the communication services provided by the SIMATIC NET communications processors (Industrial Ethernet CPs) for communication on SIMATIC NET with Industrial Ethernet in the management and cell areas. The documentation on your S7 CPs and NCM S7 is in several parts that fit together as shown below: S7-CP – selecting Manual – installing – commissioning – performance data S7-CP for S7-300 / S7-400 S7-CP and STEP
Summary of the content on the page No. 6
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet 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 configuration software for Industrial Ethernet and to version 5.2 and higher of the STEP 7 software. This manual also includes specially marked passages that apply specifically to and require version 5.2 SP1 of the NCM S7 for In
Summary of the content on the page No. 7
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet Symbols Used in this Manual Unless indicated otherwise, the functions described in this manual assume the use of STEP 7. This symbol is used to indicate functions that require a specific version of STEP 7 or higher, for example Version V5.2. This symbol appears in the margin to draw your attention to useful tips. This symbol indicates recommended documentation. Where you see this symbol, you should also refer to additional information in
Summary of the content on the page No. 8
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet You 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 S7 CP and they are also available on the Internet. The following table provides you with an overview. Title Content S7-CPs for Industrial The manual S7 CPs for Industrial Ethernet contains information on the Ethernet cha
Summary of the content on the page No. 9
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet 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. You can order this directly over the Internet at: http://www4.ad.siemens.de/view/cs/de/574211 Additional Information on SIMATIC S7 and STEP 7 The following documentation contains additional information about the STEP 7 standard software of the SIMATIC programmable contro
Summary of the content on the page No. 10
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet Access to Online Help of STEP 7 and NCM S7 With the online help, you can obtain the following information: You can display the contents of the STEP 7 basic help system with the menu command Help –> Contents. Context-sensitive help on the selected object using the Help –> Context-Sensitive Help menu command, the F1 function key or the question mark in the toolbar. F1 You can then access further information relating to the current top
Summary of the content on the page No. 11
Contents 1 Communication via Ethernet CPs in S7 Stations . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.1 Industrial Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.2 SIMATIC S7 Communication with S7 Ethernet CPs . . . . . . . . . . . . . . . . . . 17 1.3 PG/OP Communication via Industrial Ethernet . . . . . . . . . . . . . . . . . . . . . . 21 1.3.1 PG Communication with STEP 7 over Industrial Ethernet . . . . . . . . . . . .
Summary of the content on the page No. 12
Contents 4 Configuring Communication Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 4.1 Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 4.2 Possible Connection Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 4.3 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 4.3.1 New Connection . . . . .
Summary of the content on the page No. 13
Contents 6 Programming FCs (Functions) and FBs for S7 Ethernet CPs . . . . . . . . . . . . . . . 163 6.1 General Notes on FCs / FBs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 6.2 Setting Parameters for FC Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 6.2.1 Parameters for CP and Connection Assignment (input parameters) . . . . 167 6.2.2 Parameters for Specifying a CPU Data Area (input parameters) . . . . . . . 169 6.2.3 Status
Summary of the content on the page No. 14
Contents A References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 B Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 B.1 General Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 B.2 Industrial Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 15
Communication via Ethernet CPs in S7 1 Stations The Ethernet CP for SIMATIC S7 provides a series of communications services for different tasks. This chapter explains the following: The types of communication possible with the Ethernet CP on Industrial Ethernet The tasks handled by the Ethernet CP for the various services How to create the conditions for your communications requirements You will find further information in the following sources: When installing the Ethernet CP, please re
Summary of the content on the page No. 16
Communication via Ethernet CPs in S7 Stations 1.1 Industrial Ethernet Definition Within the open, heterogeneous SIMATIC NET communication system, Industrial Ethernet is the network for the management and cell level. Physically, Industrial Ethernet is an electrical network that uses a shielded coaxial cable or twisted pair, or an optical network with fiber-optic cables. Industrial Ethernet is defined by the international standard IEEE 802.3 (see /11/). All-Round Communication in the Industrial Se
Summary of the content on the page No. 17
Communication via Ethernet CPs in S7 Stations 1.2 SIMATIC S7 Communication with S7 Ethernet CPs Types of Communication The Ethernet CP for SIMATIC S7 supports the following types of communication depending on the CP type: Ethernet CP Ethernet CP S7/M7-400 S7-300 Interfaces / Services / Possible types of communication Protocols PG/OP communication with the protocols – ISO S7 communication – TCP/IP (RFC 1006) with the SEND / RECEIVE interface and the protocols S5-compatible communication – I
Summary of the content on the page No. 18
Communication via Ethernet CPs in S7 Stations S7 communication S7 communication forms a simple and efficient interface between SIMATIC S7 stations and PGs/PCs using communication function blocks. S5-compatible communication with SEND/RECEIVE interface Depending on the CP type, the SEND/RECEIVE interface allows program-controlled communication on a configured connection from a SIMATIC S7 PLC to another SIMATIC S7 PLC, to a SIMATIC S5 PLC, to PCs/PGs, and to any other station. Depending on the
Summary of the content on the page No. 19
Communication via Ethernet CPs in S7 Stations File management and file access with FTP The IT-CP (S7-400 / S7-300) provides additional functions for FTP services. You can use your S7 station both as an FTP client and as an FTP server (refer to the manual of the IT-CP /5/). – S7 Station as FTP Client You can transfer data blocks from or to a file server. – S7 Station as FTP Server Another station, for example, a PC transfers data blocks to or from the S7 station the file system on the IT-CP. Po
Summary of the content on the page No. 20
Communication via Ethernet CPs in S7 Stations Configuration and Diagnostics To connect and configure the Ethernet CP, you require the STEP 7 configuration software and the SIMATIC NET NCM S7 for Industrial Ethernet option. NCM S7 for Industrial Ethernet is installed as a STEP 7 option and is therefore integrated in STEP 7. NCM S7 for Industrial Ethernet also provides a wide range of diagnostic functions for the various types of communication. When configuring PROFInet communication, you also use