Sunteți pe pagina 1din 293

Industrial Group

Training Center
Power Plant Course-Level 1

IndustrialNetwork

Oct2007Rev.1

Page 1 of 293
1. SIMATIC NET Profibus

2. Integrated Profibus Interface

3. Configuring FDL Connections

4. Introduction to SIMATIC NET Industrial


Ethernet

5. Communication Facilities provided by


SIMATIC S7 with an Ethernet CP
SIMATIC Net 6. Types of Network / Project

7. Configuring the CP
Industrial Networks
8. Programming with the SEND/RECEIVE
Interface

9. Profibus Active Components

10. Industrial Ethernet Active Components

Page 2 of 293
PROCESS FIELD BUS

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.1

Contents:
Basic Properties of PROFIBUS........................................................................................... 2
Access Procedure ............................................................................................................... 3
PROFIBUS Profiles FMS and DP ....................................................................................... 4
Communication with PROFIBUS-DP ..................................................................................5
Communication with PROFIBUS-FMS ............................................................................... 7
FMS, the PROFIBUS User Interface .................................................................................. 8
Combimaster Operation ......................................................................................................9
Segment Configuration ....................................................................................................... 10
Range of a Network Segment (Two-Wire Cable) ............................................................... 11
SIMATIC NET PROFIBUS: FO (Fiber Optic) .....................................................................12
SIMATIC NET PROFIBUS Properties: FO OLM .............................................................. 13
SIMATIC NET PROFIBUS: FO OLM - Bus Configuration ................................................. 16
SIMATIC NET PROFIBUS: FO OLM - Double Ring Configuration ................................... 17
SIMATIC NET PROFIBUS: FO OLM/S-1300 .................................................................... 18

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 3 of 293
page 1
The PROFIBUS PROCESS FIELD BUS

Fieldbus system for the lower and mid performance range,


according to DIN 19245
Transfer medium:
Shielded, twisted two-wire cable
Glass or plastic fiber-optic cable

Access procedure: token passing with master/slave


Transmission speed 9.6 Kbit/s to 12 Mbit/s
Length:
Up to 9 km with a two-wire cable,
Up to 90 km with glass fiber-optic cable
Maximum of 127 nodes

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.2

Basic Properties of PROFIBUS


PROFIBUS specifies the technical and functional characteristics of a serial fieldbus
system with which the distributed, digital field programmable logic controllers in the lower
(sensor/actuator level) to the middle performance range (cell level) can be networked.
PROFIBUS differentiates between master devices and slave devices.

Master Devices Master devices take the initiative in data traffic on the bus. A master may send messages
without an external request, if it has authorization to access the bus (token). Masters are
also designated as active nodes in the PROFIBUS protocol.

Slave Devices Slave devices are simple input/output devices I/Os. Typical slave devices are sensors,
actuators, and transducers. Slave devices do not receive bus access authorization. Slave
devices may only acknowledge messages received or send messages to a master upon
request. Slaves are also referred to as passive nodes. Slaves require only a small part of
the bus protocol. This makes it particularly uncomplicated to implement the bus protocol.

Transmission Closed-circuit transmission according to the US Standard EIA RS-485 was


Method specified as the basic version for applications in the area of production engineering,
building services management systems, and drives engineering. A twisted-pair cable
with copper conductors is used.
Fiber-optic cables are used in environments heavily prone to interference, as well as for
increasing the range at high transmission speeds. Glass and plastic fiber-optic cables are
available.
Instrinsically safe transmission is possible with PROFIBUS-PA and the provision of the
power supply to the nodes via the bus. The transmission technology is described in the
IEC 1158-2 international standard.

Transmission Speed 9.6 - 19.2 - 93.75 - 187.5 - 500 - 1500 Kbit/s , 3 - 6 - 12Mbit/s adjustable in steps.

Max. Bus Length 100m at 12Mbit/s, 200m at 1500 Kbit/s, 1200m at 93.75 Kbit/s

Max. Nodes 127 (addresses 0-126)

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 4 of 293
page 2
PROCESS FIELD BUS

The PROFIBUS
Access Procedure
(1)

(2)

Token passing between active nodes (1)

Master-slave between active and passive nodes (2)

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.3

PROFIBUS Data The Data Link Layer implements the function of bus access control, data protection,
Link Layer handling the transmission protocols, and the message frames. The Data Link Layer
(Layer 2) is referred to as a Fieldbus Data Link (FDL) in PROFIBUS.

Bus Access Control The bus access control system specifies the procedure which determines the time when a
bus node (station) can send data. The bus access control system must ensure that only
one node has send authorization at a given time.

Bus Access Control Two significant requirements were taken into consideration for the PROFIBUS
Requirements protocol: On the one hand, for communication between complex, programmable logic
controllers of equal status (Masters) it must be ensured that each node has sufficient
opportunity to carry out its communication tasks within a defined timebase.
On the other hand, cyclic data exchange with as few requirements as possible must be
implemented for communication between a complex programmable logic controller and
the simple I/O devices assigned to it (Slaves).

Token Passing The token passing procedure guarantees the allocation of the bus access
Procedure authorization (the Token) within a set time. The token frame, a special message frame for
transferring the send authorization from one master to the next master, must be passed to
all masters once in sequence within a (parameter-assignable) maximum token rotation
time. The token passing procedure is used only between complex nodes (masters) in
PROFIBUS.

Master-Slave The master-slave procedure makes it possible for the master (active node), currently
Procedure in possession of the send authorization, to address the slave devices (passive nodes)
assigned to this master. The master can send messages to the slaves or fetch messages
from the slaves.

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 5 of 293
page 3
PROCESS FIELD BUS

The PROFIBUS

Profiles for All Field Area Applications:

PROFIBUS-FMS

FMS interface for universal communication tasks in the field area


(DIN 19245 T.2)

PROFIBUS-DP

For fast communication with distributed I/Os


(PROFIBUS DP, DIN E 19245, Part 3)

DP Distributed I/Os
FMS Fieldbus Message Specification

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.4

The PROFIBUS Profiles

PROFIBUS-FMS PROFIBUS-FMS makes it possible for programmable logic controllers to communicate


with each other and to communicate with intelligent field devices. For FMS (Fieldbus
Message Specification), the possible functionality is more important than a short system
reaction time. In many application cases, data exchange is primarily acyclic because of
the demands of the user process.
For PROFIBUS -FMS, logical addressing is specified as the preferred method for
addressing the communications objects.
Access to the communications objects is by means of a short address, called the Index.

PROFIBUS-DP PROFIBUS-DP was conceived for fast data exchange at the sensor-actuator level. Central
control devices (such as programmable logic controllers) communicate here by means of
a fast, serial connection with distributed input and output devices. Data exchange with
these devices primarily takes place cyclically.
The central controller (master) reads the input information from the slaves and writes the
output information to the slaves.
The bus cycle time must be shorter than the program cycle time of the central controller.

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 6 of 293
page 4
PROCESS FIELD BUS

The PROFIBUS
Communication with PROFIBUS DP

Connecting I/O devices to a


such as programmable logic controller
Master SIMATIC S7 Fast transmission of small
with CPU 315-2 amounts of data because of
Cyclic master/slave
communication

Slave Slave ... Slave




Mono-master operation
Interface with reduced protocol

Data exchange in two frames:


for example, SIMATIC ET 200, drives,
valve islands, etc. Master sends data to the slave.
Slave replies with data.

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.5

PROFIBUS-DP Mono-master or Multimaster systems can be implemented with PROFIBUS-DP. This


makes system configuration extremely flexible. A maximum of 126 devices (masters or
slaves) can be connected to a bus.

System ConfigurationThe specifications for the system configuration consist of the number of stations, the
assignment of the station address to the I/O addresses, data consistency in the I/O data,
diagnostics message format, and the bus parameters used.

Device Types Each PROFIBUS-DP system consists of different types of devices. Three device types
are differentiated, depending on the respective task definition:

DP Master Class 1 This is a central controller that exchanges information with the distributed stations (DP
slaves) in a specified message cycle. Typical devices, for example, are programmable
logic controllers (PLC), computerized numeric controls (CNC), or robotic controls (RC).

DP Master Class 2 Devices of this type are programming devices, configuring devices, or diagnostics
devices. These devices are used during start-up to create the configuration of the DP
system.

DP Slaves A DP slave is an I/O device (sensor/actuator) that reads in input information from and
outputs output information to the process.
The amount of input information and output information depends on the device.

Mono-Master System There is only one active master on the bus in this system configuration. The shortest bus
cycle time is attained with this operating mode.

Multi-Master System There are several masters, such as additional configuring devices and diagnostics
devices, or several subsystems independent of each other, on a bus.

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 7 of 293
page 5
PROCESS FIELD BUS

The PROFIBUS
PROFIBUS DP

Interface for fast, cyclic communication with field devices

Data transmission rate up to 12 Mbit/s

Measured bus reaction time for 10 ET200 stations


with 32 I/Os each: 0.35 ms

PROFIBUS-DP standardized as DIN 19245, Part 3

For less exacting response time requirements, operation of


DP and FMS devices on one bus system possible

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.6

Data Exchange DP Master1 (DPM1) handles data exchange between itself and the DP slaves assigned to
it automatically in a specified, constantly recurring sequence. During bus system
configuration, the user specifies that a DP slave belongs to DPM1.

Data Traffic Phases Data traffic between DPM1 and the DP slaves is divided into the parameter assignment
phase, the configuring phase, and the data transfer phase.

Before a DP slave can be included in the data transfer phase, DPM1 checks whether the
setpoint configuration coincides with the actual device configuration during the parameter
assignment and configuring phase.

The device type, format information, length information, and the number of inputs and
outputs must be in agreement during this check.

Combi Operation The common operation of PROFIBUS-FMS and PROFIBUS-DP components on one
DP/FMS bus is a particular advantage of PROFIBUS. Combi operation is possible for applications
with less exacting system response time requirements.

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 8 of 293
page 6
PROCESS FIELD BUS

The PROFIBUS

Communication with PROFIBUS FMS

for example, Connecting programmable logic


SIMATIC S7 with FMS-CP controllers with each other (cell
network)
Possible to connect field
Master Master Master devices

Transfer of larger amounts of


data

Multi-Master operation:
Slave Slave Send authorization passes from
one master to the other

Functionality, not response


time, is the primary emphasis!

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.7

PROFIBUS-FMS FMS (Fieldbus Message Specification) is a (protocol) language for message-oriented


communication. The FMS protocol standardizes not only the meaning of the message
(semantics), but also the data formats for the structure of the message (syntax).

FMS Communication FMS enables object-oriented communication. The following terms are significant for
Terminology understanding FMS communication:
Application association between two partners
Virtual field device (VFD)
Communications objects in the object list
Object access (for example, variables)
Services (Variable services)

Client-Server A client is an application process that accesses objects in the partner by means of.
Relationship requests.
A server is a service provider which makes the communications objects available to the
client.

Caution In principle, an application process can be both client and server.

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 9 of 293
page 7
PROCESS FIELD BUS

The PROFIBUS
FMS, the PROFIBUS User Interface
User services:
Variable Access
(reading and writing variables)
Program Invocation
(combining domains to form a program and controlling program
execution)
Domain Management
(loading logically connected memory areas: domains)
Event Management
(services for user-controlled interrupt processing)

Management services:
VFD Support (services providing information about the device)
Object list management (reading/writing the object list)
Context Management (establishing, clearing and cancelling a
connection)
VFD= Virtual Field Device

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.8

FMS Communication To enable universal application of the bus system, PROFIBUS-FMS specifies a very
wide function range.
The FMS services are divided into the following groups:
Context Managament Services make it possible to set up and end logical connections,
as well as to reject non-permissible services.
Variable Access Services make access to simple variables, records, arrays, and
variable lists possible.
Domain Management Services make it possible to transfer contiguous memory areas.
During the transfer, large amounts of data from the application process are subdivided
into segments.
Program Invocation Management Services make program control possible
(START,STOP, etc.)
Event Management Services make transfer of interrupt messages possible.
The VFD Support Services make identification and status scanning of a device
possible.
OL Management Services make reading and writing object lists possible.
Profiles It is necessary to coordinate the range of functions actually required with the concrete
requirements for the various application areas.
Application-specific specifications (profiles) make this selection.

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 10 of 293
page 8
PROCESS FIELD BUS

The PROFIBUS

Combimaster Operation
only S5
for example, FMS and DP interface
Combi- Combi- SIMATIC S7 in one master module:
FMS with
master master Transfer of larger amounts of data
FMS-CP between the masters with FMS
DP Connecting I/Os with DP

Reduction of hardware costs

DP Slave DP Slave ... DP Slave DP communication for non-time


critical applications only :

for example, SIMATIC ET 200, drives, Multimaster operation slows


valve islands, etc. down DP communication!

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.9

Mixed Operation The common operation of PROFIBUS-FMS and PROFIBUS-DP components on one bus
is a particular advantage PROFIBUS offers. Mixed operation of PROFIBUS-FMS and
PROFIBUS-DP components on one bus is possible and advisable for applications which
make less exacting demands on the system response time. Even the simultaneous
operation of both protocol versions in one device is possible.

Combimaster The communications processors (CP) with these two protocol versions are referred to as
combimasters.

Combislave Slave interfaces with these two protocol versions are called combislaves
(ET200U DP/FMS).

Device Variety The variety of devices is reduced, because the same device can be used either for fast,
cyclic data transfer with PROFIBUS-DP or with the powerful PROFIBUS-FMS services.

Task Division For example, the FMS services can be used for non-time critical parameter assignment
during commissioning, and the fast DP functions for the cyclic transfer of user data in the
operating phase of a closed-loop controller.

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 11 of 293
page 9
PROCESS FIELD BUS

The PROFIBUS

Segment Configuration

Twisted, shielded, two-wire cable

Repeater
Bus terminal
...
Bus connector

max. 1000 m (RS 485), max. 32 nodes

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.10

Electrical Network The basic version of PROFIBUS uses closed-circuit transmission, according to the EIA
RS-485 US standard. This version is used for applications in the area of production
engineering, building services management systems, and drives engineering.

Two-Wire Cable The electrical PROFIBUS network is a shielded, twisted, two-wire cable. The RS 485
interface works with voltage differential signals.

Noise Immunity This interface is particularly insensitive to interference.

Connection System The nodes are connected to the PROFIBUS bus system by means of a bus connector or a
bus terminal.

32 Nodes 32 bus nodes maximum can be connected per bus segment.

Segment Length The maximum segment length depends on the transmission speed.

Transmission Speed The transmission speed can be adjusted in steps from 9.6 Kbit/s to 1.5Mbit/s. Additional
transmission speeds of 3.6 and 12Mbits/s are possible for extremely time-critical DP
applications and shorter distances.

Repeater Individual segments are connected via repeaters.

12 Mbit Repeater Up to 9 repeater cascades are possible with the 12 Mbit repeater.

Segment Range 9.6-19.2-93.75 Kbit/s 1000m


187.5 Kbit/s 800m
500 Kbit/s 400m
1500 Kbit/s 200m
12000 Kbit/s 100m

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 12 of 293
page 10
PROCESS FIELD BUS

The PROFIBUS
Range of a Network Segment (Two-Wire Cable)

Data Rate Segment Length


(Kbit/s) with nodes (m)

9.6 1000

19.2 1000

93.75 1000

187.5 800

500 400

1500 200

3,6,12000 100

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.11

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 13 of 293
page 11
PROCESS FIELD BUS

The PROFIBUS
SIMATIC NET PROFIBUS: FO (Fiber Optic)

Modular network configuration

Star, bus, and ring structures with Optical Link Modules OLM

Glass fiber-optic cable


BFOC (ST) connection technique

Plastic fiber-optic cable


BFOC (ST) connection technique for OLM modules
HP Simplex connection technique for OLP modules

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.12

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 14 of 293
page 12
PROCESS FIELD BUS

The PROFIBUS
SIMATIC NET PROFIBUS Properties: FO OLM

Modules in block design with the following interfaces:


BFOC (ST) sockets (fiber-optic cable connection)
Terminal block with an integrated terminator
Sub-D socket (RS 485)

Optical star, bus, and ring configurations

Distance between two OLMs:


About 2850 m with glass fiber-optic cable
About 50 m with plastic fiber-optic cable
Up to 10 or 15 km with OLM/S-1300

Cascading
OLM = Optical Link Module

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.13

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 15 of 293
page 13
PROCESS FIELD BUS

The PROFIBUS
SIMATIC NET PROFIBUS Properties: FO OLM

Automatic identification and setting of the data


transmission speed (9.6 Kbit/s - 1.5 Mbit/s), (12 Mbit/s )

Control functions
Connectable echo function, continuous signal monitoring
Automatic network test during start-up
Operational signalling and error signalling

IP 40 degree of protection

Redundant 24V DC supply possible

OLM = Optical Link Module

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.14

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 16 of 293
page 14
PROCESS FIELD BUS

The PROFIBUS

SIMATIC NET PROFIBUS: FO OLM


SIMATIC S5-100U
PS 931

V O LT A G E
SE LE C TO R
230V

115/230V AC SIEME NS S IE MEN S SIEM ENS


24V DC 2A
SINEC L2FO OLM SINEC L2FO OLM SINEC L2FO OLM
6ES5 931-8MD11
C Powe r Pow er P owe r
1 2 3 4 5 6 CH 1 CH 2 CH 1 CH 2 CH 1 CH 2

CH 3 CH 4 CH 3 CH 4 CH 3 CH 4
L1
115/230V AC
N

CH 1 CH 1 CH 1

L+
24V DC
M A A A
CH 2 CH 2 CH 2
B B B

OLM = Optical Link Module

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.15

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 17 of 293
page 15
PROCESS FIELD BUS

The PROFIBUS
SIMATIC NET PROFIBUS: FO OLM - Bus
Configuration

OLM/S3 OLM/S4 OLM/S4 OLM/S3

CH 1 CH 1 CH 1 CH 1

CH 4 CH 3 CH 4 CH 3 CH 4
CH 2 CH 2 CH 2 CH 3
CH 2

OLM = Optical Link Module

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.16

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 18 of 293
page 16
The PROFIBUS PROCESS FIELD BUS

SIMATIC NET PROFIBUS: FO OLM - Double Ring


Configuration
OLM/S4 OLM/S4 OLM/S4 OLM/S4

CH 1 CH 1 CH 1 CH 1

CH 3 CH 4 CH 3 CH 4 CH 3 CH 4
CH 2 CH 2 CH 2 CH 3 CH 4
CH 2

Max. distances between two OLMs (max. 7 OLMs cascaded, max. 10 km ring circumference)

Trans. speed 9.6 - 187.5 500 1500 Kbit/s


Distance 2800 1600 500 m

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.17

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 19 of 293
page 17
PROCESS FIELD BUS

The PROFIBUS

SIMATIC NET PROFIBUS: FO OLM/S-1300

Modules for bridging greater distances

Max. 15 km with monomode fiber between two OLM/S-1300

Max. 10 km with graded-index optical waveguides 50 and


62.5 m between two OLM/S-1300
OLM/S3-1300 OLM/S4-1300 OLM/S3-1300

CH 3 CH 3 CH 3

max. 15 km max. 15 km

OLM = Optical Link Module

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7Kdp_Ov.18

Trainings-Center 7Kdp_Ov
for Automation and Drives Page 20 of 293
page 18
Integrated PROFIBUS Interface

PROFIBUS

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.1

Contents: Page
PROFIBUS
Interfaces.......................................................................................................... 2 Example
of a PROFIBUS Application ................................................................................. 3
Available DP
Slaves............................................................................................................. 4 Inserting
DP Slaves.............................................................................................................. 5
Assigning
Parameters to DP Slaves ................................................................................... 6 Placing
the Module for the Modular DP Slave..................................................................... 7
Activating the
PROFIBUS-DP-Application........................................................................... 8
Display Elements for PROFIBUS ...................................................................................... 9
Exercise 1: Outputting to a DP Slave.................................................................................9
Error/fault Analysis in OB86 when Slave Failure Occurs.....................................................12 Slave
diagnosis(1)............................................................................................................... 13 Slave
diagnosis(2)............................................................................................................... 14
Online diagnosis ............................................................................................................... 15
DP - Diagnosis blocks (1) .................................................................................................. 16
DP - Diagnosis blocks (2) ................................................................................................... 17
Exercise 2: Slave Diagnosis............................................................................................... 18
Writing
Consistent Data to DP Standard Slaves.................................................................. 20
Reading
Consistent Data from DP Standard Slaves........................................................... 21

Trainings-Center 7KdpInt
for Automation and Drives
Page 21 of 293
page 1
PROFIBUS Interfaces

DP- MASTER DP- MASTER DP- MASTER DP- MASTER


PS S7-300 S7 S7 PS S7-300 S7-300 S7 PS S7 S7 S7 PS S7 S7 S7
10A 400 10A 400
CPU CPU CP
315- 314 342- CPU CPU CP
2 DP 5 DP 414- 414- 443-
2 DP 1 5DP

PROFIBUS-DP DIN 19245 Part III

PS SIEMENS IM
(maximum
8 units)
ET200M
DP-Slave
IM
153-1
S7-300 S7-300

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.2

The S7-300 or S7-400 is connected to the PROFIBUS by means of communications modules or


CPUs with an integrated PROFIBUS master interface.

The CPUs with an integrated PROFIBUS master interface make is possible to have a distributed
programmable logic controller configuration with a high speed and easy handling.The distributed
peripheral is treated like a central peripheral from the users viewpoint, that is, the same configuring,
addressing, and programming.

Master S7-300 or S7-400 CPUs with an integrated PROFIBUS master interface


IM 467
IF964-DP (for M7)
CPs in conjunction with a CPU
SIMATIC S5

DP- Slaves ET 200 distributed peripheral devices


Drives (e.g. SIMODRIVE)
Intelligent slaves (e.g. CPU 315-2, CP 342-5)
additional Field devices (e.g. PROFIBUS Videosensor)
DP/AS-I Link

Trainings-Center 7KdpInt
for Automation and Drives
Page 22 of 293
page 2
Example of a PROFIBUS Application
SIMATIC S7-400
PG
PS S7 S7 S7
10A 400 Master
PG 720
CPU
414-
2 DP

MPI cable
PROFIBUS DP

SIMATIC S7-300 SIMATIC S7-400


PS S7- S7 S7 S7 S7 PS S7 S7 S7 S7 S7
300
10A 400 CP
CPU CP DP
315- STAND. 443-
342- CPU
2 DP SLAVE 5DP
5 DP 414-
2 DP
PROFIBUS DP
PROFIBUS DP

DP
STAND. DP
SLAVE STAND.
SLAVE

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.3

DP Standard Slave (Slaves according to DP standard EN 50170)


SIEMENS standard slaves are, for example, ET200L, ET200B, ET200C the S5-95U with
DP Slave-Interface, a S7-300 controller with a CP342-5 as slave;
DP/PLCInterface Link, Operator Panels OP5...OP45, IM328-N and IM329-N
for connecting the CNC Controller 840C to Profibus, PROFIBUS absolute value sensors
12bit single turn/24bit multi-turn, digital SIMOREG Converter
6RA24, SIMOVERT Master Drives , digital closed-loop control system SIMADYN D,
closed-loop process controller SIPART, identification system ASM-440 (MOBY-I and
MOBY-L), communications capible motor protection and control units SIMOCODE and
circuit breaker, TELEPERM M PLC systems.

CP 342-5DP, CP 443-5DP
The option software NCM S7 is requried for parameter assignment, commissioning and
test.

Trainings-Center 7KdpInt
for Automation and Drives
Page 23 of 293
page 3
Available DP- Slaves
consists of an interface module and
modules from the S7- 300 module spectrum

ET 200M

consists of an interface module and


modules from the S5 module spectrum
ET 200U

small, compact I/O devices with integrated


input and output channels
ET 200B ET 200L
is a small, compact I/O device in degree of
protection IP 66/ IP 67 with integrated input
and output channels
ET 200C

is a small, compact I/O device with


integrated input and output channels

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.4

Modular Slaves ET 200M


The ET200M consists of an interface module IM153-1 that is connected to an S7/M7-
PROFIBUS Master.
All S7-300 modules that respond via the P-Bus can be inserted in the
ET 200M. With the IM153-2 (coming soon) all S7-300 modules can be used in the
ET200M.
Maximum address space per ET 200M: each 128/128 bytes inputs/outputs
with a maximum of 12 Mbaud
Compact Slaves ET 200L and ET 200B
The ET 200L and ET 200B both consist of a terminal block and an electronic block. There
are electronic blocks with digital and analog channels. The ET 200L is used where few
inputs and outputs are required with baud rates up to 1.5 Mbaud.
The ET 200B is used where there is a limited mounting depth. The maximum baud rate is
12Mbaud.
Compact Slaves ET 200C
The compact ET 200C in the high degree of protection IP66/IP77 is, because of its robust
design, meant for the rough industrial operation. (Can also be used in the open). With a
maximum baud rate of up to 12Mbaud for digital inputs/outputs and up to 1.5 Mbaud for
analog inputs/outputs.
Compact Slaves ET 200X
The ET 200X is a compact I/O device in the high degree of protection
IP 66/IP 67 and consists of a basic module and expansion modules.

Intelligent Slaves for example, CP 342-5 or AG 95-L2 with slave functionality


Other Field Devices please see catalog ST PI for PROFIBUS
Field devices from Other Vendors
Other vendors devices with PROFIBUS connection according to EN 50 170.

Trainings-Center 7KdpInt
for Automation and Drives
Page 24 of 293
page 4
Inserting DP Slaves

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.5

Inserting DP Slaves
To nsert and configure DP slaves, proceed as follows:

1. Select a DP slave (e. g. ET 200M) from the Hardware Catalog window.


2. Drag the DP slave (e.g. IM 153) onto the symbol for a DP master system:
The dialog field Properties PROFIBUS Nodes is opened. Here you can set:
z properties of the PROFIBUS subnet (baudrate etc.)
z the PROFIBUS address of the DP slave

3. Acknowledge the settings with OK

A configuration table is attached to the symbol, that represents the I/O design of the DP
slave.

Trainings-Center 7KdpInt
for Automation and Drives
Page 25 of 293
page 5
Assigning Parameters to DP Slaves

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.6

You can read, enter, or change DP Slave parameters in the register "General".

Diagnostics Address In this field STEP 7 gives a default address for diagnostics, which you can also change. In
the case of a fault, an interrupt is signalled in the CPU giving this address. The CPU then
starts OB 86 Rack-/DP-Slave failure.

Nodes In "Nodes" you find the command button "PROFIBUS ...". If you have already assigned a
Profibus address to the module, then the Profibus address appears next to the command
button.
With this, the properties of the corresponding subnets can be changed, if necessary.

SYNC/FREEZE The Master sends the control command SYNC/FREEZE to a group of


Capability DP- Slaves and prevails upon these, to freeze the states of their outputs/inputs at the
momentary value.

Response With response monitoring, it is possible for the DP Slave to react to a fault
Monitoring from the DP-Master or to an interruption of the data exchange on the bus.

If the DP-Slave has no response within the configured response monitoring time, then it
goes into the secure state (all outputs are set to 0 or substitute value output).

Trainings-Center 7KdpInt
for Automation and Drives
Page 26 of 293
page 6
Placing the Module for the Modular DP Slave

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.7

With modular DP slaves, the possible modules in the window Hardware Catalog are
placed underneath the associated DP slave Family!

1. Select a module from the window Hardware Catalog.

2. Drag the module per Drag&Drop into the associated rack line
(Configuration table).

3. Repeat steps 1 and 2, until the rack is completely fitted with components.

I/O Addresses Every input /output is assigned exactly one address, via which the input/output responds.
This address is automatically assigned by STEP 7 (can naturally be changed) and is
entered in the configuration table under "I-Addr" or "Q-Addr" as well as "Length".

Trainings-Center 7KdpInt
for Automation and Drives
Page 27 of 293
page 7
Activating the PROFIBUS-DP-Application
e.g. CPU 315-2 DP
Slot for
SIEMENS Memory Card
SF SF DP
BATF BUSF
DC5V
FRCE
RUN
STOP

RUN-P 9-pole
RUN interfaces
o
STOP
Compartment for MRES
Backup Battery
or Accu

Connection for 24V


Power Supply M
L+
M X1-MPI X2-DP

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.8

Prerequisite: The PROFIBUS-DP-Network is assembled and configured with STEP7.

Procedure: Using the PG, download the configuration that was created with STEP7 into the CPU
(e.g.CPU 315-2 DP). The mode selector must be in the STOP position for this.
Switch on all DP-Slaves.
Switch the CPU from STOP to RUN.
CPU Behaviour During Start-up:
During start-up the CPU compares the set configuration with the actual configuration. The
duration of the comparison is set by you in the CPU Properties/Start-up.
If the set configuration = actual configuration, the CPU goes into RUN.
If the set configuration >< actual configuration, then the behaviour of the CPU depends on
the parameter setting "Start-up for set >< actual configuration" .
Start-up = yes: CPU goes into the RUN state.
Start-up = no: CPU remains in Stop. After the default monitoring time
has elapsed, the BUSF-LED flashes. This means that the
configuration differs from the set configuration or at least
one slave does not respond.

Trainings-Center 7KdpInt
for Automation and Drives
Page 28 of 293
page 8
Display Elements for PROFIBUS

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.9

This table describes the LEDs allocated to the PROFIBUS DP when the
CPU 315-2 DP has been configured as a DP - Master.

Trainings-Center 7KdpInt
for Automation and Drives
Page 29 of 293
page 9
Exercise 1:
Place the clock memory byte on the
ET 200M.

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.10

Trainings-Center 7KdpInt
for Automation and Drives
Page 30 of 293
page 10
Exercise 1: Output to the DP Slave

Step Procedure Result


1 Paramatrize a master system
corresponding to the actual Hardware
configuration.
2 Set parameters for the clock memory byte
in the CPU.
3 Write the command sequence in OB1 to The LEDs flash, and, hopefully, you are
place the clock memory byte on an enthusiastic.
ET 200 M output-byte.

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.11

Trainings-Center 7KdpInt
for Automation and Drives
Page 31 of 293
page 11
Error/fault Analysis in OB 86 when Slave Failure Occurs

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.12

The CPU operating system (CPU 315-2DP or S7-400) activates the OB86, if it recognizes the failure
of a rack, a subnet or a distributed I/O station not only in a coming but also a going event.
If you have not programmed the OB86 and such an error arises, the CPU goes into the STOP mode.

Meaning of the Variables in OB86

OB86_FLT_ID: B#16#C4 //DP-Station falled

OB86_FLT_ID: B#16#C5 //DP-Station faulted

OB86_MDL_ADDR: Logical base address of the DP-Master


(Diagnostics address)

OB86_ RACKS_FLTD: ==> Rename data type in :DWORD

Bit 0 to 7:
Contents:
!!
Number of the DP-Station (PROFIBUS-Address)
Bit 8 to 15: DP-Subnet-ID
Bit 16 to 30: Logical base address of theDP-Slave
(Diagnostics address)
Bit 31: I/O identifier

Trainings-Center 7KdpInt
for Automation and Drives
Page 32 of 293
page 12
Slave diagnosis(1)

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.13

Slave Diagnosis With SFC 13 "DPNRM_DG" (read diagnosis data of a DP slave), you read the diagnosis
data for a DP slave in the form specified by DIN 19245, Part 3, Profibus. After fault-free
data transfer, the read data are entered in the destination area set up by RECORD (OUT
2).
You start the read procedure by assigning 1 to the REQ (IN0) input parameter during the
SFC 13 call-up.

Trainings-Center 7KdpInt
for Automation and Drives
Page 33 of 293
page 13
Slave diagnosis(2)

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.14

Slave Diagnostics You can refer to the following table for the configuration of slave diagnostics
Configuration data in principle. Refer to the manuals for the DP slaves for additional information.

Slave Diagnostics Configuration, in Principle

Byte Significance

0 Station status 1
1 Station status 2
2 Station status 3
3 Master station number
4 Manufacturers ID (high byte)
5 Manufacturers ID (low byte)
6... Additional slave-specific diagnostics

Trainings-Center 7KdpInt
for Automation and Drives
Page 34 of 293
page 14
Online diagnosis

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.15

Diagnosis Hardware This button opens the accessible online station configuration. Information about the status
or operating mode of the module is displayed in the module symbol. F5 updates the
display.

For further information, doubleclick the button Module Information.

Trainings-Center 7KdpInt
for Automation and Drives
Page 35 of 293
page 15
DP - Diagnosis blocks (1)

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.16

Diagnosis Blocks For the diagnostic evaluation of a distributed configuration with PROFIBUS-DP and
SIMATIC S7, there are two different blocks available in the Internet for the user program:

z FB 99 is the correct solution, if detailed information about the failure or malfunction of


a bus node is necessary, for example, load voltage failure, wire break, which block
has failed with modular slaves, ...

z FC 99 is the simpler version and only evaluates the information "which bus node has
failed or malfunctioned. Detailed information cannot be displayed with this block.

Call in STEP 7 Both blocks are jointly offered as an archived Step 7 - Project as a self-extracting file
"diag_12.exe. A double-click results in the Project "Diag_12, which can be opened with
the SIMATIC Manager. Inserting the desired blocks into the respective user program is
then easily possible with "Copy.

Attention These blocks support all masters with the exception of CP 342-5.

Trainings-Center 7KdpInt
for Automation and Drives
Page 36 of 293
page 16
DP - Diagnosis blocks (2)

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.17

FB 99 The DP diagnosis block FB99 carrys out the detailed evaluation of a DP master system.
This block determines interrupt-driven, failed and malfunctioned DP slaves including the
cause of the malfunction. All interrupts are delayed during FB processing.

This call (including the same instance data block number and the same user current
address) must, in each case, be made in the organization blocks OB1, OB82 and OB86.
The sequence and the contents of the 20 byte temporary local data of the three
organization blocks may not be changed, can however be expanded at any time.

At the same time, up to 16 diagnostic messages can be evaluated via the OB82. If more
than 16 diagnostic messages are received at the same time, the DIAG_OVERFLOW bit
(diagnostic overflow) is set. The messages greater than 16 can no longer be evaluated. In
this case it is recommended that a RESET be performed so that the evaluation is re-
initialized.

FC 99 The DP diagnosis block FC99 carrys out the evaluation of a DP master system. This block
determines cyclically the failed or malfunctioned slaves. The use of this block is
recommended, in particular, when only one overview diagnosis of the entire bus system is
to be displayed.

The DP diagnosis block is called in the OB1 user program.

Trainings-Center 7KdpInt
for Automation and Drives
Page 37 of 293
page 17
Exercise 2:

Remove the slaves connector and


carry out diagnosis.

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.18

Trainings-Center 7KdpInt
for Automation and Drives
Page 38 of 293
page 18
Exercise 2: Slave Error Analysis

Step Procedure Result


1 Copy OB 86 in your program file and load
the variables relevant for the slave
diagnostics.

Caution: In OB86, you must change the


data type for the variable
OB86_RACKS_FLTD to DWORD to be able
to evaluate the error codes.
2 Simulate a slaves failure by removing the SF DP- LED on the CPU comes on.
plug.
3 Evaluate the variables.
4 Program the SFC 13 and evaluate the
displays, to the extent possible.
5 Test the DP-Diagnosis blocks. You are very enthusiastic again.

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.19

Trainings-Center 7KdpInt
for Automation and Drives
Page 39 of 293
page 19
Writing Consistent Data to DP Standard Slaves
You need SFC 15 "DPWR_DAT," because you can write a maximum
of four bytes contiguously with the transfer commands that access
the peripheral or the process-image input table.

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.20

Function With SFC 15 "DPWR_DAT" (write consistent data to a DP standard slave), you transfer
the data in the RECORD consistently to the addressed DP standard slave. The data
length must be three or more than four bytes. The maximum length is specified CPU
specifically. You can refer to the technical data of your CPU for this information. Data
transfer takes place synchronously, that is, the write procedure concludes after the SFC
ends.
The source area must have the same length you configured for the selected module with
STEP 7.
You can access only one module from the DP slave for a DP standard slave with a
modular configuration.

Example

Trainings-Center 7KdpInt
for Automation and Drives
Page 40 of 293
page 20
Reading Consistent Data from DP Standard Slaves
You need SFC 14 "DPRD_DAT," because you can only read out a
maximum of four bytes contiguously with the load commands that
access the peripheral or the process image input table.

