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 218
SIMATIC NET NCM S7 for Industrial Ethernet
C79000-G8976-C129–06
Page 217
Page 219
Image 218
Page 217
Page 219
Contents
Simatic NET
Classification of Safety-Related Notices
Qualified Personnel
Safety Instructions Regarding your Product
Trademarks
Correct Usage of Hardware Products
Prior to Startup
Copyright E Siemens AG 2001-2002All rights reserved
Manual
Communication services with / NCM S7
S7-CP and / NCM S7
Primer
Scope of this Manual
Symbols used in this Manual
Audience
Ethernet
Title Content
NCM S7 for Industrial
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
201
191
197
211
Communication via Ethernet CPs in S7 Stations
Definition
Network Access
Industrial Ethernet
All-Round Communication in the Industrial Sector
PG/OP communication
Simatic S7 Communication with S7 Ethernet CPs
Types of Communication
PROFInet communication
S7 communication
S5-compatible communication with SEND/RECEIVE interface
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
Networking the PG / Engineering Station
PG Communication with over Industrial Ethernet
Requirements for PG Communication
Procedure
Requirements
Client and server functionality at both ends
S7 Communication on Industrial Ethernet
Nodes
Profibus
Block type Client Server Described
Configuring S7 Connections
Interface in the User Program of the S7 Station
Communication via Ethernet CPs in S7 Stations
S5-compatible Communication SEND/RECEIVE Interface1
ISO Transport Connection
IP Internet Protocol
SEND/RECEIVE interface
Stations
WAN
Connection Types
FETCH/WRITE Services Server
Coordinating Access Using the User Program
Networking in a Multiproject
Configuring
Networking Stations with Step
Tools
Variant examples Characteristics/Configuration
Variants
View in a Project
Configuration of the System
Network/Project Variant One Subnet One 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
Operation
Installation
Functions
UDP
Procedure
Configuration data in the project
Select Insert Subnet Industrial Ethernet
Creating an Industrial Ethernet Subnet
Aims
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
Addresses Tab
Setting Further CP Properties
Overview
Options Tab
Option Meaning / Effect
CPU
Default Setting
Time-of-Day Synchronization Tab
Diagnostics Tab
Addressing Tab
S7-400/2
Substitute Objects in the Project
Plant Production
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
Type of Interface
Downloading the Configuration Data to the Target System
Principle
Downloading the Configured Connections
Deactivating the MAC Address in the Configuration
Saving the Configuration Data in Non-Volatile Memory
Relocating the CP in the Hardware Configuration
Page
SEND/RECEIVE Interface in the User Program
Amounts of Data
How the SEND/RECEIVE Interface Works on the CPU
Functions FCs
Ethernet CP
Purpose of the FCs
Programming the SEND/RECEIVE Interface
Principle of Job and Data Transfer
Programming Connections
Calling FCs in the CPU Program
Agsend Agrecv
SEND/RECEIVE Interface in the User Program
FC Calls Slower than the Transmission Time
Data Exchange S7 CPU Ethernet CP
FC Calls Faster than the Transmission Time
SEND/RECEIVE Interface in the User Program
Programming Data Transfer on TCP Connections
Special Features
Additional Information
Purpose of TCP Connections
Remedy
Known Problems
Recommendations for Use with a High Communications Load
SEND/RECEIVE Interface in the User Program
Configuring Communication Connections
Programming
Configuring
Steps
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
Handling Connections in a Multiproject
Connections to Non-S7 Stations using Substitute Objects
Connections to Partners in Other Projects
To or by a specific partner
Unspecified Connections
By any partner via specific Tsap Empty
Configuring Communication Connections
Print Function in the Overview Tab
Further Functions
Toolbar
Menu option Edit Connection
Connections Without Assignment
Assignment to a CP
Partner
Display Example
Remain without assignment Connection Partner
Opening the Dialog
Configuring ISO Transport Connections
Introduction
Tabs
Specifying the Local Connection Endpoint
General Tab
Block Parameters
Attributes Description Access Local Endpoint
Connection Name Reference Only in Multiproject
Laddr
Tsap
Specifying ISO Transport Addresses
Address Parameters
Tsap MAC
Tsap Format
Local and Remote TSAPs
Default TSAPs
Addresses Tab Unspecified ISO transport connection
Dynamics Tab
Attributes Description Access Connection Establishment
Specifying ISO Transport Dynamic Properties
Data Transfer
Attributes Description Access
ISO Transport with the FETCH/WRITE Mode
Using Fetch Passive / Write Passive
Links to Other Systems
Messages in the Diagnostic Buffer
System Memory
Connection Overview with Multiple CPUs in an S7 Station
Checking ISO Transport Connection Properties
Overview Tab
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
TCP
Specifying TCP Addresses
Address Parameters and Connection Types
Application / Note Port Addresses
Addresses Tab Specified TCP Connection
Ports
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
Cause Reaction / Code
Setting Block Parameters Automatically1
Response to Incorrect Addresses
Specifying the Data Area on the CPU
Parameters for Specifying a CPU Data Area input parameters
Status Information output parameters
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
Agsend / Aglsend
Meaning of the Block
Call
How the Block Works
Time
Explanation of the Formal Parameters
Parameter Declara Type Possible Remarks Tion Values
Transport
Condition Codes
On ISO
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
Status Output Word
Recv Input ANY
NDR Output Bool
NDR Error Status
LEN Output INT
166
Access with FETCH/WRITE
FCs for Access Coordination with FETCH/WRITE
Locks external data access
With FETCH/WRITE
Aglock FETCH/WRITE
Locked = Aglock FETCH/WRITE
1 FC7 Aglock
Locked Output Bool
2 FC8 Agunlock
172
MC7
Numeric Data / Resource Requirements of the FCs
Name
174
NCM S7 Diagnostics
Overview
Diagnostic Options in Step
Where to Find Further Information
What You Should Already Know
Mode-Dependent Functions
Functions of NCM S7 Diagnostics
General diagnostic and statistical functions
Installing and Starting NCM S7 Diagnostics
Alternative
Structure
OptionsCustomize
General Menu Commands
Menu Meaning
181
MPI
Starting Diagnostics from the NCM Program Group
Initial Situation
Profibus
TCP/IP
Starting Diagnostics from the Properties Dialog of the CP
Internetworking
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
Check the user program
Communication Connections Checklist
Evaluate diagnostic buffer
Evaluate status bytes in AG-SEND
Firmware Loader
Uses of the Firmware Loader
Application
Firmware
Load Files
Starting the Download
NCM S7 Firmware Loader menu command
Loading Firmware
1st Step
2nd Step
3rd Step
195
196
References
References
Sinec CP
Order Numbers
Glossary
General Section
Multicast
Gateway
Industrial Ethernet
NCM S7 for Industrial Ethernet
Protocol
Services
PROFInet
Segment
Transmission rate
Subnet
System
Transport layer
ISO-on-TCP
Base address
Ind. Ethernet station
RFC1006
Media Access Control MAC
MAC address
S5S5 connection
PROFInet
PROFInet device
Profibus device
PROFInet
PROFInet device, proxy
Page
FETCH/WRITE
Structure of Write Frames
Structure of Fetch Frames
ORG ID
Parameter Values
S7 Address Area
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