Manuals
/
Brands
/
Computer Equipment
/
Network Card
/
Siemens
/
Computer Equipment
/
Network Card
Siemens
NCM S7 appendix
Please, tick the box below to download manual:
Contents
Main
!
Page
Page
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet
S
Audience
Scope of this Manual
Symbols Used in this Manual
Conventions
This Manual on SIMATIC NET NCM S7 for Industrial Ethernet
You will find additional information in the following sources:
S S S S S S
Quick Start CD: Samples covering all aspects of communication
Additional Information on SIMATIC S7 and STEP 7
S S S S
S S
Access to Online Help of STEP 7 and NCM S7
Contents
Page
Page
Page
Communication via Ethernet CPs in S7 Stations
1.1 Industrial Ethernet
Definition
All-Round Communication in the Industrial Sector
Network Access
Communication via Ethernet CPs in S7 Stations
1.2 SIMATIC S7 Communication with S7 Ethernet CPs
Types of Communication
S S
S
S S
Page
Possibilities for Communication between Device Types
Configuration and Diagnostics
Programmed Connections
1.3 PG/OP Communication via Industrial Ethernet
Communication via Ethernet CPs in S7 Stations
22
1.3.1 PG Communication with STEP 7 over Industrial Ethernet
Requirements for PG Communication
Networking the PG / Engineering Station
1.3.2 OP Operation: Connecting Operator Interface Devices via Industrial Ethernet
Requirements
1.4 S7 Communication on Industrial Ethernet
Nodes
Page
Configuring S7 Connections
Interface in the User Program of the S7 Station
Notes on S7 Communication between PC/PG Station and S7 Station
S7 Communication via Routers (one-sided Client and Server Functionality)
1.5 S5-compatible Communication (SEND/RECEIVE Interface) 1)
ISO Transport Connection
IP (Internet Protocol)
SEND/RECEIVE Interface
Stations
1.6 FETCH/WRITE Services (Server)
Connection Types
Coordinating Access Using the User Program
SIMATIC S5
1.7 Networking Stations with STEP 7
Configuring
Networking in a Multiproject
Tools
Variants
1.7.1 Network/Project Variant: One Subnet One Project
1.7.2 Network/Project Variant: SIMATIC S5 and Non-SIMATIC Devices on the Subnet
1.7.3 Network/Project Variant: Two or More Subnets One Project
1.7.4 Network/Project Variant: One Subnet More Than One (Sub)Project
Possibilities for stations outside the current project
Merging Projects in the Multiproject:
1.7.5 Network/Project Variant: Several Subnets in Several (Sub) Projects
Representative Objects for Stations Outside the Current Project
1.7.6 Network/Project Variant: Connections between Subnets (TCP/IP)
Page
Installing and Starting the Ethernet CP with STEP 7
2.1 General Information About the NCM S7 for Industrial Ethernet Option
Functions
Operation
2.2 Procedure
2.2.1 Creating an Industrial Ethernet Subnet
Aims
Properties of Merged Subnets (Multiproject)
Page
2.2.2 Entering an Ethernet CP in the Hardware Configuration
Page
Page
Setting Addresses in the Configuration and Addressing for the First Time
2.2.3 Displaying the Network Attachments of a Station
Graphic Overview in NetPro
Overview in Table Form
2.2.4 Setting Further CP Properties
Options Tab
S
S S S
S
Time-of-Day Synchronization Tab
Diagnostics Tab
Addressing Tab
IP Access Protection Tab
IP Configuration Tab
S
64
S
You can query the IP address actually being used with NCM S7 Diagnostics.
2.2.5 Substitute Objects in the STEP 7 Project
Attaching Non-S7 Stations to the Subnet
Page
2.2.6 Configuring Communication Services
Setting Up Connections
2.3 Assigning Addresses for the First Time (Applies to Latest CPs)
Meaning of the Address Assignment MAC Address and IP Address
Assigning the Address Options and Recommendations
Requirements
2.3.1 Addressing by Selecting the Target System in the SIMATIC Manager
Follow the steps below to assign the IP address the first time:
Page
Alternative Procedure
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:
2.4 Downloading the Configuration Data to the Target System
Type of Interface
Deactivating the MAC Address in the Configuration
Saving the Configuration Data in Non-Volatile Memory
Downloading the Configured Connections
Relocating the CP in the Hardware Configuration
SEND/RECEIVE Interface in the User Program
3.1 How the SEND/RECEIVE Interface Works on the CPU
Functions (FCs)
3.2 Programming the SEND/RECEIVE Interface
Principle of Job and Data Transfer
Purpose of the FCs
Calling FCs in the CPU Program
Page
3.3 Data Exchange S7 CPU <> Ethernet CP
FC Calls Faster than the Transmission Time
FC Calls Slower than the Transmission Time
3.4 Additional Information
3.4.1 Programming Data Transfer on TCP Connections
Purpose of TCP Connections
Special Features
3.4.2 Recommendations for Use with a High Communications Load
Known Problems
Remedy
Page
Configuring Communication Connections
4.1 Procedure
Setting up Connections and Using Them in the User Program
4.2 Possible Connection Configurations
Page
4.3 Connections
Characteristics of a Connection
Tasks of the Ethernet CP
Requirements for Configuring Connections
4.3.1 New Connection
Creating a New Connection
Page
Handling Connections in a Multiproject
Connections to Non-S7 Stations using Substitute Objects
4.3.2 Connections to Partners in Other Projects
Unspecified Connections
Page
4.3.3 Further Functions
Toolbar
In the toolbar of the connection configuration dialog the following functions are available:
S S S S
Print Function in the Overview Tab
4.3.4 Connections Without Assignment
Action How to Establish the Connection Again
Consequences for the Connections
Page
4.4 Configuring ISO Transport Connections
4.4.1 Specifying the Local Connection Endpoint
Page
4.4.2 Specifying ISO Transport Addresses
Address Parameters
TSAP Format
Local and Remote TSAPs
Default TSAPs
Addresses Tab Unspecified ISO transport connection
4.4.3 Specifying ISO Transport Dynamic Properties
Dynamics Tab
Page
4.4.4 Checking ISO Transport Connection Properties
4.5 Configuring ISO-on-TCP Connections Properties
4.5.1 Specifying the Local Connection Endpoint
114
4.5.2 Specifying ISO-on-TCP Addresses
Address Parameters
TSAP Format
Local and Remote TSAPs
Default TSAPs
Addresses Tab Unspecified ISO-on-TCP Connection
4.5.3 Checking ISO-on-TCP Connection Properties
4.6 Configuring TCP Connection Properties
4.6.1 Specifying the Local Connection Endpoint
S S
Page
4.6.2 Specifying TCP Addresses
Address Parameters and Connection Types
Addresses Tab Specified TCP Connection
Ports
Addresses Tab Unspecified TCP Connection
4.6.3 Checking TCP Connection Properties
4.7 Configuring UDP Connection Properties
4.7.1 Specifying the Local Connection Endpoint
Page
4.7.2 Specifying UDP Addresses
Address Parameters and Connection Types
Addresses Tab Specified UDP Connections
Ports
Addresses Tab Unspecified UDP Connection
4.7.3 UDP with Broadcast and Multicast
When to Use Multicast instead of Broadcast?
Why Does an S7-CP Prevent Reception on Broadcast Connections?
Addresses Tab Connection to all Broadcast Nodes
Addresses Tab Connection to all Multicast Nodes
4.7.4 Checking the Properties of a UDP Connection
4.7.5 Free UDP Connection
Program-Controlled Addressing
4.8 FETCH/WRITE Mode
FETCH/WRITE
Connection Types
Configuration
Page
S7 Addressing Mode Option
System Memory
Links to Other Systems
Messages in the Diagnostic Buffer
4.9 Routing to Distribute Load
Routing to Distribute Load
144
Parameter Description
-
Programmed Communication Connections
5.1 Overview
Area of Application
Interplay between Programming and Configuration
Configuration Limits
Special Features / Restrictions
5.2 Procedure
Setting up Connections and Using Them in the User Program
5.3 Configuration Data Block
Block and Data Structure
150
5.4 Parameter Field for System Data (CP Networking)
SIMATIC NET NCM S7 for Industrial Ethernet Release 6/2003 C79000G8976C12907
Example
Address Name Type Initial Value Comment
5.5 Parameter Fields for Connection Types
General
Connection ID
5.5.1 Parameter Field for TCP Connection
154
5.5.2 Parameter Field for a UDP Connection
5.5.3 Parameter Field for an ISO-on-TCP Connection
156
5.5.4 Parameter Field for an E-Mail Connection
Mail server ports are well-known ports and do not need to be specified.
5.5.5 Parameter field for FTP connection
5.6 Subfield types
Example
In total, the following subfield types are available:
Page
-
Page
Programming FCs (Functions) and FBs for S7 Ethernet CPs
164
6.1 General Notes on FCs / FBs
Block Library
Which Block Version Should I Use?
FCs and Module Replacement (Spares)
S
6.2 Setting Parameters for FC Calls
Calling Communication Blocks for an S7-300
6.2.1 Parameters for CP and Connection Assignment (input parameters)
Setting Block Parameters Automatically
Response to Incorrect Addresses
6.2.2 Parameters for Specifying a CPU Data Area (input parameters)
Specifying the Data Area on the CPU
6.2.3 Status Information (output parameters)
Evaluating Status Codes
Status Codes during CP Startup
6.3 FCs for the SEND/RECEIVE Interface
Specifying the Data Area on the CPU
Working without the Job Header
Working with the Job Header
6.3.1 FC5 AG_SEND / FC50 AG_LSEND
Page
Page
Page
Page
Parameter RemarksPossible Values
TypeDeclara- tion
S
For further information, see /1/
S
180
DONE ERROR STATUS Meaning
Page
Example of AG_SEND
Page
6.3.2 FC6 AG_RECV / FC60 AG_LRECV
Page
Page
Page
188
Values Remarks
S
190
NDR MeaningSTATUSERROR
6.4 FCs for Access Coordination with FETCH/WRITE
Caution when Configuring
Page
6.4.1 FC7 AG_LOCK
Page
6.4.2 FC8 AG_UNLOCK
Page
6.5 FB55 IP_CONFIG for Programmed Communication Connections
How It Works
S
Values Remarks
200
DONE ERROR STATUS Meaning
Page
Page
6.6 Numeric Data / Resource Requirements of the FCs
Page
NCM S7 Diagnostics
7.1 Overview
Diagnostic Options in STEP 7
What You Should Already Know
Where to Find Further Information
7.2 Functions of NCM S7 Diagnostics
Functions
General diagnostic and statistical functions
Mode-Dependent Functions
7.2.1 Installing and Starting NCM S7 Diagnostics
S
Operation
210
7.2.2 General Menu Commands
Menu Meaning
S S S
S
7.3 Starting Diagnostics
7.3.1 Establishing a Connection to the Ethernet CP
Ways of Starting Diagnostics
7.3.2 Starting Diagnostics from the CP Properties Dialog
7.3.3 Starting Diagnostics from the Windows Start Menu
Examples of an Online Path without Gateway
7.3.4 Using a Gateway
Case a: One gateway
216
Case b: Several Gateways
7.3.5 Using the PC Station Setting a Gateway with PC internal
7.3.6 Other Ways of Starting Diagnostics
Starting in the properties dialog of the connections:
Starting in the hardware configuration tool HW Config:
7.4 How to Use Diagnostics
220
7.5 Starting Diagnostic Functions Explicitly
The following table shows the diagnostic options that exist in the available functions.
S
7.6 Checklist for Typical Problems in a System
Note
7.6.1 Checklist for General CP Functions
Problem Possible Cause Identifying the Cause and Remedy
224
7.6.2 Communication Connections Checklist
-
Problem Possible Cause Identifying the Cause and Remedy
Firmware Loader
8.1 Application
Firmware
Uses of the Firmware Loader
Load Files
Working with the Firmware Loader
8.2 Loading Firmware
Starting the Download
Page
A
References
/2/
/6/
/7/
/8/
/9/
/10/
Page
/19/
/20/
/21/
Order Numbers
Page
B.1 General Section
Page
Page
Page
B.2 Industrial Ethernet
Base address
Ind. Ethernet station
ISO-on-TCP
Page
TCP/IP UDP
B.3 PROFInet
Page
Page
C
a) Structure of WRITE Frames
a) Structure of FETCH Frames
Linking to Other Systems with FETCH/WRITE
246
Parameter Values
Linking to Other Systems with FETCH/WRITE
PI/PQ C T
Page
D
Document History
New in release 06 / STEP 7 V5.2
New in Release 05 / STEP 7 V5.1 SP3
New in Release 04 / up to STEP 7 V5.1 SP2
Page
A
B
C
D
E
J
M
N
O
P
T
U
A&D Technical Support
Worldwide, available 24 hours a day:
Service & Support on the Internet