SIMATIC NET Information- and Trainings-Center


Knowledge for automation
date: 27.12.2004
Siemens AG 1998. All rights reserved. file: 7KdpInt.21

Function With SFC 14 "DPRD_DAT" (read consistent data of a DP standard slave), you read out
the consistent data of a DP standard slave. The data length must be three or more than
four bytes, and the maximum length is CPU specific. You can refer to the technical data
for your CPU for more information. If no error occurred during the data transfer, the read
in data are entered in the destination area that RECORD set up.
The destination area must have the same length you configured for the selected module
with STEP 7.
With a SFC 14 call-up, you can access only the data for a module/DP identifier under the
configured start address for a DP standard slave with a modular configuration.

Example

Trainings-Center 7KdpInt
for Automation and Drives
Page 41 of 293
page 21
Configuring FDL Connections
(PLC-PLC)

PLC 1 PLC 2

CP CP

PROFIBUS

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.1

Contents
Overview.............................................................................................................................. 3
PLC - PLC Connections ..................................................................................................... 4
Configuring, drawing a "wiring diagram.............................................................................. 6
Communication relationships ..............................................................................................7
LSAPs for FDL connections ................................................................................................ 8
FDL connection between 2 PLCs ....................................................................................... 9
Appendix ............................................................................................................................. 14

Trainings-Center 7KdpPlc
for Automation and Drives Page 42 of 293
page 1
Communication
SIMATIC S7 / PROFIBUS

Task

A certain amount of data is to be transmitted from a data block (DB11) in PLC 1 to a vacant
space in a data block (DB12) in PLC 2.

PLC 1 PLC 1

CP CP

PROFIBUS

Data source Data destination


DB11 DB12
Transmission direction

Send Data Receive


data data

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.2

Trainings-Center 7KdpPlc
for Automation and Drives Page 43 of 293
page 2
Communication
Overview

CP 342-5 CP 342-5

PROFIBUS
PLC CP CP PLC
Communi- Communi-
CPU cations cations CPU
processor processor

FC FC
"SEND" "RECEIVE"
PROFIBUS
Data Data

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.3

Trainings-Center 7KdpPlc
for Automation and Drives Page 44 of 293
page 3
Communication
PLC - PLC Connections

S7 - 300 S5

S5-115U/135U/155U

CP342-5 CP 5431 FMS


S5- 95U

Conn Conn Conn 2 Conn 1


1 2

PROFIBUS
DATA

"FDL connection"
DATA
DATA

"FDL connection"
DATA

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.4

Trainings-Center 7KdpPlc
for Automation and Drives Page 45 of 293
page 4
Communication
PROFIBUS: Transmitting data via an FDL connection
SIMATIC PLC 1 SIMATIC PLC 2

Program Program
in the CPU CP342-5 CP342-5 in the CPU

FC FC

SEND DATA FRAME RECEIVE

240-byte 240-byte
data Acknowledgement data
source destination

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.5

Trainings-Center 7KdpPlc
for Automation and Drives Page 46 of 293
page 5
Communication
Configuring, drawing a "wiring diagram"

PLC 1
CP342-5

Conn 1
Conn 2

Conn 3

PROFIBUS
Conn 4
Conn 5
Conn 9
Conn 6 Conn 7 Conn 8

CP342-5 CP342-5 CP342-5 CP342-5


PLC 2 PLC 3 PLC 4 PLC 5

Conn = PROFIBUS FDL connection

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.6

Trainings-Center 7KdpPlc
for Automation and Drives Page 47 of 293
page 6
Communication
Communication relationships

PLC 1 Communication system PLC 2


"connections"

x
User program User program

CPU FC-SEND FC- CPU


RECEIVE
ID-1 ID-1

y
Communication relationships Communication relationships
ID Connection x Connection x ID
ID-1 S Connection y Connection y R ID-1
ID Connection z Connection z ID

CP342-5 CP342-5
PROFIBUS

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.7

Trainings-Center 7KdpPlc
for Automation and Drives Page 48 of 293
page 7
Communication
Example: FDL connection between 2 PLCs

LSAPs for FDL connections


DSAP Local PROFIBUS
remote SAP = station address

+1

Station 1 (TLN1) Station 5 (TLN5)

Example: LSAP 6 LSAP 2


SSAP: 6 SSAP: 2
DSAP: 2 PROFIBUS connection
DSAP: 6

LSAP=Link Service Access Point (Layer 2 , Link Layer)


SSAP=Source Service Access Point
DSAP=Destination Service Access Point (BUFFER pointer)

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.8

Trainings-Center 7KdpPlc
for Automation and Drives Page 49 of 293
page 8
Communication
Example: FDL connection between 2 PLCs

PLC 1
Advantages:

- Simple parameter assignment CP 342-5


and programming

- Minimum negotiation FDL connection

PLC 2

- PROFIBUS frame type


already defined (SDA) CP 342-5

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.9

Trainings-Center 7KdpPlc
for Automation and Drives Page 50 of 293
page 9
Communication
Example: FDL connection between 2 PLCs

CP 1 CP 2
Local Local
LSAP:6 LSAP:2
"House number" "House No."
PROFIBUS ADDR: "Mailbox" PROFIBUS
"Mailbox"
1 ADDR: 5

PROFIBUS

FDL connection
Data
Data

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.10

Trainings-Center 7KdpPlc
for Automation and Drives Page 51 of 293
page 10
Communication
Example: FDL connection between 2 PLCs

Example of an
FDL connection
PLC 1 CP 1 CP 2 PLC
Sending and receiving
PROFIBUS ADDR: 1 via an LSAP PROFIBUS ADDR:5

SSAP: 6 (SAP 2...33) SSAP: 2 (SAP 2...33)


DSAP: 2 (SAP 2...33) DSAP: 6 (SAP 2...33)

LSAP 6 LSAP 2
ID 1 1 1 1 ID
FC DATA FC
SEND SEND RECEIVE
RECEIVE
Acknowledgement
ID 1 1 DATA 1 1 ID
FC RECEIVE Acknowledgement
FC
RECEIVE SEND SEND

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.11

Trainings-Center 7KdpPlc
for Automation and Drives Page 52 of 293
page 11
Communication
Example: FDL connection between 2 PLCs
CPU
CP 342-5

Network parameters
HSA , baud rate , profile

FC Connection table

OB 1 SEND Connection Connection

FC local ID local ID
1 n
RECEIVE
PROFIBUS station address

FDL protocol firmware

PROFIBUS

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.12

Trainings-Center 7KdpPlc
for Automation and Drives Page 53 of 293
page 12
Communication
Example: FDL connection between 2 PLCs

1. Assign parameters to CP

PG
NCM S7 for
CP 342-5
PROFIBUS
package

2. Program CPU

PG
STEP 7
CPU
package

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.13

Trainings-Center 7KdpPlc
for Automation and Drives Page 54 of 293
page 13
Communication
Appendix
Data transmission via FDL connections using FCs

User FCs CP 342-5(1) PROFIBUS CP 342-5(2) FCs User


SEND RECV
Trigger: SEND
PROFIBUS TOKEN PROFIBUS
header header

Source SDA low

Short ACK
SEND Destination
TOKEN
Trigger: SEND RECV

PROFIBUS TOKEN PROFIBUS


header header

Source SDA low

Short ACK Destination

TOKEN

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.14

Trainings-Center 7KdpPlc
for Automation and Drives Page 55 of 293
page 14
Communication
Appendix
Data transmission via FDL connections using FCs (special cases)

User FCs CP 342-5(1) PROFIBUS CP 342-5(2) FCs User


SEND
Trigger: SEND PROFIBUS
header TOKEN PROFIBUS
header

Source
SDA low

SEND Short ACK

Trigger: SEND PROFIBUS


header TOKEN

Source SDA low


ACK neg (RR)

SEND
Trigger: SEND TOKEN
PROFIBUS
header SDA low

Source Station failure


SDA low

TOKEN

SIMATIC NET
Siemens AG 1998. All rights reserved.
date: 27.12.2004
Information- and Trainings-Center
Knowledge for automation
file: 7KdpPlc.15

Trainings-Center 7KdpPlc
for Automation and Drives Page 56 of 293
page 15
Introduction to SIMATIC NET Industrial Ethernet

ISO/OSI

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.1

Contents: Page

Communication in Production Automation .................................................................................. 2


The Automation Pyramid ............................................................................................................ 3
Uses of Networks in Automation ................................................................................................. 4
Requirements of the Various Levels ........................................................................................... 5
The SIMATIC NET Communication Solution .............................................................................. 6
Customer Advantages of SIMATIC NET ..................................................................................... 7
W hy SIMATIC NET? .............................................................................................................. 8
Industrial Ethernet Configuration ................................................................................................ 9
PROFIBUS Configuration ........................................................................................................... 10
AS-I Configuration ..................................................................................................................... 11
ISO Reference Model for Open Communication Systems .......................................................... 12
Communication Architecture in Production Plants ..................................................................... 13
Industrial Ethernet Protocol Architecture..................................................................................... 14
Protocol Structures of CPs ......................................................................................................... 15
Functional Structure of CPs........................................................................................................ 16
Principle of Operation According to the ISO/ OSI Model ............................................................. 17
Terminology ............................................................................................................................. 18
Types of Connection................................................................................................................... 19
Services .................................................................................................................................... 20
Service Access Points .............................................................................................................. 21
Interfaces ................................................................................................................................... 22
User Information on the W ay to its Destination .......................................................................... 23
Data Structure ........................................................................................................................... 24
Structure of a Data Block ........................................................................................................... 25
Header Structure ....................................................................................................................... 26
MAC FRAME ............................................................................................................................. 27
Basic Channels in a Local Area Network ................................................................................... 31
Multicast Transmission .............................................................................................................. 32
Comparison of IEEE 802.3 and Ethernet Specification ............................................................. 33
IEEE 802 ................................................................................................................................... 34
Structure of an LLC Data Unit..................................................................................................... 36
Industrial Ethernet ..................................................................................................................... 37
MAC Data/FCS Field ................................................................................................................. 38
Ethernet Transmission Procedure............................................................................................... 39
Manchester Code ...................................................................................................................... 40
CSMA/CD ................................................................................................................................. 41

Siemens AG Page 1 KO-7KETHER


Training Center Page 57 of 293 Introduction
Communication in Production Automation

Data flow

Planning
- Management
- Production

Production management

Process control

Local control

Sensors, COROSOP15

actuators, K1 K2 K3 K4
K5 K6 K7 K8
8 DEL

drives K9 3
HELP
SHIFT

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.2

Requirements of z Open communication with the Engineering Office


Production z High availability
Automation z Shorter throughput times
z Improved machine utilization
z Smaller batches
z Fast process changeover
z Flexible recipe specification

In process automation there has been an increasing trend towards distributed


automation of plants. This means that a complex central control system is
subdivided into smaller, more manageable sections to enable the information to
be processed more quickly on the spot.

Powerful A powerful, comprehensive communication system is essential for a


Communication distributed plant structure.

Ethernet, The bus systems of the SIMATIC NET family are ideally suited for this
PROFIBUS, purpose.
AS Interface

Siemens AG Page 2 KO-7KETHER


Training Center Page 58 of 293 Introduction
The Automation Pyramid

Management Level Workstation, PC

Cell Level PLC, PC

PLC, PC
Field Level Drives
Valves

Actuator- Actuators
Sensor- Sensors
Level

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.3

Siemens AG Page 3 KO-7KETHER


Training Center Page 59 of 293 Introduction
Uses of Networks in Automation
Data Network
Access to data in different places
Load-Sharing Network
Sharing tasks between several automation components
Function Network
Access to the functions of other automation components
Performance Network
Linking several components to form a network for
increased performance
Availability Network
Increased availability, because if one component fails the
others take over

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.4

Siemens AG Page 4 KO-7KETHER


Training Center Page 60 of 293 Introduction
Requirements of the Various Levels

Data Quantity Response Time Transmission


Frequency

Management MB Minutes/ Day/Shift/


Level Hours Hour

Cell Level KB 100 ms to 1 s Seconds/Minutes

Field Level Bytes 10 ms to 100 ms Seconds/


Milliseconds

Actuator-
Sensor Bits Milliseconds Milliseconds
Level

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.5

Siemens AG Page 5 KO-7KETHER


Training Center Page 61 of 293 Introduction
The SIMATIC NET Communication Solution

Industrial Ethernet Management Level

Cell Level

PROFIBUS

Field Level

Actuator- Actuator-
Sensor Sensor
Interface Level

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.6

Siemens AG Page 6 KO-7KETHER


Training Center Page 62 of 293 Introduction
Customer Advantages of SIMATIC NET

Cost Savings
Savings on installation and cabling costs
Flexibility
Fast "rewiring"
Maximum Reliability
Optimized for industrial use:
Shielded cables or fiber-optic cables
Special protocols for the requirements of industry
Powerful Test and Diagnostics Functions
Fast configuration testing
Startup simplified by diagnostics functions

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.7

Siemens AG Page 7 KO-7KETHER


Training Center Page 63 of 293 Introduction
Why SIMATIC NET?

Optimized
The right network for every application
Standardized
Ethernet, PROFIBUS, AS Interface
Open
Customers are not dependent on one manufacturer
Popular
Already being used by a large number of customers
Future-Oriented
Innovation and continuous product improvement

Strategic decision for the future

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.8

Siemens AG Page 8 KO-7KETHER


Training Center Page 64 of 293 Introduction
Industrial Ethernet Configuration

Triaxial cable

Fan-out
Star unit
coupler
KYDE

Fiber Optic Cable

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.9

Technical Specifications

Standard Ethernet to IEEE 802.3/ISO 8802.3

Access method CSMA/CD (carrier sense multiple


access/collision detection)

Baud rate 10 Mbit/sec

Transmission Electrical: Double-shielded coaxial cable


medium (Industrial twisted-pair)
Optical: Fiber-optic cable (glass)

Max. number of Over 1,000


nodes

Extent of Electrical: 1.5 km


network, approx. Optical: 4.5 km

Topology Line, tree, star, redundant ring

Applications Area and cell networks

Siemens AG Page 9 KO-7KETHER


Training Center Page 65 of 293 Introduction
PROFIBUS Configuration

SIEMENS SIEMENS
ET200C ET200C

Line

Ring

RS 485
FO
OLM

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.10

Standard PROFIBUS to EN 50 170

Access method Token passing with secondary master-slave (deterministic)

Baud rate 9.6 to 1,500 Kbit/sec., 12 Mbit/sec.

Transmission Electrical: Shielded two-wire cable


medium Optical: Fiber-optic cable (glass and plastic)

Max. number of 127


nodes

Extent of Electrical: Max. 9.6 km (dep.on baud rate)


network Optical: Over 100 km (dep. on baud rate)

Topology Line, tree, ring, star


Applications Field and cell levels

Siemens AG Page 10 KO-7KETHER


Training Center Page 66 of 293 Introduction
AS-I Configuration
SIMATIC S7-300

AS-I Power Supply


CP 342-2

Passive Module Active Module


(without AS-I-ASIC) (with AS-I-ASIC)

Actuator / Sensor
with AS-I-ASIC AS-I Hub

AS Interface AS Interface
Slave ASIC Bus Cable

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.11

Technical Specifications

Standard AS Interface Specification to IEC TG 178

Access method Master-slave (deterministic)

Baud rate Cycle time: 5 ms (with 31 slaves)

Transmission Unshielded two-wire cable


medium

Max. number of 31 slaves (max. 4 binary elements per slave)


nodes

Extent of Max. cable length 300 m (with repeater)


network

Topology Line, tree, star, ring

Protocols AS Interface

Applications Actuator-sensor interface

Siemens AG Page 11 KO-7KETHER


Training Center Page 67 of 293 Introduction
ISO Reference Model for Open Communication Systems

7 Aplication Layer Direct user support


Handling of communication function

6 Uniform data presentation


Presentation Layer
data formats and interpretation of content

5 Communication control, synchronization, organization


Session Layer
and control of the dialog between communication partners

4 Reliable, efficient data transport between the two


Transport Layer
communication partners (prcesses)

3 Network Layer Route selection and switching through to the destination

Connection and disconnection of individual, reliable


2 Data Link Layer transmission section, error detection and correction,
flow control

1 Mechanical, electrical and functional control


Physical Layer
of bit transmission

Application-oriented

Transport-oriented

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.12

The 7 Layers of the


ISO/OSI Model

Application Layer The communication task to be performed and the functions and services
-7- to be provided for it are established here.

Presentation Layer The communication partner needs to be told how the data it is about to
-6- receive is presented (for example, whether a circle is to be interpreted as a circle,
a letter O or as the figure 0). The "private" data presentation of the individual
nodes is converted to the standard presentation of the communication system.

Session Layer This layer provides functions necessary for opening, correctly conducting and
-5- terminating a communication session. It provides facilities for structured,
controlled transmission of large quantities of data.

Transport Layer This layer provides error detection and correction facilities to ensure smooth
-4- transport of messages between nodes (e.g. acknowledgement and repetition). It
also includes control of the flow of information in accordance with the capacity of
the receiver to receive and process it (flow control).

Network Layer The routes to be taken and the addresses to be used for transmitting the
-3- messages through the various stages of its journey (LANs, postal networks, etc.)
are defined here.

Data Link Layer This is where arrangements are made for accessing common communication
-2- media and the reliability of the physical layer between the communication
partners is ensured.

Physical Layer This layer is concerned with the physical conditions for transmitting a
-1- message, e.g. the speed (which varies according to the transmission medium
used), etc.

Siemens AG Page 12 KO-7KETHER


Training Center Page 68 of 293 Introduction
Communication Architecture in Production Plants
Job Transfer Distributed Remote Manufacturing File Transfer Virtual Message
Manipulation Transaction Database Message Access Terminal Handling System
(JTM) Processing Access Specification Management (VT) (MHS)
ISO 8831 (DTP) (RDA) (MMS) (FTAM) ISO 9040 CCITT
ISO 8832 ISO 10 026 ISO 9579 ISO 9506 ISO 8571 ISO 9041 X.400

Commitment, Concurrency Association Control Remote Operations Reliable Transfer


and Recovery (CCR) Service Elements (ACSE) Service Elements (ROSE) Service Elements (RTSE)
ISO 9804, 9805 ISO 8649, 8650 ISO 9072 ISO

Presentation, ISO 8822, 8823 Directory


Transfer Syntax ASN.1, ISO 8824; Basic Encoding Rules, ISO 8825 Service
ISO
9495
Session, ISO 8826, 8827

Transport, Connection oriented, ISO 8072 , ISO 8073, Class 2.4


Network
connectionless, ISO AD 8073
Management
ISO 9596
ISO Connectionless Internet Protocol X.25 I.450 I.451
ISO 8348, 8473 ISO 8280 ISDN D chann.

LLC Type1-3, HDLC LAPB HDLC LAPD


FLC ISO 8802-2 ISO 7776 I.440 I.441
+
MAC CSMA, CD Token Bus Token Ring
ISO 8802-3 ISO 8802-4 ISO 8802-5 ISDN D chann.

X.21, X21 to ST interface


RS 485 ISO 8802-3 ISO 8802-4 ISO 8802-5
V.24 I.430 or I.431

Fieldbus Local Networks Remote Networks

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.13

For production plants the international Manufacturing Message Specification and


File Transfer Access Management standards are of primary importance.

These standards enable structured data to be exchanged between systems from


completely different manufacturers.

Siemens AG Page 13 KO-7KETHER


Training Center Page 69 of 293 Introduction
Industrial Ethernet Protocol Architecture
MAP TF
7b TF
= MMS
7a ISO
ACSE
6 ISO AP
Presentation
5 ISO
Session
4 ISO 8073 class 4
Transport protocol
3 ISO 8473
Connectionless, inactive
Internetwork protokoll
2b IEEE 802.2
LLC class 1
2a
1 IEEE 802.3

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.14

Siemens AG Page 14 KO-7KETHER


Training Center Page 70 of 293 Introduction
Protocol Structures of CPs

SIMATIC S5 Configuring software


user program
SEND HDB/RECEIVE HDB PG 720
NCM COM 143
COM 535
CP 143 / CP 535

Industrial Ethernet

Communication
partner

SIMATIC S5 SIMATIC S5 SIMATIC S5 S5-AG

CP 1430/ CP 143 Protocol structure CP 535 Protocol structure


User interface MMS/STF
7b TF Access
7b
Access
7a Layer 4 7a Layer 4
6 AP Handling block 6 Handling block
5 5
4 ISO 8073 class 4 4 ISO 8073 class 4
CP
Transport Protocol Transport Protocol
3 ISO 8473, inaktive 3 ISO 8473, inaktive
Internetwork Protocol Internetwork Protocol CP
2b IEEE 802.2, LLC 2b IEEE 802.2, LLC
2a IEE 802.3 2a IEE 802.3
1 CSM A/CD 1 CSMA/CD

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.15

Siemens AG Page 15 KO-7KETHER


Training Center Page 71 of 293 Introduction
Functional Structure of CPs

AG
DP - RAM
CP

Backplane Bus Driver

Interface module driver Testing and


Interface module driver PG functions
Productive communication configuring DSDB
Productive communication
STF/AP: Client-Module
Layer 4 access AS 511 Driver
Server-Module

Layer 2b - 4a to ISO 8073


ISO 8473 inactive

Layer 1 - 2a to IEEE 802.3

CP Transport Part CP Host Part

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.16

Siemens AG Page 16 KO-7KETHER


Training Center Page 72 of 293 Introduction
Principle of Operation According to the ISO/ OSI Model

Layer n + 1

Service interface n

Services of layer n Services of layer n'

Working unit Protocol n Working unit


in layer n in layer n'
device A device A'
Layer n

Service interface n - 1

Services of layer n - 1 Services of layer n' - 1


Layer n - 1

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.17

Principle A working unit in layer n receives a job from layer n+1 via the n/n+1 interface. To
carry out the job, it uses its own resources and those provided by layer n-1 in
response to the relevant job orders.

Apart from communicating with layers n+1 and n-1 (via the n+1/n and n/n-1
interfaces respectively), layer n can communicate with its "partner layer" n' in
another system. This communication does not take place direct, but always via
the route n-1, n-2, ..., 1, 1 ... n'-2, n'- 1 , where ' indicates the layers of the other
system.

In accordance with the definition, only layers n and n' can communicate with one
another horizontally. Communication between corresponding layers n and n' is
also referred to as virtual.

Siemens AG Page 17 KO-7KETHER


Training Center Page 73 of 293 Introduction
Terminology

n+1 n+1

n n

n-1 n-1

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.18

Terminology In order to understand the layer model, it is important to know the meaning of the
following terms:

z Protocol
z Service
z Interface

Protocol Communication between equivalent layers in different communication partners


conforms to conventions known as protocols. A protocol only applies within
equivalent layers. A computer network or distributed system must therefore
implement protocols for all layers.

In addition to addressing the nodes and controlling the flow of data, one of the
main purposes of protocols in data communication between different computers
is to provide services to ensure the integrity of the data transmission.

Another common problem in data communication is that the sender usually


sends the data more quickly than the receiver can receive and process it. To
prevent data from being lost, it is sometimes necessary to "slow down" the
sender. This is known as flow control.

Siemens AG Page 18 KO-7KETHER


Training Center Page 74 of 293 Introduction
Types of Connection

Protocol Type Mode of Operation Application

Connection-oriented Three phases; Terminal sessions,


Establish connection, Data transfer
Transfer data,
Clear connection

Connectionless Transport of self- Directory services,


contained messages Databases,
Transactions

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.19

Connection- In data communication a distinction is made between connection-oriented


Oriented and and connectionless protocols, i.e. protocols which establish a connection
Connectionless with the communication partner before data is exchanged and protocols
Protocols which are only used for sending single messages.

The two types usually differ in the quantity of security functions, which, in turn,
has an effect on their efficiency. A connection-oriented protocol with a large
number of security functions entails a greater processing overhead in the
computer than a connectionless protocol.

The exchange of information using a connection-oriented protocol can be


compared with a telephone call:

The partners introduce themselves and exchange certain formalities before the
actual data interchange begins. The connection is not interrupted until both sides
are sure that they have correctly understood the information exchanged. For this
reason, connection-oriented protocols are also said to establish "virtual circuits".
Virtual circuits are used when the context of the information is important, when
the connection is to be maintained for a relatively long time, or when the integrity
of the data to be transmitted is essential. One physical (real) line can normally
carry several virtual (logical) connections.

The units of information in connectionless protocols can be compared with


telegrams because they are normally self-contained messages. They are
sometimes also called datagrams. Connectionless protocols are primarily used
for transactions, such as database queries.

Siemens AG Page 19 KO-7KETHER


Training Center Page 75 of 293 Introduction
Services

n+1 n+1

n n

n-1 n-1

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.20

Services Services are the functions a layer in a communication partner can perform for the
next highest layer. Services can either be performed by the working units of the
layer itself or they can be ordered from the layer below.

z Establishment of a connection
Examples z Connection clearance
z Data transmission
z Addressing
z Error handling
z Segmenting
z Reassembly
z Multiplexing
z Splitting
z Expediting
z Routing
z Synchronization
z Compiling
z Coding
z Compression

:
:
:

Siemens AG Page 20 KO-7KETHER


Training Center Page 76 of 293 Introduction
Service Access Points
Application process

ASAP

(7) Instance APPLICATION LAYER


PSAP

(6) Instance PRESENTATION LAYER


SSAP

(5) Instance SESSION LAYER


TSAP

(4) Instance TRANSPORT LAYER


NSAP

(3) Instance NETWORK LAYER


LSAP

(2) Instance LINK LAYER


PHSAP

(1) Instance PHYSICAL LAYER


MAU

Medium

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.21

SERVICE z Services of subordinate layers are accessed via service access points.
ACCESS POINT z Each service access point within a computer network has a unique name,
SAP which is its
SERVICE ACCESS POINT ADDRESS
z Service requests and indications always use the service access point
address.
z Each application is assigned certain SAPs, which are unique within the
system.
z The OSI model does not stipulate how the service access points should be
Implementation
implemented in a system.

Siemens AG Page 21 KO-7KETHER


Training Center Page 77 of 293 Introduction
Interfaces

n+1 n+1
Layer n + 1

n n Service.request Service.indication

Service.confirm

Layer n
n-1 n-1

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.22

Interfaces Interfaces specify the procedures and data structures between the layers of one
communication partner.

The protocols and services for the various layers are standardized by the
ISO, but the interfaces are not!

z XTI
Examples
X/OPEN Transport Interface
published in the
X/OPEN Portability Guide 3 (PG3)
z TLI
Transport Layer Interface
in UNIX System V Release 4.0
z Socket interface
in BSD 4.2 / 4.3 - UNIX
z Handling block interface in CP 1430 for S5 PLCs
(Standard function blocks CPs)
z SEND-RECEIVE interface in CP443-1 and CP 343-1
for S7 PLCs

Siemens AG Page 22 KO-7KETHER


Training Center Page 78 of 293 Introduction
User Information on the Way to its Destination
Process Data Data Process

7 7

6 6

5 5

4 4

3 3

2 2

1 1

Sender Receiver
Medium

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.23

User Information Whilst it is being processed in the direction n, n-1, ... , 1 a message
on its Way through has further, layer-specific information added to it, which is chiefly
the Layers relevant for the transport of the message. When a message is processed in the
direction 1, ... , n-1, n, the additional information is "used up". In practice
allowance is made for this fact by putting the message in a new wrapper in every
layer and removing it again in the corresponding layer of the partner.

The major proportion of the jobs for a layer consist of passing on data again, with
modifications which do not affect its meaning. This data is not interpreted in the
layer. It may be modified (by coding or being put into a packet) and have one or
more wrappers put round it. Only the corresponding layer in the destination node
can remove the wrapper and reverse the modification (decode it, reassemble it),
so that the contents can be interpreted by the layer above.

Siemens AG Page 23 KO-7KETHER


Training Center Page 79 of 293 Introduction
Data Structure
(N + 1) - PDU
Layer N + 1

(N) - PCI (N) - SDU

(N) - PDU
Layer N

(N - 1) - PCI (N-1) - SDU

Layer N - 1

(N-1) - PDU

PDU: Protocol Data Unit


SDU: Service Data Unit
PCI: Protocol Control Information

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.24

Data Structure When data is passed from one layer to another it receives a new designation.

Protocol Data Unit The protocol data unit of layer N+1, (N+1) - PDU, receives the name
Service Data Unit service data unit ((N) - SDU) in the layer below, layer N.

Protocol Control The protocol control information of this layer ((N) - PCI) is put together and
Information placed in front of the service data unit. The whole element has now become the
protocol data unit ((N) - PDE) of layer N.

This entire block of data is then passed on to the next lowest layer, layer N - 1
and receives the name service data unit ((N - 1) - SDU).

Siemens AG Page 24 KO-7KETHER


Training Center Page 80 of 293 Introduction
Structure of a Data Unit

LINK Header

Network Header

Transmission Header

Automation Protocol Header

User Data

Link Trailer

L-H N-H T-H AP - H DATA LT

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.25

Siemens AG Page 25 KO-7KETHER


Training Center Page 81 of 293 Introduction
Header Structure

Layer 2a Layer 2b Layer 3 Layer 4


IEEE 802.3 IEEE 802.2 IEEE 8473 IEEE 8073

14 Dest ADR 6
Header Source ADR
IEEE 802.3 6

Length Field 2

Dest. Link SAP 1


Header 3 Source Link SAP 1
IEEE 802.3
Control Field 1
min. 46 bytes
Fixed Part
ISO 8473
Header Variable Part variable
IEEE 802.3 ISO 8473
Fixed Part v Length
Data a 1
ISO 8073 r Indicator
max. 1500 bytes IEEE 802.3 i
Variable Part a
b
Data ISO 8073 l
ISO 8473 e

Data
ISO 8073

CRC Field 4

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.26

Siemens AG Page 26 KO-7KETHER


Training Center Page 82 of 293 Introduction
MAC FRAME (1)

PREAMBLE 7 bytes

SFD 1 byte

DESTINATION 6 bytes
ADDRESS
SOURCE 6 bytes
ADDRESS
LENGTH 2 bytes

<46 >=46
LLC bytes bytes
min: 46 bytes
DATA max:1500 bytes

PAD

FCS 4 bytes

LSB MSB Bit transfer LSB first


b0 b7

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.27

Preamble Field z Length of preamble: 7 bytes


z The preamble consists of the byte sequence 5555 ... 55 H.
z Manchester coding of the preamble results in a periodic signal sequence
with a frequency of 10 MHz, which enables the receiving node to
synchronize to the transmitter clock.

SFD Field z SFD = Start Frame Delimiter


z The SFD field consists of the byte D5 H.
z The SFD field marks the beginning of the actual MAC data.

z The preamble and the SFD field are not strictly part of the MAC frame.
Note
z When specifying the length of MAC frames, the preamble and the SFD field
are not normally counted.

Siemens AG Page 27 KO-7KETHER


Training Center Page 83 of 293 Introduction
MAC FRAME (2)

PREAMBLE 7 bytes

SFD 1 byte

DESTINATION 6 bytes
ADDRESS
SPOURCE 6 bytes
ADDRESS
LENGTH 2 bytes

<46 >=46
LLC bytes bytes
min: 46 bytes
DATA max:1500 bytes

PAD

FCS 4 bytes

LSB MSB Bit transfer LSB first


b0 b7

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.28

Destination z The destination address specifies the receiver(s) of the message


Address Field z Types of destination address:
lndividual address
The message is intended for one node only.
Multicast address
The message is intended for one or more nodes.
Broadcast address
The message is intended for all nodes.
A broadcast address consists of 48 "ones".

z The source address is always an individual address


Source
z The source address specifies the sender of the MAC frame.
Address Field

Siemens AG Page 28 KO-7KETHER


Training Center Page 84 of 293 Introduction
MAC FRAME (3)

z A MAC frame contains two addresses,


the destination address and
the source address.
z Length of an address field: 48 bits
z Address format: 48-bit address

I/G U/L

48 bits

I/G=0 Individual address

l/G=1 Group address

U/L=0 Global (universal) address management

U/L=1 Local address management

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.29

Siemens AG Page 29 KO-7KETHER


Training Center Page 85 of 293 Introduction
MAC FRAME (4)

Ethernet Address
Physical module address on the Ethernet. The Ethernet address is pre-assigned as follows:

080006 01 0 000 Hexadecimal

Byte 5 (right four bits) and byte 6:


Hexadecimal number for each module;
Each digit 0 ... 9, A ... F

Byte 5 (left four bits):


System identifier for SIEMENS systems;
Default for Simatic S5: 0.

Byte 4
Number for the SIEMENS "AUT" Group

Byte 1 ... 3
Number for SIEMENS

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.30

Siemens AG Page 30 KO-7KETHER


Training Center Page 86 of 293 Introduction
Basic Channels in a Local Area Network
Data transfer
Destination Source

Station 1

Individual addr. 1
Multicast addr. 1
Broadcast
Station 0
Station 2 Individual addr. 0

Individual addr. 2 Individual addr. 1


Multicast addr. 1 Individual addr. 2
Multicast addr. 2 Multicast addr. 1
Broadcast Multicast addr. 2
Individual addr. 4
Broadcast
Station 3

Multicast addr. 2
Broadcast

Station 4

Individual addr. 4
Multicast addr. 2
Broadcast

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.31

Stations (nodes)
accessible Basic channel Receiver
from Station 0
1 Station 1
2 Station 2
3 Station 1 and 2
4 Stations 2, 3 and 4
5 Station 4
6 Stations 1, 2, 3 and 4

Siemens AG Page 31 KO-7KETHER


Training Center Page 87 of 293 Introduction
Multicast Transmission

Individual address:
080006018010
Sender

Multicast addr.: Multicast addr.: Multicast addr.:


090006010001 090006010001 090006010001
Individual address: Individual address: Individual address:
080006018040 080006018030 080006018020

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.32

Note The multicast address

09000601FFEF

is used for transmitting and receiving time-of-day message frames with the
SINEC clock transmitter or CP.
This address is fixed by the firmware and cannot be configured.

Siemens AG Page 32 KO-7KETHER


Training Center Page 88 of 293 Introduction
Comparison of Ethernet Specification and IEEE 802.3
Preamble Preamble

Destination address Destination address

Source address Source address

Type field LLCDU Octet count

Data field Data field

CRC CRC

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.33

Length Field z The length field takes up 2 bytes of the MAC frame
z The length field specifies the number of bytes of user data (LLC data) in the
following data field.
z The high-order byte is transmitted first.
z Caution: The length field has a different meaning in the original
Ethernet protocol.

Type Field Identifier for the next highest protocol


0800H = IP
0806H = ARP

z Slight differences in the cable specifications


Principal . z Interpretation of the two bytes following the source address in the MAC
Differences from frame.
Ethernet in z Different interpretation of the Heart Beat signal <-> SQE
IEEE 802.3

Siemens AG Page 33 KO-7KETHER


Training Center Page 89 of 293 Introduction
IEEE 802 (1)

2b LLC 802.2

2a MAC

1 Physical 802.1
802.1 802.14
802.14

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.34

IEEE 802.2 IEEE 802 divides ISO layer 2 (Link Layer) into two parts
Sublayer 2a (Medium Access Control)
Sublayer 2b (Logical Link Control)

z The LLC sublayer (IEEE 802.2) is based on the MAC sublayer and ensures:
Security of data communication
Provision of logical channels

z The MAC sublayer handles the details of the access mechanism. Its tasks
are:
Data formatting (frame creation, error protection)
Access control

Siemens AG Page 34 KO-7KETHER


Training Center Page 90 of 293 Introduction
IEEE 802 (2)

2b LLC 802.2

2a MAC

1 Physical 802.1
802.1 802.14

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.35

IEEE 802-Standards 802.1 HIGHER LEVEL INTERFACE (HlLI)


