Siemens
S7
appendix
Install
Default Setting
Symbols used in this Manual
Configuration and Diagnostics
Known Problems
Diagnostics Tab
Network Access
Setting Up Connections
General Menu Commands
Procedure
Page 72
SIMATIC NET NCM S7 for Industrial Ethernet
C79000-G8976-C129–06
Page 71
Page 73
Image 72
Page 71
Page 73
Contents
Simatic NET
Classification of Safety-Related Notices
Safety Instructions Regarding your Product
Trademarks
Qualified Personnel
Correct Usage of Hardware Products
Prior to Startup
Copyright E Siemens AG 2001-2002All rights reserved
Communication services with / NCM S7
S7-CP and / NCM S7
Manual
Primer
Symbols used in this Manual
Audience
Scope of this Manual
Title Content
NCM S7 for Industrial
Ethernet
Manual
Additional Information on Simatic S7 and Step
Topic Document
Access to Online Help of and NCM S7
Conventions
Contents
Programming FCs Functions and FBs for S7 Ethernet CPs 141
175
191
197
201
211
Communication via Ethernet CPs in S7 Stations
Network Access
Industrial Ethernet
Definition
All-Round Communication in the Industrial Sector
Simatic S7 Communication with S7 Ethernet CPs
Types of Communication
PG/OP communication
S7 communication
S5-compatible communication with SEND/RECEIVE interface
PROFInet communication
Html process control
File management and file access with FTP
Possibilities for Communication between Device Types
Configuration and Diagnostics
PG/OP Communication via Industrial Ethernet
Application
Configuration for PG/OP Operation
Isdn
PG Communication with over Industrial Ethernet
Requirements for PG Communication
Networking the PG / Engineering Station
Procedure
Requirements
S7 Communication on Industrial Ethernet
Nodes
Client and server functionality at both ends
Profibus
Configuring S7 Connections
Interface in the User Program of the S7 Station
Block type Client Server Described
Communication via Ethernet CPs in S7 Stations
S5-compatible Communication SEND/RECEIVE Interface1
ISO Transport Connection
IP Internet Protocol
SEND/RECEIVE interface
Stations
WAN
FETCH/WRITE Services Server
Coordinating Access Using the User Program
Connection Types
Configuring
Networking Stations with Step
Networking in a Multiproject
Tools
Variant examples Characteristics/Configuration
Variants
Configuration of the System
Network/Project Variant One Subnet One Project
View in a Project
Simatic S5
Network/Project Variant Two or More Subnets One Project
Network/Project Variant One Subnet More Than One SubProject
Organization in a Multiproject
Possibilities for stations outside the current project
Merging projects in the multiproject
Cell level = subproject
Communication via Ethernet CPs in S7 Stations
Network/Project Variant Connections between Subnets TCP/IP
Communication via Ethernet CPs in S7 Stations
Installing and Starting the Ethernet CP With Step
Installation
Functions
Operation
Procedure
Configuration data in the project
UDP
Creating an Industrial Ethernet Subnet
Aims
Select Insert Subnet Industrial Ethernet
Properties of Merged Subnets Multiproject
Installing and Starting the Ethernet CP with Step
Entering an Ethernet CP in the Hardware Configuration
Subnet Attachment
Installing and Starting the Ethernet CP with Step
Installing and Starting the Ethernet CP with Step
Displaying the Network Attachments of a Station
Graphic Overview in NetPro
Overview in Table Form
Result
Setting Further CP Properties
Overview
Addresses Tab
Options Tab
Option Meaning / Effect
CPU
Default Setting
Time-of-Day Synchronization Tab
Diagnostics Tab
Addressing Tab
Substitute Objects in the Project
Plant Production
S7-400/2
Non-Siemen Device Ethernet subnet S7-400/3
Project With Substitute Objects Configured
Attaching Non-S7 Stations to the Subnet
Selecting the Subnet Type for Other Station Example
Configuring Communication Services
Setting Up Connections
Assigning Addresses for the First Time Applies to Latest CPs
Assigning the Address Options and Recommendations
Select the menu command PLC Assign Ethernet Address
Installing and Starting the Ethernet CP with Step
Alternative Procedure
Installing and Starting the Ethernet CP with Step
Downloading the Configuration Data to the Target System
Principle
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
Page
SEND/RECEIVE Interface in the User Program
How the SEND/RECEIVE Interface Works on the CPU
Functions FCs
Amounts of Data
Ethernet CP
Programming the SEND/RECEIVE Interface
Principle of Job and Data Transfer
Purpose of the FCs
Programming Connections
Calling FCs in the CPU Program
Agsend Agrecv
SEND/RECEIVE Interface in the User Program
Data Exchange S7 CPU Ethernet CP
FC Calls Faster than the Transmission Time
FC Calls Slower than the Transmission Time
SEND/RECEIVE Interface in the User Program
Special Features
Additional Information
Programming Data Transfer on TCP Connections
Purpose of TCP Connections
Known Problems
Recommendations for Use with a High Communications Load
Remedy
SEND/RECEIVE Interface in the User Program
Configuring Communication Connections
Configuring
Steps
Programming
Program the SEND/RECEIVE interface in the user program
Possible Connection Configurations
Simatic S5
Organization in a Multiproject
Characteristics of a Connection
Connections
Tasks of the Ethernet CP
Requirements for Configuring Connections
Creating a New Connection
New Connection
Configuring Communication Connections
Configuring Communication Connections
Connections to Non-S7 Stations using Substitute Objects
Connections to Partners in Other Projects
Handling Connections in a Multiproject
Unspecified Connections
By any partner via specific Tsap Empty
To or by a specific partner
Configuring Communication Connections
Further Functions
Toolbar
Print Function in the Overview Tab
Connections Without Assignment
Assignment to a CP
Menu option Edit Connection
Partner
Display Example
Remain without assignment Connection Partner
Configuring ISO Transport Connections
Introduction
Opening the Dialog
Tabs
Specifying the Local Connection Endpoint
General Tab
Attributes Description Access Local Endpoint
Connection Name Reference Only in Multiproject
Block Parameters
Laddr
Specifying ISO Transport Addresses
Address Parameters
Tsap
Tsap MAC
Tsap Format
Local and Remote TSAPs
Default TSAPs
Addresses Tab Unspecified ISO transport connection
Attributes Description Access Connection Establishment
Specifying ISO Transport Dynamic Properties
Dynamics Tab
Data Transfer
Attributes Description Access
ISO Transport with the FETCH/WRITE Mode
Using Fetch Passive / Write Passive
Messages in the Diagnostic Buffer
System Memory
Links to Other Systems
Checking ISO Transport Connection Properties
Overview Tab
Connection Overview with Multiple CPUs in an S7 Station
Parameter Description
Configuring ISO-on-TCP Connections Properties
Specifying the Local Connection Endpoint
Parameter Description Access Local Endpoint
Specifying ISO-on-TCP Addresses
Address parameter
Addresses Tab
Addresses Tab Unspecified ISO-on-TCP Connection
ISO-on-TCP with the FETCH/WRITE Mode
117
Checking ISO-on-TCP Connection Properties
Configuring TCP Connection Properties
Specifying the Local Connection Endpoint
121
Specifying TCP Addresses
Address Parameters and Connection Types
TCP
Addresses Tab Specified TCP Connection
Ports
Application / Note Port Addresses
Addresses Tab Unspecified TCP Connection
TCP with the FETCH/WRITE Mode
System Memory
Checking TCP Connection Properties
Configuring UDP Connection Properties
Specifying the Local Connection Endpoint
Connection Name Reference Only in Multiproject
Specifying UDP Addresses
23 Sending and Receiving on One UDP Connection
Addresses Tab Specified UDP Connections
Addresses Tab Unspecified UDP Connection
When to Use Multicast instead of Broadcast ?
UDP with Broadcast and Multicast
135
Addresses Tab Connection to all Broadcast Nodes
Addresses Tab Connection to all Multicast Nodes
Checking the Properties of a UDP Connection
Free UDP Connection
Program-Controlled Addressing
Routing to Distribute Load
Routing to Distribute Load
Programming FCs Functions and FBs for S7 Ethernet CPs
General Notes on FCs / FBs
Block Library
FCs and Module Replacement Spares
Which Block Version Should I Use?
Programming FCs Functions and FBs for S7 Ethernet CPs
Setting Parameters for FC Calls
Calling Communication Blocks for an S7-300
Setting Block Parameters Automatically1
Response to Incorrect Addresses
Cause Reaction / Code
Parameters for Specifying a CPU Data Area input parameters
Status Information output parameters
Specifying the Data Area on the CPU
Evaluating Status Codes
FCs for Configured Connections
Can be used with Meaning
Aglsend / Aglrecv
Working without the Job Header
Working with the Job Header
8EH 0BH
Meaning of the Block
Call
Agsend / Aglsend
How the Block Works
Time
Explanation of the Formal Parameters
Parameter Declara Type Possible Remarks Tion Values
Condition Codes
On ISO
Transport
On UDP
Done Error Status
8F3AH
8F7FH
Example of Agsend
BEU
160
2 FC6 Agrecv / FC60 Aglrecv
Agrecv / Aglrecv
Programming FCs Functions and FBs for S7 Ethernet CPs
Status code is updated at each block call
Recv Input ANY
NDR Output Bool
Status Output Word
NDR Error Status
LEN Output INT
166
FCs for Access Coordination with FETCH/WRITE
Locks external data access
Access with FETCH/WRITE
With FETCH/WRITE
Aglock FETCH/WRITE
Locked = Aglock FETCH/WRITE
1 FC7 Aglock
Locked Output Bool
2 FC8 Agunlock
172
Numeric Data / Resource Requirements of the FCs
Name
MC7
174
NCM S7 Diagnostics
Diagnostic Options in Step
Where to Find Further Information
Overview
What You Should Already Know
Functions of NCM S7 Diagnostics
General diagnostic and statistical functions
Mode-Dependent Functions
Installing and Starting NCM S7 Diagnostics
Alternative
Structure
General Menu Commands
Menu Meaning
OptionsCustomize
181
Starting Diagnostics from the NCM Program Group
Initial Situation
MPI
Profibus
Starting Diagnostics from the Properties Dialog of the CP
Internetworking
TCP/IP
Other Startup Options
How to Use Diagnostics
If the CP is in the RUN mode
Call-Specific Diagnostic Functions
187
Checklist for ‘Typical Problems‘ in a System
Meaning
Checklist for General CP Functions
Problem Possible Cause Identifying the Cause and Remedy
Communication Connections Checklist
Evaluate diagnostic buffer
Check the user program
Evaluate status bytes in AG-SEND
Firmware Loader
Application
Firmware
Uses of the Firmware Loader
Load Files
NCM S7 Firmware Loader menu command
Loading Firmware
Starting the Download
1st Step
2nd Step
3rd Step
195
196
References
References
Sinec CP
Order Numbers
Glossary
General Section
Gateway
Industrial Ethernet
Multicast
NCM S7 for Industrial Ethernet
Services
PROFInet
Protocol
Segment
Subnet
System
Transmission rate
Transport layer
Base address
Ind. Ethernet station
ISO-on-TCP
Media Access Control MAC
MAC address
RFC1006
S5S5 connection
PROFInet
Profibus device
PROFInet
PROFInet device
PROFInet device, proxy
Page
FETCH/WRITE
Structure of Write Frames
Structure of Fetch Frames
Parameter Values
S7 Address Area
ORG ID
Dbnr
PI/PQ
Address Area
216
New in Release 05 / V5.1 SP3
New in Release 04 / up to V5.1 SP2
Page
Index-223
NCM S7
Technical Support
Service & Support on the Internet
Related manuals
Manual
21 pages
33.88 Kb
Top
Page
Image
Contents