Page 4 - Prior to Startup
4 SIMATIC 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 th...
Page 6 - This Manual on SIMATIC NET NCM S7 for Industrial Ethernet; Audience; In the main, this involves the following topics:; Symbols used in this Manual; This symbol indicates functions requiring STEP 7 version V5.2.
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet 6 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Audience This manual is intended for personnel responsible for installing and programmingSTEP 7 programs and for service personnel. Scope of this Manual This manual applies to ...
Page 7 - You will find additional information in the following sources:; Title
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet 7 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 You will find additional information in the following sources: This manual is also part of the NCM S7 for Industrial Ethernet documentationpackage. These documents are also on t...
Page 8 - 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
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet 8 SIMATIC 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 atreasure-trove of sample programs and configurations. You ca...
Page 9 - Access to Online Help of STEP 7 and NCM S7; With the online help, you can obtain the following information:; Conventions
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet 9 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Access to Online Help of STEP 7 and NCM S7 With the online help, you can obtain the following information: S You can display the contents of the STEP 7 basic help system with th...
Page 10 - Contents; Communication via Ethernet CPs in S7 Stations
10 SIMATIC 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 11 - Programming FCs (Functions) and FBs for S7 Ethernet CPs
Contents 11 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.2 Possible Connection Configurations 85 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Connections 87 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 14 - Communication via Ethernet CPs in S7 Stations; Industrial Ethernet; Definition; Industrial; Network Access
Communication via Ethernet CPs in S7 Stations 14 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.1 Industrial Ethernet Definition Within the open, heterogeneous SIMATIC NET communication system, IndustrialEthernet is the network for the management and cell level. Physically, Indust...
Page 15 - SIMATIC S7 Communication with S7 Ethernet CPs; Types of Communication; S7 communication
Communication via Ethernet CPs in S7 Stations 15 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 1.2 SIMATIC S7 Communication with S7 Ethernet CPs Types of Communication The Ethernet CP for SIMATIC S7 supports the following types of communicationdepending on the CP type: Possible type...
Page 16 - – ISO Transport; PROFInet communication; TCP connections are used for the PROFInet communication.; HTML process control
Communication via Ethernet CPs in S7 Stations 16 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 S S7 communication S7 communication forms a simple and efficient interface between SIMATIC S7stations and PGs/PCs using communication function blocks. S S5-compatible communication with S...
Page 17 - File management and file access with FTP; – S7 Station as FTP Client; Possibilities for Communication between Device Types
Communication via Ethernet CPs in S7 Stations 17 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 S 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 serve...
Page 18 - Configuration and Diagnostics
Communication via Ethernet CPs in S7 Stations 18 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Configuration and Diagnostics To connect and configure the Ethernet CP, you require the STEP 7 configurationsoftware and the SIMATIC NET NCM S7 for Industrial Ethernet option. NCM S7 for ...
Page 19 - PG/OP Communication via Industrial Ethernet; Application; PG communication
Communication via Ethernet CPs in S7 Stations 19 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 1.3 PG/OP Communication via Industrial Ethernet Application PG/OP communication provides functions that are already integrated in everySIMATIC S7/M7/C7 device. A distinction must be made b...
Page 20 - Ethernet
Communication via Ethernet CPs in S7 Stations 20 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Ethernet S7 – 300 Create configuration data forevery CP and download to theEthernet CPs STEP 7NCM S7 S7 – 400 Ethernet CP Ethernet attachment * only TCP/IP S7 – 400 Ethernet CP Modem / IS...
Page 21 - PG Communication with STEP 7 over Industrial Ethernet; Requirements for PG Communication; PG / Engineering Station in the Configured Mode
Communication via Ethernet CPs in S7 Stations 21 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 inst...
Page 22 - Requirements; The operator interface device has:; Procedure
Communication via Ethernet CPs in S7 Stations 22 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.3.2 OP Operation: Connecting Operator Interface Devices viaIndustrial Ethernet Requirements Operation allowing operator interface functions is possible when the followingconditions are ...
Page 23 - S7 Communication on Industrial Ethernet; Client and server functionality at both ends; – between S7 stations and PC/PG stations with an Ethernet CP.
Communication via Ethernet CPs in S7 Stations 23 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 1.4 S7 Communication on Industrial Ethernet Application S7 communication via Industrial Ethernet allows program-controlledcommunication using communication SFBs/FBs via configured S7 conne...
Page 24 - – S7 communication over router
Communication via Ethernet CPs in S7 Stations 24 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 S Client and server functionality at one end only (S7 connectionsconfigured at one end) In the following situations, write and read functions can be implemented withPUT / GET: – S7 commun...
Page 25 - Configuring S7 Connections; Interface in the User Program of the S7 Station; Block type; Notice
Communication via Ethernet CPs in S7 Stations 25 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Configuring S7 Connections Create S7 connections to use S7 communication for data exchange between twoSIMATIC S7 stations. For more detailed information, refer to the STEP 7 Description /6...
Page 26 - Notes on S7 communication between PC/PG station and S7 station; – an Ethernet CP installed
Communication via Ethernet CPs in S7 Stations 26 SIMATIC 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 OPCinterface or SAPI-S7 interface for operator inter...
Page 27 - – ISO transport connection; ISO Transport Connection
Communication via Ethernet CPs in S7 Stations 27 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 1.5 S5-compatible Communication (SEND/RECEIVEInterface 1 ) Application Using the SEND/RECEIVE interface, your S7 user program has access toS5-compatible communication with configured trans...
Page 28 - TCP connection; SEND/RECEIVE interface
Communication via Ethernet CPs in S7 Stations 28 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 IP (Internet Protocol) For internetwork data transmission, the following services are available withsuitable CPs such as the CP 443-1 TCP: S ISO-on-TCP connection ISO-on-TCP is intended f...
Page 29 - Stations; SIMATIC S7 PLC with Ethernet CP
Communication via Ethernet CPs in S7 Stations 29 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Stations The SEND/RECEIVE interface allows program-controlled communication onIndustrial Ethernet between the SIMATIC S7 PLC and the following: S SIMATIC S7 PLC with Ethernet CP S SIMATIC ...
Page 30 - FETCH; Connection Types; ISO Transport; Coordinating Access Using the User Program
Communication via Ethernet CPs in S7 Stations 30 SIMATIC 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 functionalityprovides further services for S5-compatible communication on configur...
Page 31 - 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
Communication via Ethernet CPs in S7 Stations 31 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 1.7 Networking Stations with STEP 7 Configuring To allow stations to communicate with each other the networks must be configuredin the STEP 7 projects. Configuring a network or subnet invo...
Page 32 - Variants; Characteristics/Configuration
Communication via Ethernet CPs in S7 Stations 32 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Variants Before configuring networks with STEP 7, you should be aware of the variousconfigurations possible in the STEP 7 project. The following configurations aretypical for stations net...
Page 33 - Network/Project Variant: One Subnet – One Project; Configuration of the System; View in a STEP 7 Project
Communication via Ethernet CPs in S7 Stations 33 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 1.7.1 Network/Project Variant: One Subnet – One Project Configuration of the System In the simplest case, your system consists of SIMATIC S7 stations connected byone subnet, for example of...
Page 34 - SIMATIC S5
Communication via Ethernet CPs in S7 Stations 34 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7.2 Network/Project Variant: SIMATIC S5 and Non-SIMATIC Deviceson the Subnet Configuration of the System In addition to SIMATIC S7 stations, SIMATIC S5 stations and non-SIMATICdevices c...
Page 35 - Network/Project Variant: Two or More Subnets – One Project; This representation illustrates the following:
Communication via Ethernet CPs in S7 Stations 35 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 1.7.3 Network/Project Variant: Two or More Subnets – One Project Configuration of the System Due to the different tasks of the stations or due to the extent of the system it maybe necessar...
Page 36 - The functions for multiprojects in STEP 7 allow the following:
Communication via Ethernet CPs in S7 Stations 36 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 1.7.4 Network/Project Variant: One Subnet – More Than One(Sub)Project Configuration of the System In complex networked systems, during configuration it is sometimes more efficientto manag...
Page 37 - Possibilities for stations outside the current project
Communication via Ethernet CPs in S7 Stations 37 SIMATIC NET NCM S7 for Industrial EthernetC79000-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...
Page 38 - Merging projects in the multiproject:
Communication via Ethernet CPs in S7 Stations 38 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Stations of the type SIMATIC S5 function in just the same way asrepresentative objects. Merging projects in the multiproject: If you have used the multiproject functions allowing you to u...
Page 39 - Using (sub) projects in the “multiproject”; by configuring ”Other stations / SIMATIC S5” in the other project.; Organization in a Multiproject
Communication via Ethernet CPs in S7 Stations 39 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 1.7.5 Network/Project Variant: 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 indifferent pro...
Page 43 - with integrated in STEP 7 by selecting Help
43 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Installing and Starting the Ethernet CPwith STEP 7 To attach a SIMATIC station to Industrial Ethernet via the Ethernet CP, configurethe CP with the NCM S7 configuration software. The chapter explains thefollowing: S How the CP is conf...
Page 44 - Installing and Starting the Ethernet CP with STEP 7; Installation
Installing and Starting the Ethernet CP with STEP 7 44 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.1 General Information About the NCM S7 for IndustrialEthernet Option Installation Please follow the instructions in the README file when installing the NCM S7 forIndustrial Ethern...
Page 45 - The steps are explained in detail in the sections shown.
Installing and Starting the Ethernet CP with STEP 7 45 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 2.2 Procedure A CP is managed in an S7 project just as the other modules. You use STEP 7 toconfigure the hardware and create and manage the user software (see /6/). Configuring a CP ...
Page 46 - Creating an Industrial Ethernet Subnet; Aims; Follow the steps outlined below:; Subnet
Installing and Starting the Ethernet CP with STEP 7 46 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2.1 Creating an Industrial Ethernet Subnet Aims To be able to attach the SIMATIC stations to a subnet, you create the subnet inyour project. This means that all the parameters for...
Page 47 - “Ethernet” and confirm with Edit
Installing and Starting the Ethernet CP with STEP 7 47 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 showi...
Page 48 - Preserving Consistency in Merged Subnets
Installing and Starting the Ethernet CP with STEP 7 48 SIMATIC 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 In...
Page 49 - Entering an Ethernet CP in the Hardware Configuration; using an Ethernet CP.; Result: The CP is assigned to the SIMATIC station.; Subnet Attachment
Installing and Starting the Ethernet CP with STEP 7 49 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 SIMATIC station, youestablish the logical attachmen...
Page 50 - next free address automatically.; Note; Select the required subnet type in the “Subnet” list box.
Installing and Starting the Ethernet CP with STEP 7 50 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Note You can open the dialog for setting the interface at any time from the Propertiesdialog of the CP in the “General” tab. 1. If you have not yet created a subnet in the project o...
Page 52 - Displaying the Network Attachments of a Station; A graphic overview in NetPro; Graphic Overview in NetPro; Follow the steps below:
Installing and Starting the Ethernet CP with STEP 7 52 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.2.3 Displaying the Network Attachments of a Station Procedure You can easily get an overview of the network attachment configurations of aSIMATIC station in one of the following w...
Page 53 - Overview in Table Form; Select the Object Properties using the menu option Edit; or by double-clicking the station symbol.
Installing and Starting the Ethernet CP with STEP 7 53 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Overview in Table Form The table view in the Properties dialog of the station provides a detailed overviewof the components used for network attachment. Follow the steps below: 1. Us...
Page 54 - Setting Further CP Properties; Overview; Select the Ethernet CP in the hardware configuration.; Object Properties. In the dialog, you will see further tabs in; Addresses Tab
Installing and Starting the Ethernet CP with STEP 7 54 SIMATIC 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 thespecific module or you can call functions. 1. Select th...
Page 55 - Please note the following information on S7–300 stations:; Options Tab; Depending on the CP type, you can make the following settings:; Option; Notes
Installing and Starting the Ethernet CP with STEP 7 55 SIMATIC NET NCM S7 for Industrial EthernetC79000-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...
Page 58 - SIMATIC mode
Installing and Starting the Ethernet CP with STEP 7 58 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Table 2-1 Settings in the “Options” Tab , continued Option Meaning / Effect S Multiplex OP Connections /Reserve Internal CPUConnection Resources To attach TD/OPs or HMI devices, you...
Page 59 - Diagnostics Tab; In the “Diagnostics” tab, you can start NCM S7 Ethernet Diagnostics.; Addressing Tab
Installing and Starting the Ethernet CP with STEP 7 59 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Diagnostics Tab In the “Diagnostics” tab, you can start NCM S7 Ethernet Diagnostics. See Chapter 6 Diagnostics for a description of the diagnostic functionsthemselves. Addressing Tab...
Page 60 - “Substitute Objects” in the STEP 7 Project; SIMATIC S5 stations
Installing and Starting the Ethernet CP with STEP 7 60 SIMATIC 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 communicationspartners are available in the current project. For...
Page 61 - 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.
Installing and Starting the Ethernet CP with STEP 7 61 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Procedure To enter a substitute object in the project, following the steps below: 1. Select the project in the SIMATIC Manager. 2. Select the menu command Insert " Station " ...
Page 63 - Configuring Communication Services; Setting Up Connections; Contents. Select the topic “Configuring Connections and Data
Installing and Starting the Ethernet CP with STEP 7 63 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 2.2.6 Configuring Communication Services Setting Up Connections You must set up connections for the connection-oriented services supported by theIndustrial Ethernet CP, see also the ...
Page 64 - Meaning of the Address Assignment – MAC Address and IP Address
Installing and Starting the Ethernet CP with STEP 7 64 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 2.3 Assigning Addresses for the First Time (Applies toLatest CPs) Meaning of the Address Assignment – MAC Address and IP Address The CP ships with a factory-set MAC address. Without...
Page 65 - 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
Installing and Starting the Ethernet CP with STEP 7 65 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Requirements Before you can use the addressing described here, the CP must be obtainableonline, which means: S An attachment to the Ethernet LAN must already exist; there must be nor...
Page 66 - Enter the required IP parameters and assign them to the CP.
Installing and Starting the Ethernet CP with STEP 7 66 SIMATIC 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...
Page 67 - Alternative Procedure; Use the menu command PLC; nodes that you can access over Industrial Ethernet.; Then select the menu command PLC
Installing and Starting the Ethernet CP with STEP 7 67 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Alternative Procedure You can also follow the steps outlined below in the SIMATIC Manager: 1. Use the menu command PLC " Display Accessible Nodes to display the nodes that you ca...
Page 68 - Addressing using the Properties Dialog in HW Config or NetPro; HW Config in an existing or newly created project.
Installing and Starting the Ethernet CP with STEP 7 68 SIMATIC 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 SIMATIC Manager. 2. Define the config...
Page 69 - Principle; MPI interface
Installing and Starting the Ethernet CP with STEP 7 69 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 2.4 Downloading the Configuration Data to the TargetSystem Principle The configuration data of the Ethernet CP are downloaded from the hardwareconfiguration. All the configuration da...
Page 70 - Select the menu command PLC; Deactivating the MAC Address in the Configuration
Installing and Starting the Ethernet CP with STEP 7 70 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Procedure To download the configuration data to the S7 station, follow the steps outlinedbelow: 1. Open the “Set PG/PC Interface” dialog box in the Windows Control Panel. 2. Set the...
Page 71 - Relocating the CP in the Hardware Configuration
Installing and Starting the Ethernet CP with STEP 7 71 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Relocating the CP in the Hardware Configuration If you are using communication services with configured connections, theconnection IDs also identify the slot of the CP. If you “drag”...
Page 74 - SEND/RECEIVE Interface in the User Program; How the SEND/RECEIVE Interface Works on the CPU; Amounts of Data
SEND/RECEIVE Interface in the User Program 74 SIMATIC 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 onconnections: S AG_SEND/AG_LSENDThis block takes t...
Page 75 - Programming the SEND/RECEIVE Interface; Principle of Job and Data Transfer
SEND/RECEIVE Interface in the User Program 75 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 3.2 Programming the SEND/RECEIVE Interface Principle of Job and Data Transfer The user program triggers the transfer of the user data areas with FC calls andmonitors the transfer by evaluatin...
Page 76 - Calling FCs in the CPU Program; The following points are illustrated by the diagram:
SEND/RECEIVE Interface in the User Program 76 SIMATIC 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 programblocks in the CPU cycle is illustrated in the following diagram. ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ...
Page 78 - The CPU cycle is faster than the transmission time.; FC Calls Faster than the Transmission Time
SEND/RECEIVE Interface in the User Program 78 SIMATIC 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 CPUcycle and requires one transmission time. The interface to the user p...
Page 80 - Additional Information; Programming Data Transfer on TCP Connections; Purpose of TCP Connections; Use only the following functions (FCs) for data transmission:
SEND/RECEIVE Interface in the User Program 80 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 3.4 Additional Information 3.4.1 Programming Data Transfer on TCP Connections Purpose of TCP Connections TCP connections should be used above all for connections to systems of adifferent typ...
Page 81 - Recommendations for Use with a High Communications Load; The recommendations below will help to avoid these situations:
SEND/RECEIVE Interface in the User Program 81 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 whenusing the Ethernet CPs. In particular when y...
Page 83 - Configuring Communication Connections; This chapter explains the following:
83 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 co...
Page 84 - Steps; Programming
Configuring Communication Connections 84 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.1 Procedure Steps The following steps are necessary to operate connections on the SIMATIC S7 PLCwith the Ethernet CP: Program theSEND/RECEIVE interface inthe user program. (Refer to Section 3.2...
Page 85 - Possible Connection Configurations
Configuring Communication Connections 85 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.2 Possible Connection Configurations Communication connections are possible between the communication partnersshown in the diagram below. The communication partners can be in the same project or...
Page 87 - Connections; Characteristics of a Connection
Configuring Communication Connections 87 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.3 Connections Characteristics of a Connection A communication connection allows program-controlled communication betweentwo nodes on Industrial Ethernet with the following characteristics: S The...
Page 88 - Tasks of the Ethernet CP
Configuring Communication Connections 88 SIMATIC 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 ofcommunication connections supported by the Ethernet CP. The number ofconnections per station can be increase...
Page 89 - Requirements for Configuring Connections; As a bus node, the Ethernet CP has an address.; or
Configuring Communication Connections 89 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Requirements for Configuring Connections The Ethernet CP was entered in the hardware configuration and connected to thesubnet. As a bus node, the Ethernet CP has an address. Notice All stations no...
Page 90 - Creating a New Connection; establish the connection.
Configuring Communication Connections 90 SIMATIC 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 curr...
Page 92 - connection) in the “Type” box
Configuring Communication Connections 92 SIMATIC 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 ...
Page 93 - Handling Connections in a Multiproject; Connections to Partners in Other Projects; This method is described in the section above.
Configuring Communication Connections 93 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Handling Connections in a Multiproject Interproject connections to a specified partner (for example, a CPU) are created inthe same way as connections within a project (identical procedure). The di...
Page 94 - Unspecified Connections; Connection to a specific station in any project; Meaning for Connection
Configuring Communication Connections 94 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 In both projects, the same connection name must be configured in theproperties of the connection. The connection name is used as a textualreference when the projects are merged. Based on the conn...
Page 96 - Further Functions; Toolbar; Save; Print Function in the “Overview” Tab
Configuring Communication Connections 96 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.3.3 Further Functions Toolbar In the toolbar of the connection configuration dialog the following functions areavailable: Save To save the configured connection, select the Save function or cli...
Page 97 - Connections Without Assignment
Configuring Communication Connections 97 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.3.4 Connections Without Assignment Overview This section explains the actions that can lead to a configured connection losing itsassignment to the CP or being deleted. Caution Remember that in c...
Page 98 - Connection
Configuring Communication Connections 98 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Table 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 connecti...
Page 99 - Configuring ISO Transport Connections; Introduction; Select the required connection in the connection table.; Select the menu option Edit; Tabs; The following tabs are available for ISO transport connections:
Configuring Communication Connections 99 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.4 Configuring ISO Transport Connections Introduction As well as the entry in the connection table, you can also modify special propertiesfor each configured connection. Here, you can change spec...
Page 100 - Specifying the Local Connection Endpoint; General Tab
Configuring Communication Connections 100 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.4.1 Specifying the Local Connection Endpoint General Tab This tab of the Properties dialog displays general connection parameters thatidentify the local connection endpoint. Figure 4-6 Layout ...
Page 101 - Attributes; Connection Name (Reference) – Only in Multiproject
Configuring Communication Connections 101 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 al...
Page 102 - 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:
Configuring Communication Connections 102 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.4.2 Specifying ISO Transport Addresses Address Parameters An ISO transport connection is specified by the local and remote connectionendpoint. S Local addresses:Local MAC address and local TSA...
Page 103 - Addresses Tab
Configuring Communication Connections 103 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Addresses Tab The addresses tab displays proposed values for the relevant local and remoteaddress information. When connecting to non-S7 stations, you can set the TSAPaddresses individually. Figu...
Page 104 - Default TSAPs
Configuring Communication Connections 104 SIMATIC 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” forthe first connection between the two partners (can be changed). For a newconnection between the two...
Page 105 - Specifying ISO Transport Dynamic Properties; Dynamics Tab; Data Transfer; Retransmission time
Configuring Communication Connections 105 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.4.3 Specifying ISO Transport Dynamic Properties Dynamics Tab The Dynamics tab displays the relevant timers and counters of this connection.You can normally accept these default values. If neces...
Page 106 - Inactivity Time; Window Time
Configuring Communication Connections 106 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Attributes Access Description Inactivity Time The inactivity time specifies the interval after whichthe connection is terminated if no sign of life isreceived from the partner (6–180 s, default ...
Page 107 - ISO Transport with the FETCH/WRITE Mode; Using FETCH PASSIVE / WRITE PASSIVE
Configuring Communication Connections 107 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.4.4 ISO Transport with the FETCH/WRITE Mode Using FETCH PASSIVE / WRITE PASSIVE If you select one of the FETCH PASSIVE or WRITE PASSIVE modes for the ISOtransport connection, you can access the...
Page 108 - System Memory
Configuring Communication Connections 108 SIMATIC 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 connectionresources are also used, for example...
Page 109 - 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
Configuring Communication Connections 109 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.4.5 Checking ISO Transport Connection Properties Overview Tab The Overview tab displays all previously configured ISO transport connections andtheir parameters for this station (information onl...
Page 110 - Configuring ISO-on-TCP Connections Properties; The following tabs are available for ISO-on-TCP connections:
Configuring Communication Connections 110 SIMATIC 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 connectionparameters that were entered as defaults during t...
Page 113 - Address parameter; IP
Configuring Communication Connections 113 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 (Transport Service...
Page 118 - Checking ISO-on-TCP Connection Properties
Configuring Communication Connections 118 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.5.4 Checking ISO-on-TCP Connection Properties Overview Tab The overview shows all the configured ISO-on-TCP connections and theirparameters (cannot be modified here). You can adjust the width ...
Page 119 - Configuring TCP Connection Properties; The following tabs are available for TCP connections:
Configuring Communication Connections 119 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.6 Configuring TCP Connection Properties Introduction After the entry in the connection table, you can modify specific connectionparameters for each configured connection that were given default...
Page 122 - Specifying TCP Addresses; Address Parameters and Connection Types; Specified TCP connection
Configuring Communication Connections 122 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.6.2 Specifying TCP Addresses Address Parameters and Connection Types With TCP, the communication partners are addressed by the local and remoteendpoints as follows: S Local addresses:Local IP ...
Page 123 - Addresses Tab – Specified TCP Connection; The following table shows the range of values:; Port Addresses
Configuring Communication Connections 123 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Addresses Tab – Specified TCP Connection The addresses tab displays proposed values for the relevant local and remoteaddress information. You can change the port settings individually. Figure 4-1...
Page 124 - Addresses Tab – Unspecified TCP Connection
Configuring Communication Connections 124 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses Tab – Unspecified TCP Connection If you select the partner type as “unspecified”, depending on your task, you canenter address information about the communication partner here. The opt...
Page 125 - TCP with the FETCH/WRITE Mode
Configuring Communication Connections 125 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.6.3 TCP with the FETCH/WRITE Mode Using FETCH PASSIVE / WRITE PASSIVE If you select one of the FETCH PASSIVE or WRITE PASSIVE modes for the TCPconnection, you can access the system areas on a S...
Page 127 - Checking TCP Connection Properties
Configuring Communication Connections 127 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.6.4 Checking TCP Connection Properties Overview Tab The overview shows all the previously configured TCP connections and theirparameters (cannot be modified here). For an example of this displa...
Page 128 - Configuring UDP Connection Properties; The following tabs are available for UDP connections:
Configuring Communication Connections 128 SIMATIC 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 connectionparameters for each configured connection that were given defaul...
Page 131 - Specifying UDP Addresses; Specified UDP connection
Configuring Communication Connections 131 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.7.2 Specifying UDP Addresses Address Parameters and Connection Types With UDP, the communication partners are addressed using the local and remoteendpoint, as follows. S Local addresses:Local I...
Page 132 - Addresses Tab – Specified UDP Connections
Configuring Communication Connections 132 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses Tab – Specified UDP Connections The addresses tab displays proposed values for the relevant local and remoteaddress information. You can make the settings for the ports individually. F...
Page 133 - Addresses Tab – Unspecified UDP Connection; An unspecified UDP connection can be used in two ways:
Configuring Communication Connections 133 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Addresses Tab – Unspecified UDP Connection An unspecified UDP connection can be used in two ways: S Free UDP Connection To configure a free UDP connection, select the “Address assignment in block...
Page 134 - UDP with Broadcast and Multicast; Connection to all Broadcast Nodes; Connection to all Multicast Nodes; When to Use Multicast instead of Broadcast ?
Configuring Communication Connections 134 SIMATIC 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 optionson UDP connections: S Connection to all Broadcast Nodes If you ...
Page 135 - Why Does an S7-CP Prevent Reception on Broadcast Connections?; To avoid these disadvantages, S7-CPs handle broadcast as follows:
Configuring Communication Connections 135 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 ...
Page 136 - Addresses Tab – Connection to all Broadcast Nodes
Configuring Communication Connections 136 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Addresses Tab – Connection to all Broadcast Nodes If you select “all broadcast nodes” as the connection partner, you specify that UDPframes are sent to all obtainable broadcast nodes. In the “Ad...
Page 137 - Addresses Tab – Connection to all Multicast Nodes
Configuring Communication Connections 137 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Addresses Tab – 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 mult...
Page 138 - Checking the Properties of a UDP Connection; Rack/slot of the local CP via which the connection is established.
Configuring Communication Connections 138 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.7.4 Checking the Properties of a UDP Connection Overview Tab At the overview level, all the configured UDP connections and their parameters inthis station are displayed (cannot be modified). F...
Page 139 - Free UDP Connection; Program-Controlled Addressing
Configuring Communication Connections 139 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 4.7.5 Free UDP Connection Program-Controlled Addressing A free UDP connection allows program-controlled addressing of thecommunication partner. Communication between two nodes on Industrial Ether...
Page 140 - Routing to Distribute Load
Configuring Communication Connections 140 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 4.8 Routing to Distribute Load Routing to Distribute Load If more than one CP of the same type exists in a station and is connected to thesame subnet, the route can be selected. Click the “Route...
Page 142 - Programming FCs (Functions) and FBs for S7 Ethernet CPs; General Notes on FCs / FBs; Block Library; Communicatio
Programming FCs (Functions) and FBs for S7 Ethernet CPs 142 SIMATIC 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 theSTEP 7 basic package unless indicated otherwise. ...
Page 143 - Which Block Version Should I Use?
Programming FCs (Functions) and FBs for S7 Ethernet CPs 143 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Which Block Version Should I Use? The following descriptions also include information on differences between thevarious block versions. Please take note of the version identifie...
Page 145 - Setting Parameters for FC Calls; Parameters for CP and connection assignment (input parameters); Calling Communication Blocks for an S7-300; Caution
Programming FCs (Functions) and FBs for S7 Ethernet CPs 145 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 5.2 Setting Parameters for FC Calls Before describing the FCs in detail, a few general comments on calling and settingparameters for FCs will be useful in this point. It is poss...
Page 146 - Setting Block Parameters Automatically; Select the block call and its block parameters; Response to Incorrect Addresses; Cause
Programming FCs (Functions) and FBs for S7 Ethernet CPs 146 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Setting Block Parameters Automatically 1) To ensure correct parameter settings for the block calls, The LAD/STL/FBD editorin STEP 7 provides you with the option of accepting al...
Page 147 - Parameters for Specifying a CPU Data Area (input parameters); Specifying the Data Area on the CPU; DONE or NDR; Evaluating Status Codes
Programming FCs (Functions) and FBs for S7 Ethernet CPs 147 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 ...
Page 148 - FCs for Configured Connections; FC; for sending data
Programming FCs (Functions) and FBs for S7 Ethernet CPs 148 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 5.3 FCs for Configured Connections Overview The following functions (FCs) are available for transferring data over configuredconnections: FC Can be used with 1) Meaning S7 – 30...
Page 149 - Specifying the Data Area on the CPU
Programming FCs (Functions) and FBs for S7 Ethernet CPs 149 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Connection Ethernet CP CPU STEP 7userprogram receive send User data areas AG_RECV AG_SEND CPU STEP 7user program User data areas AG_RECV AG_SEND Ethernet CP send receive Note Un...
Page 150 - Working without the Job Header
Programming FCs (Functions) and FBs for S7 Ethernet CPs 150 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Table 5-1 FC ISO Transport 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 ...
Page 151 - Working with the Job Header; Free UDP connections require a job header in the user data area.
Programming FCs (Functions) and FBs for S7 Ethernet CPs 151 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Working 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 meaninga...
Page 152 - Meaning of the Block; Call interface in LAD representation
Programming FCs (Functions) and FBs for S7 Ethernet CPs 152 SIMATIC 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 aconfigured connection. The selected data area ...
Page 153 - Please not the following special feature on TCP connections:; How the Block Works; The send job in executed as soon as the parameter ACT = 1 is passed.
Programming FCs (Functions) and FBs for S7 Ethernet CPs 153 SIMATIC NET NCM S7 for Industrial EthernetC79000-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, y...
Page 154 - data “X”
Programming FCs (Functions) and FBs for S7 Ethernet CPs 154 SIMATIC 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 onEthernet Legend...
Page 155 - Explanation of the Formal Parameters; tion
Programming FCs (Functions) and FBs for S7 Ethernet CPs 155 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 Type Possible Values Rema...
Page 156 - Condition Codes
Programming FCs (Functions) and FBs for S7 Ethernet CPs 156 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Parameter Remarks Possible Values Type Declara-tion LEN INPUT INT On ISOTransport andISO-on-TCP /TCP: 1 2 t 32767 Number of bytes to be sent from the data areawith this job. Th...
Page 157 - For entries coded with 8Fxx; DONE
Programming FCs (Functions) and FBs for S7 Ethernet CPs 157 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Note For entries coded with 8Fxx H in STATUS, refer to the information in the STEP 7 Standard and System Functions reference manual. The chapter describing errorevaluation with ...
Page 160 - that a new send job can be triggered if the
Programming FCs (Functions) and FBs for S7 Ethernet CPs 160 SIMATIC 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 t...
Page 163 - Time; The status code is updated at each block call.
Programming FCs (Functions) and FBs for S7 Ethernet CPs 163 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 How the Block Works The following diagram illustrates the normal sequence of data acceptancetriggered by an AG_RECV in the user program. Each AG_RECV job in the user program is ...
Page 166 - NDR
Programming FCs (Functions) and FBs for S7 Ethernet CPs 166 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Table 5-3 AG_RECV / AG_LRECV Codes NDR Meaning STATUS ERROR 0 1 8304 H The connection is not established. The send job should only beattempted again after waiting for at least ...
Page 167 - FCs for Access Coordination with FETCH/WRITE; Caution when Configuring; in HW Config
Programming FCs (Functions) and FBs for S7 Ethernet CPs 167 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 5.4 FCs 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...
Page 168 - Cycle n
Programming FCs (Functions) and FBs for S7 Ethernet CPs 168 SIMATIC 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/WRITEaccess to DB xactive FETCH/WRITEaccess to DB xact...
Page 169 - Representation of the AG_LOCK Function; Example in STL representation
Programming FCs (Functions) and FBs for S7 Ethernet CPs 169 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 theconnection selected with the parameter ID is disabled. The LOCKED out...
Page 171 - Representation of the AG_UNLOCK Function
Programming FCs (Functions) and FBs for S7 Ethernet CPs 171 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 S7CPU with FETCH or WRITE on the connection specified by the ID...
Page 173 - Numeric Data / Resource Requirements of the FCs
Programming FCs (Functions) and FBs for S7 Ethernet CPs 173 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 havedifferent resource requirements. Tab...
Page 175 - NCM S7 Diagnostics; Further information is available from the following sources:
175 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 NCM S7 Diagnostics The NCM S7 Diagnostics described here provides dynamic information on theoperating state of the communication functions of online CPs. This chapter provides a general overview of the individual diagnostic functions...
Page 176 - Diagnostic Options in STEP 7; Hardware Diagnostics and Troubleshooting with STEP 7; What You Should Already Know
NCM S7 Diagnostics 176 SIMATIC 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 informationabout the status of your SIMATIC S7 components and functions and to sort outproblems in a variet...
Page 177 - Functions of NCM S7 Diagnostics; Functions
NCM S7 Diagnostics 177 SIMATIC NET NCM S7 for Industrial EthernetC79000-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 Type and mode-dependent diagnostic functions General diagnostic and...
Page 178 - Installing and Starting NCM S7 Diagnostics; There are several ways in which you can start the diagnostic tool:; Alternative 1
NCM S7 Diagnostics 178 SIMATIC 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 IndustrialEthernet optional package. NCM S7 Ethernet Diagnostics is installed along wit...
Page 179 - Structure
NCM S7 Diagnostics 179 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Structure In the same way, for example, as the SIMATIC Manager, NCM S7 Diagnosticsappears as a separate two-part application window with a menu and toolbar: Navigation area withdiagnostic objects Content area with ...
Page 180 - General Menu Commands; Menu
NCM S7 Diagnostics 180 SIMATIC 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 generalsignificance. Depending on the context, other functions may be available; for moredetailed informatio...
Page 182 - Initial Situation; Attachment on
NCM S7 Diagnostics 182 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.3 Starting Diagnostics – Establishing a Connection to theEthernet CP Initial Situation Establish the physical connection between the PG and the SIMATIC S7 Station.There are two ways of doing this: S MPI S Indust...
Page 183 - Internetworking; You must also specify the S7 subnet ID of the destination network:; Starting Diagnostics from the Properties Dialog of the CP; Select the CP and open the Properties dialog.
NCM S7 Diagnostics 183 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Table 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 Eth...
Page 184 - Other Startup Options; In the Properties dialog of the connections:; Activate Connection Status menu command to activate; In the hardware configuration tool HW Config:; With the S7 station online, select the PLC
NCM S7 Diagnostics 184 SIMATIC 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 “Stat...
Page 185 - How to Use Diagnostics; Use the sequence shown below as a basis for using diagnostics:; If the CP is in the RUN mode
NCM S7 Diagnostics 185 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 6.4 How to Use Diagnostics Procedure To use diagnostics efficiently, particularly when working with the diagnostic tool forthe first time, the following procedure can be recommended. 1. Use the sequence shown below...
Page 186 - Call-Specific Diagnostic Functions
NCM S7 Diagnostics 186 SIMATIC 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 availablefunctions. Table 6-3 General Diagnostic and Statistical Functions Diagnostic Functions / Diagnosti...
Page 187 - Diagnostic
NCM S7 Diagnostics 187 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Table 6-4 Mode-Dependent Functions, continued Diagnostic Functions / Diagnostic Object Special Features Diagnostic Aims Connections " Type S Overview of all the communicationconnections of a particular type, fo...
Page 188 - Checklist for ‘Typical Problems‘ in a System; Meaning; The checklists deal with the following topics:
NCM S7 Diagnostics 188 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.6 Checklist for ‘Typical Problems‘ in a System Meaning The following lists contain several typical problems and their possible causes andhow you can use the NCM S7 Ethernet Diagnostics tool to remedy the situati...
Page 189 - Checklist for General CP Functions; Problem
NCM S7 Diagnostics 189 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 6.6.1 Checklist for General CP Functions Table 6-5 Checklist for Typical Problems When Operating a CP in a System Problem Possible Cause Identifying the Cause and Remedy The Ethernet CP will notchange to the RUN mo...
Page 190 - Communication Connections Checklist; Check the user program.; Evaluate diagnostic buffer.
NCM S7 Diagnostics 190 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 6.6.2 Communication Connections Checklist Table 6-6 Checklist for Typical Problems with ISO Transport / ISO-on-TCP / UDP Connections Problem Possible Cause Identifying the Cause and Remedy No data transfer on anIS...
Page 191 - Firmware Loader
191 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Firmware Loader This chapter will familiarize you with the uses and handling of the FirmwareLoader. The firmware loader allows you to download more recent firmware versions to theSIMATIC NET modules. 7
Page 192 - Firmware; PROFIBUS modules; The firmware loader supports the following file types:; Working with the Firmware Loader
Firmware Loader 192 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 7.1 Application Firmware Here, firmware means the system programs in the SIMATIC NET modules. Uses of the Firmware Loader The firmware loader allows you to download more recent firmware versions to theSIMATIC NET mod...
Page 193 - Loading Firmware; Starting the Download; NCM S7; st Step
Firmware Loader 193 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 7.2 Loading Firmware Starting the Download Start the program from the Windows standard Start menu using the SIMATIC " NCM S7 " Firmware Loader menu command. Select the Next button and follow the instructions d...
Page 194 - nd Step; rd Step
Firmware Loader 194 SIMATIC 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 theload file you selected. S For a PROFIBUS module: There are no f...
Page 197 - References
197 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 References /1/ Product information bulletin / manual SIMATIC NET CPSupplied with the specific CPSiemens AG /2/ NCM S7 for PROFIBUS PrimerPart– of the documentation package NCM S7 for PROFIBUS– of the online documentation in the STEP ...
Page 200 - For configuring PROFInet components and systems:; Order Numbers
References 200 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 /19/ RFC793 (TCP) /20/ RFC791 (IP) /21/ Berger, HansAutomation with STEP 7SIMATIC S7-300/400 Programmable Logic Controllers For configuring PROFInet components and systems: Basic help in the SIMATIC iMap engineering tool ...
Page 201 - Glossary; General Section
201 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Glossary B.1 General Section 202 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2 Industrial Ethernet 206 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 202 - Communications Processor. Module for communications tasks.
Glossary 202 SIMATIC 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 ...
Page 204 - Services provided by a communication protocol.
Glossary 204 SIMATIC 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 ...
Page 206 - Base address
Glossary 206 SIMATIC 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 addressesthat are calculated automatically in the project are ass...
Page 208 - UDP; PROFInet; Component based Automation
Glossary 208 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 TCP/IP TCP = Transport Connection Protocol; IP = Internet Protocol UDP User Datagram Protocol. User Datagram Protocol: datagram service for simpleinternetwork transmission without acknowledgment. B.3 PROFInet Component base...
Page 212 - Linking to Other Systems with FETCH/WRITE; a) Structure of WRITE Frames
Linking to Other Systems with FETCH/WRITE 212 SIMATIC 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 tablecan be found in the section “Parameter Values“. WRITE request frame WRITE acknowl...
Page 213 - a) Structure of FETCH Frames
Linking to Other Systems with FETCH/WRITE 213 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 a) Structure of FETCH Frames The meaning and values of parameters shown without values in the following tablecan be found in the section “Parameter Values“. FETCH request frame FETCH response...
Page 214 - Parameter Values; S7 Address Area; DB
Linking to Other Systems with FETCH/WRITE 214 SIMATIC NET NCM S7 for Industrial Ethernet C79000-G8976-C129–06 Parameter Values S7 Address Area DB M I Q ORG ID 01 H 02 H 03 H 04 H Source/dest.data from/todata block inmain memory Source/dest.data from/toflag area Source/dest.data from/toprocessimage o...
Page 215 - Address Area
Linking to Other Systems with FETCH/WRITE 215 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 S7 Address Area PI/PQ C T ORG ID 05 H 06 H 07 H Source/dest.data from/to inI/O modules.With sourcedata inputmodules, withdest dataoutput modules Source/destdata from/tocounter cells Source/de...
Page 217 - Document History; New in Release 04 / up to STEP 7 V5.1 SP2
221 SIMATIC NET NCM S7 for Industrial EthernetC79000-G8976-C129–06 Document History This section provides an overview of the previous releases of this manual and thefunctional expansions in STEP 7 and NCM S7. New in Release 05 / STEP 7 V5.1 SP3 S Configuring multicast and broadcast on UDP connection...
Page 221 - A&D Technical Support
A&D Technical Support A&D Technical Support Worldwide, available 24 hours a day: Beijing Nuernberg Johnson City Worldwide (Nuernberg) Technical Support 24 hours a day, 365 days a year Phone: +49 (0) 180 5050-222 Fax: +49 (0) 180 5050-223 E-Mail: [email protected] GMT: +1:00 Europe / Afri...
Page 222 - Service & Support on the Internet; where you will find the following:
A&D Technical Support A&D Technical Support Service & Support on the Internet In addition to our documentation, we offer our Know-how online on the internet at: http://www.siemens.com/automation/service&support where you will find the following: • The newsletter, which constantly pro...