802.1pMULTIMEDIA ENHANCEMENTS
802.1gREMOTE MAC BRIDGING
802.1qVIRTUAL LANS
802.2 LOGICAL LINK CONTROL (LLC)
802.3 CSMA/CD CARRIER SENSE MULITPLE ACCESS WITH
COLLISION DETECTION
802.3xFULL DUPLEX
802.3y 100 BASE - T2
802.3z GIGABIT ETHERNET
802.4 TOKEN PASSING BUS
802.5 TOKEN RING
802.5j FIBER TRIAL STANDARD
802.5r DEDICATED TOKEN RING
802.6 METROPOLITAN AREA NETWORK
802.7 BROADBAND
802.8 FIBER OPTIC TAG (FOTAG)
802.9 INTEGRATED SEVICES LAN
802.10INTEROPERABLE LAN SECURITY (SILS)
802.11WIRELESS LAN (WLAN)
802.12DEMAND PRIORITY (100 BASE - VG/ANYLAN)
802.14CABLE TV-BASED BROADBAND COMMUNICATION
NETWORK

Siemens AG Page 35 KO-7KETHER


Training Center Page 91 of 293 Introduction
Structure of an LLC Data Unit

DLSAP address 8 bits

SLSAP address 8 bits

Control field 8 bits

Data field N x 8 bits

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.36

DLSAP Destination Link Service Access Point

SLSAP Source Link Service Access Point

Creation and addressing of logical transmission channels.


FEH in Industrial Ethernet

Control Field Type of data frame


03H = Ul Command
AFH = XID Command/Response
E3H = TEST Command/Response

N Integer >= 0
Nmax: Selectable, but must be compatible with the relevant MAC sublayer

Siemens AG Page 36 KO-7KETHER


Training Center Page 92 of 293 Introduction
Industrial Ethernet

L-H N-H T-H

0 0 0 0 0 0 0 0

L-H Link Header


N-H Network Header
T-H Transport Header

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.37

The Network Layer According to the ISO reference model, the main function of layer 3 (network
Layer) is the routing of the message frames.

Routing comprises the following tasks:


z Receiving message frames
z Deciding whether the message frame is intended for the local computer
(user program) or whether it needs to be passed on.
z If the frame is to be passed on, which physical connection is to be used?

Inactive In SIMATIC Net Industrial Ethernet, layer 3 remains inactive:


Network Layer This means that a byte 00H is used as the header for layer 3 in the message
frame.

Siemens AG Page 37 KO-7KETHER


Training Center Page 93 of 293 Introduction
MAC Data/FCS Field

PREAMBLE 7 bytes

SFD 1 byte

DESTINATION 6 bytes
ADDRESS
SOURCE 6 bytes
ADDRESS
LENGTH 2 bytes

LLC
min: 46 bytes
DATA
max: 1500 bytes

PAD

FCS 4 bytes

LSB MSB Bit transfer LSB first


b0 b7

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.38

Data Field z Minimum length: 46 bytes


z Maximum length: 1500 bytes
z If there are less than 46 bytes of user data, the rest is padded with filler
bytes (PAD) not specifically defined.

FCS Field z Length: 32 bits


z FCS = Frame Check Sequence
z A CRC procedure is used for error detection.
(CRC = Cyclic Redundancy Checksum)
z Generator polynomial
G(x) = X32+x26+X23+x22+x16+X12+X11+x10+x8+x7+x5+x4+x2+X+1
z Das CRC procedure produces a sequence of 32 bits which are transmitted
in the order b31, b30, b29, ..., b0.
z The cyclic redundancy check covers the address fields, the length field and
the data field.

Siemens AG Page 38 KO-7KETHER


Training Center Page 94 of 293 Introduction
Ethernet Transmission Procedure

Baseband transmission

Frequency 0 ... fmax

Destin-
Destin-
Message 2 Message 1 ation 1
ation 2

A C D F

A F C E B D

B E

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.39

Baseband z lnformation transmission without modulation


z The signals are transmitted in a frequency band that ranges as low as
0 Hz.
z One transmission channel
z Self-timing Manchester Code
z Cost-effective
z Baud rate of SIMATIC Net Industrial Ethernet 10 Mbit/s

Siemens AG Page 39 KO-7KETHER


Training Center Page 95 of 293 Introduction
Manchester Code
T T = Pulse width for 1 bit

000000000 000000000
0 0 0 0 0 0 0 0 0
Manchester Code for duration "0"
111111111 111111111
1 1 1 1 1 1 1 1 1
Manchester Code for duration "1"
010101010 010101010
0 1 0 1 0 1 0 1 0
Manchester Code for "0" and "1" alternately
001111011 001111011
0 0 1 1 1 1 0 1 1
Manchester Code for the bit battern shown

ETHERNET CP1 ETHERNET CP2


Serial Interface Serial Interface
ESI/82501 ESI/82501

ETHERNET ETHERNET
Local Communication Local Communication
Controller Controller
LCC/82586 LCC/82586

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.40

Manchester Code

Purpose In serial transmission of a digital signal sequence (synchronous), the receiver


must have a signal element timer to enable it to maintain bit synchronization. The
timing pulse can be transmitted via a signal element timing circuit separate from
the data line.

A serial bus as transmission medium, however, only has one transmission line.

It is therefore necessary to code the timing and data information in one signal in
such a way that the receiver can reconstruct both the timing pulse and the data at
the other end.

This procedure (at the sending end) is referred to as signal formatting or bit
coding.
One of the possible codes is the Manchester Code.

Coding Convention In the first half of the pulse width for 1 bit the inverted value of the bit status is
transmitted and in the second half the non-inverted value.

Siemens AG Page 40 KO-7KETHER


Training Center Page 96 of 293 Introduction
CSMA/CD (1)

1.
Check whether the line is clear, then transmit

2.

3.

Address recognized by the node

* Carrier Sense Multiple Access/Collision Detection

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.41

CSMA/CD Whenever a node wants to transmit data, it ascertains whether the transmission
channel is clear.
(CS = Carrier Sense)

If so, the node starts transmitting data.

If another node has started transmitting data (almost) at the same time,
(MA = Multiple Access)
a collision occurs, which must be detected.
(CD = Collision Detect)
For a short time jamming signals are transmitted to enable the other nodes to
detect the collision.

The node then waits for a random length of time and then tries again to make the
transmission.

Siemens AG Page 41 KO-7KETHER


Training Center Page 97 of 293 Introduction
CSMA/CD (2)

1.

2.

Collision detected

3.

Messages cancelled
Attempt repeated after allocated random time

* Carrier Sense Multiple Access/Collision Detection

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_ei.42

Siemens AG Page 42 KO-7KETHER


Training Center Page 98 of 293 Introduction
Ethernet Segments Using the MultiLAN Switch
EBAUI EBAUI EBAUI EBTP EBMM

727-1 Drop cable

SIMATIC NET Industrial


Ethernet transceiver

Ethernet Ethernet Ethernet


segment 1 segment 2 segment 3

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.97
File No. : 7KE_nk.31

EBAUI Ethernet Switch AUI interface card

EBMM Ethernet Switch Multimode interface card


-BFOC with BFOC connection

EBTP Ethernet Switch Twisted-Pair interface card


-RJ45 with RJ45 connection

EBGM Ethernet Switch Global Memory card


-V.24 with V.24 terminal port

Siemens AG Page 31 KO-7KETHER


Training Center Page 99 of 293
Network Components and Installation Guidelines
Test and Diagnostics Systems

SCOPE H1

7b SINEC TF= MMS (ASN.1) K1100


ISO
7a
ACSE
ISO
6 ISO AP
PRESENTATION
ISO
5 SCOPE H1
SESSION
ISO 8073, class 4
4
Transport protocol

ISO 8473, inactive


3
Internetwork-protocol

2b IEEE 802.2 LLC CHECK H1

2a IEEE 802.3 Reflectometer

Fiber-optic measuring instrument


1 CSMA/CD

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.97
File No. : 7KE_nk.32

SIMATIC Net NCM SIMATIC Net Network and Communication Management

A family of products including

z Configuring software packages


z Test and diagnostics systems
Test software SCOPE H1 / CHECK H1
Test software SCOPE L2
LAN protocol tester K 1100
TRANSVIEW-SINEC for managing heterogeneous industrial
networks using SNMP

z Reflectometers
Other Test
Equipment z Fiber-optic measuring instruments

Siemens AG Page 32 KO-7KETHER


Training Center Page 100 of 293
Network Components and Installation Guidelines
Communications Processors

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.1

Contents: Page

CP 443-1 and CP 443-1 TCP Communications Processors....................................................... 2


Design of the CP 443-1 CP443-1 TCP........................................................................................ 5
Indicators and Operating States of the CP443-1 and CP443-1 TCP........................................... 6
Connecting the CP 443-1 to Industrial Ethernet........................................................................... 7
Connector Pin Assignment of the CP 443-1 and CP 443-1 TCP................................................. 10
Characteristics of the CP 443-1................................................................................................... 11
Technical Specifications of the CP 443-1 and CP 443-1 TCP..................................................... 12
CP 343-1 and CP 343-1 TCP Communications Processors........................................................ 13
Design of the CP 343-1 and CP343-1 TCP.................................................................................. 16
Indicators and Operating States of the CP343-1 and CP343-1 TCP........................................... 17
Connecting the CP 343-1 to Industrial Ethernet........................................................................... 18
Connector Pin Assignment of the CP 343-1 and CP 343-1 TCP................................................. 21
Characteristics of the CP 343-1................................................................................................... 22
Technical Specifications of the CP 343-1 and CP 343-1 TCP..................................................... 23

Siemens AG Page 1 KO-7KETHER


Training Center Page 101 of 293 Communications Processors
CP 443-1 Communications Processor
CP 443-1 TCP Communications Processor

LEDs

Mode selector

AUI/ITP interface
15-pin sub-D
with slide lock

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.2

Application The CP 443-1 communications processor is designed for use in S7-400


programmable controllers. It enables the S7-400 to be connected to Industrial
Ethernet.
Properties The CP 443-1 independently handles data transfer on the Ethernet network. It
has its own processor, which relieves the CPU of the S7-400 of the majority of
communications and protocol handling tasks.
CP443-1 Layers 1 to 4 conform to international OSI standards.
CP443-1 TCP Layers 1 to 4 conform to the TCP/IP standards (RFCs).

Siemens AG Page 2 KO-7KETHER


Training Center Page 102 of 293 Communications Processors
CP 443-1 Communications Processor
CP 443-1 TCP Communications Processor
Functions
SEND/RECEIVE interface
Communication between SIMATIC S7 and
- SIMATIC S7
- SIMATIC S5
- Computer/PC
S7 functions
Communication between SIMATIC S7 and
- SIMATIC S7
- HMI devices
- PCs
PG functions
Remote programming of the CPU via Industrial Ethernet,
and, in the case of the CP443-1 TCP , also via WAN
Clock synchronization

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.3

Functions
z SEND/RECEIVE interface
Provides a simple, optimized interface based on OSI Layer 4 for data
communication via ISO transport connections.
This is used for communication between SIMATIC S7 and
- SIMATIC S7-300/-400
- SIMATIC S5
- Computer/PC
z S7 functions
For communication between SIMATIC S7 and
- Other SIMATIC S7 stations
(S7-300 server only,
S7-400 client and server)
- HMI devices
- PCs with SOFTNET S7
This type of communication requires no further configuring of the CP443-1.
Remote programming of the CPU via the network is also implemented
(PG functions).
z Clock synchronization
The CP passes on clock synchronization frames in the following directions:
From the CPU to Industrial Ethernet via the K bus (communication bus), if
the local CPU is clock master
From Industrial Ethernet to the CPU via the K bus, if
- the remote CPU or
- a SINEC real-time transmitter or
- a CP 1430 TF
is clock master.

Siemens AG Page 3 KO-7KETHER


Training Center Page 103 of 293 Communications Processors
CP 443-1 Communications Processor
CP 443-1 TCP Communications Processor
Configuration
Via MPI or Ethernet LAN
using
NCM S7 for Industrial Ethernet
executable with STEP 7 under Windows 95

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.4

Configuration Configuring can be carried out via


z MPI or

z Ethernet LAN

for the CP443-1 using


z NCM S7 for Industrial Ethernet V2.x

executable with STEP 7 from V2.1 under Windows 95


z NCM S7 for Industrial Ethernet V3.x

executable with STEP 7 from V3.1 under Windows 95


for the CP443-1 TCP using
z NCM S7 for Industrial Ethernet V3.x

executable with STEP 7 from V3.1 under Windows 95

When configuring via Industrial Ethernet, you must first enter the
Ethernet (MAC) address of the CP ("node initialization").

NCM S7 is fully integrated in the STEP 7 environment.


The function calls (FCs) for the SEND/RECEIVE interface and some
examples of the use of the interface are supplied with the configuring
software.

Siemens AG Page 4 KO-7KETHER


Training Center Page 104 of 293 Communications Processors
Design of the CP 443-1 and CP443-1 TCP

Single-width module for simple installation in the S7-400 rack.


Can be used in either central or expansion racks.
All the controls and indicators are on the front panel.
Operates without fans.
15-pin SUB-D socket connector with slide lock for connecting the
CP 443-1 to Industrial Ethernet with automatic switching between
the AUI and Twisted Pair interfaces.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.5

Mechanical S7-400 system


Design Occupies one slot in an S7-400 programmable controller.
Snaps onto the S7-400 rack and is connected to the other modules via the
backplane bus.
The front panel contains the connections for the LAN (AUI and Twisted Pair),
LEDs, four of which indicate operating states, and the RUN/STOP mode
selector.

Slots The CP can be plugged into any rack whose slots have P and K bus connections.
That is: - Central Rack CR2
- Universal Rack UR1 or UR 2
as either central controller or expansion unit

The CP can be plugged into all slots in the rack which have P and K bus
connections, apart from the slots for the power supply and the main CPU.

Note A K bus connection is essential when using Universal Rack UR1 or UR2 as an
expansion rack!

The CP 443-1 cannot be used in an ER1 or ER2 Expansion Rack because


connection to the K bus is not possible.

The CP can be inserted and removed without disconnecting the power


supply.

Siemens AG Page 5 KO-7KETHER


Training Center Page 105 of 293 Communications Processors
Indicators and Operating States of the
CP443-1 and CP443-1 TCP

Stop LED RUN LED INTF LED EXTF LED CP State


INTF
(Yellow) (Green) (Red) (Red)
EXTF
On Flashing Off Off Starting
Off On Off Off RUN
Flashing On Off Off Stopping
On Off Off Off STOP
On Off On Off STOP with
internal fault
On Off Off On STOP with
RUN
external fault
STOP Flashing Flashing Flashing Flashing Module fault/
System fault

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.6

LEDs 4 of the LED display elements are used.

Operating State The operating state can be changed in 2 ways:


z Mode selector

z From PG/PC using the configuring software

NCM S7 for Industrial Ethernet

Mode Selector - Switching from STOP to RUN.


All communication services are available in RUN mode.
The operating mode of the CP can only be changed via NCM if the
mode selector is in the RUN position.

- Switching from RUN to STOP


The CP goes into the STOP state.
Only configuring and diagnostics of the CP are possible when it is
in the STOP state.

Siemens AG Page 6 KO-7KETHER


Training Center Page 106 of 293 Communications Processors
Connecting the CP 443-1 to Industrial Ethernet
CP443-1 or
CP443-1 TCP

Transceiver cable
727-1 drop cable
Transceiver

Triax-Cable

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.7

AUI Connection Connection to the transceiver via the AUI interface.

The CP generates a voltage of 15 V from the 24 V on the S7-400 backplane bus


and supplies it at the AUI connection as required for the external transceiver.
This 15 V power supply provides a current of at least 500 mA .

Siemens AG Page 7 KO-7KETHER


Training Center Page 107 of 293 Communications Processors
Connecting the CP 443-1 to Industrial Ethernet

CP443-1/CP443-1 TCP CP443-1/CP443-1 TCP

Star coupler

ITP wiring cable

Twisted pair plug-in

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.8

TP Connection Industrial twisted pair connection via star coupler or hub


The CP automatically recognizes the ITP wiring cable and adjusts itself from AUI
to twisted pair.

The ITP cable can be up to 100m long.

Siemens AG Page 8 KO-7KETHER


Training Center Page 108 of 293 Communications Processors
Connecting the CP 443-1 to Industrial Ethernet

CP 443-1 / CP 443-1 TCP

Optical plug-in

Star coupler

Transceiver cable

Fiber-optic cable
Optical transceiver

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.9

Optical Connection The CP is connected via the AUI interface and the transceiver cable to the optical
transceiver, which, in turn, is connected via a fiber-optic cable to an optical plug-
in in the star coupler.

Siemens AG Page 9 KO-7KETHER


Training Center Page 109 of 293 Communications Processors
Connector Pin Assignments of the CP 443-1 and
CP 443-1 TCP

15-pin SUB D plug connector with slide lock


for connection of
Transceiver cable (727-1 drop cable)
ITP cable
The signals of the ITP interface are also wired to this
connector (selection by means of a relay).

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.10

Pin Signal Function


1 MEXT External ground
2 CLSN Collision +
3 TRMT / TPETXD Transmit + / TPE Transmit Data
+
4 Ground Ground for 5V
5 RCV / TPERXD Receive + / TPE Receive data +
6 M 15V Ground for 15 V
7 TPE_SEL AUI/ITP selection
8 Ground Ground for 5V
9 CLSN_N Collision -
10 TRMT_N / TPETXD_N Transmit - / TPE Transmit Data -
011 Ground Ground for 5V
12 RCV_N / TPERXD_N Receive - / TPE Receive Data -
13 P15V + 15V
14 Ground Ground for 5V
15 -

The TPETXD / TPETXD_N and TPERXD / TPERXD-N signals form the ITP interface

Siemens AG Page 10 KO-7KETHER


Training Center Page 110 of 293 Communications Processors
Characteristics of the CP 443-1

Item Quantity

Max. number of connections 48


for S7 communications
Max. number of ISO 64
transport connections
Max.data area size for ISO 240 bytes per job and
transport connections connection
Max. total number of 64
connections

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.11

Siemens AG Page 11 KO-7KETHER


Training Center Page 111 of 293 Communications Processors
Technical Specifications of the CP 443-1 and
CP 443-1 TCP
Baud rate 10 Mbit/s
Rated voltage 5V DC +/- 5%
24V DC +/- 5%
Current consumption
- 5V DC Approx. 1A
- 24V DC 220 mA
Operating temperature 0 to 60 C
Transport/storage temperature -40 to +70 C
Relative humidity Max. 95% at +25 C
Operating altitude 3000 m above sea level
Dimensions (WxHxD) in mm 25 x 290 x 210
Weight Approx. 750 g

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.12

Siemens AG Page 12 KO-7KETHER


Training Center Page 112 of 293 Communications Processors
CP 343-1 Communications Processor
CP 343-1 TCP Communications Processor

LEDs

Mode selector

AUI/ITP interface
15-pin sub-D
with slide lock

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.13

Application The CP 343-1 communications processor is designed for use in S7-300


programmable controllers. It enables the S7-300 to be connected to Industrial
Ethernet.
Properties The CP 343-1 independently handles data transfer on the Ethernet network. It
has its own processor, which relieves the CPU of the S7-300 of the majority of
communications and protocol handling tasks.
CP343-1 Layers 1 to 4 conform to international OSI standards.
CP343-1 TCP Layers 1 to 4 conform to the TCP/IP standards (RFCs).

Siemens AG Page 13 KO-7KETHER


Training Center Page 113 of 293 Communications Processors
CP343-1 Communications Processor
CP343-1 TCP Communications Processor
Functions
SEND/RECEIVE interface
Communication between SIMATIC S7 and
- SIMATIC S7
- SIMATIC S5
- Computer/PC
S7 functions
Communication between SIMATIC S7 and
- SIMATIC S7
- HMI devices
- PCs
PG functions
Remote programming of the CPU via Industrial Ethernet,
and, in the case of the CP343-1 TCP , also via WAN

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.14

Functions
z SEND/RECEIVE interface
Provides a simple, optimized interface based on OSI Layer 4 for data
communication via ISO transport connections.
This is used for communication between SIMATIC S7 and
- SIMATIC S7-300/-400
- SIMATIC S5
- Computer/PC
z S7 functions
For communication between SIMATIC S7 and
- Other SIMATIC S7 stations
(S7-300 server only,
S7-400 client and server)
- HMI devices
- PCs with SOFTNET S7
This type of communication requires no further configuring of the CP343-1.
Remote programming of the CPU via the network is also implemented
(PG functions).

Siemens AG Page 14 KO-7KETHER


Training Center Page 114 of 293 Communications Processors
CP 343-1 Communications Processor
CP 343-1 TCP Communications Processor
Configuration
Via MPI or Ethernet LAN
using
NCM S7 for Industrial Ethernet
executable with STEP 7 under Windows 95

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.15

Configuration Configuring can be carried out via


z MPI or

z Ethernet LAN

for the CP343-1 using


z NCM S7 for Industrial Ethernet V2.x

executable with STEP 7 from V2.1 under Windows 95


z NCM S7 for Industrial Ethernet V3.x

executable with STEP 7 from V3.1 under Windows 95


for the CP343-1 TCP using
z NCM S7 for Industrial Ethernet V3.x

executable with STEP 7 from V3.1 under Windows 95

When configuring via Industrial Ethernet, you must first enter the
Ethernet (MAC) address of the CP ("node initialization").

NCM S7 is fully integrated in the STEP 7 environment.


The function calls (FCs) for the SEND/RECEIVE interface and some
examples of the use of the interface are supplied with the configuring
software.

Siemens AG Page 15 KO-7KETHER


Training Center Page 115 of 293 Communications Processors
Design of the CP 343-1 and CP343-1 TCP

Double-width module for simple installation in the S7-300 rack.


Direct connection of the module to the backplane bus with bus
connector supplied
All controls and displays located on the front panel.
Operates without fans
4-pin terminal strip for connection to external 24 V DC voltage
supply
15-pin SUB-D plug connector with slide lock for connecting the
CP343-1 to Industrial Ethernet with automatic switchover between
AUI and Twisted Pair interface.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.16

Mechanical S7-300 system


Design Occupies a double-width slot in an S7-300 programmable controller.
You snap the module onto the S7-300 rack and screw it tight. The bus connector
supplied with the module provides it with a direct backplane bus connection to
the other modules in the S7-300 programmable controller.
The front panel contains the connections for the LAN (AUI and Twisted Pair), a 4-
pin terminal strip for connecting to the external 24 V DC voltage supply, LEDs, 3
of which are used for indicating operating states, and the RUN/STOP mode
selector.

Installation
z Plug in the CP and screw it tight
z Connect the CP to Industrial Ethernet
z Provide 24V voltage supply

Notes
z You must use the same voltage source that is used for the CPU or IM361
z The two flaps at the front must be kept closed during operation.
When installing the module, ensure that the ventilation slits at the top and
bottom are not covered and that the air can circulate freely.

Siemens AG Page 16 KO-7KETHER


Training Center Page 116 of 293 Communications Processors
Indicators and Operating States of the
CP343-1 and CP343-1 TCP

SF Stop LED RUN LED SF LED CP State


(Yellow) (Green) (Red)
On Flashing Off Starting
Off On Off RUN
Flashing On Off Stopping
On Off Off STOP
On Off On STOP with
internal fault
RUN Flashing Flashing Flashing Module fault/
STOP System fault

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.17

LEDs 3 of the LED display elements are used.

Operating State The operating state can be changed in 2 ways:


z Mode selector

z From PG/PC using the configuring software

NCM S7 for Industrial Ethernet

Mode Selector - Switching from STOP to RUN.


All communication services are available in RUN mode.
The operating mode of the CP can only be changed via NCM if the
mode selector is in the RUN position.

- Switching from RUN to STOP


The CP goes into the STOP state.
Only configuring and diagnostics of the CP are possible when it is
in the STOP state.

Siemens AG Page 17 KO-7KETHER


Training Center Page 117 of 293 Communications Processors
Connecting the CP 343-1 to Industrial Ethernet
CP343-1 or
CP343-1 TCP

Transceiver cable
727-1 drop cable
Transceiver

Triax-Cable

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.18

AUI Connection Connection to the transceiver via the AUI interface.

The CP generates the power supply for the external transceiver and makes it
available at the AUI connection.
This 15 V voltage supply provides a current of at least 500 mA .

Siemens AG Page 18 KO-7KETHER


Training Center Page 118 of 293 Communications Processors
Connecting the CP 343-1 to Industrial Ethernet
CP343-1/CP343-1 TCP CP343-1/CP343-1 TCP

Twisted pair plug-in


Star coupler

ITP wiring cable

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.19

TP Connection Industrial twisted pair connection via star coupler or hub


The CP automatically recognizes the ITP wiring cable and adjusts itself from AUI
to twisted pair.

The ITP cable can be up to 100m long.

Siemens AG Page 19 KO-7KETHER


Training Center Page 119 of 293 Communications Processors
Connecting the CP 343-1 to Industrial Ethernet
CP 343-1 / CP343-1 TCP

Optical plug-in

Star coupler

Transceiver cable

Fiber-optic cable
Optical transceiver

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.20

Optical Connection The CP is connected via the AUI interface and the transceiver cable to the optical
transceiver, which, in turn, is connected via a fiber-optic cable to an optical plug-
in in the star coupler.

Siemens AG Page 20 KO-7KETHER


Training Center Page 120 of 293 Communications Processors
Connector Pin Assignment of the CP 343-1
and CP 343-1 TCP

15-pin SUB D plug connector with slide lock


for connection of
Transceiver cable (727-1 drop cable)
ITP cable
The signals of the ITP interface are also wired
to this connector (selection by means of a relay).

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.21

Pin Signal Function


1 MEXT External ground
2 CLSN Collision +
3 TRMT / TPETXD Transmit + / TPE Transmit Data
+
4 Ground Ground for 5V
5 RCV / TPERXD Receive + / TPE Receive data +
6 M 15V Ground for 15 V
7 TPE_SEL AUI/ITP selection
8 Ground Ground for 5V
9 CLSN_N Collision -
10 TRMT_N / TPETXD_N Transmit - / TPE Transmit Data -
011 Ground Ground for 5V
12 RCV_N / TPERXD_N Receive - / TPE Receive Data -
13 P15V + 15V
14 Ground Ground for 5V
15 -

The TPETXD / TPETXD_N and TPERXD / TPERXD-N signals form the ITP interface

Siemens AG Page 21 KO-7KETHER


Training Center Page 121 of 293 Communications Processors
Characteristics of the CP 343-1

Item Quantity

Max. number of connections 16, depending on the type


for S7 communications of CPU used
Max. number of ISO 16
transport connections
Max.data area size for ISO 240 bytes per job and
transport connections connection
Max. total number of 32
connections

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.22

Siemens AG Page 22 KO-7KETHER


Training Center Page 122 of 293 Communications Processors
Technical Specifications of the CP 343-1 and
CP 343-1 TCP
Baud rate 10 Mbit/s
Rated voltage 5V DC +/- 5%
24V DC +/- 5%
Current consumption
- 5V DC (from S7-300
backplane bus) Approx. 70 mA
- 24V DC (external) 0.6 mA
Operating temperature 0 to 60 C (horizontal)
0 to 40 C (vertical)
Transport/storage temperature -40 to +70 C
Relative humidity Max. 95% at +25 C
Operating altitude 3000 m above sea level
Dimensions (WxHxD) in mm 80 x 125 x 120
Weight Approx. 750 g

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_cp.23

Siemens AG Page 23 KO-7KETHER


Training Center Page 123 of 293 Communications Processors
Communication Facilities provided by SIMATIC S7 with
an Ethernet CP

S7-400 Ethernet CP S7-300 Ethernet CP

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.1

Contents Page

Communication Facilities Open to SIMATIC S7 with an Ethernet CP............................................ 2

Communication Facilities Provided by the CP................................................................................ 3

S7 Communication via Ethernet...................................................................................................... 4

Using a PG with STEP 7 on Ethernet............................................................................................. 5

Using a PC with S7 Interface on Ethernet....................................................................................... 6

HMI Devices on Ethernet................................................................................................................. 7

S7 Communication with CFBs......................................................................................................... 8

Communication via the Send-Receive Interface and Transport Connections................................. 9

Siemens AG Page 1 KO-7KETHER


Training Center Page 124 of 293 Communication Facilities
Communication Facilities Open to SIMATIC S7 with an
Ethernet CP

Ethernet CP
S7-400

Possible types of communication

S7
S7single-system
single-system SEND-RECEIVE
SEND-RECEIVE
communication
communication interface
interface

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.2

Communication The Ethernet CP supports the following types of communication:


Types
S7 single-system communication (S7 protocol)

S7 single-system communication provides a simple, efficient interface


between SIMATIC S7 stations and to PGs/PCs via communication
function blocks (CFBs).

The CP acts as an S7 communication relay, passing on CFB


communications, for example, via Ethernet.

SEND-RECEIVE interface

The SEND-RECEIVE interface allows program-controlled


communication via a configured connection from SIMATIC S7 to
SIMATIC S7, SIMATIC S5 and PC/PG.

Siemens AG Page 2 KO-7KETHER


Training Center Page 125 of 293 Communication Facilities
Communication Facilities Provided by the Ethernet CP

PC
S7-300 S7-400 S5-115 to155U/H

S7-300
SEND-RECEIVE S7 protocol SEND-RECEIVE S7 protocol
SEND-RECEIVE SEND-RECEIVE

S7/M7-400
S7 protocol S7 protocol SEND-RECEIVE S7 protocol
SEND-RECEIVE SEND-RECEIVE SEND-RECEIVE

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.3

Communication The diagram shows the communication facilities possible with the
Facilities S7 protocol and SEND-RECEIVE interface.

Configuration and For connecting and configuring the Ethernet CP you need the
Diagnostics NCM S7 for Industrial Ethernet configuring software.

NCM S7 for Industrial Ethernet is installed in the same way as a STEP 7 option
package and can be called up from STEP 7.

NCM S7 for Industrial Ethernet also provides extensive diagnostics facilities for
the different types of communication.

Siemens AG Page 3 KO-7KETHER


Training Center Page 126 of 293 Communication Facilities
S7 Communication via Ethernet

S7-400 Ethernet CP S7-300 Ethernet CP

Client Server

Ethernet

SIEMENS HMI
STEP 7 Control
NCM S7
PG 740

PG with Ethernet CP PC with Ethernet CP OP M7

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.4

Application S7 communication based on the S7 protocol takes place via:

MPI, the SIMATIC S7 local interface

or

Ethernet
The CP acts as an S7 communication relay, passing on CFB
communications on Ethernet.

S7 Communication The Ethernet CP supports S7 communication on Ethernet for:


Partners
PGs with STEP 7 for programming, configuring and diagnostics of
SIMATIC S7;

Applications on PCs with Ethernet CP and an interface to


SIMATIC S7 for operator communication, monitoring and control;

HMI (human-machine interface) devices to SIMATIC S7;

Communication between S7 stations with CFBs (communication


function blocks).

Siemens AG Page 4 KO-7KETHER


Training Center Page 127 of 293 Communication Facilities
Using a PG with STEP 7 on Ethernet

STEP 7
MPI connection
NCM S7 PG 720

or

Ethernet connection
Generate configuration data for each CP
and download to Ethernet CPs

Ethernet

S7-400 S7-300 Ethernet CP

Ethernet CP

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.5

Meaning / Using a PG with STEP 7 on Ethernet enables you to:


Advantages
utilize the full range of functions of STEP 7 on Ethernet;
program, diagnose, operate and monitor all SIMATIC S7 modules via
Ethernet.

Requirements The following are essential requirements:

An Ethernet CP must be installed in the PG.


The Ethernet CP must be supplied with a MAC address ("node
initialization"),

The physical Ethernet connection between the PG with Ethernet CP and the
SIMATIC S7 with Ethernet CP must be established.

Procedure To use a PG on Ethernet, proceed as follows:

1. Connect the SIMATIC S7 stations you want to access from the PG to


Ethernet.

2. Start up the stations.


In order to use a PG on Ethernet you must at least set the MAC address.
This is known as node initialization.

3. Make the appropriate settings in the Windows 95 Control Panel for the
the PG/PC interface to suit the CPs available on your PG and the bus
connection. The integrated help will give you detailed information.

When you have done this, the PG or STEP 7 will automatically find the way via
Ethernet to all intelligent modules in the SIMATIC S7 station.

Siemens AG Page 5 KO-7KETHER


Training Center Page 128 of 293 Communication Facilities
Using a PC with S7 Interface on Ethernet

S7-400 Ethernet CP S7-300 Ethernet CP

Client Server

Ethernet

HMI
Control

PC with Ethernet CP

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.6

Meaning / S7 communication via Ethernet supports the S7 protocol from a


Advantages PC with an Ethernet CP and S7 interface to SIMATIC S7.

Requirements The physical Ethernet connection between the Ethernet CPs of the PC and S7
station to communicate with one another must be established.

Procedure To use the S7 communication facilities with a SIMATIC S7 from a PC, specify the
address of the CPU module in the SIMATIC S7 you want to access via Ethernet
in your PC application.

Siemens AG Page 6 KO-7KETHER


Training Center Page 129 of 293 Communication Facilities
HMI Devices on Ethernet

S7-400 Ethernet CP S7-300 Ethernet CP

Client Server

Ethernet

OP

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.7

Meaning / S7 communication via Ethernet enables you to operate and monitor all the
Advantages modules in the SIMATIC S7 from HMI (human-machine interface) devices.

Requirements The physical Ethernet connection between the Ethernet CPs of the HMI device
and S7 station to communicate with one another must be established.

Procedure To use the S7 communication facilities you must specify the address of the
required module in the SIMATIC S7 on your HMI device. For more detailed
information see the manual for your HMI device (operator panel).

Siemens AG Page 7 KO-7KETHER


Training Center Page 130 of 293 Communication Facilities
S7 Communication with CFBs

S7-400 Ethernet CP S7-400 Ethernet CP

Client Server

Ethernet

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.8

Meaning / S7 communication via Ethernet allows program-controlled communication


Advantages between two SIMATIC S7 stations in a subnet.

Requirements The physical Ethernet connection between the Ethernet CPs of the two SIMATIC
S7 stations must be established.

Procedure To use the S7 communication facilities for exchanging data between two
SIMATIC S7 stations you use the connections configured in STEP 7.

Siemens AG Page 8 KO-7KETHER


Training Center Page 131 of 293 Communication Facilities
Communication via the Send-Receive Interface and
Transport Connections

S7-400 Ethernet CP S7-300 Ethernet CP

Ethernet

SIMATIC S5
with Ethernet CP PG/PC with Ethernet connection

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_KOMO.9

Application Data transfer via a configured transport connection is suitable for transferring a
series of data units from one Ethernet node to another.

Send-Receive Data is transferred when triggered by the user program. The interface with
Interface the user program in the SIMATIC S7 is provided by special SIMATIC S7 blocks
of the type FC (functions).

Nodes Transport connections allow program-controlled communication via Ethernet


between SIMATIC S7 and:

SIMATIC S7 with Ethernet CP

SIMATIC S5 with Ethernet CP (e.g. CP 143 or CP 1430)

PC/PG with Ethernet CP (e.g. CP 1413)

Siemens AG Page 9 KO-7KETHER


Training Center Page 132 of 293 Communication Facilities
Types of Network / Project

S7-400/1 S7-300/1
"Production"
system Other station

SINEC H1 subnet 1
(Industrial Ethernet)
SIMATIC S5

S7-300/2

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.1

Contents Page

Configuring Networks in STEP 7 Projects................................................................................... 2

Different Types of Network and How to Configure Them in STEP 7........................................... 3

Network/Project Type: One Subnet - One Project....................................................................... 4

Network/Project Type : SIMATIC S5 and Other Stations in a Subnet......................................... 5

Network/Project Type : Two or More Subnets - One Project....................................................... 6

Network/Project Type : One Subnet - More than One Project..................................................... 7

Network/Project Type : More than One Subnet in More than One Project.................................. 8

Network/Project Type : Connections Between Subnets.............................................................. 9

Network/Project Type : Connections to Unknown Network Structures....................................... 10

Siemens AG Page 1 KO-7KETHER


Training Center Page 133 of 293 Types of Network/Project
Configuring Networks in STEP 7 Projects

To enable SIMATIC stations and other stations (non-SIMATIC stations) to


communicate with one another, the necessary networks must be configured in
the STEP 7 projects.

Configuring a network or subnet means:

1. You create one or more subnets of the required type in the project;

2. You define properties of the subnets; the default settings are usually
sufficient;

3. You establish a logical connection between the stations and the subnet;

4. You establish communication connections.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.2

Tools The following tool is available for configuring networks:

SIMATIC Manager

The SIMATIC Manager provides all the facilities necessary for configuring
and documenting simple, modest-sized networks.

Siemens AG Page 2 KO-7KETHER


Training Center Page 134 of 293 Types of Network/Project
Different Types of Network and How to Configure Them
in STEP 7

Type Features / Configuration


1 1 subnet - 1 project

2 Additional SIMATIC S5 stations and non-SIMATIC stations


3 2 or more subnets - 1 project
4 1 subnet - more than 1 project
5 More than 1 subnet - more than 1 project
6 Connections in different networks (ISO-on-TCP)

7 Connections to networks of unknown structure (ISO-on-TCP)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.3

Different Types In order to be able to configure networks in STEP 7, you need to know how
of Network different types of network are represented in a STEP 7 project. The table above
shows typical configurations for stations networked using CPs.

Siemens AG Page 3 KO-7KETHER


Training Center Page 135 of 293 Types of Network/Project
Network / Project Type: One Subnet - One Project

S7-400/1 S7-300/1

"Production"
system

Ethernet (1)
(Industrial Ethernet)

S7-300/2

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.4

System In the simplest case, your system will consist of SIMATIC S7 stations that
Configuration you want to link together in one subnet, using Ethernet for example.

STEP 7 Project To do this, you create an Ethernet object in the STEP 7 project.
Representation Stations created in the same project refer to this object as soon as they are
configured as network nodes.

Production Project

Ethernet (1)
Network
objects

+ S7-400/1

+ S7-300/1

+ S7-300/2

Siemens AG Page 4 KO-7KETHER


Training Center Page 136 of 293 Types of Network/Project
Network / Project Type: SIMATIC S5 and Other Systems
in a Subnet

S7-400/1 S7-300/1
"Production"
system Other station

Ethernet (1)
(Industrial Ethernet)
SIMATIC S5

S7-300/2

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.5

System Your system may contain not only SIMATIC S7 stations but also
Configuration SIMATIC S5 stations and non-SIMATIC stations.

STEP 7 Project SIMATIC S5 stations to be included in communications can be selected


Representation direct. Non-SIMATIC stations have to be entered as Other Stations when
configuring.

Production Project

Ethernet (1)
Network
SIMATIC S5 objects

Other Station 1

+ S7-400/1

+ S7-300/1

+ S7-300/2

Siemens AG Page 5 KO-7KETHER


Training Center Page 137 of 293 Types of Network/Project
Network / Project Type: Two or More Subnets -
One Project

S7-400/1

Ethernet (1)
Production and (Industrial Ethernet) Ethernet CP
Plant Management
S7-400/2
System
PROFIBUS CP

PROFIBUS (1)

S7-300/1 S7-300/2

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.6

System The different functions of the stations or the size of the system may make
Configuration it necessary to have more than one network.

STEP 7 Project You can put all the subnets in one STEP 7 project. This is the simplest
Representation way of configuring the stations for communication.

Production and Plant Project


Management Level

Ethernet (1)
Network
PROFIBUS (1) objects

- S7-400/1

- S7-400/2

- S7-300/1

- S7-300/2

This screenshot shows that:

More than one subnet can be handled in one project.

Each station is only created once in the project.

A station can be included in more than one subnet by assigning the CPs
accordingly.

Siemens AG Page 6 KO-7KETHER


Training Center Page 138 of 293 Types of Network/Project
Network / Project Type: One Subnet - More than One
Project

"Production 1" "Production 2"

S7-400/1 S7-400/2

Ethernet (1)

S7-300/1 S7-300/2 S7-300/3

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.7

System For complex networks it may be more practical to divide the stations into
Configuration different objects to facilitate management.

STEP 7 Project In order to be able to address stations in other projects (e.g. Production 2),
Representation they are also configured as Other Stations in the rest of the projects (e.g.
Production 1).

Production 1
Production 2

Ethernet (1)
Ethernet (1)

Other Station 1 (S7-400/2)


Other Station 1 (S7-400/1)
Other Station 2 S7-300/3)
Other Station 2 S7-300/1)

Other Station 3 S7-300/2)


+ S7-400/1
+ S7-400/2
+ S7-300/1
+ S7-300/3
+ S7-300/2

This screenshot shows that:

One subnet can be divided into more than one project.

Siemens AG Page 7 KO-7KETHER


Training Center Page 139 of 293 Types of Network/Project
Network / Project Type: More than One Subnet in
More than One Project

Ethernet (1)
(Industrial Ethernet) Cell level

S7-400/1 Ethernet CP

PROFIBUS CP

Field level

PROFIBUS (1)

S7-300/1 S7-300/2

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.8

System If the different functions of the stations or the size of the system make it
Configuration necessary to have different types of network and you want to use different
projects to manage them, the stations in other projects can also be accessed by
configuring Other Stations.

Cell level Project

Ethernet (1)

Other Station 1 (S7-300/1) Network


objects
Other Station 2 (S7-300/2)

- S7-400/1

Field level Project

PROFIBUS (1)

Other Station 1 (S7-400/1) Network


objects

- S7-300/1

- S7-300/2

Siemens AG Page 8 KO-7KETHER


Training Center Page 140 of 293 Types of Network/Project
Network / Project Type: Connections Between Subnets

Ethernet CP

S7-400/1

Ethernet (1)

Router

Ethernet (1)
S7-300/1
Ethernet CP
S7-400/1
S7-300/1

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.9

System If the different functions of the stations or the size of the system make
Configuration connections with stations in network structures connected by routers necessary,
the stations in other projects can be accessed by configuring "Other Stations".

Project

Ethernet (1)

Other Station 1 (S7-400/1) Network


objects
Other Station 2 (S7-300/1)

- S7-400/1

Project

ETHERNET (1)

Other Station 1 (S7-400/1) Network


objects

- S7-400/1

- S7-300/1

Siemens AG Page 9 KO-7KETHER


Training Center Page 141 of 293 Types of Network/Project
Network / Project Type: Connections to Unknown
Network Structures
Ethernet CP

S7-400/1

Ethernet (1)

WAN
Internet
Router

Ethernet (1)
S7-300/1
Ethernet CP
S7-400/1
S7-300/1

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_NPV.10

System If the different functions of the stations or the size of the system make
Configuration connections with stations in unknown network structures necessary, the stations
in other projects can be accessed by configuring "Unspecified" connections.

Project

Ethernet (1)

Unspecified 1 (S7-400/1) Network


objects
Unspecified 2 (S7-300/1)

- S7-400/1

Project

ETHERNET (1)

Unspecified 1 (S7-400/1) Network


objects

- S7-400/1

- S7-300/1

Siemens AG Page 10 KO-7KETHER


Training Center Page 142 of 293 Types of Network/Project
Configuring the CP

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.1

Contents Page

General Notes on the NCM S7 Option Package....................................................................... 2


General Procedure.................................................................................................................... 3
Creating a New Project.............................................................................................................. 4
Creating a Station in a Project................................................................................................... 5
Configuring the Hardware.......................................................................................................... 6
Configuring a Rack..................................................................................................................... 7
Procedure for Creating a Subnet, Configuring a CP and Connecting It to the Subnet.............. 8
Creating an Industrial Ethernet Subnet..................................................................................... 10
Checking or Setting the Network Properties.............................................................................. 11
Properties - Industrial Ethernet, Ethernet Tab......................................................................... 12
Entering an Ethernet CP in the Hardware Configuration........................................................... 13
Connecting a SIMATIC Station to the Ethernet Subnet............................................................. 14
Displaying the Network Connections of a Station...................................................................... 16
Setting Other CP Properties....................................................................................................... 17
Substitute Objects in a STEP 7 Project.................................................................................... 18
Downloading the Configuration to the PLC................................................................................. 21
Downloading the Connection Configuration............................................................................... 24
Printing Out the Configuration Data............................................................................................ 25
Licensing..................................................................................................................................... 26

Siemens AG Page 1 KO-7KETHER


Training Center Page 143 of 293 Configuring the CP
General Notes on the NCM S7 Option Package

Meaning of the buttons

In NCM S7 the buttons below the tab pages apply to all tabs. This means:

OK All entries in all the tab pages are checked for


OK plausibility. The dialog is only exited if all entries are
plausible. Messages pointing out discrepancies or errors
in context with other entries may appear (e.g. when
configuring connections).

Cancel The dialog is exited; None of the values entered in a tab


Cancel page are adopted.
An exception to this rule are additional dialogs within the
tab pages, which have been confirmed with OK
(example: network connection properties).
When you switch from one tab page to another, the entries
are not automatically adopted!

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.2

Functions NCM S7 consists of:

CP-specific dialogs in tab index form, which are called from the
Properties dialog fields for the modules.

Dialogs for configuring connections

Diagnostics functions, which you can access from:

- a Diagnostics tab in the Properties dialog.

- the SIMATIC program item in the standard Windows 95 Start menu

Functions available in the Windows 95 Start menu under


SIMATIC >STEP7>NCM :

- Help Functions

- Readme

- Industrial Ethernet diagnostics

Operation See the STEP 7 User Manual.

Siemens AG Page 2 KO-7KETHER


Training Center Page 144 of 293 Configuring the CP
General Procedure
Create / Open project
An image of the S7 stations and the user
programs are managed in a STEP 7
project.

Create Industrial Ethernet subnet


You define the network to which the
stations are connected

Configure and network CP


You define the components of your
system

Configure communications service


You establish a logical connection between
the two S7 stations.

Write user program


You express your control task in the form of
an S7 user program, using the STL notation,
for example.

Startup / diagnostics

If problems occur in execution, check the S7


stations with the STEP 7/STL on-line tools
and NCM diagnostics.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.3

The CP in the CPs are managed in a STEP 7 project like any other SIMATIC S7 module.
STEP 7 Project The hardware is configured and the user software created and managed with
STEP 7.

Siemens AG Page 3 KO-7KETHER


Training Center Page 145 of 293 Configuring the CP
Creating a New Project

Create
new
project

Enter name of project


e.g. Course project

Change folder if necessary

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.4

Double-click to open the SIMATIC Manager.

New Project In the SIMATIC Manager select the menu options File...New...Project or simply
click this icon. A window for a new project showing the existing projects appears.
As the default, new projects are stored in the folder c:\SIEMENS\STEP7\s7proj.
You can select a different folder by clicking the "Browse" button. You must then
enter the project name.
Do not change the ending s7p ! You click "OK" to save the new, empty project.
The window is closed.

A window containing the new project appears in the SIMATIC Manager:

Next, you enter the hardware components in this project.

Siemens AG Page 4 KO-7KETHER


Training Center Page 146 of 293 Configuring the CP
Creating a Station in a Project

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.5

Creating a Station Click the project with the right mouse button, choose Insert New Object
(See screenshot) and select the required station, e.g. SIMATIC 400 Station.

Click the + sign to display the new station. The individual hardware components
must be entered in this station. To do this, you must first open the station:
You can either select the menu options Edit....Open Object or
click the station with the right mouse button and select Open Object:

HW Config This automatically starts the hardware configuration tool, HW Config, with which
you enter and configure the components.

Siemens AG Page 5 KO-7KETHER


Training Center Page 147 of 293 Configuring the CP
Configuring the Hardware

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.6

Catalog You click the Catalog icon to activate or deactivate the hardware catalog. When
you have selected a system, e.g. SIMATIC 300, the details are displayed:

Rack First you select a rack, e.g. a rail, and open it in the configurator by clicking the +
sign. The slots are then displayed. You then allocate the components, such as
power supply, CPU, CPs, signal modules, etc. to the slots.

Siemens AG Page 6 KO-7KETHER


Training Center Page 148 of 293 Configuring the CP
Configuring a Rack

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.7

Positioning You first select the slot and then drag and drop the required component,
Components e.g. PS407 20A, from the catalog into the rack. It is even quicker to double-click
the required component in the catalog.
The hardware configuration tool rejects most positioning errors.

An S7-400 could appear as follows, for example.

Siemens AG Page 7 KO-7KETHER


Training Center Page 149 of 293 Configuring the CP
Procedure for Creating a Subnet, Configuring a CP and
Connecting it to the Subnet (1)

Create Industrial Ethernet subnet

Check or set the network properties

Enter the Ethernet CP in the hardware configuration

Attach the Ethernet CP to the Ethernet subnet

Display the network attachments of a station

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.8

Siemens AG Page 8 KO-7KETHER


Training Center Page 150 of 293 Configuring the CP
Procedure for Creating a Subnet, Configuring a CP and
Connecting it to the Subnet (2)

Make further CP settings

Configuration data
in STEP 7 project

Download configuration to PLC

Configure communication services


- S7 homogeneous connections
- ISO transport connections
- ISO-on-TCP connections

Download connection configuration to PLC

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.9

Siemens AG Page 9 KO-7KETHER


Training Center Page 151 of 293 Configuring the CP
Creating an Industrial Ethernet Subnet

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.10

Purpose In order to connect your SIMATIC stations to a subnet, you must create an object
for the subnet in your project. This enables all parameters relating to the subnet
as a whole to be stored centrally.

Procedure It is advisable to create the subnet before configuring the stations, because the
SIMATIC stations can then be assigned almost automatically.

It is also possible to create the subnet later when configuring a CP.

Proceed as follows:

1. Select the project in the SIMATIC Manager.

2. Choose Insert >Subnet >Ethernet.

Result: An object of the Network type is created in the project. All the
SIMATIC stations created in the project can then be connected to this
subnet.

Siemens AG Page 10 KO-7KETHER


Training Center Page 152 of 293 Configuring the CP
Checking or Setting the Network Properties

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.11

Procedure Most of the parameters describing the properties of the Ethernet subnet have
been assigned default values. Proceed as follows to check the settings and
adjust them to suit your requirements:

1. Select the network object in the SIMATIC Manager and choose the
options Edit>Object Properties.

Result: The Properties - Industrial Ethernet dialog is opened at the


General tab.

2. Enter an appropriate name for your subnet and any other information to
describe it in the General tab page.

3. Check the entries in the Ethernet or IP Parameters tab page.

Siemens AG Page 11 KO-7KETHER


Training Center Page 153 of 293 Configuring the CP
Properties - Industrial Ethernet, Ethernet Tab Page

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.12

The Base MAC Address is the starting address for automatic assignment of all
addresses within a project.

Since the Base MAC Address only applies to one project, you should establish
a Base MAC Address structure when you start configuring, in order to avoid
overlap with other projects.

Siemens AG Page 12 KO-7KETHER


Training Center Page 154 of 293 Configuring the CP
Entering an Ethernet CP in the Hardware Configuration

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.13

Procedure When you install the Ethernet CP in the rack of a SIMATIC station and assign it,
you establish the logical connection between Ethernet CP and subnet.

1. Select the station in your project that you want to connect to Industrial
Ethernet via the Ethernet CP.

2. Position the CP in the configuration table like any other module, by


selecting it from the hardware catalog and selecting the relevant slot in
the rack.

You select the CPs using the brief description and order number given in
the hardware catalog. The CPs are included in the catalog and available
for selection when NCM S7 is installed.

Result: The CP is assigned to the SIMATIC station.

Siemens AG Page 13 KO-7KETHER


Training Center Page 155 of 293 Configuring the CP
Connecting a SIMATIC Station to the Ethernet Subnet (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.14

Subnet In order to activate the network connection of the Ethernet CP, proceed as
Connection follows after including the CP in the hardware configuration:

1. Select Object Properties with Edit > Object Properties or by double-


clicking the module.

Result: See screenshot above

2. If required, enter a suitable name for the CP and any other information
in the Comment field.

3. Under Nodes click the "Ethernet" button for the subnet type.

Result: You open the Properties - Ethernet Nodes dialog at the


Network Connection tab .

Siemens AG Page 14 KO-7KETHER


Training Center Page 156 of 293 Configuring the CP
Connecting a SIMATIC Station to the Ethernet Subnet (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.15

4. If you have not yet created a subnet in the project or have not yet created
the required subnet, you can create a subnet now by clicking the New
button.

Result: An object of the Network type is created in the project.

5. Check the address (es) and change it (them) if necessary. The next free
address (es) is (are) entered automatically as a default.

6. Activate the The node is connected to the selected network button and
select the required subnet from the Industrial Ethernet list box. Make
this selection even if the Networked button is already activated.

7. You can display the Properties dialog for the selected subnet by clicking
the relevant button.

8. Enter any special information characterizing the subnet node in the


"General" tab page.

9. Confirm your entry with OK, otherwise the network connection will not
be made.

Result: The CP is now configured as the network node for its S7 station.

Siemens AG Page 15 KO-7KETHER


Training Center Page 157 of 293 Configuring the CP
Displaying the Network Connections of a Station

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.16

Procedure You can easily obtain an overview of the network connections configured for a
SIMATIC station.

Proceed as follows:

1. In the SIMATIC Manager select the station in your project that you want to
check up on.

2. Select Object Properties with Edit > Object Properties or by double-


clicking the station icon.

3. Change to the Network tab.

You will be shown the subnet connections configured for the SIMATIC
station.

You can use the check boxes under Subnet Type to select a display.
Your selection will not become effective until you click the Update
button.

Siemens AG Page 16 KO-7KETHER


Training Center Page 158 of 293 Configuring the CP
Setting Other CP Properties

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.17

Overview In addition to setting the network connection, you can also make other module-
specific settings and call up functions.

1. Select the Ethernet CP in the hardware configuration.

2. Choose Edit > Object Properties. A dialog box appears containing the
"General" tab page and the following tabs:

- Addresses

- Time

- Diagnostics

Addresses Tab Page The Addresses tab page shows you the address by which the user program can
address the module. You need this address when calling the FC blocks for
transport connections.

Time Tab Page You use the Time tab page to specify whether the CP is to pass on the time-of-
day synchronization frames. You need this function when there is more than one
CP in one station, because only one CP is allowed to pass on the time
synchronization messages.

Diagnostics Tab Page You can start the NCM S7 Ethernet diagnostics for the Ethernet CP from the
Diagnostics tab page.

Siemens AG Page 17 KO-7KETHER


Training Center Page 159 of 293 Configuring the CP
Substitute Objects in a STEP 7 Project (1)

"Production 1 "Production 2

PC/PG
S7-400/1 S7-400/2 S7-400/4

PG 720

Other
station

SINEC H1 subnet 1

S7-400/3 S7-400/5
SIMATIC S5

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.18

Overview Substitute objects must be included in a project for the following nodes in the
Ethernet subnet:

SIMATIC S5 stations

Devices from other vendors (Other Station)

PC/PG

SIMATIC S7 stations in another project (Other Station)

Siemens AG Page 18 KO-7KETHER


Training Center Page 160 of 293 Configuring the CP
Substitute Objects in a STEP 7 Project (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.19

Procedure You insert a "substitute object" in a project as follows:

1. Select the project in the SIMATIC Manager.

2. Choose Insert > Station> and then Other Station, PG/PC


or SIMATIC S5, as the case may be

Result: An object of the correct type is created in the project.

Siemens AG Page 19 KO-7KETHER


Training Center Page 161 of 293 Configuring the CP
Substitute Objects in a STEP 7 Project (3)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.20

Connecting a One of the next steps is to assign "substitute objects" to the subnet:
Non-S7 Station
to the Subnet 1. Select the required object in the project and choose
Edit > Object Properties.

2. In the "Properties" dialog box that appears, click the "New" button on the
Node List tab page.

Result: The "New Node - Select Type" dialog box appears

3. Select a subnet.

Result: The Properties - Ethernet Nodes" dialog box appears. Here you
can select the subnet, connect the station to the network and set the
address (MAC,IP). All the SIMATIC stations in the project can establish
communication connections with this substitute object.

The addresses (MAC, IP) assigned to the substitute object must also be set on
the actual station using the relevant tools (e.g. COM 1430).

Siemens AG Page 20 KO-7KETHER


Training Center Page 162 of 293 Configuring the CP
Downloading the Configuration to the PLC (1)

Procedure You download the configuration data to the S7 station as


follows:

1. Set the MPI interface on your PG/PC.

To do this you select the PG/PC interface in the


Windows 95 Control Panel System according to the CPs
available on your PG and according to the network
connection.

You can obtain more detailed information from the integral


Help.

2. Switch the CPU to the STOP state.

3. Choose the menu options PLC > Download...

STEP 7 will then guide you through with dialog boxes.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.21

Principle The configuration data for the Ethernet CP is downloaded from the hardware
configuration. All the configuration data of the S7 station is downloaded, including
the central configuration, the configuration of all the relevant DP master systems
and all parameters.

The connection configuration data must be downloaded separately.

Connection Type You can download the configuration data to the S7 station via the MPI connection
or via Ethernet.
You can only use Ethernet if you have previously carried out "node initialization"

Node Initialization "Node initialization" is when you first assign a MAC or Internet address to the
Ethernet CP.

When you have performed the steps in the boxes with solid lines in the flowchart
on Pages 8 and 9, you have configured the CP sufficiently to be able to carry out
further configuration steps from the PG connected to Ethernet.

Siemens AG Page 21 KO-7KETHER


Training Center Page 163 of 293 Configuring the CP
Downloading the Configuration to the PLC (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.22

Non-Volatile In the course of downloading you can decide whether you want to download
Storage of the the configuration data all at once or step-by-step. When downloading step-by-
Configuration Data step, you will be requested to start downloading for each module separately. You
must choose this method if you want to put the configuration data into non-
volatile storage in the Ethernet CP. To do this check Copy to ROM in the
"Download" dialog for the CP.

Siemens AG Page 22 KO-7KETHER


Training Center Page 164 of 293 Configuring the CP
Downloading the Configuration to the PLC (3)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.23

Siemens AG Page 23 KO-7KETHER


Training Center Page 165 of 293 Configuring the CP
Downloading the Connection Configuration

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.24

To download configured connections you must carry out the relevant


downloading procedure in the connection configuration.

Note

If you have assigned a new address to the Ethernet CP and have also configured
connections, you must always also download the connection configuration.

Remember to make the relevant adjustments to the addresses in the "substitute


objects".

Moving a CP to a When using communication services with configured connections, the


Different Place in connections are linked by the connection IDs with the slot in which the CP is
the Hardware installed. Please bear in mind the following note when you move a CP
Configuration that has already been configured to a different slot using "drag and drop".

Note

When you "drag and drop" a CP to a different slot, the connection configuration
data is automatically updated. You must, however, download it again!

Siemens AG Page 24 KO-7KETHER


Training Center Page 166 of 293 Configuring the CP
Printing Out the Configuration Data

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.25

Overview When you select Station > Print from the Hardware Configuration dialog you can
choose one of the following options for printing out configuration data:

"All" option

Prints all the configuration data for the selected S7 station, regardless of
any other selections made.

- "Overview" option

Prints out the most important configuration data for the selected S7
station, regardless of any other selections made.

"Selection" option

Prints out all the configuration data for the selected component. This
enables you to print out only the configuration data for the Ethernet CP,
for example, by selecting it in the hardware configuration.

You can obtain more information on what to do from the integral Help.

Siemens AG Page 25 KO-7KETHER


Training Center Page 167 of 293 Configuring the CP
Licensing

Please note that you can only download the configuration data to the CP if you
had a valid license to use the NCM S7 option package when carrying out the
configuration.

______________________________________________________________

Note

For test or demonstration purposes you can install the option package without
a license, in order to familiarize yourself with NCM S7. Any configuration data
generated in this way can, however, never be downloaded to the CP, not even
if the software is subsequently licensed.
______________________________________________________________

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PKCP.26

Siemens AG Page 26 KO-7KETHER


Training Center Page 168 of 293 Configuring the CP
Configuring Connections

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.1

Contents Page

Possible Connection Configurations........................................................................................... 2


Communication Connections...................................................................................................... 3
Functions of the Ethernet CP...................................................................................................... 4
Action to be Taken...................................................................................................................... 5
Address Parameters of ISO Transport Connections.................................................................. 6
Address Parameters of ISO-on-TCP Connections..................................................................... 7
Functions Available for Configuring Connections....................................................................... 8
Creating New Connections......................................................................................................... 9
Changing the Connection Partner.............................................................................................. 12
Calling the Properties - ISO Connection Dialog......................................................................... 13
Properties - ISO Connection, General Tab Page....................................................................... 14
Properties - ISO Connection, Addresses Tab Page.................................................................. 16
Properties - ISO Connection, Dynamics Tab Page................................................................... 19
Properties - ISO Connection, Overview Tab Page..................................................................... 22
Calling the Properties - ISO-on-TCP Connection Dialog........................................................... 23
Properties - ISO-on-TCP Connection, General Tab Page......................................................... 24
Properties - ISO-on-TCP Connection, Addresses Tab Page..................................................... 26
Properties - ISO-on-TCP Connection, Overview Tab Page........................................................ 29
Connection Properties, Other Functions.................................................................................... 30
Connections Without Assignment.............................................................................................. 32
Actions Resulting in Changes in Configured Connections......................................................... 33
Notes on CP/CPU Replacement................................................................................................ 35

Siemens AG Page 1 KO-7KETHER


Training Center Page 169 of 293 Configuring Connections
Possible Connection Configurations
S7-400 Ethernet CP S7-300 Ethernet CP S7-400 Ethernet CP

Subnet 1

Ethernet CP

* TCP/IP only

PG/PC with Ethernet CP SIMATIC S5/Other Station

Subnet 2

S7-400 Ethernet CP

Other station with


Ethernet connection

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.2

Connections Connections between the communication partners shown in the diagram


within a Project above are possible within a project.
Connections with communication partners outside a project are treated in the
same way as connections with Other Stations.

Siemens AG Page 2 KO-7KETHER


Training Center Page 170 of 293 Configuring Connections
Communication Connections

SIMATIC S7 station Ethernet node


with Ethernet CP

Send Communication Receive


connection
Receive Send

Ethernet node

Send Communication Receive


connection
Receive Send

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.3

Properties of a A communication connection permits program-controlled communication


Connection with the following properties between two nodes on the Industrial Ethernet:

Data transfer is bidirectional, i.e. data can be sent and received at the
same time via the connection.

The two nodes have equal rights, i.e. either node can initiate Send or
Receive activities as events demand.

Data Volume and For the number of communication connections supported by each Ethernet
Number of CP please refer to the chapter on the hardware of the Ethernet CP. You can
Connections increase the number of connections per station by adding more CPs.

The Ethernet CP can send and receive 240 bytes respectively per job and
connection.

Siemens AG Page 3 KO-7KETHER


Training Center Page 171 of 293 Configuring Connections
Functions of the Ethernet CP

The Ethernet CP performs the following functions for


handling data transfer via a connection:

Receives data from the Ethernet and passes it on to the


user data area in the CPU.

Accepts data from the user data area in the CPU and
sends it via Ethernet.

The connection is established automatically as soon as the partner is


accessible.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.4

Overview For S7 communication connections the Ethernet CP has the task of sending and
receiving data via Ethernet and exchanging data with the user program in the S7
CPU.

Functions of the The Ethernet CP performs the following functions for handling data transfer
Ethernet CP via a connection:

Receives data from the Ethernet and passes it on to the user data area in
the CPU.

Accepts data from the user data area in the CPU and sends it via
Ethernet.

The connection is established automatically as soon as the partner is accessible.

Configuration The Ethernet CP must be configured with the other hardware, entered in the
Requirements hardware configuration and connected to the Ethernet subnet.

As a network node, the Ethernet CP must have an address.

Note: All stations outside the project must have dummy objects configured for
them, e.g. S5 or Other Station.

Siemens AG Page 4 KO-7KETHER


Training Center Page 172 of 293 Configuring Connections
Action to be Taken

Configure connections and Program SEND/RECEIVE Configure any Non-S7


download configured data interface in user program stations" for connections
to Ethernet CP and download it to the with the appropriate
SIMATIC S7 PLC configuring tool.

Start up the connections on Ethernet

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.5

Overview of The diagram above shows the action to be taken in order to operate
Procedure connections in the SIMATIC S7 with the Ethernet CP.

Remark When configuring connections, you can normally adopt the default values.

When programming, the configured connection numbers must be adopted.

Siemens AG Page 5 KO-7KETHER


Training Center Page 173 of 293 Configuring Connections
Address Parameters of ISO Transport Connections

Ethernet node Ethernet node


A B

Remote Local
TSAP TSAP
ISO transport
Local connection Remote
TSAP TSAP

MAC MAC
address address
A B

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.6

Address Parameters A connection is defined by specifying its local and remote end points.
of an ISO Transport
Connection Local addresses:
Local MAC address and local TSAP
(Transport Service Access Point)

Remote addresses:
Remote MAC address and remote TSAP

The address parameters are assigned with NCM S7 and stored in the CP
database. This enables changes or extensions to the Ethernet network topology
to be made without affecting the user program in the CPU.

Note

When configuring the Ethernet CPs in the local and destination stations, the
TSAPs of an ISO transport connection must be reversed:
Remote TSAP (on CP in local station) = local TSAP (in destination station);
Local TSAP (on CP in local station) = remote TSAP (in destination station);

Siemens AG Page 6 KO-7KETHER


Training Center Page 174 of 293 Configuring Connections
Address Parameters of ISO-on-TCP Connections

Ethernet node Ethernet node


A B

Remote Local
TSAP TSAP
ISO-on-TCP
Local connection Remote
TSAP TSAP

IP IP
address address
A B

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.7

Address Parameters A connection is defined by specifying its local and remote end points.
Local addresses:
Local IP address and local TSAP
(Transport Service Access Point)

Remote addresses:
Remote IP address and remote TSAP

The address parameters are assigned with NCM S7 and stored in the CP
database. This enables changes or extensions to the Ethernet network topology
to be made without affecting the user program in the CPU.

Note

When configuring the Ethernet CP and the destination station on Ethernet, the
TSAPs of an ISO-on-TCP connection must be reversed:
Remote TSAP (in Ethernet CP) = local TSAP (in destination station)
Local TSAP (in Ethernet CP) = remote TSAP (in destination station)

Siemens AG Page 7 KO-7KETHER


Training Center Page 175 of 293 Configuring Connections
Functions Available for Configuring Connections

New Connection
Change Connection Partner
Properties - ISO Connection
Properties - ISO-on-TCP Connection
Delete
Save
Download
Exit
Print
Help
On-line functions

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.8

Connections within Connections between stations within an S7 project are configured by starting
a Project with the local station and selecting another station in the project. Both stations
have a defined address, i.e. the local and remote addresses are taken from the
hardware configuration and the default values are generally used to specify the
local/remote TSAPs at both ends of the connection.

Connections with Connections with stations outside a project or with non-SIMATIC stations
Non-S7 Stations are configured by starting with the local station and selecting a station of the type
SIMATIC S5, Other Station or PG/PC. The end point contains the local and
remote addresses. Connections with non-S7 stations are generated as partially
unspecified connections, i.e. the remote TSAP is missing. The full details of these
connections must be specified in the Properties dialog.

Unspecified Connections with a device which is not yet known (e.g. diagnostics device)
Connections are configured as (unspecified) connections and the details can be specified
later in the Properties dialog.

The local MAC address is specified, but the local TSAP, the remote MAC
address and the remote TSAP are missing.

Siemens AG Page 8 KO-7KETHER


Training Center Page 176 of 293 Configuring Connections
Creating New Connections (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.9

Procedure You obtain the connection configuration table as follows.

1. Open your CPU in the SIMATIC Manager.

2. Select the Connections object

3. Choose the menu options


Edit > Open Object

Result: The connection configuration table appears on the screen.

Local Node A separate connection table showing connection partners and connection types
is created for each programmable module (CPU).

The module (CPU), for which you have selected the connection table is also
called the local node.

Siemens AG Page 9 KO-7KETHER


Training Center Page 177 of 293 Configuring Connections
Creating New Connections (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.10

New Connection To create a new connection, proceed as follows:

1. Choose the menu options Insert > New Connection

Result: The dialog shown above appears on the screen.

2. In the Station input field select the station to which you want to create a
connection.

3. In the Module input field select the CPU in the station to which you want
to create a connection.

4. In the Type input field select the type of connection you want to use, in
this case ISO transport connection.

When you confirm your entry with Add, the new connection is created and the
"New Connection" dialog box remains open. This enables you to create more
connections without having to open the dialog box again. The list of connections
is also updated at the same time. When you have created all the new
connections, you can close the dialog box by clicking the OK button.

Siemens AG Page 10 KO-7KETHER


Training Center Page 178 of 293 Configuring Connections
Creating New Connections (3)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.11

Connection All the remote partners in the S7 project of the local station you have selected
Partner are displayed showing all their programmable modules (CPUs) for you to make
your selection. Select the programmable module to which you want to create a
connection.

With OK the connection is entered in the list, the dialog is closed and the display
in the main dialog updated.
With Cancel the dialog is closed and the connection is not entered in the list.

Note

For the number of connections possible with each Ethernet CP please see the
chapter on the CP hardware. If several CPs are installed in one station, the next
one is automatically selected. You can rearrange the connections in the
Properties dialog.

Connections to non-S7 stations are generated as partially unspecified


connections, i.e. the remote TSAP is missing. The details of these connections
must be specified in the Properties dialog.
.

Siemens AG Page 11 KO-7KETHER


Training Center Page 179 of 293 Configuring Connections
Changing the Connection Partner

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.12

Apart from creating new connections you can also change the connection partner
for any connection already configured.

Calling the Dialog To obtain the dialog for changing the connection partner, proceed as follows:

1. Select the required connection in the connection table.

2. Choose the menu options Edit > Connection Partner...

Result: The screen shown above

Connection In the same way as for creating new connections, all the stations in the S7
Partner project are displayed for selection. Select the programmable module to which you
want to create the connection.

With OK the connection is entered in the list, the dialog is closed and the display
in the main dialog updated.
With Cancel the dialog is closed and the alteration is not entered in the list.

Siemens AG Page 12 KO-7KETHER


Training Center Page 180 of 293 Configuring Connections
Calling the Properties - ISO Connection Dialog

The Properties dialog is clearly divided into separate tab pages, each
containing a group of parameters that go together.

The following tabs are available for ISO transport connections:

General
Global parameters of the connection and local name of the ISO transport
connection
Addresses
Information about local and remote addresses
Dynamics
The relevant timers and counters
Overview
Overview of all the ISO transport connections configured for the selected
S7 station together with the relevant parameters and the connection
status.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.13

Apart from entering a connection in the connection table you can also change
certain properties of each connection configured.
In this dialog you can alter individual connection parameters for which the default
was entered in the New Connection dialog.

Calling the Dialog Proceed as follows to obtain the dialog for the specific properties of a connection:

1. Select the required connection in the connection table.

2. Choose the menu options Edit > Object Properties

Result: The Properties - ISO Connections dialog appears.

Siemens AG Page 13 KO-7KETHER


Training Center Page 181 of 293 Configuring Connections
Properties - ISO Connection
General Tab Page(1)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.14

General Tab Page This tab page in the Properties dialog shows global parameters for the
connection and the local name of the ISO transport connection. The local ID is
identical to the ID in the connection list and is displayed here for clarity.

Siemens AG Page 14 KO-7KETHER


Training Center Page 182 of 293 Configuring Connections
Properties - ISO Connection
General Tab Page (2)

SIMATIC
Attribute NET Industrial Ethernet
Description
Siemens AG 1997. All rights reserved.
Date : 01.08.1997 Access
File No. : 7KE_PISO.15

Connection
Endpoint

Local ID Identical to the value in the connection list Read only

Name Suggested name. Can be changed by the user as required. You Modifiable
use this field to identify the partner in the case of unspecified
connections.

Via CP If there are several CPs of the same type in the station, which are Selectable
all connected to the same subnet, you can select the one you want
to use for the connection here.
If no CP is assigned (e.g. because it has been deleted), None
appears here.
If there is only one CP in the station, selection is not possible. Read only

Active The default is active connection establishment. If the connection is Modifiable


Connection unspecified, it is established passively.
Establishment ON: Connection established actively (default)
OFF: Connection established by partner
Block
Parameters

ID This value must be entered for the block call parameter ID in the Read only
user program to identify the connection.

LADDR Entry of this block call parameter is mandatory in the FC call in the Read only
user program to identify the connection.

Siemens AG Page 15 KO-7KETHER


Training Center Page 183 of 293 Configuring Connections
Properties - ISO Connection
Addresses Tab Page (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.16

Addresses Tab Page The Addresses tab page gives suggested values for the relevant local and
remote addresses. In the case of connections with non-S7 stations you can set
the TSAPs individually.

Siemens AG Page 16 KO-7KETHER


Training Center Page 184 of 293 Configuring Connections
Properties - ISO Connection
Addresses Tab Page (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.17

TSAP Format ISO transport connections have a TSAP length of between 1 and 32 bytes. The
current length is automatically displayed on entry (visible display: 20 ASCII
characters). Both local and remote TSAPs can be entered either as a
hexadecimal value or as an ASCII string. If you enter in ASCII, the characters
you enter are also displayed in hexadecimal form. If you enter in hexadecimal,
printable characters are displayed as the ASCII equivalent. If you enter non-
printable characters, the ASCII display becomes gray (ASCII input not possible)
and the non-printable characters appear as a period.

Local and Remote The remote and local TSAPs can be identical because the connection is
TSAPs uniquely identified by the different MAC addresses. If you want to make more
than one connection between two stations, the TSAPs must be different.

Default TSAPs When you are configuring the local and remote TSAPs, default values are
proposed (e.g. ISO-1 for the first connection between two partners). If more
connections are configured between the same partners, the default values are
automatically incremented (e.g. ISO-2 etc.).
For a new connection with a new partner, the default proposals start again at
ISO-1.

Siemens AG Page 17 KO-7KETHER


Training Center Page 185 of 293 Configuring Connections
Properties - ISO Connection
Addresses Tab Page (3)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.18

Unspecified An unspecified connection must be entered first in the New dialog.


Connection Connection establishment is then passive and the remote address parameters
are missing, i.e. they are not relevant for the Ethernet CP. When the connection
is established, any partner that addresses the correct MAC address and the
correct TSAP is accepted (partner = connection name).

The dialog box above shows a case of this kind where the remote MAC address
is not specified and the remote TSAP has just been entered.

Siemens AG Page 18 KO-7KETHER


Training Center Page 186 of 293 Configuring Connections
Properties - ISO Connection
Dynamics Tab Page (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.19

Dynamics Tab Page The Dynamics tab page shows the relevant timers and counters of the
connection. You can adopt the defaults.
If necessary (e.g. connections with non-SIMATIC systems) you can adjust the
timers and counters individually and change the dynamic behavior of the
connection.

Siemens AG Page 19 KO-7KETHER


Training Center Page 187 of 293 Configuring Connections
Properties - ISO Connection
Dynamics Tab Page (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
Attribute Description File No. : 7KE_PISO.20 Access

Connection
Establishment

Retransmission The retransmission time specifies the interval after which


Time an unsuccessful attempt at establishing a connection is to
be repeated (1 - 60 s, default 5 s)
- If connection establishment is active Modifiable
- If connection establishment is passive (-> irrelevant) Read only

Data Transfer

Retransmission This parameter specifies the interval after which an Modifiable


Time unsuccessful transmission attempt should be repeated
(100 - 30000 ms, default 1000 ms).

Max. Count The maximum count is the number of transmission attempts Modifiable
including the first attempt (1 - 100, default 5).

Inactivity Time The inactivity time specifies the interval after which the Modifiable
connection is to be cleared if no further sign of life is
received from the partner
(6 - 180 s, default 30 s).

Window Time The window time specifies the interval for sending sign-of- Read only
life frames. The window time is fixed at 1/3 of the inactivity
time for SIMATIC NET CPs (2 - 60 s, default 10 s). Sign-of-
life frames are sent in order to be able to check the connection
for transmission of frames even when there is no data traffic.

Siemens AG Page 20 KO-7KETHER


Training Center Page 188 of 293 Configuring Connections
Properties - ISO Connection
Dynamics Tab Page (3)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.21

The partner station sends a frame in response to a sign-of-life frame. These are
therefore sent to the partner station after the window time. In order to prevent
connections from being cleared unnecessarily, the inactivity time should be at
least three times as long as the window time.

Siemens AG Page 21 KO-7KETHER


Training Center Page 189 of 293 Configuring Connections
Properties - ISO Connection
Overview Tab Page

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.22

Overview Tab Page The overview shows all the ISO transport connections in this station configured
so far together with their parameters (cannot be changed).

Parameter Description

Local ID ID of the ISO transport connection

Conn. Name Connection name entered. This identifies the ISO transport connection (default
length 8 characters).

R/S Rack/slot of the local CP, used for the connection.

Remote Address Remote MAC address of the connection on the Ethernet subnet.

Local TSAP Local connection end point (Transport Service Access Point).

Remote TSAP Remote connection end point.

Status Current configuration status of the connection.


Connections without assignment are indicated by No local CP / No remote
CP in the status column and an ! at the end of the local ID.
(Example: 0002 A020!)
Connections currently being edited are also indicated by an ! at the end of the
local ID.

Siemens AG Page 22 KO-7KETHER


Training Center Page 190 of 293 Configuring Connections
Calling the Properties - ISO-on-TCP Connection Dialog

The Properties dialog is clearly divided into separate tab pages, each
containing a group of parameters that go together.

The following tab pages are available for ISO-on-TCP connections:

General
Global parameters of the connection and local name of the ISO-on-TCP
connection
Addresses
Information about local and remote addresses
Overview
Overview of all the ISO-on-TCP connections configured for the selected
S7 station together with the relevant parameters and the connection
status.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.23

Apart from entering a connection in the connection table you can also alter
individual connection parameters for each configured connection for which the
defaults were entered in the New dialog.

Calling the Dialog Proceed as follows to obtain the dialog for the specific properties of a connection:

1. Select the required connection in the connection table.

2. Choose the menu options Edit > Object Properties

Result: The Properties - ISO-on-TCP Connection dialog appears.

Siemens AG Page 23 KO-7KETHER


Training Center Page 191 of 293 Configuring Connections
Properties - ISO-on-TCP Connection
General Tab Page (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.24

General Tab Page This tab page in the Properties dialog shows the parameters for the connection
and the local name of the ISO-on-TCP connection. The local ID is identical to the
ID in the connection list (STEP 7 connection configuration) and is displayed here
for clarity.

Siemens AG Page 24 KO-7KETHER


Training Center Page 192 of 293 Configuring Connections
Properties - ISO-on-TCP Connection
General Tab Page (2)

Attribute Description Access


SIMATIC NET Industrial Ethernet
Siemens AG 1997. All rights reserved.
Date : 01.08.1997
Connection File No. : 7KE_PISO.25

Endpoint

Local ID Identical to the value in the connection list Selectable

Name Suggested name, plus connection number suffix. Can be changed Modifiable
by the user as required (max. 24 characters).

Via CP If there are several CPs of the same type in the station, which are Selectable
all connected to the same subnet, you can select the one you want
to use for the connection here.
If no CP is assigned (e.g. because it has been deleted), None
appears here.
If there is only one CP in the station, selection is not possible. Read only

Active The default is active connection establishment. If the connection is Modifiable


Connection unspecified, it is established passively and cannot be changed
Establishment ON: Connection established actively
OFF: Connection established by partner
Block
Parameters

ID Entry of this block call parameter is mandatory in the FC call in the Read only
user program to identify the connection. (The ID changes changes
when the local ID is changed.)

LADDR Entry of this block call parameter is mandatory in the FC call in the Read only
user program to identify the connection.

Siemens AG Page 25 KO-7KETHER


Training Center Page 193 of 293 Configuring Connections
Properties - ISO-on-TCP Connection
Addresses Tab Page (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.26

Addresses Tab Page The Address tab page gives suggested values for the relevant local and remote
addresses. You can set the TSAPs individually.

Siemens AG Page 26 KO-7KETHER


Training Center Page 194 of 293 Configuring Connections
Properties - ISO-on-TCP Connection
Addresses Tab Page (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.27

TSAP Format ISO-on-TCP connections have a TSAP length of between 1 and 32 bytes. The
current length is automatically displayed on entry (visible display: 20 ASCII
characters). Both local and remote TSAPs can be entered either as a
hexadecimal value or as an ASCII string. If you enter in ASCII, the characters
you enter are also displayed in hexadecimal form. If you enter in hexadecimal,
printable characters are displayed as the ASCII equivalent (8 hexadecimal
characters visible). If you enter non-printable characters, the ASCII display
becomes gray (ASCII input not possible) and the non-printable characters appear
as a period.

Local and Remote The remote and local TSAPs can be identical because the connection is
TSAPs uniquely identified by the different IP addresses. If you want to make more than
one connection between two stations, the TSAPs must be different.

Default TSAPs For configuring the local and remote TSAPs, there is a default value "TCP-1" for
the first connection between the two partners (this can be changed). For another
connection between the same partners, the default value "TCP-2" is proposed.
For a new connection with a new partner, TCP-1 is proposed again.

Siemens AG Page 27 KO-7KETHER


Training Center Page 195 of 293 Configuring Connections
Properties - ISO-on-TCP Connection
Addresses Tab Page (3)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.28

Unspecified An unspecified connection must be entered first in the New dialog.


Connection Connection establishment is then passive, the remote IP address is 0.0.0.0 and
the remote TSAP is missing, i.e. they are not relevant for the Ethernet CP. When
the connection is established, any partner that addresses the CP with the correct
IP address and the correct TSAP is accepted (partner = connection name).

For connections not included in an S7 project you can enter the IP address and
TSAP (complete address) of the partner here.

If the connection remains unspecified, any communication partner can establish


a connection with this station using the station address.

Siemens AG Page 28 KO-7KETHER


Training Center Page 196 of 293 Configuring Connections
Properties - ISO-on-TCP Connection
Overview Tab Page

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.29

Overview Tab Page The overview shows all the ISO-on-TCP connections in this station configured
so far, together with their parameters (cannot be changed).

Parameter Description

Local ID ID of the ISO-on-TCP connection (STEP 7 connection configuration: DWORD)

Conn. Name Connection name entered. This identifies the ISO-on-TCP connection (default
length 8 characters).

R/S Rack/slot of the local CP, used for the connection. (Hardware configuration)

Remote address Remote IP address of the connection.

Local TSAP Local Transport Service Access Point (default length 8 characters).

Remote TSAP Remote Transport Service Access Point (default length 8 characters).

Status Current configuration status of the connection.


Connections without assignment are indicated by No local CP / No remote
CP in the status column and an ! at the end of the local ID.
(Example: 0002 A020!)
Connections currently being edited are also indicated by an ! at the end of the
local ID.

Siemens AG Page 29 KO-7KETHER


Training Center Page 197 of 293 Configuring Connections
Connection Properties
Other Functions (1)
Save Print

Change Connection Partner Insert Connection

Download Help

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.30

The toolbar of the connection configuration dialog box offers the following functions:

Save To save the connection you have configured you can either select the Save
function or click the save icon (diskette symbol).

Print You can print out the whole connection table or selected sections of it. Select the
Print function or click the Print icon (printer symbol).

The following print options are available:


Overview of all connections (complete connection table)
Overview of selected connections (selected area)
Details of all connections
Details of selected connections (selected area)

Undo The Undo function allows you to cancel actions you have performed. You can
either select the Undo function or click the Undo icon.

You can undo the following functions:


Delete connection
Create new connection

Change Connection You can assign a new partner station to the selected connection.
Partner
Important!
Remember that this also changes the partner ID for connections using the
SEND-RECEIVE interface.

Siemens AG Page 30 KO-7KETHER


Training Center Page 198 of 293 Configuring Connections
Connection Properties
Other Functions (2)
Save Print

Change Connection Partner

Download Help

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.31

Insert For creating a new entry in the connection table.


Connection

Download For downloading the connection table to the PLC. You will find further information
in the integral Help.

Help If you need help or additional information you can either select the Help function
or click the Help icon (? symbol).
The Help icon offers you context-sensitive help and the Help function shows you
a Help dialog which will be familiar to you from other Windows applications.

Siemens AG Page 31 KO-7KETHER


Training Center Page 199 of 293 Configuring Connections
Connections Without Assignment

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.32

The actions which can cause configured connections to lose their assignment to
the CP or to be deleted are outlined on the next page.

Note

Remember that, unlike the S7 homogeneous connections, connections using the


SEND-RECEIVE interface are assigned a CP-dependent ID. If you carry out the
following actions, the ID may be changed and you must therefore also change
the interface parameters in the user program.

Siemens AG Page 32 KO-7KETHER


Training Center Page 200 of 293 Configuring Connections
Actions Resulting in Changes in Configured
Connections (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.33

Action Moving the CP (module) to a different place in the hardware configuration (using
drag and drop).

Effect on the The connections are retained. The connections IDs are updated
Connections automatically.

How to Reinstate 1. Adjust the module starting address LADDR in the user program
the Connection
2. Download the connection configuration to the CP again.

Action Deleting the CP (module) from the hardware configuration.

The message: CP has n connections; the assignment will be lost in the


connection table appears.

Effect on the The connections are retained, but are not assigned to a CP in the
Connections connection table. The connections are marked with an "!" on the Overview tab
page in the connection properties dialog.

How to Reinstate When you have positioned a CP in the hardware configuration and connected
the Connection it to the network:
1. Assign the CP to the connection using the "Addresses" tab in the Properties
dialog for the connection;
or
reassign the connection with the function Edit> Connection Partner.
2. Change the connection IDs in the user program.
3. Download the connection configuration to the CP again.

Siemens AG Page 33 KO-7KETHER


Training Center Page 201 of 293 Configuring Connections
Actions Resulting in Changes in Configured
Connections (2)

Action Deleting the SIMATIC S7 station.


SIMATIC NET Industrial Ethernet
Siemens AG 1997. All rights reserved.
Date : 01.08.1997
Effect on the All connections to this File No. : 7KE_PISO.34
station within the project are deleted.
Connections

How to Reinstate Reconfigure the station and its connections.


the Connection

Action Deleting a remote station.

Effect on the The connections between the stations in the project and the remote station
Connections are retained, but are not assigned in the connection table. The connections are
marked with an "!" on the "Overview" tab page in the connection properties
dialog.

How to Reinstate Assign a new remote station (or local station) to the connection with the
the Connection function Edit> Connection Partner.

Action Changing the subnet assignment of the CP.

Effect on the The connections that were assigned via the CP are retained, but are not
Connections assigned in the connection table. The connections are marked with an "!" on the
"Overview" tab page in the connection properties dialog.

How to Reinstate Reassign the connections with the function Edit > Connection Partner or
the Connection using the "Addresses" tab in the Properties dialog for the connection concerned.

Siemens AG Page 34 KO-7KETHER


Training Center Page 202 of 293 Configuring Connections
Notes on CP/CPU Replacement

If you replace a CP, the replacement must at least provide the same
services and the version must be the same or higher.
All connections are lost if you replace a CPU.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_PISO.35

Siemens AG Page 35 KO-7KETHER


Training Center Page 203 of 293 Configuring Connections
Programming with the SEND/RECEIVE Interface

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.1

Contents Page

SEND-RECEIVE Interface on the CPU......................................................................................... 2


CPU Cycle and Transmission Time.............................................................................................. 3
User Data Area in the CPU........................................................................................................... 4
Writing a User Program for Transport Connections...................................................................... 5
Typical Execution Sequence of FCs in the CPU Cycle................................................................. 6
FCs .............................................................................................................................................. 7
Entering FCs in the STEP 7 Library.............................................................................................. 8
General Notes on the FCs............................................................................................................ 9
Reactions to Incorrect Address Entries........................................................................................ 10
FC Block AG_SEND.................................................................................................................... 11
Explanation of the Formal Parameters......................................................................................... 12
Principle of Operation of FC Block AG_SEND.............................................................................. 14
Condition Codes of AG_SEND..................................................................................................... 15
FC Block AG_RECV..................................................................................................................... 18
Explanation of the Formal Parameters.......................................................................................... 19
Principle of Operation of FC Block AG_RECV.............................................................................. 21
Condition Codes of AG_RECV...................................................................................................... 22

Siemens AG Page 1 KO-7KETHER


Training Center Page 204 of 293 SEND/RECEIVE Interface
SEND-RECEIVE Interface on the CPU

Ethernet station SIMATIC S7


CPU Ethernet CP

CP
CP
STEP
STEP77 database
user database
userprogram
program
User
Userdata
databuffer
buffer
User
Userdata
data
areas
areas
AG_SEND Send
Communication
connection
AG_RECV Receive

CPU cycle Transfer time

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.2

FC Blocks Two blocks of type FC are available for handling communication via configured
connections:

AG_SEND
This block passes the user data from the specified user data area to the
Ethernet CP for transmission.

AG_RECV
This block puts the user data received into the user data area specified in
the call.

The diagram above illustrates this procedure: The user program uses the FC
blocks AG_SEND and AG_RECV to instruct the Ethernet CP to send or receive
data via the configured connection.

Data Exchange Data is exchanged between CPU and Ethernet CP as dictated by the calls
S7 CPU <-> to the FC blocks AG_SEND and AG_RECV in the CPU program.
Ethernet CP
The Ethernet CP processes the Send and Receive jobs independently of the
CPU cycle and the transmission takes a certain amount of time. The interface
with the FC blocks in the user program is synchronized by means of
acknowledgements. There are two possibilities:

The CPU cycle is faster than the transmission time.

The CPU cycle is slower than the transmission time.

Siemens AG Page 2 KO-7KETHER


Training Center Page 205 of 293 SEND/RECEIVE Interface
CPU Cycle and Transmission Time
Start-up block (OB 100/OB 101), processing once
after power up, for example.
Starting the cycle monitoring time Input module

Read the signal states from the input modules and


save the data in the process image input table (PII)
OB1
CPU scan cycle

Execute the program in OB1 (cyclical processing) A I0.1


A I0.2
= Q8.0
Events (time interrupt, hardware interrupts, etc.)
call other OBs, FBs, FCs, etc.

Write the process image output


table (PIQ) in the output modules. Output module

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.3

FC Calls faster than If a block is called again in the user program before all the data has been
the Transmission sent or received, the following happens at the interfaces to the FC blocks:
Time
AG_SEND:
No further job is accepted until the transmission of the data on the
connection has been acknowledged by the Ethernet station. During this
time, the user programm receives the message "job active" until the
Ethernet CP can accept the next job on the same connection.

AG_RECV:
The job is acknowledged with the message no data available yet" if there
are no received data on the Ethernet CP. The user program receives this
message in the CPU cycle until the Ethernet CP has received data again
on the connection.

FC Calls slower than If a block is called again before the data were completely transferred or
the Transmission received, the procedure is as follows on the interfaces of the FC blocks:
Time
AG_SEND:
The job is positively acknowledged. The Ethernet CP is ready to
receive a new send job (at the earliest however with the next call).

AG_RECV:
The job is acknowledged with New data received when the data have
been transferred to the user program. Following this, the FC call can be
repeated.This is controlled by the flow control of the protocol.

Siemens AG Page 3 KO-7KETHER


Training Center Page 206 of 293 SEND/RECEIVE Interface
User Data Areas in the CPU

Data block (DB)

Process image

Bit memory address area

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.4

Alternative Different data areas in the CPU can be used for communication via
Data Areas configured connections. Your choice of data area depends on the type of CPU
and the task involved. The alternatives are:

Data block (DB):


Data blocks can be used for storing Send/Receive data.

Process image:
This choice is only possible if continuous Send and Receive areas can be
reserved in the process image of the S7 CPU. The capacity may be
restricted by the capabilities of the CPU and by the number of central
signal modules.

Bit memory address area:


The bit memory address area can be used, for example, if there is not
sufficient space in the process image because of the central signal
modules.

Siemens AG Page 4 KO-7KETHER


Training Center Page 207 of 293 SEND/RECEIVE Interface
Writing a User Program for Transport Connections

Principle of job The user program triggers the transfer of the user data areas
and data transfer by means of FC block calls and monitors the execution by
evaluating the condition bits returned by the FCs. The
parameters assigned to the FC blocks when they are called
include:

Connection number (ID);

Location of the user data area in the CPU.

Purpose of the FCs Calling FC blocks results in the following action:

The user data area is passed to the Ethernet CP


or accepted from the Ethernet CP.

Positive or negative confirmation of execution of the job


is indicated in the status word (status mesage).

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.5

Programming Program the SEND-RECEIVE interface in the user program as follows:


Connections
Use the following FC blocks for transferring data via configured
connections:

- AG_SEND for passing the user data area to theEthernet CP;

- AG_RECV for entering the data received from the Ethernet CP into
the user data area;

Evaluate the condition codes issued by the FC blocks:

- For AG_SEND these are the parameters DONE, ERROR and


STATUS, and

- For AG_RECV the parameters NDR, ERROR and STATUS

Siemens AG Page 5 KO-7KETHER


Training Center Page 208 of 293 SEND/RECEIVE Interface
Typical Execution Sequence of FCs in the
CPU Cycle
Read PII Read in data received
via the connection
OB User program

AG_RECV
Connection
AG_RECV

Connection
AG_SEND

AG_RECV
Connection
AG_SEND

Pass Send data to the


AG_SEND connection

Write PIQ Key: CPU cycle


Hatching/shading shows which connections
and FC blocks go together

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.6

We can observe the following:

The user program, which can consist of any number of blocks (OBs, FBs
or FCs), accesses several connections.

The user program can send data via connections by means of AG_SEND
calls at any point (event-driven and program-controlled execution).

The user program can accept data received via connections by means of
AG_RECV calls at any point in the CPU cycle.

Note: The blocks can be called more than once in one cycle for the same connection.

Siemens AG Page 6 KO-7KETHER


Training Center Page 209 of 293 SEND/RECEIVE Interface
FCs

The FC blocks are supplied with the NCM S7-Ethernet configuring software.

The following list shows the block numbers applicable on delivery.


You can change these block numbers if you wish.

Block number FC block type


5 AG_SEND
6 AG_RECV

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.7

Siemens AG Page 7 KO-7KETHER


Training Center Page 210 of 293 SEND/RECEIVE Interface
Entering FCs in the STEP 7 Library
1. Open the library in the SIMATIC Manager with File >Open >
Library.

Result:
The currently existing libraries are displayed.

If the entry SIMATIC NET CP is not present, proceed as follows:

2. Search for the directory Simnetcp in STEP 7\S7libs and select


or open the file CP.S7L in it.

Result:
The library SIMATIC NET CP is now created in the STEP 7 library.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.8

In order to be able to use the FC blocks for writing your user program, proceed
as follows:

1. Open the library in the SIMATIC Manager with File >Open >
Library.

Result:
The currently existing libraries are displayed.

If the entry SIMATIC NET CP is not present, proceed as follows:

2. Search for the directory Simnetcp in STEP 7\S7libs and select or open
the file CP.S7L in it.

Result:
The library SIMATIC NET CP is now created in the STEP 7 library.

Siemens AG Page 8 KO-7KETHER


Training Center Page 211 of 293 SEND/RECEIVE Interface
General Notes on the FCs

Specification of the CP address


- LADDR parameter
- Starting address of module from hardware configuration table
- Slot-oriented address assignment for Ethernet CP as for analog
modules
Specification of the data area in the CPU
- Address and length
- Max. length 240 bytes

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.9

Specifying the When you call an FC block you assign the starting address of the CP module
CP Address to the LADDR parameter. You can obtain the starting address of the Ethernet CP
module from the S7 configuration dialog or calculate it as follows.

Querying the The module starting address can be determined from the slot-oriented
CP Address address assignment for signal modules. The rules for analog modules apply to
the Ethernet CP.

When configuring the CP with the STEP 7 hardware configuration tool, the
starting address of the module appears in the configuration table.

Specifying the When you call an FC block you also enter the address and length of the data
Data Area on the area in the CPU. Don't forget that the maximum length of the data area is
CPU 240 bytes.

FC Output On complete restart/restart of the Ethernet CP (e.g. switch operated), the


Parameters in the output parameters of the FC block are reset as follows:
CP Startup

DONE = 0

NDR = 0

ERROR = 0

STATUS = 8180H for AG_RECV and 8181H for AG_SEND

Siemens AG Page 9 KO-7KETHER


Training Center Page 212 of 293 SEND/RECEIVE Interface
Reactions to Incorrect Address Entries

Error Response

CP address points to a non-existent CPU remains in Stop state due to a system error.
CP module or digital module.

CP address points to a module with Possible error codes in STATUS:


analog I/Os. 8184H System error
80B0H Data record unknown to module.
80C0H Data record cannot be read.
80C3H Resource (memory) occupied.
80D2H Incorrect logical base address.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.10

If the S7 CPU cannot communicate with the Ethernet CP at the specified module
starting address, the result is as shown above.

Note:

The SIMATIC S7 addresses the Ethernet CP like an analog module. If an


incorrect address is specified, this can result in error codes which are not derived
from error messages from the FC blocks themselves.

Siemens AG Page 10 KO-7KETHER


Training Center Page 213 of 293 SEND/RECEIVE Interface
FC Block AG_SEND
Call interface in LAD

BOOL ACT DONE BOOL

INT ID ERROR BOOL


WORD LADDR STATUS WORD
ANY SEND
INT LEN

Example in STL
STL Explanation

call fc 5 ( //AG_SEND block call


ACT := M 10.0
ID := MB 11
LADDR := W#16#0100 =LADDR 256 dec. in hardware configuration
SEND := P#db99.dbx10.0 byte 240,
LEN := MW 12
DONE := M 10.0
ERROR := M 10.7
STATUS := MW 14
)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.11

Purpose of The FC block AG_SEND passes on data to the Ethernet CP for transmission
the Block via a configured connection.

The data area specified can be an area in the process image, a bit memory
address area or a data block area.

Successful execution is signalled when the complete user data area has been
transmitted via Ethernet.

Siemens AG Page 11 KO-7KETHER


Training Center Page 214 of 293 SEND/RECEIVE Interface
Explanation of the Formal Parameters (1)
Parameter Declaration Type Poss. values Remarks
ACT INPUT BOOL 0,1 If ACT = 1, LEN bytes from the transport
data area specified with the SEND
parameter are sent.

If ACT = 0, the DONE, ERROR and


STATUS codes are updated.
ID INPUT INT 1,2...64 The ID parameter specifies the connection
number of the transport connection.

LADDR INPUT WORD Module start address

When the CP is configured with the STEP 7


hardware configuration tool, the module
starting address appears in the configuration
table. Enter this address here.
SEND INPUT ANY Address and length of transport data area
This may be:
- Process image area
- Bit memory address area
- Data block area

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.12

Siemens AG Page 12 KO-7KETHER


Training Center Page 215 of 293 SEND/RECEIVE Interface
Explanation of the Formal Parameters (2)
Parameter Declaration Type Poss. values Remarks
LEN INPUT INT 1,2,...240 (or up Number of bytes from the transport data
to length area to be sent with the job. The number can
specified for be from 1 to the length specified for the
SEND SEND parameter.
parameter)

DONE OUTPUT BOOL 0: Job in This parameter indicates whether or not the
progress job has been completed without errors. As
1: New data long as DONE=0, no new job can be started.
The CP sets DONE to 0 when it accepts a
job.
For meanings in conjunction with the
ERROR and STATUS parameters, see the
Condition Codes table.

ERROR OUTPUT BOOL 0: - Error code


1: Error For the meaning in conjunction with the
DONE and STATUS parameters see the
Condition Codes table.
STATUS OUTPUT WORD See table Status code
For the meaning in conjunction with the
DONE and ERROR parameters see the
Condition Codes table.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.13

Siemens AG Page 13 KO-7KETHER


Training Center Page 216 of 293 SEND/RECEIVE Interface
Principle of Operation of FC Block AG_SEND
User program (CPU cycle) Ethernet CP Communication partner

Supply AG_SEND
ACT = 0
AG_SEND Startup phase
0, 1, 8181 1)

AG_SEND
1, 0, 0000 1)

Supply AG_SEND
with data X
ACT = 1
AG_SEND
0, 0, 8181 1)

Supply AG_SEND
ACT = 0 Transmission of X
via Ethernet
AG_SEND active Key:
0, 0, 8181 1) 1) Parameter transfer
DONE, ERROR, STATUS
AG_SEND
1, 0, 0000 1)

Time Time Time

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.14

The diagram above shows the normal execution sequence of a data transfer
initiated by AG_SEND in the user program.

The Ethernet CP acknowledges every AG_SEND job in the user program by


setting the DONE, ERROR and STATUS output parameters.

The status indicators can be updated without issuing a new Send job by setting
the ACT parameter = 0.

Siemens AG Page 14 KO-7KETHER


Training Center Page 217 of 293 SEND/RECEIVE Interface
Condition Codes of AG_SEND (1)
DONE ERROR STATUS Meaning
1 0 0000H Job completed without errors.
This code is possible only with the S7-400.The FC was called
0 1 7000H
with ACT=0; the job has not yet been processed
0 0 8181H Job active.
0 1 8183H No configuration data or Transport service in Ethernet CP not yet
started.
0 1 8184H System error
0 1 8185H LEN parameter longer than SEND source area.
0 1 8186H ID parameter invalid, ID != 1,2...64.
0 1 8301H SAP not activated at destination station.
0 1 8302H No Receive resources at destination station, receiving station
cannot process received data fast enough or has not provided any
resources for receiving data.
0 1 8303H The SDA service (Send Data with Acknowledge) is not supported
by the destination station at this SAP (no SDA on Ethernet).

0 1 8304H Connection not established.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.15

Siemens AG Page 15 KO-7KETHER


Training Center Page 218 of 293 SEND/RECEIVE Interface
Condition Codes of AG_SEND (2)
DONE ERROR STATUS Meaning
0 1 8311H Destination station not obtainable at the specified Ethernet
address.
0 1 8312H Ethernet error in CP.
0 1 8F22H Source area invalid, e.g. :
Area not present in DB
LEN parameter < 0
0 1 8F24H Range error when reading a parameter.
0 1 8F28H Alignment error when reading a parameter.
0 1 8F32H DB number in parameter too high.
0 1 8F33H DB number error.
0 1 8F3AH Area not loaded (DB).
0 1 8F42H Timeout when reading a parameter from the I/O area.

0 1 8F44H Address of parameter to be read disabled in access track.


0 1 8F7FH Internal error, e.g. illegal ANY reference
e.g. LEN parameter = 0.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.16

Siemens AG Page 16 KO-7KETHER


Training Center Page 219 of 293 SEND/RECEIVE Interface
Condition Codes of AG_SEND (3)

DONE ERROR STATUS Meaning


0 1 8090H No module with this starting address or CPU in STOP.

0 1 8091H Module starting address not at doubleword boundary.


0 1 80B0H Data record unknown to module.
0 1 80B1H Destination area invalid
e.g. destination area > 240 bytes.
0 1 80B2H communication bus link between CPU and CP not established.
0 1 80C0H Data record cannot be read.
0 1 80C1H Specified data record currently being processed.
0 1 80C2H There are too many jobs pending.
0 1 80C3H Resources (memory) of CPU temporarily occupied.
0 1 80C4H Communication error.
0 1 80D2H Incorrect module starting address.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.17

Siemens AG Page 17 KO-7KETHER


Training Center Page 220 of 293 SEND/RECEIVE Interface
FC Block AG_RECV
Call interface in LAD

INT BOOL
ID NDR
WORD BOOL
LADDR ERROR
ANY WORD
RECV STATUS
LEN INT

Example in STL

STL Explanation

call fc 6 ( //AG_RECV block call


ID := DB 100.DBB 1
LADDR := W#16#0100
RECV := P#M 0.0 BYTE 100,
NDR := DB 100.DBX 0.6
ERROR := DB 100.DBX 0.7
STATUS := DB 100.DBW 2
LEN := DB 100.DBW 4
)

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.18

Purpose of The FC block AG_RECV receives the data transferred via a configured
the Block connection from the Ethernet CP.

The data area specified as the data destination can be an area in the process
image, a bit memory address area or a data block area.

Successful execution is signalled when the data have been received from the
Ethernet CP.

Siemens AG Page 18 KO-7KETHER


Training Center Page 221 of 293 SEND/RECEIVE Interface
Explanation of the Formal Parameters (1)

Parameter Declaration Type Poss. values Remarks


ID INPUT INT 1,2...16 The ID parameter specifies the connection
number of the transport connection.

LADDR INPUT WORD Starting address of module

When the CP is configured with the STEP 7


hardware configuration tool, the module
starting address appears in the configuration
table. Enter this address here.
RECV INPUT ANY Address and length of transport data area

This may be:


- Process image area
- Bit memory address area
- Data block area

LEN INPUT INT 1,2...240 Number of bytes transferred from the


Ethernet CP to the transport data area.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.19

Siemens AG Page 19 KO-7KETHER


Training Center Page 222 of 293 SEND/RECEIVE Interface
Explanation of the Formal Parameters (2)

Parameter Declaration Type Poss. values Remarks


NDR OUTPUT BOOL 0: - This parameter indicates whether new data
1: New data has been accepted.
For the meaning in conjunction with the
ERROR and STATUS parameters, see the
Condition Codes table.
ERROR OUTPUT BOOL 0: - Error code
1: Error For the meaning in conjunction with the
DONE and STATUS parameters see the
Condition Codes table.
STATUS OUTPUT WORD See Condition Status code
Codes table For the meaning in conjunction with the
DONE and ERROR parameters see the
Condition Codes table.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.20

Siemens AG Page 20 KO-7KETHER


Training Center Page 223 of 293 SEND/RECEIVE Interface
Principle of Operation of FC Block AG_RECV
User program (CPU cycle) Ethernet CP Communication partner

AG_RECV Transmission of A
0, 1, 8180 1) via Ethernet
in progress
AG_RECV
1, 0, 0000 1)

Accept/evaluate
received data A Transmission of B
via Ethernet
AG_RECV in progress
0, 0, 8180 1)

AG_RECV
1, 0, 0000 1)

Accept/evaluate
received data B Key:
Transmission of C 1) Parameter transfer
via Ethernet NDR, ERROR, STATUS
AG_RECV
in progress
.
.
.

Time Time Time

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.21

The diagram above shows the normal execution sequence for data acceptance
initiated by AG-RCVE in the user program.

The Ethernet CP acknowledges every AG-RCVE job in the user program by


setting the NDR, ERROR and STATUS output parameters.

Siemens AG Page 21 KO-7KETHER


Training Center Page 224 of 293 SEND/RECEIVE Interface
Condition Codes of AG_RECV (1)

NDR ERROR STATUS Meaning


1 0 0000H New data accepted.
0 0 8180H Data not yet present.
0 0 8181H Job in active.
0 1 8183H No configuration data or ISO Transport service not yet started in
Ethernet CP.
0 1 8184H System error.
0 1 8185H destination buffer (RECV) too small.
0 1 8186H ID parameter invalid, ID != 1,2...64.
0 1 8304H Connection not established.
0 1 8F23H Source area invalid, e.g.:
Area not present in DB.
0 1 8F25H Range error when writing a parameter.
0 1 8F29H Alignment error when writing a parameter.
0 1 8F30H Parameter in write-protected 1st active data block.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.22

Siemens AG Page 22 KO-7KETHER


Training Center Page 225 of 293 SEND/RECEIVE Interface
Condition Codes of AG_RECV (2)

NDR ERROR STATUS Meaning


0 1 8F31H Parameter in write-protected 2nd active data block.
0 1 8F32H DB number in parameter too high.
0 1 8F33H DB number error.
0 1 8F3AH Destination area not loaded (DB).
0 1 8F43H Timeout when writing a parameter into the I/O area.

0 1 8F45H Address of parameter to be written disabled in the access track.

0 1 8F7FH Internal error, e.g. illegal ANY reference.


0 1 8090H No module with this starting address or CPU in STOP.

0 1 8091H Module starting address not at doubleword boundary.


0 1 80A0H Negative acknowledgement when reading from module.
0 1 80B0H Data record unknown to module.
0 1 80B1H Destination area invalid.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.23

Siemens AG Page 23 KO-7KETHER


Training Center Page 226 of 293 SEND/RECEIVE Interface
Condition Codes of AG_RECV (3)

NDR ERROR STATUS Meaning


0 1 80B2H communication bus link between CPU and CP not established.
0 1 80C0H Data record cannot be read.
0 1 80C1H Specified data record currently being processed.
0 1 80C2H Too many jobs pending.
0 1 80C3H Resources (memory) of CPU temporarily occupied.
0 1 80C4H Communication error.
0 1 80D2H Incorrect module starting address.

SIMATIC NET Industrial Ethernet


Siemens AG 1997. All rights reserved.
Date : 01.08.1997
File No. : 7KE_SRSS.24

Siemens AG Page 24 KO-7KETHER


Training Center Page 227 of 293 SEND/RECEIVE Interface
Profibus Active Components

Page 228 of 293


Electrical networks (RS 485) - RS 485 Repeater
for PROFIBUS

Overview

Automatic data transmission rate search


Data transmission rate of 45.45 Kbit/s possible
24 V DC voltage display
Display bus activity segment 1 and 2
Isolation of segment 1 and 2 possible by switch
Isolation of the right segment part when terminating resistor is inserted
Decoupling of segment 1 and segment 2 in the event of static interference.

Designed for Industry

To increase the number of stations and the expansion


Galvanic isolation of segments
Startup assistance
switch for disconnecting segments
display of bus activity
isolation of segment with wrongly inserted terminating resistor

Please also have a look at the diagnostics repeater which in addition to the normal repeater functionality
also has comprehensive diagnostics functions for physical line diagnosis. It is described under
"Distributed I/O/Diagnostics/Diagnostics repeater for PROFIBUS DP".

Application

The RS 485 IP20 repeater connects two PROFIBUS or MPI bus segments using the RS 485 system
with up to 32 stations. Data transmission rates of 9.6 kbit/s to 12 Mbit/s are then possible.

Design

Page 229 of 293


Housing to degree of protection IP20.
2 terminal blocks for connecting the segment
Terminal block for supply voltage (24 V DC external).
PG/OP interface.

Function

Mode of operation

Increasing the number of stations (max. 127) and the coverage


Regenerating the signals in amplitude and time
Electrical isolation of the connected bus systems

Data transmission rate Max. segment length

9.6 kbit/s 1000 m

19.2 kbit/s 1000 m

45.45 kbit/s 1000 m

93.75 kbit/s 1000 m

187.5 kbit/s 1000 m

500 kbit/s 400 m

1500 kbit/s 200 m

3000 kbit/s 100 m

6000 kbit/s 100 m

12000 kbit/s 100 m

Technical specifications

972-0AA01-0XA0 6ES7
voltages Supply
value Rated
DC V 24 Yes

(DC) limit lower range, Permitted 20.4 V

(DC) limit upper range, permissible 28.8 V

consumption Current
max. consumption, Current 200 mA
system Connection
lines Bus blocks terminal 2
supply Power block Terminal
DP PROFIBUS
max. rate, Transmission Mbit/s 12 to Kbit/s 9.6 12 Mbit/s;
requirements Environmental
temperatu Operatingre

Page 230 of 293


min. 0 C

max. 60 C

temperature Storage/transportation
min. -40 C

max. 70 C

humidity Relative
max. Operation, C 25 at 95%;

protection of class and protection of Degree


20 IP Yes

weight and Dimensions


Width 45 mm
Height 128 mm
Depth 67 mm
Weights
approx. Weight, 350 g

Ordering data

Order no. Article description


SIMATIC DP, RS485 REPEATER FOR THE CONNECTION OF
6ES7972 -0AA01 -
PROFIBUS/MPI BUS SYSTEMS WITH MAX. 31 NODES; MAX. 12
0XA0
MBIT/S, DEGREE OF PRO- TECTION IP20

Page 231 of 293


Optical networks with OLM - Optical Link
Module OLM
Overview

For constructing PROFIBUS networks (line, star and ring) with glass, PCF and plastic fiber-
optic cables
High availability can be achieved using redundant power supply and redundant cable routes
Function monitoring through signaling contact
All PROFIBUS data rates from 9.6 kbit/s to 12 Mbit/s including 45.45 kbit/s for PROFIBUS PA
The fiber-optic routes can be checked with a voltmeter

Benefits

High network availability through redundant optical ring topology


Fast error localization through signal contact, LED and measuring jacks
Wide range through use of glass fiber-optic cables up to a length of 15 km
OLM/G12-EEC for use outdoors down to 20 C

Application

With the PROFIBUS OLM (Optical Link Modules) Version 3, optical PROFIBUS networks can be
established in linear bus, star and redundant ring topologies.
The data transmission rate of a fiber optic line is independent of the distance and can be up to 12 Mbit/s.
Possible applications for OLMs include:

System buses based on PROFIBUS


Networking between buildings using glass fiber optic cable
Mixed networks with electrical and optical segments
Networks covering a wide area (road tunnels, traffic control systems)
Networks with high availability requirements (redundant ring networks)

Page 232 of 293


Design

The OLMs have a compact metal housing. It is suitable for mounting on a standard mounting rail and for
fixed mounting.
The 24 V supply is provided through a terminal block. Redundant power supply configurations are
supported.
The signal contact can be used to transfer a digital signal for evaluation purposes to controllers or
operator control and monitoring systems.
OLMs can be combined with each other and individual stations or whole electrical segments integrated
in the optical PROFIBUS network through an electrical interface .
The OLMs are available with one or two FOC interfaces with BFOC connection method for various types
of FO cables:

Plastic FO cables (980/1000 m) can be used for single line lengths up to 80 m. They can also
be preassembled on site with BFOC connectors .
PCF FO cables (200/230 m) can be used for single line lengths up to 400 m. They are
available preassembled with 4 BFOC connectors and an insertion assistance.
Glass fiber multimode FO cables (62.5/125 m) like the SIMATIC NET fiber-optic cables can
be used for long distances up to 3000 m. These cables are available preassembled with 4 BFOC
plugs.
Single mode FO cables (10/125 m fibers) can be used for very long distances up to 15 km.
They are available on request.

Function

Automatic recognition of all PROFIBUS transmission rates: 9.6 Kbit/s to 12 Mbit/s including
45.45 Kbit/s (PROFIBUS PA)
Configuration of the following network topologies: line, star, redundant ring
High availability through media redundancy. The distance between two OLMs in the redundant
ring is limited only by the optical sensing range of the modules.
Segmentable RS485 interface (Sub-D connector)
Unlimited multimaster mode: extended segmenting function for error localization on fiber-optic
cable and RS 485 segments
Fast localization of faults:
Indication of module status through isolated signaling contact.
Inspection of the fiber-optic cable quality: measuring output for optical receivers for
logging and validity check of the FOC line attenuation with a voltmeter
High cascading depth: line and redundant ring up to 124 OLM (only limited by monitoring
times)

Integration

Page 233 of 293


Example of a system configuration with OLM for PROFIBUS

Technical specifications

Technical specifications

Transmission rates 9.6 kbit/s to 12 Mbit/s


45.45 kbit/s (PROFIBUS PA)

Transit delay 6 bit times

Interfaces

Connection for bus segment station or 9-pin Sub-D socket


OLM

Connection for power supply and 5-pole pluggable terminal block


signaling contact with detent lugs

Connection for FOC 2 or 4 BFOC sockets

Measuring device connection 3 test sockets for test plugs, 2 mm


diameter

Optical interfaces Plastic optical PCF optical


OLM/P11 and OLM/P12 fibers fibers
980/1000 m 200/230 m
230 dB/km 10 dB/km

Page 234 of 293


Technical specifications

Length of fiber-optic path 0 to 80 m 0 to 400 m

Optical interfaces Optical glass Optical glass


OLM/G11, OLM/G12 and OLM/G12-EEC fibers fibers
62.5/125 m 50/125 m
3.5 dB/km 3 dB/km

Wavelength 860 nm 860 nm

Launchable transmitter power -13 dBm -15 dBm

Receiver sensitivity -28 dBm -28 dBm

Permissible fiber-optic path attenuation 12 dB 10 dB


(system reserve 3 dB)

Length of fiber-optic path 0 to 3,000 m 0 to 3,000 m

Optical interfaces Optical glass Optical glass


OLM/G11-1300 and fibers fibers
OLM/G12-1300 62.5/125 m 10/125 m
1 dB/km 0.5 dB/km

Wavelength 1310 nm 1310 nm

Launchable transmitter power -17 dBm -19 dBm

Receiver sensitivity -29 dBm -29 dBm

Permissible fiber-optic path attenuation 10 dB 8 dB


(system reserve 3 dB)

Length of fiber-optic path 0 to 10 km 0 to 15 km

Power supply 24 V DC (18 V to 30 V DC)

Current consumption (at rated voltage) Max. 200 mA

Power consumption max. 6 W

Mounting DIN rail or screwed cable glands

Perm. ambient conditions

Operating temperature except 0 C to +60 C


OLM/G12-EEC

OLM/G12-EEC -20 C to +60 C

Transport/storage temperature -40 C to +70 C

Relative humidity Max. 95% at +25 C

Construction
Page 235 of 293
Technical specifications

Dimensions (W x H x D) in mm 39.5 x 110 x 73.2

Weight Approx. 500 g

Degree of protection IP40

Ordering data

Order no. Article description


SIMATIC NET, PB OLM/P11 V3.1 OPTICAL LINK MODULE W. 1
RS485 AND 1 PLASTIC FO INTERFACE (2 BFOC SOCKETS),
6GK1502 -2CA10
WITH SIGNAL. CONTACT AND MEASURING OUTPUT, WITH 2
BFOC CONNECTORS

SIMATIC NET, PB OLM/G11 V3.1 OPTICAL LINK MODULE W. 1


6GK1502 -2CB10 RS485 AND 1 GLASS FO INTERFACE (2 BFOC SOCKETS) WITH
SIGNAL. CONTACT AND MEASURING OUTPUT
SIMATIC NET,PB OLM/G11-1300V3.1 OPTICAL LINK MODULE W.
1 RS485 AND 1 GLASS FO INTERFACE (2 BFOC SOCKETS)
6GK1502 -2CC10
1300NM WAVE LENGTH FOR LONG DISTANCES WITH SIGNAL.
CONTACT AND MEASURING OUTPUT

SIMATIC NET, PB OLM/P12 V3.1 OPTICAL LINK MODULE W. 1


RS485 AND 2 PLASTIC FO INTERFACES (4 BFOC SOCKETS),
6GK1502 -3CA10
WITH SIGNAL. CONTACT AND MEASURING OUTPUT, WITH 4
BFOC CONNECTORS

SIMATIC NET, PROFIBUS OLM/G12 V3.1 OPTICAL LINK MODULE


W. 1 RS485 AND 2 GLASS FO INTERFACES (4 BFOC SOCKETS)
6GK1502 -3CB10
FOR STANDARD RANGES UP TO 2850 M, WITH SIGNAL.
CONTACT A. MEAS. OUTPUT

SIMATIC NET, PB OLM/G12-1300 V3.1 OPTICAL LINK MODULE W.


1 RS485 AND 2 GLASS FO INTERFACES (4 BFOC SOCKETS),
6GK1502 -3CC10
1300NM WAVE LENGTH FOR LONG DISTANCES W. SIGNAL.
CONTACT A. MEAS. OUTPUT

SIMATIC NET, PB OLM/G12-EEC V3.1 OPTICAL LINK MODULE W.


6GK1502 -3CD10 1 RS485 AND 2 GLASS FO INTERFACES (4 BFOC SOCKETS)
FOR EXTENDED TEMP. RANGE -20..+ 60 DEGREES

SIMATIC NET, PB OLM/P11 V4.0 OPTICAL LINK MODULE W. 1


RS485 AND 1 PLASTIC-FOC-INTERFACE (2 BFOC-SOCKETS),
6GK1503 -2CA00
WITH SIGNAL. CONTACT AND MEASURING OUTPUT, 2 BFOC-
CONNECTORS INCLUDED

SIMATIC NET, PB OLM/G11 V4.0 OPTICAL LINK MODULE W. 1


6GK1503 -2CB00 RS485 AND 1 GLASS-FOC-INTERFACE (2 BFOC-SOCKETS);
WITH SIGNAL. CONTACT AND MEASURING OUTPUT,

SIMATIC NET,PB OLM/G11-1300V4.0 OPTICAL LINK MODULE W.


1 RS485 AND 1 GLASS-FOC-INTERFACE (2 BFOC-
6GK1503 -2CC00
SOCKETS),1300NM WAVE LENGTH FOR GREAT DISTANCES
WITH SIGNAL. CONTACT AND MEASURING OUTPUT

SIMATIC NET, PB OLM/P12 V4.0 OPTICAL LINK MODULE W. 1


RS485 AND 2 PLASTIC-FOC-INTERFACE (4 BFOC-SOCKETS),
6GK1503 -3CA00
WITH SIGNAL. CONTACT AND MEASURING OUTPUT, 4 BFOC-
CONNECTORS INCLUDED

SIMATIC NET, PROFIBUS OLM/G12 V4.0 OPTICAL LINK MODULE


W. 1 RS485 AND 2 GLASS-FOC-INTERFACES (4 BFOC-SOCKETS)
6GK1503 -3CB00
FOR STANDARD DISTANCES UP TO 2850 M, WITH WITH SIGNAL.
CONTACT AND MEASURING OUTPUT

SIMATIC NET, PB OLM/G12-1300 V4.0 OPTICAL LINK MODULE W.


1 RS485 AND 2 GLASS-FOC-INTERFACES (4 BFOC-
6GK1503 -3CC00
SOCKETS),1300NM WAVE LENGTH FOR GREAT DISTANCES
WITH SIGNAL. CONTACT AND MEASURING OUTPUT
6GK1503 -3CD00 SIMATIC NET, PB OLM/G12-EEC V4.0 OPTICAL LINK MODULE W.

Page 236 of 293


1 RS485 AND 2 GLASS-FOC-INTERFACES (4 BFOC-SOCKETS)
FOR EXTENDED TEMPERATURE RANGE -20..+60 DGR.

Page 237 of 293


Industrial Ethernet Active
Components

Page 238 of 293


Industrial Ethernet switches - Overview
Overview

Overview of the Industrial Ethernet switches

Page 239 of 293


Function overview of Industrial Ethernet switches

Page 240 of 293


Industrial Ethernet switches - SCALANCE X005
Entry Level

Overview

The unmanaged Industrial Ethernet Entry Level Switch SCALANCE X005 is optimized for low-
cost installation of small Industrial Ethernet networks with 10/100 Mbit/s in a line and star topology
Five electrical nodes or network connections
Rugged metal housing for space-saving cubicle mounting on standard rails, S7-300 DIN rail or
for wall mounting
Rugged, industry-standard station connections with PROFINET-compatible RJ45 connectors
that offer additional strain relief and bending strain relief thanks to latching on the housing
Diagnostics on the device by means of LEDs (power, link status, data communication)

Benefits

Ideal solution for configuring Industrial Ethernet star and line topologies
Space-saving installation in the cabinet thanks to the compact design in S7-300 format
Secure data communication by means of industry-standard device interface using PROFINET-
compliant plug-in connector IE FC RJ45 Plug 180 and additional strain relief by latching the
connector to the housing
Installation is possible without a patch field by means of IE FC RJ45 Plug 180 and IE FC
Standard Cable
Simple and fast diagnosis via LED on device
Uncrossed connecting cables can be used due to the integrated Autocrossover function
Simple network configuration without runtime calculation

Application

Page 241 of 293


For low-cost installation of small, electrical Industrial Ethernet star and line structures with
switching functionality, e.g. machine or plant islands
For installation in the control cabinet

Design

The SCALANCE Industrial Ethernet switches with a rugged metal housing are optimized for mounting
on a standard rail and an S7-300 DIN rail. Direct wall mounting in various positions is also possible. Due
to the housing dimensions that correspond to those of the SIMATIC S7-300, the devices are ideally
suited for integration into an automation solution using S7-300 components.
The SCALANCE X005 Switch is equipped with:

Supply voltage (1 x 24 V DC)


A row of LEDs for displaying status information (power, link status, data communication)
10/100BaseTX, RJ45 port:
RJ45 port, automatic detection of the data rate (10 or 100 Mbit/s), with Autosensing and
Autocrossover function for connecting IE FC cables via IE FC RJ45 Plug 180 over distances up to
100 m

Function

Uncrossed connecting cables can be used due to Autocrossover function integrated in the
ports
Load disconnection through integral switch functionality

Network topology and network configuration


The SCALANCE X005 is typically accommodated in one control cubicle together with the nodes to be
connected. It can be operated in small electrical star and line topologies. Network configuration and
expansion are easy to implement; there are no limitations with the cascading of SCALANCE X005.
When configuring the network, it is necessary to observe the following boundary conditions:

Length of the TP cable between two SCALANCE X switches:


Max. 100 m with Industrial Ethernet FastConnect products

Page 242 of 293


Star network topology with SCALANCE X005

Electrical line topology with SCALANCE X005


Diagnosis
The following information is displayed by LEDs on the equipment:

Port status
Data communication

Page 243 of 293


Technical specifications

Type SCALANCE X005

Data transmission rates 10/100 Mbit/s

Interfaces

Communication 5 x RJ45 sockets (10/100 Mbit/s; TP)


connection,
electrical

Connection for supply 1 x 2-pole terminal block


voltage

Supply voltage 1 x 24 V DC (18 V 32 V)

Current consumption 80 mA

Power loss at 24 V DC 2W

Network extension parameter /


TP cable length

0 100 m IE FC Standard Cable with IE FC RJ45 Plug


or
through IE FC Outlet RJ45 with 0 90 m IE FC
Standard Cable GP + 10 m TP Cord

0 85 m IE FC Marine/Trailing Cable with IE FC RJ45


Plug
or
0 75 m IE FC Marine/Trailing Cable + 10 m
TP Cord

0 55 m IE TP torsion cable with IE FC RJ45 Plug or


0 45 m IE TP torsion cable with IE FC
outlet RJ45
+ 10 m TP cord

Perm. ambient conditions

Operating temperature 0 C +65 C

Transport/storage -40 C +80C


temperature

Relative humidity during < 95%, non-condensing


operation

Construction

Dimensions (W x H x D) 40 x 125 x 124


in mm

Weight 550 g

Assembly Standard rail, S7-300 rail, wall mounting

Degree of protection IP30

Approvals

Page 244 of 293


Type SCALANCE X005

Radio interference level EN 61000-6-2 Class A

Interference immunity EN 61000-6-4

CuL listing UL 60950, CSA C22.2 No. 60950

C-Tick AS/NZS 2064 (Class A)

CE EN 61000-6-2, EN 61000-6-4

Ordering data

Unit
Order no. Article description
price
SIMATIC NET, SCALANCE X005, IE ENTRY LEVEL SWITCH
6GK5005 -0BA00 - UNMANAGED 5 X 10/100MBIT/S RJ45 PORTS, LED
1AA3 DIAGNOSTICS, IP30, 24 V DC POWER SUPPLY, PROFINET
COMPLIANT SLEEVE, WITH MANUAL

Page 245 of 293


Industrial Ethernet switches - SCALANCE X-100
unmanaged

Overview

The unmanaged Industrial Ethernet switches of the SCALANCE X-100 product line are
optimized for installing Industrial Ethernet networks with 10/100 Mbit/s in a line and star topology
Electrical or optical connection to stations or network in accordance with the port type of the
devices
Rugged metal housing for space-saving cabinet mounting on standard rails, S7-300 DIN rail or
for wall mounting
Rugged, industry-standard station connections with PROFINET-compatible RJ45 connectors
that offer additional strain relief and bending strain relief thanks to latching on the housing
Redundant power supply
Diagnostics on the device by means of LEDs (power, link status, data communication)
Error signaling contact with easy adjustment using the SET button

Benefits

Ideal solution for configuring Industrial Ethernet star and line topologies
Space-saving installation in the cabinet thanks to the compact design in S7-300 format
Secure data communication by means of industry-standard device interface using PROFINET-
compliant plug-in connector (IE FC RJ45 Plug 180) and additional strain relief by latching the
connector to the housing
Installation is possible without a patch field by means of IE FC RJ45 Plug 180 and IE FC
Standard Cable
Simple and fast diagnosis via LED on device and signaling contact
Uncrossed connecting cables can be used due to the integrated Autocrossover function
Simple network configuration without runtime calculation

Application

The switches of the SCALANCE X-100 series are used for cost-effective configuration of Industrial
Ethernet line or star topologies with switching functionality. They are designed for installation in the
control cabinet.
Product versions
SCALANCE X104-2 / SCALANCE X106-1

For configuring optical Industrial Ethernet line or star topologies:


SCALANCE X104-2;
line or star topologies with 2 optical ports and 4 electrical ports
SCALANCE X106-1;
star topologies with 1 optical port and 6 electrical ports
Device diagnosis on the device by means of LEDs (power, link status, data communication)
and signaling contact (signaling mask can be set on site using buttons)
The four (SCALANCE X104-2) or six (SCALANCE X106-1) RJ45 sockets are industry-
compatible with additional retaining collars for connection to the new IE FC RJ45 Plug 180
Page 246 of 293
SCALANCE X108

For constructing electrical Industrial Ethernet star and line topologies


Device diagnosis on the device by means of LEDs (power, link status, data communication)
and signaling contact (signaling mask can be set on site using buttons)
The eight RJ45 sockets are industry-standard and feature additional retaining collars for
connection to the IE FC RJ45 Plug 180

Design

The SCALANCE Industrial Ethernet switches with a rugged metal housing are optimized for mounting
on a standard rail and an S7-300 DIN rail. Direct wall mounting in various positions is also possible. Due
to the housing dimensions that correspond to those of the S7-300, the devices are ideally suited for
integration into an automation solution using
S7-300 components.
The SCALANCE X-100 switches feature:

a 4-pin terminal block for connecting the redundant power supply (2 x 24 V DC )


a row of LEDs for displaying status information (power, link status, data communication,
signaling contact)
a 2-pole terminal block for connecting the floating signaling contact
a SET button for local configuration of the signaling contact

The following port types are available:

10/100BaseTX, RJ45 port:


RJ45 port, automatic detection of the data rate (10 or 100 Mbit/s), with Autosensing and
Autocrossover function for connecting IE FC cables via IE FC RJ45 Plug 180 over distances up to
100 m
100BaseFX, BFOC connection technique
BFOC sockets for direct connection to Industrial Ethernet glass fiber-optic cables up to 3000 m for
configuring line and star topologies.

Function

Configuring electrical and optical Industrial Ethernet line or star topologies


Uncrossed connecting cables can be used due to Autocrossover function integrated in the
ports
Load disconnection through integral switch functionality
Easy configuration and extension of the network;
no limits to network extension when switches of the SCALANCE X-100 family are cascaded.

Network topology and network configuration


The SCALANCE X -100 switches are typically accommodated in one control cabinet together with the
nodes to be connected. Electrical and optical versions can be installed together in star and line
topologies.
When configuring the network, it is necessary to observe the following boundary conditions:

Length of the TP cable between two SCALANCE X switches:


Max. 100 m with Industrial Ethernet FastConnect products
Length of the optical cables:
max. 3000 m with Industrial Ethernet glass fiber-optic cables.

Page 247 of 293


Star network topology with SCALANCE X108

Electrical line topology with SCALANCE X108

Page 248 of 293


Optical line topology with SCALANCE X104-2

Electrical and optical line topologies with SCALANCE X108 and SCALANCE X104-2
Diagnostics
The following information is displayed by LEDs on the equipment:

Power
Port status
Data communication

The Industrial Ethernet switches of the SCALANCE X-100 line can also be monitored using the floating
signaling contact.

Technical specifications

Page 249 of 293


Type SCALANCE SCALANCE SCALANCE X108
X104-2 X106-1

Data transmission rates 10/100 Mbit/s 10/100 Mbit/s 10/100 Mbit/s

Interfaces

Communication 4 x RJ45 sockets 6 x RJ45 sockets 8 x RJ45 sockets


connection, (10/100 Mbit/s; (10/100 Mbit/s; (10/100 Mbit/s;
electrical TP) TP) TP)

Communication 2 x BFOC sockets 1 x BFOC sockets


connection, (100 Mbit/s) (100 Mbit/s)
optical

Connection for 1 x 4-pole terminal 1 x 4-pole terminal 1 x 4-pole terminal


supply voltage block block block

Connector for 1 x 2-pole terminal 1 x 2-pole terminal 1 x 2-pole terminal


signaling contact block block block

Voltage supply 2 x 24 V DC (18 2 x 24 V DC (18 2 x 24 V DC (18


32 V) 32 V) 32 V)

Current consumption 160 mA 150 mA 140 mA

Power loss at 24 V DC 3.8 W 3.6 W 3.36 W

Network extension
parameter /
TP cable length

0 100 m IE FC Standard IE FC Standard IE FC Standard


Cable with IE FC Cable with IE FC Cable with IE FC
RJ45 Plug or RJ45 Plug or RJ45 Plug or
through IE FC through IE FC through IE FC
Outlet RJ45 with 0 Outlet RJ45 with 0 Outlet RJ45 with 0
90 m IE FC 90 m IE FC 90 m IE FC
Standard Cable + Standard Cable + Standard Cable +
10 m TP Cord 10 m TP Cord 10 m TP Cord

0 85 m IE FC IE FC IE FC
Marine/Trailing Marine/Trailing Marine/Trailing
Cable with IE FC Cable with IE FC Cable with IE FC
RJ45 Plug or RJ45 Plug or RJ45 Plug
0 75 m IE FC 0 75 m IE FC or
Marine/Trailing Marine/Trailing 0 75 m IE FC
Cable + 10 m TP Cable + 10 m TP Marine/Trailing
Cord Cord Cable + 10 m TP
Cord

0 55 m IE TP torsion cable IE TP torsion cable IE TP torsion cable


with IE FC with IE FC with IE FC
RJ45 Plug or RJ45 Plug or RJ45 Plug or
0 45 m 0 45 m 0 45 m
IE TP torsion cable IE TP torsion cable IE TP torsion cable
with IE FC with IE FC with IE FC
outlet RJ45 + 10 m outlet RJ45 + 10 m outlet RJ45 + 10 m
TP cord TP cord TP cord

0 3000 m Glass fiber-optic Glass fiber-optic -


cable 62.5/125 m cable 62.5/125 m
or 50/125 m; or 50/125 m;
1.0 dB/km at 1.0 dB/km at
1300 nm; 1300 nm;
600 MHz x km 600 MHz x km

Page 250 of 293


Type SCALANCE SCALANCE SCALANCE X108
X104-2 X106-1

Permissible ambient
conditions

Operating -10 C +60 C -10 C +60 C -20 C +70 C


temperature

Transport/storage -40 C +80 C -40 C +80 C -40 C +80 C


temperature

Relative humidity < 95%, non- < 95%, non- < 95%, non-
during operation condensing condensing condensing

Design

Dimensions (W x 60 x 125 x 124 60 x 125 x 124 60 x 125 x 124


H x D) in mm

Weight 780 g 780 g 780 g

Assembly Standard rail, S7- Standard rail, S7- Standard rail, S7-
300 rail, wall 300 rail, wall 300 rail, wall
mounting mounting mounting

Degree of protection IP30 IP30 IP30

Approvals

RF interference EN 61000-6-4 EN 61000-6-4 EN 61000-6-4


level Class A Class A Class A

Interference EN 61000-6-2 EN 61000-6-2 EN 61000-6-2


immunity

CuL listing UL 60950, CSA UL 60950, CSA UL 60950, CSA


C22.2 No. 60950 C22.2 No. 60950 C22.2 No. 60950

FM FM 3611 FM 3611 FM 3611

ATEX Zone 2 EN 50021 EN 50021 EN 50021

C-Tick AS/NZS 2064 AS/NZS 2064 AS/NZS 2064


(Class A) (Class A) (Class A)

CE EN 61000-6-2, EN 61000-6-2, EN 61000-6-2,


EN 61000-6-4 EN 61000-6-4 EN 61000-6-4

Approvals for use in American American American


marine vessels Bureau of Bureau of Bureau of
Shipping Shipping Shipping

Lloyds Lloyds Lloyds


Register of Register of Register of
Shipping Shipping Shipping

Det Norske Det Norske Det Norske


Veritas Veritas Veritas

Page 251 of 293


Type SCALANCE SCALANCE SCALANCE X108
X104-2 X106-1

German German German


Lloyd Lloyd Lloyd

Nippon Nippon Nippon


Kaiji Kyokai Kaiji Kyokai Kaiji Kyokai

Ordering data

Unit
Order no. Article description
price
SIMATIC NET, SCALANCE X104-2, UNMANAGED IE SWITCH, 4 X
10/100MBIT/S RJ45 PORTS, 2 X 100 MBIT/S MULTIMODE BFOC,
6GK5104 -2BB00 -
LED DIAGNOSTICS, FAULT SIGNAL. CONTACT WITH SET on request
2AA3
BUTTON, REDUNDANT VOLTAGE SUPPLY, W. ELECTRONIC
MANUALS ON CD

SIMATIC NET, SCALANCE X106-1, UNMANAGED IE SWITCH, 6 X


10/100MBIT/S RJ45 PORTS, 1 X 100 MBIT/S MULTIMODE BFOC,
6GK5106 -1BB00 -
LED DIAGNOSTICS, FAULT SIGNAL. CONTACT WITH SET on request
2AA3
BUTTON, REDUNDANT VOLTAGE SUPPLY, W. ELECTRONIC
MANUALS ON CD

SIMATIC NET, SCALANCE X108, UNMANAGED IE SWITCH, 8 X


6GK5108 -0BA00 - 10/100MBIT/S RJ45 PORTS, LED DIAGNOSTICS, FAULT SIGNAL.
on request
2AA3 CONTACT WITH SET BUTTON, REDUNDANT VOLTAGE SUPPLY,
W. ELECTRONIC MANUALS ON CD

SIMATIC NET, SCALANCE X112-2, UNMANAGED IE SWITCH, 12 X


10/100MBIT/S RJ45 PORTS, 2 X 100MBIT/S MULTIMODE BFOC,
6GK5112 -2BB00 -
LED-DIAGNOSIS, FAULT SIGNAL CONTACT WITH SET BUTTON, on request
2AA3
REDUNDAND POWER SUPPLY, INCL. ELECTRON. MANUAL ON
CD

SIMATIC NET, SCALANCE X116, UNMANAGED IE SWITCH, 16 X


6GK5116 -0BA00 - 10/100MBIT/S RJ45 PORTS, LED DIAGNOSIS, FAULT SIGNAL.
on request
2AA3 CONTACT WITH SET BUTTON, REDUNDANT POWER SUPPLY,
INCL. ELECTRON. MANUAL ON CD

SIMATIC NET, SCALANCE X124, UNMANAGED IE SWITCH, 24 X


6GK5124 -0BA00 - 10/100MBIT/S RJ45 PORTS, LED DIAGNOSIS, FAULT SIGNAL.
on request
2AA3 CONTACT WITH SET BUTTON, REDUNDANT POWER SUPPLY,
INCL. ELECTRON. MANUAL ON CD

Page 252 of 293


Industrial Ethernet switches - SCALANCE X-200
managed

Overview

The managed Industrial Ethernet switches of the SCALANCE X-200 product line are optimized
for installing Industrial Ethernet networks with 10/100 Mbit/s in a line, star and ring topology
Electrical or optical connection to stations or network in accordance with the port type of the
devices
Rugged metal housing in S7-300 format for mounting on standard rail, S7-300 standard
mounting rail or for direct wall mounting in various positions
Rugged, industry-standard station connections with PROFINET-compatible RJ45 connectors
that offer additional strain relief and bending strain relief thanks to latching on the housing
Redundant power supply
Diagnostics on the device by means of LEDs (power, link status, data communication)
Error signaling contact with easy adjustment using the SET button
The devices feature PROFINET diagnostics, SNMP access, integral Web server and automatic
e-mail sending function for remote diagnosis and signaling over the network.

Benefits

Ideal solution for configuring Industrial Ethernet line, star and ring topologies
Reliable data communication thanks to rugged device connection using PROFINET-compatible
plug-in cables that offer additional strain relief and bending strain relief thanks to latching on the
housing.
High network availability through configuration of redundant ring topologies with SCALANCE X-
400, SCALANCE X-200IRT or OSM/ESM as redundancy managers
Fast and easy diagnosis with LEDs on the device, through the integral Web server and through
signaling contacts
Integration of the SCALANCE X-200 switches in the existing network management
infrastructure through SNMP access point
Easy integration in the process diagnosis and system diagnosis with PROFINET
Configuration and diagnostics integrated into STEP 7 provide significant benefits during the
engineering, start-up and operating phases of a plant
Uncrossed connecting cables can be used due to the integrated Autocrossover function
Module replacement without the need for a programming device, using the C-PLUG swap
media for backing up the configuration data
Arrangement possible without control cabinet since devices with high IP65 degree of protection

Application

The SCALANCE X-200 Industrial Ethernet switches permit cost-effective configuration of Industrial
Ethernet line, star or ring topologies with switching functionality where high network availability or
remote diagnostics options are required. The devices with degree of protection IP30 have been
designed for use in the control cabinet. The SCALANCE X208PRO, is designed to degree of protection
IP65 for installation outside the control cabinet.
Product versions

Page 253 of 293


SCALANCE X204-2/ SCALANCE X204-2LD/ SCALANCE X206-1/ SCALANCE X206-1LD

For configuring optical Industrial Ethernet line, ring or star topologies:


SCALANCE X204-2;
optical line or ring topologies with 2 optical ports, 4 electrical ports
SCALANCE X204-2LD (max. 26 km single-mode fiber optic cable);
optical line or ring topologies with 2 optical ports, 4 electrical ports
SCALANCE X206-1;
star topologies with 1 optical port, 6 electrical ports,
line or ring topologies with electrical and optical transmission paths
SCALANCE X206-1LD (max. 26 km single-mode fiber-optic cable);
star topologies with 1 optical port, 6 electrical ports,
line or ring topologies with electrical and optical transmission paths
Device diagnostics with LEDs (power, link status, data communication)
Remote diagnosis is possible through signaling contact (signal mask can be set locally using
buttons), PROFINET, SNMP and Web browser
The four (SCALANCE X204-2) or six (SCALANCE X206-1) RJ45 sockets are industry-
compatible with additional retaining collars for connection to the IE FC RJ45 Plug 180

Diagnostics access via SNMP and Web browser with SCALANCE X204-2 and SCALANCE X208
SCALANCE X208 / SCALANCE X208PRO (IP65 degree of protection)

For configuring electrical Industrial Ethernet line, star or ring topologies (8 electrical ports):
SCALANCE X208 for installation in the switchgear cabinet
SCALANCE X208PRO, specially for use outside the switchgear cabinet
Device diagnostics with LEDs (power, link status, data communication)
Remote diagnosis with signaling contact (for SCALANCE X208: signal mask can be set locally
using buttons), PROFINET, SNMP and Web browser
The eight RJ45 sockets of the SCALANCE X208 are industry-standard and feature additional
retaining collars for connection to the IE FC RJ45 Plug 180
The eight PROFINET-compatible M12 sockets of the SCALANCE X208PRO are designed with
degree of protection IP65 for connection to the IE M12 Plug PRO or the pre-assembled IE M12
cable
The SCALANCE X208PRO can be mounted on a DIN rail or S7-300 rail or direct on the
equipment or machine in a space-saving, horizontal or vertical design;
the status information can be read off regardless of the mounting position thanks to the angled LED
strip.
Power can also be supplied to the SCALANCE X208PRO from outside the control cabinet from
the PS791-1PRO power supply module at 230 V AC.

Page 254 of 293


Design

The SCALANCE X-200 Industrial Ethernet switches with a rugged metal housing are optimized for
mounting on a standard rail and an S7-300 rail. Direct wall mounting in various positions is also
possible. With the S7-300 housing format, the devices are optimized for integration in an automation
solution with S7-300 components.
The switches are equipped with

a 4-pole terminal block,


and SCALANCE X208PRO via 2 x M12 interfaces

for connecting the redundant supply voltage (2 x 24 V DC).


The status information is indicated by means of a row of LEDs (power, link status, data communication,
power supply, signaling contact).
The SCALANCE X-200 modules are available with the following port types:

10/100BaseTX, RJ45 or M12 connection


RJ45 or M12 socket, automatic detection of the data rate (10 or 100 Mbit/s), with Autosensing and
Autocrossover functions for connecting IE FC cables using IE FC RJ45 Plug 180 or
IE M12 Plug PRO up to 100 m.
100BaseFX, BFOC connection method
BFOC sockets for direct connection to Industrial Ethernet glass fiber-optic cables up to 3000 m
(multimode fiber-optic cable) or up to 26000 m (single-mode fiber-optic cable) for configuring line,
ring and star topologies.

Function

Configuring electrical and optical Industrial Ethernet line, star and ring topologies
Use in ring topologies (100 Mbit/s) together with SCALANCE X-400, SCALANCE X-200IRT or
OSM/ESM as redundancy manager
Uncrossed connecting cables can be used due to Autocrossover function integrated in the
ports
Load disconnection through integral switch functionality
Easy diagnostics using signaling contact, SNMP and Web browser
Easy copper cable diagnostics with Web browser for localizing cable breaks
Integration into the diagnostics of a PROFINET IO-Controllers for a consistent diagnostics
concept, including network infrastructure
Diagnosis of data traffic by means of a parameterizable mirror port with a standard commercial
network analyzer
Optimized support of PROFINET real-time communication (RT) through prioritizing
Fast device replacement in the event of a fault by using the optional C-PLUG swap medium
(not included in scope of supply)

Network topology and network configuration


The Industrial Ethernet SCALANCE X-200 switches with degree of protection IP30 are usually installed
in a control cabinet together with the stations to be connected. Electrical and optical versions can be
installed together in star, line and ring topologies. The SCALANCE X208PRO is designed for installation
outside the control cabinet.
When configuring the network, it is necessary to observe the following boundary conditions:

Length of the TP cable between two SCALANCE X switches:


max. 100 m with IE FC cable and IE FC RJ45 Plug 180 or IE M12 Plug PRO
max. 10 m using patches with TP cord
Length of the optical cables
max. 3000 m with Industrial Ethernet glass fiber optic cables (multimode).
max. 26000 m with Industrial Ethernet glass fiber optic cables (single mode).

Page 255 of 293


IP Address:
The IP address is assigned using the DHCP (Dynamic Host Configuration Protocol) mechanism. If
an appropriate server is not available in the network, the IP address can be assigned using the
supplied software tool. The SCALANCE X-200IRT switches and their real-time functions are
configured with STEP 7.

Star network topology with SCALANCE X208PRO outside the control cabinet and 230 V AC power supply

High-speed redundancy in mixed ring with fiber-optic and twisted-pair cables


Commissioning and diagnosis
PROFINET diagnostic alarms from SCALANCE X can be displayed with the appropriate SIMATIC
Engineering Tools and processed in the control. The engineering outlay for the PLC and HMI have been
drastically reduced through complete integration in the SIMATIC concept for system error messages.

Page 256 of 293


The SCALANCE X-200 Industrial Ethernet switches can also be integrated into a network management
system through the standardized protocol SNMP (Simple Network Management Protocol). In the event
of a fault in the device, error messages (SNMP traps) can be sent to a network system or as e-mail to a
specified network manager.
The integral Web server enables configuration and diagnosis settings to be made using a standard
browser. Statistical information can also be read out over the Web server.
The following information is displayed on site by LEDs:

Power
Port status
Data traffic
Signaling contact

The Industrial Ethernet switches of the SCALANCE X-200 line can also be monitored using the floating
signaling contact.

Technical specifications

Type SCALANCE X204 SCALANCE SCALANCE SCALANCE


-2 X204-2LD X206-1 X206-1LD

Data 10/100 Mbit/s 10/100 Mbit/s 10/100 Mbit/s 10/100 Mbit/s


transmission
rate

Interfaces

Commu 4 x RJ45 (10/100 4 x RJ45 (10/100 6 x RJ45 (10/100 6 x RJ45 (10/100


nication Mbit/s; TP) Mbit/s; TP) Mbit/s; TP) Mbit/s; TP)
connection,
electrical

Commu 2 x BFOC sockets 2 x BFOC sockets 1 x BFOC sockets 1 x BFOC sockets


nication (100 Mbit/s) (100 Mbit/s) (100 Mbit/s) (100 Mbit/s)
connection,
optical

Connecti 1 x 4-pole terminal 1 x 4-pole terminal 1 x 4-pole terminal 1 x 4-pole terminal


on for supply block block block block
voltage

Connect 1 x 2-pole terminal 1 x 2-pole terminal 1 x 2-pole terminal 1 x 2-pole terminal


or for block block block block
signaling
contact

Slot for C-PLUG C-PLUG C-PLUG C-PLUG


the swap
medium

Voltage supply 2 x 24 V DC (18 V 2 x 24 V DC (18 V 2 x 24 V DC (18 V 2 x 24 V DC (18 V


to 32 V) to 32 V) to 32 V) to 32 V)

Current 215 mA 215 mA 200 mA 200 mA


consumption

Power loss at 5.16 W 5.16 W 4.8 W 4.8 W


24 V DC

Network
extension

Page 257 of 293


Type SCALANCE X204 SCALANCE SCALANCE SCALANCE
-2 X204-2LD X206-1 X206-1LD
parameter /
TP cable length

0 100 IE FC Standard IE FC Standard IE FC Standard IE FC Standard


m Cable GP with IE Cable GP with IE Cable GP with IE Cable GP with IE
FC RJ45 Plug FC RJ45 Plug FC RJ45 Plug FC RJ45 Plug

IE FC Outlet RJ45 IE FC Outlet RJ45 IE FC Outlet RJ45 IE FC Outlet RJ45


with with with with
IE FC Standard IE FC Standard IE FC Standard IE FC Standard
Cable GP (0 Cable GP (0 Cable GP (0 Cable GP (0
90 m) 90 m) 90 m) 90 m)
+ 10 m TP Cord + 10 m TP Cord + 10 m TP Cord + 10 m TP Cord

0 85 IE FC IE FC IE FC IE FC
m Marine/Trailing/Fl Marine/Trailing/Fl Marine/Trailing/Fl Marine/Trailing/Fl
exible Cable with exible Cable with exible Cable with exible Cable with
IE FC RJ45 Plug IE FC RJ45 Plug IE FC RJ45 Plug IE FC RJ45 Plug

IE FC IE FC IE FC IE FC
marine/trailing/flex marine/trailing/flex marine/trailing/flex marine/trailing/flex
ible cable (0 75 ible cable (0 75 ible cable (0 75 ible cable (0 75
m) m) m) m)
+ 10 m TP cord + 10 m TP cord + 10 m TP cord + 10 m TP cord

0 55 IE TP torsion cabl IE TP torsion cabl IE TP torsion cabl IE TP torsion cabl


m e with IE FC e with IE FC e with IE FC e with IE FC
RJ45 Plug or RJ45 Plug or RJ45 Plug or RJ45 Plug or
0-45 m 0-45 m 0-45 m 0-45 m
IE TP torsion cabl IE TP torsion cabl IE TP torsion cabl IE TP torsion cabl
e with IE FC e with IE FC e with IE FC e with IE FC
outlet RJ45 outlet RJ45 outlet RJ45 outlet RJ45
+ 10 m TP cord + 10 m TP cord + 10 m TP cord + 10 m TP cord

0 Glass fiber-optic Glass fiber-optic


3000 m cable 62.5/125 m cable 62.5/125
or 50/125 m; m or 50/125 m;
1.0 dB/km at 1.0 dB/km at
1300 nm; 1300 nm;
600 MHz x km 600 MHz x km

0 Glass fiber-optic Glass fiber-optic


26000 m cable 10/125 m cable 10/125 m
single-mode fiber; single-mode fiber;
0.5 dB/km at 1300 0.5 dB/km at 1300
nm nm

Permissible
ambient
conditions

Operatin -10 C +60 C 0 C +60 C -10 C +60 C 0 C +60 C


g temperature

Transpo -40 C +80C -40 C +80C -40 C +80C -40 C +80C


rt/storage
temperature

Relative < 95%, non- < 95%, non- < 95%, non- < 95%, non-
humidity condensing condensing condensing condensing
during
operation

Design

Dimensi 60 x 125 x 124 60 x 125 x 124 60 x 125 x 124 60 x 125 x 124


ons (W x H x

Page 258 of 293


Type SCALANCE X204 SCALANCE SCALANCE SCALANCE
-2 X204-2LD X206-1 X206-1LD
D) in mm

Weight 780 g 780 g 780 g 780 g

Assembl Standard rail, S7- Standard rail, S7- Standard rail, S7- Standard rail, S7-
y 300 rail, wall 300 rail, wall 300 rail, wall 300 rail, wall
mounting mounting mounting mounting

Degree of IP30 IP30 IP30 IP30


protection

Approvals

RF EN 61000-6-4 EN 61000-6-4 EN 61000-6-4 EN 61000-6-4


interference Class A Class A Class A Class A
level

Interfere EN 61000-6-2 EN 61000-6-2 EN 61000-6-2 EN 61000-6-2


nce immunity

CuL UL 60950-1, UL 60950-1, UL 60950-1, UL 60950-1,


listing CSA C22.2 No. CSA C22.2 No. CSA C22.2 No. CSA C22.2 No.
60950-1 60950-1 60950-1 60950-1

FM FM 3611 FM 3611 FM 3611 FM 3611

ATEX EN 50021 EN 50021 EN 50021 EN 50021


Zone 2

C-Tick AS/NZS 2064 AS/NZS 2064 AS/NZS 2064 AS/NZS 2064


(Class A) (Class A) (Class A) (Class A)

CE EN 61000-6-2, EN 61000-6-2, EN 61000-6-2, EN 61000-6-2,


EN 61000-6-4 EN 61000-6-4 EN 61000-6-4 EN 61000-6-4

Approvals for Lloyds Lloyds Lloyds Lloyds


use in marine Register of Register of Register of Register of
vessels Shipping Shipping Shipping Shipping

Det Det Det Det


Norske Veritas Norske Veritas Norske Veritas Norske Veritas

German German German German


Lloyd Lloyd Lloyd Lloyd

Nippon Nippon Nippon Nippon


Kaiji Kyokai Kaiji Kyokai Kaiji Kyokai Kaiji Kyokai

Type SCALANCE X208 SCALANCE


X208PRO

Data transmission rate 10/100 Mbit/s 10/100 Mbit/s

Interfaces

Page 259 of 293


Type SCALANCE X208 SCALANCE
X208PRO

Communication 8 x RJ45 (10/100 Mbit/s; TP) 8 x 4-pole M12


connection, sockets
electrical (10/100 Mbit/s; D-
coded)

Communication
connection,
optical

Connection for 1 x 4-pole terminal block 2 x 4-pole M12


supply voltage interface

Connector for 1 x 2-pole terminal block 1 x 5-pole M12


signaling contact interface

Slot for the swap C-PLUG C-PLUG


medium

Voltage supply 2 x 24 V DC (18 32 V) 2 x 24 V DC (18


32 V)

Current consumption 185 mA 185 mA

Power loss at 24 V DC 4W 4W

Network extension
parameter /
TP cable length

0 100 m IE FC Standard Cable GP IE FC standard GP


with IE FC RJ45 Plug cable with
IE M12 plug PRO

IE FC Outlet RJ45 with


IE FC Standard Cable (0
90 m)
+ 10 m TP Cord

0 85 m IE FC IE FC
Marine/Trailing/Flexible Cable marine/trailing/flexible
with IE FC RJ45 Plug cable with
IE M12 plug PRO

IE FC
marine/trailing/flexible cable
(0 75 m)
+ 10 m TP cord

0 55 m IE TP torsion cable with IE FC IE TP torsion cable


RJ45 Plug or with IE FC
0 45 m IE TP torsion cable RJ45 Plug or
with IE FC outlet RJ45 0 45 m
+ 10 m TP cord IE TP torsion cable
with IE FC outlet RJ45
+ 10 m TP cord

0 3000 m

Permissible ambient
conditions

Operating -20 C +70 C -20 C +70 C


temperature

Page 260 of 293


Type SCALANCE X208 SCALANCE
X208PRO

Transport/storage -40 C +80C -40 C +80C


temperature

Relative humidity < 95%, non-condensing < 100%, non-


during operation condensing

Design

Dimensions (W x 60 x 125 x 124 90 x 125 x 124


H x D) in mm

Weight 780 g 1000 g

Assembly Standard rail, S7-300 rail, wall Standard rail, S7-300


mounting rail, wall mounting

Degree of protection IP30 IP65

Approvals

RF interference EN 61000-6-4 Class A EN 61000-6-4 Class A


level

Interference EN 61000-6-2 EN 61000-6-2


immunity

cULus listing UL 60950-1, CSA C22.2 No. UL 60950, CSA C22.2


60950-1 No. 60950

FM FM 3611 FM 3611

ATEX Zone 2 EN 50021 EN 50021

C-Tick AS/NZS 2064 (Class A) AS/NZS 2064 (Class


A)

CE EN 61000-6-2, EN 61000-6-4 EN 61000-6-2,


EN 61000-6-4

Approvals for use in Lloyds Register of Lloyds


marine vessels Shipping Register of Shipping

Det Norske Veritas Det Norske


Veritas

German Lloyd German Lloyd

Nippon Kaiji Kyokai Nippon Kaiji


Kyokai

American Bureau of American


Shipping Bureau of Shipping

Page 261 of 293


Type SCALANCE X208 SCALANCE
X208PRO

Bureau Veritas Bureau Veritas

Ordering data

Order no. Article description


SIMATIC NET, SCALANCE X204-2, MANAGED IE SWITCH, 4 X
10/100MBIT/S RJ45 PORTS, 2 X 100 MBIT/S MULTIMODE BFOC,
6GK5204 -2BB00 - LED DIAGNOSTICS, FAULT SIGNAL. CONTACT WITH SET
2AA3 BUTTON, REDUNDANT VOLTAGE SUPPLY, PROFINET IO
DEVICE, NETWORK MANAGEMENT, OPER.IN RED. RING, W.
ELECTRONIC MANUALS ON CD, OPTIONAL C-PLUG

SIMATIC NET, SCALANCE X204-2, MANAGED IE SWITCH, 4 X


10/100MBIT/S RJ45 PORTS, 2 X 100MBIT/S MULTIMODE BFOC,
LED DIAGNOSTICS, ERROR SIGNAL CONTACT WITH SET
6GK5204 -2BB10 -
BUTTON, REDUNDANT POWER SUPPLY, PROFINET-IO DEVICE,
2AA3
NETWORK MANAGEMENT,INTEGRATED REDUNDANCY
MANAGER, INCL. ELECTRONIC MANUAL ON CD, C-PLUG
OPTIONAL

SIMATIC NET, SCALANCE X204-2LD, MANAGED IE SWITCH, 4 X


10/100MBIT/S RJ45 PORTS, 2 X 100MBIT/S SINGLEMODE BFOC,
6GK5204 -2BC00 - LED-DIAGNOSIS, FAULT SIGNAL. CONTACT WITH SET BUTTON,
2AA3 REDUNDANT POWER SUPPLY, PROFINET-IO DEVICE,
NETWORK- MANAGEMENT, OPERAT. IN RED. RING, INCL.
ELECTRON. MANUAL ON CD ROM, C-PLUG OPTIONAL

SIMATIC NET, SCALANCE X204-2LD, MANAGED IE SWITCH, 4 X


10/100MBIT/S RJ45 PORTS, 2 X 100MBIT/S SINGLEMODE BFOC,
6GK5204 -2BC10 - ERROR SIGNAL CONTACT WITH SET BUTTON, REDUNDANT
2AA3 POWER SUPPLY,PROFINET-IO DEVICE, NETWORK
MANAGEMENT, INTEGRATED REDUNDANCY MANAGER AND
ELECTRONIC MANUAL ON CD, C-PLUG OPTIONAL
SIMATIC NET, SCALANCE X206-1, MANAGED IE SWITCH, 6 X
10/100MBIT/S RJ45 PORTS, 1 X 100 MBIT/S MULTIMODE BFOC,
6GK5206 -1BB00 - LED DIAGNOSTICS, FAULT SIGNAL. CONTACT WITH SET
2AA3 BUTTON, REDUNDANT VOLTAGE SUPPLY, PROFINET IO
DEVICE, NETWORK MANAGEMENT, OPER.IN RED. RING, W.
ELECTRONIC MANUALS ON CD, OPTIONAL C-PLUG

SIMATIC NET, SCALANCE X206-1, MANAGED IE SWITCH, 6 X


10/100MBIT/S RJ45 PORTS, 1 X 100MBIT/S MULTIMODE BFOC,
LED DIAGNOSTICS, ERROR SIGNAL CONTACT WITH SET
6GK5206 -1BB10 -
BUTTON, REDUNDANT POWER SUPPLY, PROFINET-IO DEVICE,
2AA3
NETWORK MANAGEMENT,INTEGRATED REDUNDANCY
MANAGER, INCL. ELECTRONIC MANUAL ON CD, C-PLUG
OPTIONAL

SIMATIC NET, SCALANCE X206-1LD, MANAGED IE SWITCH, 6 X


10/100MBIT/S RJ45 PORTS, 1 X 100MBIT/S SINGLEMODE BFOC,
6GK5206 -1BC00 - LED-DIAGNOSIS, FAULT SIGNAL. CONTACT WITH SET BUTTON,
2AA3 REDUNDANT POWER SUPPLY, PROFINET-IO DEVICE,
NETWORK- MANAGEMENT, OPERAT. IN RED. RING, INCL.
ELECTRON. MANUAL ON CD ROM, C-PLUG OPTIONAL

SIMATIC NET, SCALANCE X206-1LD, MANAGED IE SWITCH, 6 X


10/100MBIT/S RJ45 PORTS, 1 X 100MBIT/S SINGLEMODE BFOC,
6GK5206 -1BC10 - ERROR SIGNAL CONTACT WITH SET BUTTON, REDUNDANT
2AA3 POWER SUPPLY,PROFINET-IO DEVICE, NETWORK
MANAGEMENT, INTEGRATED REDUNDANCY MANAGER,
INCL.ELECTRONIC MANUAL ON CD, C-PLUG OPTIONAL
SIMATIC NET, SCALANCE X208, MANAGED IE SWITCH, 8 X
10/100MBIT/S RJ45 PORTS, LED DIAGNOSTICS, FAULT SIGNAL.
6GK5208 -0BA00 - CONTACT WITH SET BUTTON, REDUNDANT VOLTAGE SUPPLY,
2AA3 PROFINET IO DEVICE, NETWORK MANAGEMENT, OPERAT. IN
RED. RING, W. ELECTRONIC MANUALS ON CD, OPTIONAL C-
PLUG

6GK5208 -0BA10 - SIMATIC NET, SCALANCE X208, MANAGED IE SWITCH, 6 X


2AA3 10/100MBIT/S RJ45 PORTS, LED DIAGNOSTICS, ERROR SIGNAL
Page 262 of 293
CONTACT WITH SET BUTTON, REDUNDANT POWER SUPPLY,
PROFINET-IO DEVICE, NETWORK MANAGEMENT, INTEGRATED
REDUNDANCY MANAGER, INCL. ELECTRONIC MANUAL ON CD,
C-PLUG OPTIONAL

SIMATIC NET, SCALANCE X208PRO, MANAGED IE SWITCH, 8 X


10/100MBIT/S M12-PORTS, IP65, LED DIAGNOSTICS, FAULT
6GK5208 -0HA00 - SIGNAL CONTACT, REDUNDANT POWER SUPPLY, PROFINET-
2AA6 IO DEVICE, NETWORK MANAGEMENT, OPERAT.IN RED. RING,
INCL. DUST COVERS, INCL. ELECTRON. MANUAL ON CD, C-
PLUG OPTIONAL

SIMATIC NET, SCALANCE X212-2, MANAGED IE SWITCH, 12 X


10/100MBIT/S RJ45 PORTS, 2 X 100MBIT/S MULTIMODE BFOC,
LED-DIAGNOSTICS, FAULT SIGNAL. CONTACT WITH SET
6GK5212 -2BB00 -
BUTTON, REDUNDANT POWER SUPPLY PROFINET-IO DEVICE,
2AA3
NETWORK- MANAGEMENT, INTEGRATED REDUNDANCY
MANAGER, INCL. ELECTRONIC MANUAL ON CD, C-PLUG
OPTIONAL

SIMATIC NET, SCALANCE X212-2LD, MANAGED IE SWITCH, 12 X


10/100MBIT/S RJ45 PORTS, 2 X 100MBIT/S SINGLEMODE BFOC,
LED-DIAGNOSTICS, FAULT SIGNAL. CONTACT WITH SET
6GK5212 -2BC00 -
BUTTON, REDUNDANT POWER SUPPLY PROFINET-IO DEVICE,
2AA3
NETWORK- MANAGEMENT, INTEGRATED REDUNDANCY
MANAGER, INCL. ELECTRONIC MANUAL ON CD, C-PLUG
OPTIONAL

SIMATIC NET, SCALANCE X216, MANAGED IE SWITCH, 16 X


10/100MBIT/S RJ45 PORTS, LED DIAGNOSTICS, FAULT SIGNAL.
6GK5216 -0BA00 - CONTACT WITH SET BUTTON REDUNDANT POWER SUPPLY,
2AA3 PROFINET-IO DEVICE, NETWORK- MANAGEMENT, INTEGRATED
REDUNDANCY MANAGER, INCL. ELECTRONIC MANUAL ON CD,
C-PLUG OPTIONAL

SIMATIC NET, SCALANCE X224, MANAGED IE SWITCH, 24 X


10/100MBIT/S RJ45 PORTS, LED DIAGNOSTICS, FAULT SIGNAL.
6GK5224 -0BA00 - CONTACT WITH SET BUTTON REDUNDANT POWER SUPPLY,
2AA3 PROFINET-IO DEVICE, NETWORK- MANAGEMENT, OPERATION
IN RING, INCL. ELECTRONIC MANUAL ON CD, C-PLUG
OPTIONAL

Page 263 of 293


Industrial Ethernet switches - SCALANCE X-400
modular

Overview

The SCALANCE X-400 product range comprises modular Industrial Ethernet switches
expandable by various media modules and extenders. It supports 10/100/1000-Mbit technology for
various transmission media (twisted pair, fiber optic) and increased port requirements. The main
applications are high-performance plant networks (control level). Thanks to its partly modular design,
the X-400 product line is also designed for future requirements and can be adapted to the relevant
task.
The X414-3E switch has two integral Gigabit Ethernet twisted pair interfaces (10/100/1000
Mbit/s) for connecting a number of switches to one another. Nodes are connected via 12 Fast
Ethernet twisted pair ports (10/100 Mbit/s) integrated into the switch.
Another eight stations can be connected via extender modules on the right of the switch. The
following extender modules are available:
Extenders with eight Fast Ethernet twisted-pair ports
Extenders with four media module slots for up to eight Fast Ethernet fiber optic ports
The integrated redundancy manager facilitates high-speed media redundancy even for large
networks, both for Gigabit Ethernet (SCALANCE X-400 switches in the ring) and for Fast Ethernet
(SCALANCE X-400 switches in the ring in combination with SCALANCE X-200 switches or
OSM/ESM).
For the construction of optical Gigabit Ethernet rings, both integrated Gigabit Ethernet ports
can be converted to fiber optic via a 2-port Gigabit Ethernet media module MM. Module versions are
offered for multimode (up to 750 m fiber-optic cable length) and single-mode (up to 10 km).
By means of a pluggable 2-port Fast Ethernet media module for multimode or alternatively
single-mode fiber-optic cable, SCALANCE X-400 switches can also be integrated into 100-Mbit/s
rings, e.g. with SCALANCE X204-2 or OSM.
A second pluggable 2-port Fast Ethernet fiber-optic media module enables remote nodes to be
connected optically.
Remote diagnosis is possible by means of PROFINET diagnosis (available soon), Web
browser or SNMP.
Switches of the SCALANCE X-400 product line support IT standards and thus permit seamless
integration of automation networks into existing corporate networks. Virtual networks (VLAN) can be
set up.
The support of standardized redundancy procedures (Rapid Spanning Tree Protocol) permits
the redundant integration into higher level enterprise networks.
Through learning the Multicast sources and targets (IGMP (Internet Group Management
Protocol snooping), SCALANCE X-400 switches can also filter Multicast data traffic and therefore
limit the load in the network.
Layer 3 routing (static, RIP v1/2, OSPF) supports communication between different IP
subnetworks

Benefits

Flexible configuration of electrical or optical Industrial Ethernet networks; the network topology,
type and number of ports can be adapted easily to the structure of the plant.
High availability of the network thanks to:
redundant power supply
redundant network structures based on fiber-optic or twisted pair cables (redundancy
manager, standby function and RSTP are integrated)
replacement and extension of media and expansion modules during operation
Page 264 of 293
easy device replacement by means of plug-in C-PLUG swap medium
Reliable communication thanks to very fast reconfiguration of the network in the event of a fault
(<0.3 seconds)
Simple fiber optic connection technology by means of SC sockets (Gigabit Ethernet), BFOC
sockets (Fast Ethernet) and prefabricated fiber optic cables
Twisted pair ports readily accessible from the front, 10/100 Mbit/s;
ports with sleeve for rugged, industry-compatible station connection for direct connections up to
100 m in conjunction with the PROFINET-compatible IE FC RJ45 Plug 180 or IE FC RJ45 Plug 145
connector
Easy network configuration without runtime calculation also for extremely large networks
Simple monitoring and diagnosis by means of signaling contact, digital inputs, SNMP and e-
mail; PROFINET IO diagnostics (available soon)
Reduced engineering expenditure for PLC/HMI due to integration into the SIMATIC system
fault message concept SFM (available soon)
Due to the integrated Layer 3 function (IP routing), a separate router in the network is not
essential
Investment protection for existing networks due to
effortless connection of existing 10 Mbit/s data terminals or network segments to Fast
Ethernet networks with 100 Mbit/s
increase in performance through load decoupling and data transfer rates of 100 Mbit/s
and 1000 Mbit/s
easy integration into existing network management infrastructures by means of SNMP
Support of VLAN permits integration into Enterprise Security Policies
Limiting of load on application of Multicast-based protocols (e.g. video transmission) through
IGMP (Internet Group Management Protocol) snooping or GMRP (GARP Multicast Registration
Protocol)
Protection of network against overload by setting of port thresholds
Operating temperature range from 0 C to +60 C
Low-maintenance operation thanks to fanless construction

Application

SCALANCE X-400 products permit the configuration of switched networks at the control level, which not
only demands high availability of the network and extensive diagnostic options, but also a high number
of ports, high transfer rate and the support of fiber optic and twisted-pair transmission media.
SCALANCE X-400 products are designed with IP20 degree of protection for installation in control
cabinets.
SCALANCE X414-3E

Control stations with a high concentration of devices


Star hub in plant bus (applications with high concentration of devices)
High-speed backbone including high-speed redundancy for process control systems
SCALANCE X414-3E equipped with Layer 3 functionality for IP routing

Design

SCALANCE X414-3E
The Industrial Ethernet Switch SCALANCE X414-3E forms the core of the SCALANCE X-400 product
line. It contains the switching functionality and is responsible for the diagnosis.
The SCALANCE X414-3E has two integrated Gigabit Ethernet twisted-pair ports (10, 100 or
1000 Mbit/s, RJ45 sockets) for connecting the SCALANCE X-400 switches to one another and 12
integrated Fast Ethernet twisted-pair ports (10 or 100 Mbit/s, RJ45 sockets with sleeves) for connecting
stations. Both Gigabit Ethernet ports can be converted to fiber-optic connections with optical Gigabit
Ethernet media modules.
In addition, two slots are available for optical Fast Ethernet media modules with two ports.
By means of an extender interface SCALANCE X414-3E can be extended by a further 8 Fast Ethernet
ports (twisted pair or fiber-optic, depending on extender version). In this way, a maximum configuration
Page 265 of 293
of two Gigabit Ethernet Ports (electrical or optical) and up to 24 Fast Ethernet Ports (of which between 4
and 12 can be optical) is possible. The installation width including extender is max. 19".
Interfaces

Console port (serial interface) and Out-Band-Ethernet port for on-site


parameterization/diagnostics, for firmware update
Slot for C-PLUG swap media for easy device replacement (included in scope of supply)
Redundant 24 V feed
One floating message output for simple display of faults
Floating inputs for recording digital status information such as signal contacts of PROFIBUS
OLM or door contacts and forwarding via SCALANCE X-400 diagnostic paths (LED indicator, log
table, trap or e-mail)

Extensive operating mode and status information is displayed via LEDs and selection pushbuttons.
The SCALANCE X414-3E is supplied with 24 V DC. To protect against power failure, two infeeds are
provided.
SCALANCE X-400 media modules (MM)
Using media modules, the Industrial Ethernet Switch SCALANCE X414-3E can be equipped with fiber
optic cables. Media modules are available for both multimode and single-mode optical fibers. They can
be added or replaced during network operation. The SCALANCE X414-3E basic unit supports two
optical Gigabit Ethernet ports and up to four additional optical Fast Ethernet ports.
The following media modules are available:

MM491-2;
2 fiber optic ports (BFOC sockets) 100 Mbit/s for distances up to 3 km with multimode fiber-optic
conductors
MM491-2LD;
2 fiber optic ports (BFOC sockets) 100 Mbit/s for distances up to 26 km with single-mode fiber-optic
conductors
MM492-2;
2 fiber optic ports (SC sockets) 1 Gbit/s for distances up to 750 m with multimode fiber-optic
conductors (when using SIMATIC NET FO cable 50/125m)
MM492-2LD;
2 fiber optic ports (SC sockets) 1 Gbit/s for distances up to 10 km with single-mode fiber-optic
conductors

One plug-in media module for Gigabit Ethernet converts the Gigabit Ethernet twisted pair-ports included
in the switch to optical mode. The two Gigabit ports can then be used as either twisted-pair or fiber-optic
ports. Optical media modules for Fast Ethernet each generate two additional ports per slot.
SCALANCE X-400 extender modules (EM)
An optional extender module with up to 8 further Fast Ethernet ports can be mounted next to the
expansion interface of the SCALANCE X414-3E.
Versions:

EM495-8;
with 8 twisted pair ports (RJ45 sockets with sleeves) 10/100 Mbit/s; this enables the 12 onboard Fast
Ethernet twisted pair ports of the SCALANCE X414-3E to be expanded to a total of 20 ports.
EM496-4;
with a further four media module slots for Fast Ethernet media modules for up to 8 optical Fast
Ethernet ports

The structure of the SCALANCE X-400 product line offers the following advantages:

Simple user connection via twisted pair


Gigabit Ethernet transfer rate between SCALANCE X-400 switches
Fiber optic connection via fiber-optic media modules
Reduced costs for spare parts inventories;
Electrical and optical variants are covered by a basic unit and fiber-optic media modules

Page 266 of 293


Possible applications of the media and extender modules with SCALANCE X-400

Function

Increasing the network performance;


by filtering the data traffic on the basis of the Ethernet (MAC) address of the data terminals, the local
data traffic remains local; only data intended for users of another subnetwork are forwarded by the
switch.
Simple network configuration and expansion;
the switch saves the data received at the ports and forwards them independently to the destination
address. Collision detection (CSMA/CD method) does not restrict the expansion of the network
beyond the port.
Limiting of error spreading to the associated subnetwork;
the SCALANCE X-400 switches only pass on data with a valid checksum (CRC).
Page 267 of 293
Integration of existing subnetworks with 10 Mbit/s into Fast Ethernet networks with 100 Mbit/s;
at the twisted-pair ports, the SCALANCE X-400 switch automatically recognizes the conductor pairs
for transmission and reception (autocrossover), the data transfer rate of 10 or 100 Mbit/s, as well as
full-duplex and half-duplex operation (autonegotiation).
High-performance connection of SCALANCE X-400 switches with 1 Gbit/s;
SCALANCE X-400 switches have two Gigabit Ethernet ports for connecting the switches to each
other.
High-speed redundancy (HSR) in the ring, reconfiguration time of ring max. 0.3 seconds;
reliable communication is achieved by closing an optical line with SCALANCE X-400 switches to
form a ring. The SCALANCE X-400 switch has an integral redundancy manager (RM) which
monitors the function of the network continuously. It recognizes the failure of a transmission link in
the ring or of a SCALANCE X-400 switch and activates the standby link within no more than 0.3
seconds. Rings consisting of SCALANCE X-400 switches can be operated at 1000 Mbit/s. In rings
with SCALANCE X-200 or OSM/ESM it is possible to integrate SCALANCE X-400 switches at
100 Mbit/s.
High-speed standby redundancy;
several rings can be connected together redundantly with SCALANCE X-400 over the integrated
standby function. Two X-400 switches are configured in a ring as a master and slave over two links
to the other ring.
Redundant interfacing to company networks;
SCALANCE X-400 switches support the standardized redundancy procedures Spanning Tree
Protocol (STP) and Rapid Spanning Tree Protocol (RSTP). This enables a subnetwork to be
connected redundantly to a higher level corporate network with reduced requirements for the
reconfiguration time (in the order of seconds).
Support of virtual networks (VLAN);
for structuring Industrial Ethernet networks with a fast growing number of users, a physically existing
network can be divided into several virtual networks.
Integrated Layer 3 function (IP routing);
different IP subnetworks can be connected together, e.g. automation network with office network
Load limiting with use of Multicast protocols (e.g. video transmission);
through learning the Multicast sources and targets (IGMP snooping), SCALANCE X-400 switches
can also filter Multicast data traffic and therefore limit the load in the network.
Time synchronization;
diagnostic messages (log table entries, e-mails) are time-stamped. The local time is standardized
throughout the network by means of synchronization with a SICLOCK or SNTP time transmitter,
thereby simplifying the assignment of diagnostic messages to several devices.
Fast replacement of devices in event of failure, by means of the C-PLUG switching medium

Page 268 of 293


Optical redundant connection of two optical Gigabit subnetworks with SCALANCE X-400

Redundant connection of office network and industrial network


Network topology and network configuration

Page 269 of 293


The network topology can easily be adapted to the structure of the plant with SCALANCE X-400
Industrial Ethernet switches. The following network structures and combinations of structures can be
implemented:

Fast Ethernet and Gigabit rings with fast media redundancy;


to protect against failure of a transmission link or a switch, as many as 50 X-400 switches cascaded
in line can be connected into a ring with a total length of up to 150 km with multi-mode or 1300 km
with single mode. On the failure of a transmission link or a SCALANCE X-400 switch in the ring, the
transmission path is reconfigured within 0.3 seconds.
Several rings can be redundantly linked through the standby function
In addition, SCALANCE X-400 supports redundant connection of the ring structure to the
corporate network with a rapid spanning tree.
Star topology with SCALANCE X-400 switches:
Each SCALANCE X-400 switch represents a star point which can interconnect as many as 26 nodes
or subnetworks electrically or optically.

When configuring the network, it is necessary to observe the following boundary conditions:

Maximum line length between two modules for multi-mode fiber-optic conductors:
3000 m at 100 Mbit/s
750 m at 1 Gbit/s
Maximum line length between two modules for single-mode fiber-optic conductors:
26 km at 100 Mbit/s
10 km at 1 Gbit/s
Maximum line length for twisted pairs:
100 m

Commissioning and diagnosis


Adjustment options on the device itself:

Redundancy manager RM;


when setting up a ring, a SCALANCE X-400 switch in the ring is switched into the RM mode. The
two Gigabit ports (electrical or with media module optical) are preferably used as ring ports.
When using in optical rings with 100 Mbit/s, the ring ports can be configured on one media module
or on two media modules using the switch.
Signal mask;
the signal mask is set to the current status of the SCALANCE X-400 (setpoint) by pushbutton
operation. The signal mask defines which ports and which power supplies are to be monitored. The
signal contact only reports an error when a monitored port or a monitored feeder fails (deviation of
setpoint/actual status).

Diagnostic options on site:

The following status information is displayed by LEDs on site:


port status
port mode (10/100/1000 Mbit/s, full/half-duplex)
status of the two voltage feeders
signal contact status
signal mask (setpoint status)
RM mode
standby mode
The status of the signal contact is routed externally by means of floating relay contacts. This
enables, for example, the module to be monitored via an input module from a controller.
A PC or a programming device can be directly connected via a serial interface or an Ethernet
interface on the switch CPU (out-band port). Operation is carried out using commands (Command
Line Interface (CLI)).
Monitoring via the Industrial Ethernet network;
the following possibilities are available:
remote via standard browser (Web-based management):
Selection of SCALANCE X-400 switches via the network from a PC with browser
remote via SNMP V1, V2c, V3:
Secure integration of SCALANCE X-400 switches via the network into a network management
station

Network management
The network management provides the following functions:
Page 270 of 293
Password-protected dial-up for "Administrator" (read and write authorization) and "User" (read
only)
Read-out of version and status information
Setting the signal and standby mask and address information
Fixed parameterization of the ports (data rates, half/full duplex)
Setting parameters of the VLANs and multicast services
Configuration of the IP routing function (static routing, RIP v1/2, OSPF)
Parameterization of the standby connections for a redundant ring link
Setting of Rapid Spanning Tree parameters
Parameterization of user administration of SNMP V1, V2c, V3
Output of statistics information
Diagnosis of data traffic by means of a parameterizable mirror port with a standard commercial
network analyzer
Loading of new firmware or the configuration data via the network by a TFTP server
Saving the configuration data or log table via the network on a TFTP server

If faults occur in the network, the SCALANCE X-400 switch can send error messages (traps) to a
network management system or also e-mails to a predefined network administrator.
The remote monitoring (RMON) offers the following functions:
The SCALANCE X-400 switch can collect statistics information according to the RMON groups 1
through 4. These include, for example, fault statistics that are kept for each port. This information can be
read out through Web-based management in the statistics sub-area.

Integration

Page 271 of 293


Use of the SCALANCE X-400 switches in a process control system, e.g. PCS 7
At the terminal bus in the control center, two SCALANCE X414-3E switches with extender (high number
of ports) are used. These are connected together to create an electrical ring with a transfer rate of 1
Gbit/s. Several operator panels are provided and divided between the two switches, so that the system
can still be operated if one switch fails. The terminal and plant bus are connected by means of
redundant servers.
The plant bus is designed as an optical ring. It connects three plant sections with the servers:

SCALANCE X-400 switches without extenders are used for connecting high-availability
SIMATIC controllers (H-systems). On failure of an individual controller or switch, the plant section
remains functional.
One SCALANCE X414-3E with extender (high number of ports) is used for the star-format
connection of controllers.

Page 272 of 293


Fault-tolerant system with SCALANCE X-400

Technical specifications

Type SCALANCE X414-3E

Data transmission rate 10/100/1000 Mbit/s

Interfaces

Communication In the basic unit:


connection 2 x RJ45 (10/100/1000 Mbit/s; TP)
electrical 12 x RJ45 (10/100 Mbit/s; TP)
with extender modules:
8 x RJ45 (10/100 Mbit/s; TP) via EM495-8

Communication In the basic unit:


connection, up to 2 x glass fiber optic cable with SC
optical sockets(1000 Mbit/s) via MM492-2 or MM492-2LD
media modules
up to 4 x glass fiber optic cable with BFOC
sockets (100 Mbit/s) via MM491-2 or MM491-2LD
media modules;
with extender modules:
up to 12 x glass fiber optic cable with BFOC
sockets (100 Mbit/s) via EM496-4 and MM491-2
or MM491-2LD;

Extender interface EM495-8 or EM496-4

Connection for supply 1 x 4-pole terminal block


voltage

Page 273 of 293


Type SCALANCE X414-3E

Connector for signaling 1 x 4-pole terminal block


contact

Connection for digital 2 x 5-pole terminal block


input signals

Slot for the swap C-PLUG


medium

Supply voltage 24 V DC (18 32 V DC)

Current consumption < 2000 mA

Power loss at 24 V DC 15 W (without media and extender modules),


< 48 W (maximum configuration)

Network extension parameter /


TP cable length

0 100 m IE FC Standard Cable GP with IE FC RJ45 Plug

0 85 m IE FC Marine/Trailing Cable with IE FC RJ45 Plug

0 55 m IE FC torsion cable with IE FC RJ45 Plug

0 3000 m Cable lengths for multimode fiber-optic cable at


100 Mbit/s;
MM491-2 with glass FOC
62.5/125 m or 50/125 m;
1 dB/km at 1300 nm;
600 MHz x km

0 750 m Cable lengths for multimode fiber-optic cable at


1000 Mbit/s;
MM492-2 with glass FOC
50/125 m;
2.7 dB/km at 850 nm;
600 MHz x km

0 26 km Cable lengths for single-mode fiber-optic cable at


100 Mbit/s;
MM491-2 with glass FOC
10/125 m or 9/125 m;
0.5 dB/km at 1300 nm

0 10 km Cable lengths for single-mode fiber-optic cable at


1000 Mbit/s;
MM492-2 LD with glass FOC
10/125 m or 9/125 m;
0.5 dB/km at 1300 nm

Permissible ambient conditions

Operating temperature 0 C +60 C

Transport/storage -40 C +80C


temperature

Relative humidity < 95% (non-condensing)


during operation

Page 274 of 293


Type SCALANCE X414-3E

Design

Dimensions (W x H x 344 x 145 x 112


D) in mm

Weight 3.4 kg

Assembly S7-300 sectional rail, DIN rail

Degree of protection IP20

Approvals

RF interference level EN 61000-6-4 Class A

Interference immunity EN 61000-6-2

CuL listing UL 60950, CSA C22.2 No. 60950,


UL 508, CSA C22.2 No. 14-M91
UL 1604 and 2279 (hazardous location)

FM FM 3611,
FM hazardous location

ATEX Zone 2 EN 50021

C-Tick AS/NZS 2064 (Class A)

CE EN 61000-6-2, EN 61000-6-4

Approvals for use in Germanischer Lloyd (GL),


marine vessels

American Bureau of Shipping (ABS),

Llyods Register of Shipping (LRS),

Bureau Veritas (BV),

Nippon Kaiji Kyokai (NK),

Det Norske Veritas (DNV)

Ordering data

Order no. Article description


SIMATIC NET, SCALANCE X408-2, MODULAR IE SWITCH, 4 X
10/100/1000MBIT/S AND 4 X 10/100MBIT/S RJ45 PORTS, 2 X
6GK5408 -2FD00 - GIGAGBIT/FAST ETHERNET MEDIA MODULE SLOTS,
2AA2 INTEGRATED REDUNDANCE MANAGER, OFFICE FEATURES
(RSTP, VLAN,..) NETWORK MANAGEMENT, C-PLUG IN THE
SCOPE OF SUPPLY

6GK5414 -3FC00 - SIMATIC NET, SCALANCE X414-3E, MODULAR IE SWITCH, 2 X


2AA2 10/100/1000MBIT/S AND 12 X 10/100MBIT/S RJ45 PORTS, 1 X

Page 275 of 293


GIGAGBIT AND 2 X 100 MBIT MEDIA MODULE SLOTS,
EXTENDER INTERFACE, INTEGRATED REDUNDANCY
MANAGER, OFFICE FEATURES (RSTP, VLAN,..) NETWORK
MANAGEMENT, C-PLUG INCLUDED IN THE SCOPE OF SUPPLY

SIMATIC NET, MEDIA MODULE MM491-2, SCALANCE X-400


6GK5491 -2AB00 -
ACCESORIES, 2 X 100 MBIT/S MULTIMODE BFOC, HOT
8AA2
SWAPABLE, INSCRIPTION FIELD

SIMATIC NET, MEDIA MODULE MM491-2LD, SCALANCE X-400


6GK5491 -2AC00 -
ACCESORIES, 2 X 100MBIT/S SINGLE MODE BFOC, HOT
8AA2
SWAPABLE, INSCRIPTION FIELD
SIMATIC NET, MEDIA MODULE MM492-2, SCALANCE X-400
6GK5492 -2AL00 -
ACCESORIES, 2 X 1 GBIT/S MULTIMODE SC, HOT SWAPABLE,
8AA2
INSCRIPTION FIELD

SIMATIC NET, MEDIA MODULE MM492-2LD, SCALANCE X-400


6GK5492 -2AM00 -
ACCESORIES, 2 X 1 GBIT/S SINGLE MODE SC, HOT SWAPABLE,
8AA2
INSCRIPTION FIELD

SIMATIC NET, EXTENDER MODULE EM495-8, SCALANCE X-400


6GK5495 -8BA00 -
ACCESORIES, 8 X 10/100MBIT/S RJ45 PORTS, HOT SWAPABLE,
8AA2
W. PROTECTING COVERS CV490

SIMATIC NET, EXTENDER MODULE EM496-4, SCALANCE X-400


6GK5496 -4MA00 -
ACCESORIES, 4 X MEDIA MODULE SLOTS 100 MBIT/S, HOT
8AA2
SWAPABLE, W. PROT. COVERS CV490

Page 276 of 293


Industrial Ethernet switches - Industrial Ethernet
ELS

Overview

The Electrical Lean Switches ELS TP40 / ELS TP40M are optimized for creating Industrial
Ethernet networks with 10/100 Mbit/s in a line topology, but they can also be used as a single star
point.
The ELS TP40s are connected to each other via the IE FC 2 x 2 by means of integral
insulation-piercing contacts.
One or two stations or a station and a programming device are connected over two RJ45
sockets.
ELS TP40M with an additional integral Web server, SNMP access and e-mail function for
remote diagnostics and signaling over the network.
The Electrical Lean Switch ELS TP80 is used to create networks with a star topology
comprising up to 8 stations over RJ45 sockets or to expand the number of ports in OSM/ESM
applications.

Benefits

Ideal solution for configuring Ethernet line topologies


Simple wiring method using integrated FastConnect elements
Simple network configuration without propagation time calculation, also for very large lines
Simple diagnostics through integrated web server on the ELS TP40M
Simple integration of the ELS TP40M in an existing network management infrastructure
through SNMP
Use of standard patch cables (uncrossed) is possible using the integrated autocrossover
function

Application

Page 277 of 293


ELS switches support low-cost construction of Industrial Ethernet line or star network topologies with
switching functions. ELS switches are designed for installation in the control cabinet.
Product versions
ELS TP40

They are used to construct Industrial Ethernet line topologies or small neutral points.
Device diagnostics with LEDs (power, link status, data communication).
Two RJ45 sockets are available for connecting stations and two interfaces with insulation-
piercing contacts for direct connection of the Industrial Ethernet FC TP cables.

ELS TP40M

They are used to construct Industrial Ethernet line topologies or small star neutral points.
Device diagnostics and signaling with LEDs (power, link status, data communication) and
remote diagnostics using a Web browser, SNMP (Simple Network Management Protocol) and E-
mail function.
Two RJ45 sockets for connecting stations and two interfaces with insulation-piercing contacts
for direct connection of the Industrial Ethernet FC TP cables

ELS TP80

Used to construct star structures or to extend the number of ports in conjunction with
OSM/ESM or ELS TP40 applications.
Device diagnostics is possible with LEDs (power, link status, data communication).
Eight RJ45 sockets are available for connecting stations.

Network topology with ELS TP40

Design

The ELS modules in the rugged metal casing are suitable for simple mounting onto standard rails. All
modules feature a 3-pole terminal block that is used to connect the supply voltage (24 V DC). The status

Page 278 of 293


information is indicated by means of a line of LEDs (power, link status, data communication). For ELS,
the following port types are available:

10/100BaseTX RJ45
RJ45 socket, automatic detection of the data transmission rate (10 or 100 Mbit/s), with Autosensing
and Autocrossing function for connecting TP cables (e.g TP Cords).
10/100BaseTX insulation-piercing contacts
Insulation-piercing contact element for direct connection to IE FC Cables 2 x 2 up to 100 m with
Autosensing and Autocrossing function for setting up line topologies.

Function

Configuring Industrial Ethernet line or star topologies.


Integral Autocrossing function of the ports which allows untwisted connecting leads to be used.
Load disconnection through integral switch functionality.
Simple network configuration and network expansion. Collision detection (CSMA/CD method)
does not restrict the expansion of the network if ELS switches are cascaded.

Network topology and network configuration


The ELS TP40 switches are typically installed in a control cabinet with the stations to be connected. The
control cabinets are interconnected in a line topology.
When configuring the network, it is necessary to observe the following basic conditions:

Length of the TP cable between two ELSs, max. 100 m


Length of the TP cable to data terminal, max. 100 m
IP address:
The IP address is assigned for ELS TP40M using the DHCP (Dynamic Host Configuration Protocol)
mechanism. If an appropriate server is not available in the network, the IP address can be assigned
using the supplied software tool or STEP 7.

Page 279 of 293


Star network topology with ELS TP80

Increasing the density of connections for OSM TP62


Commissioning and diagnosis
The ELS offers different diagnostic functions:
The following information is displayed by LEDs on the equipment:

Power
Port status
Data communication

The ELS TP40M can also be integrated in a network management system using the standardized
SNMP (Simple Network Management Protocol) In the event of a fault in the device, the ELS TP40M can
send error messages (SNMP traps) to a network system or as e-mail to a specified network manager.
Diagnostic data for the device (statistical information) can also be obtained over the integral Web server
using a standard browser.

Page 280 of 293


Line network topology with ELS TP40M and diagnostic access

Technical specifications

Electrical Lean Switch ELS TP40/ELS TP40M ELS TP80

Data transmission rate 10/100 Mbit/s 10/100 Mbit/s

Interfaces

Connection of stations 2 x RJ45 sockets 8 x RJ45 sockets


(10/100 Mbit/s; TP) (10/100 Mbit/s; TP)

Connection of 2 x insulation -
Industrial Ethernet FC TP displacement contacts
cables (10/100 Mbit/s)

Connection for supply 1 x 3-pole terminal 1 x 3-pole terminal block


voltage block

Supply voltage 24 V DC (18 V 32 V) 24 V DC (18 V 32 V)

Current consumption 150 mA / 215 mA 150 mA

Power loss at 24 V DC 3.6 W / 5.2 W 3.6 W

Network extension parameter 0 100 m, Industrial 0 90 m Industrial


TP cable length Ethernet FC Standard Ethernet FC Standard
Cable GP Cable GP + 10 m TP
0 85 m Industrial Cord
Ethernet FC 0 75 m Industrial
Marine/Trailing Cable Ethernet FC
0 55 m with IE TP Marine/Trailing Cable
Torsion Cable + 10 m TP Cord
or via Industrial
Ethernet FC Outlet
RJ45
with 0 90 m Industrial

Page 281 of 293


Electrical Lean Switch ELS TP40/ELS TP40M ELS TP80
Ethernet FC Standard
Cable GP + 10 m TP
Cord
0 75 m Industrial
Ethernet FC
Marine/Trailing Cable +
10 m TP Cord
0 45 m Industrial
Ethernet TP Torsion
Cable + 10 m TP Cord

Perm. ambient
conditions

Operating temperature 0 C +60 C 0 C +60 C

Storage/transport -40 C +80 C -40 C +80 C


temperature

Relative humidity < 95 % < 95 %


during operation

Construction

Dimensions (W x H x 145 x 126.5 x 62.5 145 x 126.5 x 62.5


D) in mm

Weight 950 g 950 g

Assembly Standard rail Standard rail

Degree of protection IP20 IP20

Approvals

Radio interference EN 61000-6-4 EN 61000-6-4


level

Interference immunity EN 61000-6-2 EN 61000-6-2

UL listing UL 1950 UL 1950

CSA CSA C22.2 No. 950 CSA C22.2 No. 950

FM FM 3611 FM 3611

C-Tick AS/NZS 2064 (Class A) AS/NZS 2064 (Class A)

CE Yes Yes

Page 282 of 293


Ordering data

Order no. Article description


SIMATIC NET, ELS TP40 ELECTRICAL LEAN SWITCH W. TWO
10/100MBIT/S INSUL. DISPLACEM. CONNECT. FOR
6GK1102 -6AA00
CONFIGURING A LINE TOPOGRAPHY AND TWO 10/100 MBIT/S
RJ45 PORTS 24V DC SUPPLY

SIMATIC NET, ELS TP40M ELECTRICAL LEAN SWITCH W. TWO


10/100MBIT/S INSUL. DISPLACEM. CONNECT. FOR
6GK1102 -6AB00 CONFIGURING A LINE TOPOGRAPHY AND TWO 10/100 MBIT/S
RJ45 PORTS, WEB DIAGNOSIS FUNCTIONALITY TROUGH SNMP,
24V DC SUPPLY

SIMATIC NET, ELS TP80 ELECTRICAL LEAN SWITCH WITH 8


6GK1102 -7AA00 10/100MBIT/S RJ 45 PORTS FOR CONFIGURING A STAR
TOPOGRAPHY NETWORK 24V DC SUPPLY

Page 283 of 293


Industrial Ethernet switches - Industrial Ethernet
OSM/ESM

Overview

The managed Industrial Ethernet OSM and ESM switches are used to construct Industrial
Ethernet networks at the control level
The modules are interconnected (backbone) at 100 Mbit/s over
Glass fiber-optic cables for OSM
Twisted pair cables for ESM
Connection of data terminals or network segments depending on the OSM/ESM type through
2 to 8 Twisted Pair ports in RJ45 or 9-pole Sub D version with 10/100 Mbit/s
3 or 8 fiber-optic ports with 100 Mbit/s
Integrated redundancy manager supports high-speed media redundancy also for large
networks
Very easy network configuration and network extension without complex configuration rules or
parameterization
SNMP and Web-based Management and RMON
Error signaling by e-mail
Integration of digital signals, e.g. door switch, temperature monitoring or signaling contacts into
the management system by means of digital inputs

Benefits

Reliable communication due to very fast reconfiguration of the network in event of fault
(<0.3 seconds)
Security of investment for existing networks due to
effortless connection of existing 10 Mbit/s data terminals or subnetworks to Fast
Ethernet networks with 100 Mbit/s
Enhanced performance thanks to load decoupling and a data rate of 100 Mbit/s
Easy network configuration without runtime calculation also for extremely large networks
High availability of the network due to:
Redundant voltage feed

Page 284 of 293


Redundant network structures based on fiber-optic or Twisted Pair cables;
redundancy manager and standby function are integrated
Flexible configuration of networks, the network topology can easily be adapted to the structure
of the plant with OSM/ESM modules.
Simple monitoring and diagnosis by means of signaling contact, digital inputs, SNMP or e-mail
Low-maintenance operation thanks to fanless construction

Application

The Industrial Ethernet OSM (Optical Switch Module) and ESM (Electrical Switch Module) are used in
the construction of switched networks with data transmission rates of 100 Mbit/s in the control level
range, in which strict demands are placed on network availability and comprehensive diagnostics are
required.
In existing networks, load decoupling and thus increased network performance can be achieved by
creating segments (subdividing a network into subnetworks/segments) and connecting these segments
to an OSM/ESM.
The redundancy manager integrated into OSM/ESM allows redundant Industrial Ethernet rings to be
constructed in switching technology with high-speed media redundancy (reconfiguration time 0.3
seconds max.).
The data transmission rate in the ring is 100 Mbit/s; for each ring, up to 50 Industrial Ethernet OSMs
(optical ring) or ESMs (electrical ring) can be used. Apart from the 2 ring ports, OSM/ESM has other
ports (with either RJ45, ITP or BFOC interfaces) to which data terminals or network segments can be
connected.
With Industrial Ethernet OSM BC08 and media converters Industrial Ethernet OMC TP11, "Fiber to the
machine" concepts can be implemented, so that the advantages of optical transmission technology can
be utilized both for the backbone area and for station connection:

High-speed station connection (100 Mbit/s Full Duplex) over Industrial Ethernet OSM BC08
and media converter Industrial Ethernet OMC TP11 (fiber-optic cable through to the control cabinet)
in an environment subjected to strong electromagnetic fields
Bridging of large distances of up to 3 km between two OSM BC08 modules or from an
OSM BC08 to a distant station
Equipotential bonding measures or lightning protection measures are not necessary thanks to
fiber-optic cables.

Industrial Ethernet OSM TP22 or ESM TP40 modules are ideal for installation in the control cabinet with
1 or 2 stations connected (low equipment density).
With Industrial Ethernet OSM/ESM (devices with 8 ports), several rings can be redundantly
interconnected using the integrated standby function.
Apart from the 2 ring ports, Industrial Ethernet OSM/ESM modules are equipped with other ports to
which both data terminals and network segments can be connected.
OSM/ESM offer the following three error signaling functions:

Over a signaling contact


Over SNMP (traps)
by e-mail

Signals such as signaling contacts from PROFIBUS OLM or door contacts can be connected to
Industrial Ethernet OSM/ESM through digital inputs. These digital inputs can be monitored using
network management functions (read out status, e-mail on status change, create trap or log table entry).

Design

OSM/ESM have a stable metal casing. They are suitable for the following installation types:

Standard rail
Wall mounting
Page 285 of 293
Mounting in 19-inch racks (when 2 modules are used)

All modules have

a 6-pole terminal block for connecting the supply voltage (redundant 24 V DC infeed) and the
floating signaling contact as well as
one or two 6-pole terminal blocks for connecting four digital inputs in each case

The operating mode and status information are displayed by LEDs and a selection button.
Modules with 8 ports also have a standby interface that is used to synchronize two modules when
coupling redundant rings.
Using the serial interface, Industrial Ethernet OSM/ESM can be parameterized, diagnosed or upgraded
to the latest firmware status. The firmware can also be upgraded over the network.
Industrial Ethernet OSM/ESM is available with 4 or 8 ports. They are equipped with the following types
of ports depending on the variant:

Twisted Pair interface (RJ45); 10/100BaseTX :


RJ45 socket, automatic data rate detection (10 or 100 Mbit/s) as well as automatic cross-over of the
send/receive cables for connecting FC cables in the field to IE FC RJ45 Plug 180 of up to 100 m in
length or TP Cords (max. length 10 m, in combination with IE FC Outlet RJ45s and IE FC cables up
to 100 m)
Twisted Pair interface (Sub D); 10/100BaseTX:
9-pole Sub D socket, automatic data rate detection (10 or 100 Mbit/s) as well as automatic cross-
over of the send/receive circuits for connecting ITP cables (max. length 100 m) with Sub D
connectors
Glass FOC: Multimode (MM);100BaseFX BFOC:
2 BFOC sockets per port, 100 Mbit/s data transmission rate, for connecting multimode fiber-optic
cables in environments subjected to strong electro-magnetic fields and for distances of up to 3000 m
between two Industrial Ethernet OSMs
Glass FOC: Singlemode (SM);100BaseFX BFOC:
2 BFOC sockets per port, 100 Mbit/s data transmission rate, for connecting singlemode fiber-optic
cables in environments subjected to strong electro-magnetic fields and for distances of up to 26 km
between two Industrial Ethernet OSM ITP62-LD modules.

Function

Enhancing network performance


By filtering the data traffic on the basis of the Ethernet (MAC) address of the data terminals, the local
data traffic remains local; only data to stations of another subnetwork is forwarded by the OSM/ESM.
Simple network configuration and network expansion.
The overall extension of the network can be up to 150 km with OSM or up to 5 km with ESM. The
OSM/ESM saves the data received at the ports and forwards it independently to the destination
address. Collision detection (CSMA/CD method) does not restrict the expansion of the network beyond
the switch port.
Limiting error propagation to the subnetwork concerned
The OSM/ESM only passes on valid data.
Integration of existing subnetworks at 10 Mbit/s in fast Ethernet networks at 100 Mbit/s
The OSM/ESM automatically detects the data transmission rate at Twisted Pair ports (10 or 100 Mbit/s)
as well as full-duplex or half-duplex mode.
Fast redundancy in the ring (reconfiguration time of the ring is max. 0.3 seconds)
The availability of the communication can be enhanced by closing an optical line with an OSM or an
electrical line with an ESM to form a ring. OSM/ESM have an integral redundancy manager that
continuously monitors the function of the network. It recognizes the failure of a transmission link in the
ring or of a OSM/ESM and activates the standby link within no more than 0.3 seconds.
Fast standby redundancy
Several redundant rings can be reliably interconnected over the integrated standby function (in the case
of OSM/ESM with 8 ports). For this purpose, two OSM or ESM modules belonging to one ring that are
connected over a standby link are connected to the other ring over two separate connection paths.
Digital inputs
Page 286 of 293
Simple integration of digital signals in SNMP-based network management.
Autocrossover function on RJ45 ports
On RJ45 ports, if required, Industrial Ethernet OSM/ESM TP modules automatically cross over the send
and receive circuits to the connected partner device. This means that twisted TP XP Cords are not
necessary. The Autocrossover function requires that Autonegotiation is activated.
Module Typical Type and number of ports Redundancy Service
type applicatio
ns

Twisted Twisted Multimode Singlemode 2 Ring Standby LED Signal


Pair (Sub Pair (RJ45) fiber-optic fiber-optic x on contac
D9) Autosensin cable cable 2 swit
Autosensin g (BFOC) (BFOC) 4 ch
g 10/100 Mbit 100 Mbit/s 100 Mbit/s V
10/100 Mbit /s D
/s C

OSM TP22 2 2

OSM TP62 Control 6 2


level
OSM ITP62 6 2

OSM ITP53 5 3

OSM ITP62- 6 2
LD

OSM BC08 8

Industrial Ethernet OSM product variants

Module Typical Type and number of Redundancy Service


type applicatio ports
ns

Twisted Twisted 2 Ring Standby LED Signaling Digital Web-based


Pair (Sub Pair (RJ45) x on contact inputs manageme
D9) Autosensin 2 swit nt & SNMP
Autosensin g 4 ch
g 10/100 Mbit V
10/100 Mbit /s D
/s C

ESM Control 4 4
TP40 level

ESM TP80 8 8

ESM ITP80 8 8

Industrial Ethernet ESM product variants

Page 287 of 293


Example of device connection with ESM
Network topology and network configuration
The network topology can easily be adapted to the structure of the plant with OSM/ESM modules.
The following network structures and combinations of structures can be implemented:

optical line and star topology with OSM, SCALANCE X204-2 or SCALANCE X414-3E and
optical-fiber media module 100 Mbit/s:
The cascade depth and network extension are only limited by the signal propagation delay; the
overall extension can be up to 150 km.
electrical line and star topologies with ESM, SCALANCE X208 or SCALANCE X414-3E:
The cascading depth and network extension are only limited by the signal propagation time, the
overall network extension can be up to 5 km.
Structuring of existing networks by connecting individual subnetworks to OSM/ESM
Optical 100 Mbit/s rings with high-speed media redundancy (up to 50 Industrial Ethernet OSM,
SCALANCE X204-2 or SCALANCE X414-3E per ring; reconfiguration time is max. 0.3 seconds)
Electrical 100 Mbit/s rings with high-speed media redundancy (up to 50 ESM, SCALANCE
X208 or SCALANCE X414-3E per ring; reconfiguration time is max. 0.3 seconds)
Hierarchic redundant rings:
Individual redundant rings (10 Mbit/s or 100 Mbit/s) are connected over two OSM or ESM modules to
a higher-level 100 Mbit/s ring. High-speed media redundancy can be achieved for the individual
rings and for their redundant coupling.

When configuring the network, it is necessary to observe the following boundary conditions:

Maximum FOC length between two modules:


3000 m for multimode FOCs
Maximum length of the fiber-optic cable between two Industrial Ethernet OSM ITP62-LD
modules:
26 km for singlemode FOCs
Maximum length of TP-Cord: 10 m; together with Outlets RJ45 and FC cables up to 100 m
Maximum length of the ITP cable with Sub D connectors between 2 modules or to the station:
100 m.
Maximum length of the IE FC cable 2 x 2 with an IE FC RJ45 Plug 180 between two modules
or to the station:
100 m

Network configuration rules such as "Propagation time equivalence" and "Variability value" end at the
port of the switch and have no influence on the cascading of switches.

Page 288 of 293


Optical and electrical ring, redundantly coupled
Commissioning and diagnosis
The following settings can be made on the OSM/ESM module:

Redundancy manager RM
When setting up a ring, a module in the ring is switched into RM mode.
The non-ring ports of the RM can be used for the connection of data terminals and networks.
Standby function (for OSM/ESM with 8 ports)
In the case of a redundantly coupled ring, a module in the ring that is linked to the neighboring
module over a standby link is switched to standby mode by means of a switch.
Signal mask;
the signal mask is set to the current status of the module (setpoint) by pushbutton operation. The
signal mask defines which ports and which voltage feeders are to be monitored. The signal contact
only reports an error, if a monitored port or a monitored feeder fails (deviation of setpoint/actual
status).

OSM/ESM features the following diagnostic functions:

The following status information is displayed by LEDs on site:


RM mode
Standby mode (for OSM/ESM with 8 ports)
Signal contact status
Status of the two voltage feeders
Port status
Port mode (10/100 Mbit/s, full/half-duplex)
Signal mask (setpoint status)
Status of the digital inputs
The status of the signal contact is routed externally by means of floating relay contacts. This
enables the module to be monitored via an input module from a controller.

Industrial Ethernet OSM/ESM can also be monitored by means of network management. The following
interfaces are provided for this:

Page 289 of 293


Locally on the module;
over the serial interface and PC with terminal emulation per command line (CLI Command Line
Interface)
Remote via browser (Web-based management):
Selection of OSM/ESM modules over the network from a PC with browser
Remotely over SNMP;
integration of OSM/ESM over the network to a Network Management Station

Network management
Network management offers the following functions:

Password-protected dialup for "Administrator" (read and write authorization) and "User" (read
only)
Reading of version and status information
Setting the signal and standby mask and address information
Permanent parameterization of the ports and filter tables (filter tables only for OSM/ESM with 8
ports)
Output of statistical information
Diagnosis of data traffic by means of a parameterizable mirror port with a standard commercial
network analyzer
Loading of new firmware or the configuration data via the network by a TFTP server
Saving the configuration data or log table via the network on a TFTP server

If faults occur in the network, the OSM/ESM can send error messages (traps) to a network management
system or also e-mails to a predefined network administrator.
Remote Monitoring (RMON) offers the following functions for OSM/ESM modules with 8 ports:
The OSM/ESM can collect statistical data in accordance with RMON Standards 1 to 3. These include,
for example, fault statistics that are kept for each port.
This information can be read out from the OSM/ESM through Web-based management in the statistics
sub-area.

Technical specifications

Technical specifications

Data transmission rate 10/100 Mbit/s

Interface variants For variants, see table of device


connections

Connection of data terminals or RJ45 socket (10/100 Mbit/s


subnetworks (10/100 Mbit/s) Autocrossover) or 9-pole Sub D socket

Connection for power supply 1 x 6-pole plug-in terminal block


and signaling contact

Connection for digital input 1 x 6-pole pluggable terminal block for


signals and auxiliary power OSM TP22/ESM TP40) or 2 x 6-pole
pluggable terminal block

Input voltage:

Rated value 24 V DC

for status "1": +13 ... +30 V

for status "0": -30 ... +3 V

Page 290 of 293


Technical specifications

max. input current: 8 mA

Power supply 2 x 24 V DC (18 V to 32 V DC)

Current consumption (at rated voltage) 1000 mA

Power loss at 24 V DC 20 W

Network expansion parameter

Cable length between 2 OSM 0 to 3 km with 50/125 m or 62.5/125 m


ITP62/OSM TP62 glass fiber; 1.0 dB/km at 1300 nm;
600 MHz*km

Cable length between 2 OSM 0 to 26 km with 10/125 m or 9/125 m


ITP62-LD glass fiber;
0.5 dB/km at 1300 nm;

Cable length with RJ45 0 to 100 m with FC RJ45 Plug 180 and FC
connection method cables

0 to 10 m with TP Cord

0 to 100 m with structured cabling (e.g.


with Industrial Ethernet FC Outlet RJ45)

Cable length with Sub D 0 to 100 m


connection method

Cascading depth

Line/star topology Any (dependant on signal propagation


time only)

Redundant ring 50 (for reconfiguration time < 0.3 s)

Perm. ambient conditions

Operating temperature 0 C to +60 C (OSM ITP62-LD: 0 C to


+55 C)

Storage/transport temperature -20 C to +80 C

Relative humidity Max. 95 % at +25 C

Construction

Dimensions (W x H x D) in mm 217 x 156.5 x 69

Weight Approx. 1,400 g

Mounting Standard rail, fixed mounting


for 19" rack (in pairs)

Degree of protection IP20

Approvals

UL 1950

Page 291 of 293


Technical specifications

CSA CSA C22.2 No. 950

FM Class 1, Division 2, Group A, B, C, D

C-Tick AS/NZS 2064 (Class A)

CE Use in industrial environments

Marine approvals Germanische Lloyd (GL)

Llyods Register of Shipping (LRS)

Bureau Veritas (BV)

Det Norske Veritas (DNV)

American Bureau of Shipping Europe Ltd.


(ABS)

Europe Ltd. (ABS)

Nippon Kaiji Kyokai (NK)

Ordering data

Order no. Article description


SIMATIC NET, OSM ITP62 OPTICAL SWITCH MODULE W. 2 FOC
PORTS 100 MBIT/S, 6 ITP-PORTS 10/100 MBIT/S AND 8 DIGITAL
6GK1105 -2AA10 INPUTS; REDUNDANT 24V DC SUPPLY, SIGNAL CONTACT,
INTEGRATED REDUNDANCY MANAGER WITH NETWORK
MANAGEMENT

SIMATIC NET, OSM TP62 OPTICAL SWITCH MODULE W. 2 FO


CABLE PORTS 100MBIT/S, 6 RJ45 PORTS, 10/100MBIT/S AND 8
6GK1105 -2AB10 DIGITAL INPUTS, REDUN. 24V DC SUPPLY, SIGNALLING
CONTACT, INTEGRATED REDUNDANCY MANAGER W.
NETWORK MANAGEMENT

SIMATIC NET, OSM ITP62-LD OPTICAL SWITCH MODULE W. 2


FOC PORTS 100 MBIT/S LONG DISTANCE (FOC UP TO 26 KM),6
6GK1105 -2AC10 ITP PORTS 10/100 MBIT/S AND 8 DIGITAL INPUTS; REDUNDANT
24V DC SUPPLY, SIGNAL CONTACT, INTEGRATED
REDUNDANCY MANAGER WITH NETWORK MANAGEMENT

SIMATIC NET, OSM ITP53 OPTICAL SWITCH MOD. W. 3 FOC


PORTS 100 MBIT/S, 5 ITP PORTS 10/100 MBIT/S AND 8 DIGITAL
6GK1105 -2AD10 INPUTS; REDUNDANT 24V DC SUPPLY, SIGNAL CONTACT,
INTEGRATED REDUNDANCY MANAGER WITH NETWORK
MANAGEMENT

SIMATIC NET, OSM TP22 OPTICAL SWITCH MODULE W. 2 FO


CABLE PORTS 100MBIT/S, 2 RJ45 PORTS, 10/100MBIT/S AND 4
6GK1105 -2AE00 DIGITAL INPUTS, RED. 24V DC SUPPLY, SIGNALLING CONTACT,
INTEGRATED REDUNDANCY MANAGER W. NETWORK
MANAGEMENT
SIMATIC NET, ESM ITP80 ELECTRICAL SWITCH MODULE WITH 8
ITP-PORTS 10/100MBIT/S AND 8 DIGITAL INPUTS; REDUNDANT
6GK1105 -3AA10
24V DC SUPPLY SIGNAL CONTACT, INTEGRATED
REDUNDANCY MANAGER, WITH NETWORK MANAGEMENT

SIMATIC NET, ESM TP80 ELECTRICAL SWITCH MODULE W. 8


RJ45 PORTS 10/100MBIT/S AND 8 DIGITAL INPUTS, REDUNDANT
6GK1105 -3AB10
24V DC SUPPLY, SIGNAL CONTACT, INTEGRATED
REDUNDANCY MANAGER W. NETWORK MANAGEMENT

Page 292 of 293


SIMATIC NET, ESM TP40 ELECTRICAL SWITCH MODULE W. 4
RJ45 PORTS 10/100MBIT/S AND 4 DIGITAL INPUTS, REDUNDANT
6GK1105 -3AC00
24V DC SUPPLY, SIGNAL CONTACT, INTEGRATED
REDUNDANCY MANAGER W. NETWORK MANAGEMENT

SIMATIC NET, OSM BC08 OPTICAL SWITCH MODULE WITH 8 FO


PORTS 100/100MBIT/S, REDUNDANT 24V DC SUPPLY,
6GK1105 -4AA00
SIGNALLING CONTACT, INTEGRATED REDUNDANCY
MANAGER, 8 INPUTS WITH NETWORK MANAGEMENT

Page 293 of 293