User Manual
User Manual
Preface
___________________
Description of the device 1
SIMATIC NET
___________________
Hardware installation 2
___________________
Configuration 3
PG/PC - PROFINET
CP 1604 / CP 1616
___________________
Operating hardware 4
___________________
Technical specifications 5
Operating Instructions
___________________
Approvals A
02/2017
C70000-G8976-C218-08
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Note
Descriptions for CP 1604 EEC
All descriptions of the CP 1604 also apply to the CP 1604 EEC.
Exception: The temperature range of the operating temperature in the technical
specifications
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 3
Preface
Note
CP 1616 onboard
The CP 1616 onboard is an integral part of the SIMATIC PC. You will therefore find this
information in its documentation.
CP 1604 / CP 1616
4 Operating Instructions, 02/2017, C70000-G8976-C218-08
Preface
Further documentation
The documents listed below contain more detailed information on commissioning and using
the communications processors. You will find this documentation on the Product Support
pages on the Internet under the following entry link:
Support (https://support.industry.siemens.com/cs/ww/en/ps)
Enter the entry ID shown below of the relevant manual as the search item.
● Configuration manual Commissioning PC Stations
This provides you with detailed information on commissioning and configuring SIMATIC
NET PC communications modules.
Entry ID:
109488960 (https://support.industry.siemens.com/cs/ww/en/view/109488960)
● System manual SIMATIC NET Industrial Communication with PG/PC
– Volume 1 - Basics
Entry ID:
42783968 (https://support.industry.siemens.com/cs/ww/en/view/77376110)
– Volume 2 - Interfaces
Entry ID:
42783660 (https://support.industry.siemens.com/cs/ww/en/view/77378184)
The system manuals introduce you to the topic of industrial communication and
explain the communications protocols involved. There is also a description of the OPC
interface as user programming interface.
● Installation manual SIMATIC NET PC Software
This document contains detailed information on installing the SIMATIC net PC software.
Entry ID:
61630923 (https://support.industry.siemens.com/cs/ww/en/view/109488960)
● System manual Industrial Ethernet Network Manual
In this document, you will find detailed information on setting up an Industrial Ethernet
network.
Entry ID:
27069465 (https://support.industry.siemens.com/cs/ww/en/view/27069465)
● Manual SIMATIC PROFINET System Description
This provides you with basic knowledge of the PROFINET IO topics: network
components, data exchange and communication, PROFINET IO, Component Based
Automation, application example for PROFINET IO and Component Based Automation.
Entry ID:
19292127 (https://support.industry.siemens.com/cs/ww/en/view/19292127)
● Manual From PROFIBUS DP to PROFINET IO
You should read this document if you already have an installed PROFIBUS system and
want to change to a PROFINET system.
Entry ID:
19289930 (https://support.industry.siemens.com/cs/ww/en/view/19289930)
● Manual SIMATIC NET - Twisted Pair and Fiber-optic Networks
With the information in this document, you can configure and set up your Industrial
Ethernet networks.
Entry ID:
8763736 (https://support.industry.siemens.com/cs/ww/en/view/8763736)
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 5
Preface
Trademarks
The following and possibly other names not identified by the registered trademark sign ® are
registered trademarks of Siemens AG:
SIMATIC NET, HARDNET, SOFTNET, CP 1612, CP 1613, CP 5612, CP 5613, CP 5614,
CP 5622
CP 1604 / CP 1616
6 Operating Instructions, 02/2017, C70000-G8976-C218-08
Preface
(http://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo2&aktprim=99&lang=
en)
Apart from news, there you will also find:
● Project information: Manuals, FAQs, downloads, application examples etc.
● Contacts, Technical Forum
● The option submitting a support query:
(https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid
=38718979&caller=view)
● Our service offer:
Right across our products and systems, we provide numerous services that support you
in every phase of the life of your machine or system - from planning and implementation
to commissioning, through to maintenance and modernization.
You will find contact data on the Internet at the following address:
(http://www.automation.siemens.com/partner/guiwelcome.asp?lang=en)
Security information
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions only form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems, machines
and networks. Systems, machines and components should only be connected to the
enterprise network or the internet if and to the extent necessary and with appropriate security
measures (e.g. use of firewalls and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into
account. For more information about industrial security, please visit
(http://www.siemens.com/industrialsecurity)
Siemens’ products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends to apply product updates as soon as available and to
always use the latest product versions. Use of product versions that are no longer supported,
and failure to apply latest updates may increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed under
(https://support.industry.siemens.com/cs/ww/en/ps/15247/pm)
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 7
Preface
NOTICE
TCP port 23 for service purposes
The TCP port 23 is available for service purposes. Protect the TCP port 23 using suitable
means, e.g. firewall or security router.
CP 1604 / CP 1616
8 Operating Instructions, 02/2017, C70000-G8976-C218-08
Table of contents
Preface ................................................................................................................................................... 3
1 Description of the device ....................................................................................................................... 11
1.1 CP 1604 communications processor ......................................................................................11
1.1.1 40-pin male connector for connection of the RJ-45 connection board for CP 1604 ...............13
1.1.2 20-pin male connector for connection of an external power supply .......................................14
1.1.3 10-pin connector .....................................................................................................................16
1.1.4 RJ-45 connection board for CP 1604 .....................................................................................19
1.2 CP 1616 communications processor ......................................................................................20
2 Hardware installation............................................................................................................................. 25
2.1 CP 1604 communications processor ......................................................................................25
2.1.1 Important information ..............................................................................................................25
2.1.2 Requirements and notes .........................................................................................................25
2.1.3 Procedure for installing the CP 1604 ......................................................................................26
2.2 CP 1616 communications processor ......................................................................................27
2.2.1 Important information ..............................................................................................................27
2.2.2 Procedure for installing the CP 1616 ......................................................................................28
3 Configuration ........................................................................................................................................ 31
4 Operating hardware .............................................................................................................................. 35
4.1 Diagnostics with SNMP...........................................................................................................35
4.1.1 SNMP and CP 1616/CP 1604 ................................................................................................35
4.1.2 SIMATIC NET SNMP OPC server ..........................................................................................36
4.1.3 Variables of the MIB-II standard .............................................................................................37
4.1.4 Private MIB of a CP 1616/CP 1604 ........................................................................................39
4.2 Web server ..............................................................................................................................40
4.2.1 Web server ..............................................................................................................................40
4.2.2 Language settings ...................................................................................................................41
4.2.3 Settings in HW Config, "Web" tab ...........................................................................................42
4.2.4 Updating and storing information ............................................................................................44
4.2.5 Report system error ................................................................................................................45
4.2.6 Web pages ..............................................................................................................................46
4.2.6.1 Intro .........................................................................................................................................46
4.2.6.2 Start page ...............................................................................................................................48
4.2.6.3 Identification ............................................................................................................................49
4.2.6.4 Diagnostic buffer .....................................................................................................................50
4.2.6.5 Module information .................................................................................................................51
4.2.6.6 Communication .......................................................................................................................56
4.2.6.7 Topology .................................................................................................................................59
4.2.6.8 Media redundancy ..................................................................................................................66
4.3 IO routing ................................................................................................................................67
4.3.1 What is IO routing and when is it used? .................................................................................68
4.3.2 What types of IO routing exist? ...............................................................................................69
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 9
Table of contents
CP 1604 / CP 1616
10 Operating Instructions, 02/2017, C70000-G8976-C218-08
Description of the device 1
1.1 CP 1604 communications processor
Appearance
The following graphic shows the CP 1604 communications processor:
Note
CP 1604 EEC
CP 1604 EEC has the same construction The PCB is however varnished and it therefore has
greater resistance to environmental influences.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 11
Description of the device
1.1 CP 1604 communications processor
Properties
The CP 1604 communications processor is a PCI module in the Universal PC/104 Plus
format for connection of PCs in the PC/104 Plus format to Industrial Ethernet. The essential
properties are as follows:
● Optimized for PROFINET IO
● With Ethernet realtime ASIC ERTEC 400
● 40-pin male connector for connection of the RJ-45 connection board for CP 1604
● 20-pin male connector for connection of an external power supply
● 10-pin male connector for the PROFIenergy controller
● Integrated 4-port real-time switch
● Automatic hardware detection is supported.
LED display
10 LEDs can be controlled by the CP 1604 communications processor. The LED signal
cables are connected to the 20-pin and 40-pin connectors.
The BF and SF LEDs have the following significance:
CP 1604 / CP 1616
12 Operating Instructions, 02/2017, C70000-G8976-C218-08
Description of the device
1.1 CP 1604 communications processor
Virtual LEDs
Note that apart from the visible LEDs there are also two "virtual" LEDs in the firmware.
These are the operating mode LEDs RUN and STOP. They do not exist physically but can
nevertheless be queried using SNMP. They are on in the RUN or STOP mode and never
flash normally or quickly.
1.1.1 40-pin male connector for connection of the RJ-45 connection board for CP
1604
Description
The 40-pin connector is used to connect the ribbon cable from the RJ-45 connection board
for CP 1604. This has the Ethernet connectors that allow network operation.
The signals are processed in the integrated 4-port real-time switch of the CP 1604.
Ethernet connectors
The CP 1604 communications processor is intended for operation in Ethernet networks.
It also has the following features:
● The connectors are designed for 10BaseT and 100BaseTX (via RJ-45 connection board
for CP 1604).
● Data transmission speeds of 10 and 100 Mbps in full/half duplex are supported.
● The adaptation is automatic (autonegotiation).
● The module includes a 4-port real-time switch.
● Autocrossing
● The CP 1604 can be a PCI master.
LED signaling
If the CP 1604 is used without the RJ-45 connection board for CP 1604, the 40-pin
connector has 2 pins per channel for the Link and Activity signal. These can be used to
control a total of 8 LEDs. The signals of the operating statuses group fault (SF) and bus fault
(BF) are available at pin 3 (SF) and pin 37 (BF).
The wiring is the same as described for the 20-pin connector.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 13
Description of the device
1.1 CP 1604 communications processor
You will find the pin assignment of the connector on the labeling on the ribbon cable socket
bar.
Description
The 20-pin connector is used to connect an external power supply as well as 2 LEDs for
signaling the operating statuses bus fault (BF) and group fault (SF). Siemens does not
provide an external power supply for this module.
With the 5 V power supply, the integrated real-time switch can also operate when the PC is
turned off. The 5 V power supply is optional. Without the external 5 V power supply, the
switch operates with the 5 V power supply of the PC/104 PC.
CP 1604 / CP 1616
14 Operating Instructions, 02/2017, C70000-G8976-C218-08
Description of the device
1.1 CP 1604 communications processor
The CP 1604 activates ground via a port. This means that via the resistor connected to the
3.3 V power supply, the current flows via the LED.
NOTICE
LED current
The LED current must not exceed 9 mA.
You will find the pin assignment of the connector on the labeling on the ribbon cable socket
bar.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 15
Description of the device
1.1 CP 1604 communications processor
Description
The 10-pin connector (PE) is used to signal the PROFIenergy commands to the host PC. As
of firmware V2.6, the CP 1604 allows operation as a PROFIenergy device. With suitable
commands from the PROFINET controller, the PC in which the CP 1604 is plugged in can be
turned off and on again with the aim of reducing energy consumption. The device is turned
off by certain commands (data records) on the IO-Base user programming interface. You will
find these commands in the "IO-Base User Programming Interface" document.
Note
Hardware version for 10-pin connector
The 10-pin connector is available as of hardware version 7 (MLFB 6GK1160-4AA01).
CP 1604 / CP 1616
16 Operating Instructions, 02/2017, C70000-G8976-C218-08
Description of the device
1.1 CP 1604 communications processor
Assignment
The pin assignment of the 10-pin connector (PE) is as follows:
Figure 1-1 View of the 10-pin connector (PE) - X711 from above
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 17
Description of the device
1.1 CP 1604 communications processor
WARNING
Do not connect pins 3 to 9!
Do not connect pins 3 to 9! Otherwise the CP may be destroyed.
tpci_reset The host application shuts down the PC. The RST_N level on the PCI bus then
falls to "Low".
tpe_wake The firmware receives the PROFIenergy end pause frame and initiates the
startup procedure of the host PC with the PE_WAKE signal.
tpci_unreset When it restarts, the host PC pulls the RST_N pin on the PCI bus to "High". The
firmware then sets the PE_WAKE signal back to "Low".
tundefined tundefined = 12 seconds
After PC start, the PE_WAKE signal is not defined until this point in time. The
PE_WAKE signal can only be used as controller for switching on the host PC
system after the 12 seconds.
CP 1604 / CP 1616
18 Operating Instructions, 02/2017, C70000-G8976-C218-08
Description of the device
1.1 CP 1604 communications processor
Electrical characteristics
The 10-pin connector (PE) has the following electrical properties:
Appearance
The following figure shows the RJ-45 connection board for the CP 1604 with a 40-pin ribbon
cable and the port number.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 19
Description of the device
1.2 CP 1616 communications processor
Properties
The RJ-45 connection board for the CP 1604 has 4 RJ-45 jacks for connecting end devices
or other network components. With the supplied 40-pin ribbon cable, the RJ-45 connection
board for CP 1604 is connected to the CP 1604.
The signals of the 4 RJ-45 jacks are connected to the integrated real-time switch on the CP
1604.
Apart from the RJ-45 connectors, there are also 2 LEDs (green and yellow) for each port.
Appearance
The following figure shows the CP 1616 communications processor.
CP 1604 / CP 1616
20 Operating Instructions, 02/2017, C70000-G8976-C218-08
Description of the device
1.2 CP 1616 communications processor
Properties
The CP 1616 is a PCI module for connecting PGs/PCs to Industrial Ethernet. The essential
properties are as follows:
● Optimized for PROFINET IO
● With Ethernet realtime ASIC ERTEC 400
● Four RJ-45 jacks for connection of end devices or other network components
● Integrated 4-port real-time switch
● Automatic hardware detection is supported
Hardware requirements
To be able to operate, the CP 1616 requires a 32-bit wide, short PCI slot with master
capability.
LED display
On the front of the CP 1616, there are 10 LEDs.
Above the four RJ-45 jacks, there are 2 red LEDs labeled "BF" (bus fault) and "SF" (group
fault).
LEDs in the frame of each RJ-45 jack
Within the frame of each RJ-45 jack, there are 2 LEDs.
The upper green LED is lit when a connection is established (Link LED).
The lower yellow LED is lit when sending and receiving (Activity LED).
BF and SF LED
The BF and SF LEDs have the following significance:
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 21
Description of the device
1.2 CP 1616 communications processor
Virtual LEDs
Remember that apart from the LEDs visible on the front panel, there are also two "virtual"
LEDs in the firmware. These are the operating mode LEDs RUN and STOP. They do not
exist physically but can nevertheless be queried using SNMP. They are on in the RUN or
STOP mode and never flash normally or quickly.
Ethernet
The CP 1616 is intended for operation in Ethernet networks.
It also has the following features:
● The connectors are designed for 10BaseT and 100BaseTX.
● Data transmission speeds of 10 and 100 Mbps in full/half duplex are supported.
● Autonegotiation
● The module includes a 4-port real-time switch.
● Autocrossover
CP 1604 / CP 1616
22 Operating Instructions, 02/2017, C70000-G8976-C218-08
Description of the device
1.2 CP 1616 communications processor
CP 1616 in a PC as IO controller
The following schematic illustrates a typical application:
PC with CP 1616 as PROFINET IO controller at the IO controller level.
The IO-Base controller user program runs on the PC and accesses the functions of the IO-
Base user programming interface.
The data traffic is handled via a CP 1616 communications processor with several ET 200S
SIMATIC S7 PROFINET IO devices via Industrial Ethernet.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 23
Description of the device
1.2 CP 1616 communications processor
CP 1616 in a PC as IO device
The following schematic illustrates a typical application:
Two PCs each with a CP 1616 as PROFINET IO device at the IO device level.
There is also a PC with a CP 1616 as PROFINET IO controller, a SIMATIC S7-400 with a
CP 443-1 as PROFINET IO controller and two SIMATIC S7 ET 200S PROFINET IO devices
in the network.
On the IO device PCs, there is an IO-Base device user program that accesses the functions
of the IO-Base user programming interface. The data traffic is via a CP 1616
communications processor to a PC as PROFINET IO controller or an S7-400 automation
system with a CP 443-1 via Industrial Ethernet.
CP 1604 / CP 1616
24 Operating Instructions, 02/2017, C70000-G8976-C218-08
Hardware installation 2
2.1 CP 1604 communications processor
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 25
Hardware installation
2.1 CP 1604 communications processor
Note
Multiple CP 1604 communications processors in one PC are not permitted.
Module address
The module address is set with the address switch as described below:
Note
Make sure that all the module addresses in the stack are set differently.
Note
With certain variants of the SIMATIC Microbox, is not possible to use all module addresses;
you will find further information on this in the appropriate operating instructions.
Note
Multiple CP 1604 communications processors in one PC are not permitted.
Note
If you use a PCI adapter, you should ideally set module address 0.
CP 1604 / CP 1616
26 Operating Instructions, 02/2017, C70000-G8976-C218-08
Hardware installation
2.2 CP 1616 communications processor
Note
When handling the module, make sure that you do not touch the connectors or the
electronic components.
4. When necessary screw the supplied threaded sleeves onto the module on which the CP
1604 will be placed.
5. Insert the CP 1604 into the prepared PC/104 Plus slot.
Make sure that the CP 1604 sits firmly and uniformly.
6. Take the 4 supplied M3 screws and screw the CP 1604 to the underlying sleeves.
7. Set the module address on the CP 1604.
8. When required, install the Microbox expansion frame for the CP 1604 with the optional
CP 1604 modules as described in the section "AUTOHOTSPOT".
9. Close the computer housing as described in the manual accompanying your PC.
10.If required, insert the connecting cables (TP) in the corresponding RJ-45 jacks of the RJ-
45 connection board for the CP 1604.
11.Plug the power supply connector into the socket again and turn on your computer.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 27
Hardware installation
2.2 CP 1616 communications processor
With this power supply (6 to 9 VDC), the CP 1616 can operate as a switch even if the PC is
turned off.
NOTICE
UL approval
These modules are intended for installation in Siemens PCs which are approved in
accordance with UL 508 and listed under UL file number E85972. These PCs must comply
with the UL 508 guidelines on "limited voltage / current" or have an "LPS supply" in
accordance with UL 60950 or a "Class 2 supply" in accordance with UL 1310/UL 1885.
WARNING
Do not put any damaged parts into operation!
Do not use any parts that show evidence of damage!
Note
Note on the number of possible CP 1616s in one computer
A maximum of one CP 1616 module can be installed in one PG/PC.
CP 1604 / CP 1616
28 Operating Instructions, 02/2017, C70000-G8976-C218-08
Hardware installation
2.2 CP 1616 communications processor
Note
When handling the module, make sure that you do not touch the connectors or the
electronic components.
5. Insert the CP 1616 the PCI slot. Make sure that the CP 1616 sits firmly and uniformly in
the socket of the slot.
6. Close the computer housing as described in the manual accompanying your PG/PC.
7. Plug the connecting cable (TP) into the appropriate socket on the front panel of the CP
1616.
8. Plug the power supply connector into the socket again and turn on your computer.
Note
If you insert the CP 1616 in a suitable PCI slot and then secure the metal plate to the
housing, the module sometimes skews in the slot in computers of some manufacturers.
After securing the module, please make sure that it is still sitting correctly and firmly in the
slot!
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 29
Hardware installation
2.2 CP 1616 communications processor
CP 1604 / CP 1616
30 Operating Instructions, 02/2017, C70000-G8976-C218-08
Configuration 3
Configuring
After the communications processor has been installed in the computer, the CP still needs to
be configured.
The steps involved are described in the "Commissioning PC Stations" manual. You will find
the manual on the SIMATIC NET Product DVD in the directory: V2.X.X\CP16xx\doc.
Downloading firmware
The CP ships with a current firmware version.
If you want to use the CP 16xx driver of a current SIMATIC NET CD, new firmware for the
CP is also supplied with it. The following activities are then necessary:
● Download the firmware to the CP.
● Update and activate the driver of the CP on the PC.
Description
This section shows you how to use the firmware loader.
The Firmware Loader allows you to download new firmware versions to the SIMATIC NET
modules.
For more detailed information about the individual download variants, refer to the integrated
help in the program.
Firmware
Here, firmware means the system programs in the SIMATIC NET modules.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 31
Configuration
Installation
The firmware loader is available in Windows when you have installed STEP 7/NCM PC on
your PC.
Load files
The load file contains the firmware of the CP and other information that can be displayed by
the firmware loader. Based on this information, it checks the compatibility with the device.
The load file ships with the name "fw16xx-v.v.v.b.b.fwl"; where "v.v.v." stands for the version
number and "b.b" for the build number.
CP 1604 / CP 1616
32 Operating Instructions, 02/2017, C70000-G8976-C218-08
Configuration
NOTICE
Interrupting the download can lead to problems
Remember that interrupting the download can lead to an inconsistent module status!
NOTICE
Load file used
Make sure that the load file you are using is intended as an update for the version of the
firmware contained on your module. If you are in any doubt, contact your local Siemens
advisor.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 33
Configuration
For more detailed information on the various load options, refer to the integrated help.
Note
Two MAC addresses
When loading the firmware or commissioning the module, please note that the CP has two
MAC addresses (always consecutive addresses).
The first address printed on the module is for layer 2 communication, the second for the
PROFINET protocol (first address plus one).
Example
The address "08.00.06.93.DA.76" printed on the communications processor is the address
for layer 2 communication. This means that "08.00.06.93.DA.77" is the MAC address for
PROFINET communication.
Eliminating problems
A disruption during the firmware download can lead to an inconsistent status on the module.
Status detection
You can recognize an inconsistent status on the CP as follows:
● The CP is not accessible with STEP 7/NCM PC (in the SIMATIC Manager/SIMATIC NCM
Manager, select configured PC station in the STEP 7 project > menu command "PLC" >
"Edit Ethernet Node").
● The red SF LED (group fault) flashes at 2-second intervals.
● Following a computer restart, all the LEDs of an unused RJ-45 jack light briefly and then
go off again.
Note
Green Link LED
In contrast to the brief lighting up of the LEDs when the computer starts up, the green
Link LED always lights up if a cable is inserted in the RJ-45 jack and a link is also
established.
Troubleshooting
Download the current firmware file, for example "fw16xx-v.v.v.b.b.fwl", to the module again
via the ISO access point.
Confirm the error "Error establishing connection to query the hardware version" with "yes"; in
other words, ignore the error.
To download using the ISO protocol, you require the MAC address printed on the module.
CP 1604 / CP 1616
34 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware 4
4.1 Diagnostics with SNMP
MIB
A MIB (Management Information Base) is a type of database containing the description of
the objects and functions of a device. SNMP clients access this information.
A distinction is made between standardized and private MIBs:
● Standardized MIBs are described in RFC documents.
● Private MIBs contain product-specific expansions.
MIB II describes a set of SNMP variables that is normally supported by all SNMP-compliant
devices.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 35
Operating hardware
4.1 Diagnostics with SNMP
Security concept
Access with SNMP is controlled by the concept of communities.
Access Community
Read-only access public
Read and write access private
Description
The SIMATIC NET SNMP OPC server makes available the SNMP information from TCP/IP
networks on the OPC interface with SNMP. Using the SIMATIC NET SNMP OPC server, any
OPC client systems can access diagnostics and parameter data of SNMP-compliant
components, for example the product WinCC.
Non SNMP-compliant components can also be included in the plant visualization using their
IP addresses. Apart from simple device diagnostics, this also allows detailed information
such as the network load distributions of entire TCP/IP networks. With the additional
monitoring of this data, device failures can be detected and localized quickly. This increases
operational safety and improves plant availability. You configure the devices to be monitored
by the SIMATIC NET SNMP OPC server with STEP 7 (alternatively with NCM PC).
You will find further information on the SIMATIC NET SNMP OPC server on the Internet at
the URL:
CP 1604 / CP 1616
36 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.1 Diagnostics with SNMP
Note
The SIMATIC NET SNMP OPC server is not part of this product.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 37
Operating hardware
4.1 Diagnostics with SNMP
CP 1604 / CP 1616
38 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.1 Diagnostics with SNMP
Port indexes
Port-specific objects can be addressed with "SNMP variable.portnumber“.
For the CP 1616/CP 1604, the interface index corresponds to the port number.
The virtual port has the number 5.
Example
The "IfOperStatus.1" variable determines the operating state (up, down etc.) of port 1 of the
CP 1616/CP 1604.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 39
Operating hardware
4.2 Web server
Note
For the meaning of the LED signaling, refer to the section "Description of the device
(Page 11)" of the relevant CP.
Virtual LEDs
Remember that apart from the LEDs visible on the front panel, there are also two "virtual"
LEDs in the firmware. These are the LEDs "RUN" and "STOP". They do not exist physically
but can nevertheless be queried using SNMP.
Introduction
Note
In the "Web server" section, the term CP 1616 is used for the CP 1616, the
CP 1616 onboard and the CP 1604.
The Web server provides you with the option of monitoring your CP 1616 via the Internet or
the internal company intranet. This allows evaluations and diagnostics over large distances.
Messages and status information are displayed on HTML pages.
CP 1604 / CP 1616
40 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
Web browser
To access the HTML pages on the CP 1616, you require a Web browser.
The following Web browsers are suitable for communication with the CP 1616:
● Internet Explorer (as of version 6.0)
● Mozilla Firefox (as of version 1.5)
● Opera (as of version 9.0)
Note
A maximum of 5 HTTP connections are possible.
Introduction
The Web server supports the following languages:
● German (Germany)
● English (USA)
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 41
Operating hardware
4.2 Web server
Requirements
You have opened the Properties dialog of the CP 1616 in HW Config.
CP 1604 / CP 1616
42 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
To be able to use the full functionality of the Web server, make the following settings in the
"Web" tab:
● Enable the Web server
● Set the language for the Web
● Enable automatic updates (optional)
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 43
Operating hardware
4.2 Web server
Note
If you enable the Web server and do not select a language, messages and diagnostics
information will be displayed in hexadecimal code.
Note
Update time
The activation interval set in HW Config is the shortest update time. Larger amounts of
data or multiple HTTP connections increase the update time.
CP 1604 / CP 1616
44 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
Updated printouts
Printouts always show the current information of the CP 1616. It is therefore possible that the
printed information is more up-to-date than the display on your screen.
You can obtain a print preview of the Web page with the following icon:
Filter settings have no influence on the printout. The printout of the "Module information"
Web page always shows the complete content of the pages.
You can re-enable the automatic update with the <F5> function key or with the following
icon:
A dialog opens in which you can specify the file name and target directory.
Note
Opening the csv file in Microsoft Excel
To display the data correctly in Microsoft Excel, do not open the csv file by double clicking on
it. Import the file into Excel using the "Data" and "Import External Data" menu command.
To achieve the full functionality of module information, topology and diagnostic buffer entries
in the Web server, it is also necessary to generate and load "Report system error" for the
project.
To ensure that "Report system error" is also generated each time you save and compile the
hardware configuration, we recommend that you make the setting required for this.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 45
Operating hardware
4.2 Web server
4.2.6.1 Intro
CP 1604 / CP 1616
46 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
Intro
The following figure shows the first page (Intro) called up by the Web server.
To access the pages of the Web server, click the ENTER link.
Note
Skipping the Intro Web page
Select the "Skip Intro" check box to skip the Intro. In future, you will then come directly to the
Start page of the Web server. To display the Intro again when you start the Web server, click
the "Intro" link on the Start page.
See also
Settings in HW Config, "Web" tab (Page 42)
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 47
Operating hardware
4.2 Web server
Start page
The Start page provides you with information as shown in the following figure. The image of
the CP 1616 indicates its current status regarding group errors and bus errors at the time the
data was queried. The display of the port LEDs is static.
"General"
"General" contains information about the CP 1616 whose Web server you are currently
connected to.
"Status"
"Status" contains information about the CP 1616 at the time of the query.
Reference
For information on http connections, see the section "Settings in HW Config, "Web" tab
(Page 42)".
CP 1604 / CP 1616
48 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
4.2.6.3 Identification
Characteristic data
You will find the characteristic data of the CP 1616 on the "Identification" Web page.
"Identification"
The "Identification" group includes the plant designation, location identifier and the serial
number. The plant designation and location identifier can be configured in the Properties
dialog of the CP 1616, "General" tab in HW Config.
"Order number"
You will find the order number of the hardware in the "Order number" box.
"Version"
You will find the versions of the hardware, firmware, boot loader and the host driver in the
"Version" info box.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 49
Operating hardware
4.2 Web server
Diagnostic buffer
The content of the diagnostic buffer is displayed by the browser on the "Diagnostic buffer"
Web page.
Requirement
You have enabled the Web server, made the language setting and compiled and
downloaded the project with STEP 7.
"Event"
The "Event" info box contains the diagnostic events with date and time.
CP 1604 / CP 1616
50 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
"Details"
This box lists detailed information about the selected event.
Select the relevant event in the "Event" information box.
Configuration
The following steps are required for the configuration:
1. Open the "Object Properties" dialog in the shortcut menu of the relevant CP 1616.
2. Go to the "Web" tab and select the "Enable web server on this module" check box.
3. Select a maximum of two languages to be used to display plain language messages.
4. Save and compile the project and download the configuration to the CP 1616.
Requirement
● You have made the following settings in HW Config:
– enabled the Web server,
– made the language setting,
– generated and enabled "Report system error"
● You have compiled and downloaded the project with STEP 7 HW Config.
● The CP 1616 is in RUN.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 51
Operating hardware
4.2 Web server
Module information
The status of a station is displayed with icons and comments on the "Module information"
Web page.
CP 1604 / CP 1616
52 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
"Module information"
Depending on the selected level, the table shows information on the PC station, the DP
master system, the PNIO master system, the nodes, the individual modules or even the
submodules or components of the station.
"Details"
With the "Details" link, you obtain further information on the selected module in the "Status"
and "Identification" tabs.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 53
Operating hardware
4.2 Web server
"IP address"
If a link is available here, this will bring you to the Web server of the selected, configured
device.
"Topology"
The "Module information" and "Topology" Web pages are linked. If you click on the selected
module in "Topology", you automatically jump to this module in the graphic view of the set
topology on the "Topology" Web page. The module appears in the visible area of the
"Topology" Web page and the device head of the selected module flashes for several
seconds.
"Filter"
You have the option of sorting the table according to certain criteria:
1. Select a parameter from the drop-down list.
2. If applicable, enter the value of the selected parameter.
3. Click on "Filter".
The filter conditions remain active even after updating a page.
To disable the filter settings, click "Filter" again.
"Status" tab
This tab contains information on the status of the selected module if there is a fault or a
message pending.
"Identification" Tab
This tab contains data to identify the selected module.
Note
In this tab, only data that was configured offline is displayed, but no online data of modules.
CP 1604 / CP 1616
54 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
Reference
You will find more detailed information on "Module information" and on the topic of "Report
system error" in the online help of STEP 7.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 55
Operating hardware
4.2 Web server
4.2.6.6 Communication
Overview
On the "Communication" Web page, you will find detailed information about the following
tabs:
● Parameter
● Statistics
"Parameter" tab
Summarized information about the integrated PROFINET interface of the CP 1616 can be
found in the "Parameter" tab.
"Network attachment"
Here, you will find information identifying the integrated PROFINET interface of the relevant
CP 1616.
"IP parameters"
Information on the configured IP address and number of the subnet in which the relevant CP
1616 is located.
CP 1604 / CP 1616
56 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
"Physical properties"
The "Physical properties" info box contains the following information:
● Port number
● Link status
● Settings
● Mode
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 57
Operating hardware
4.2 Web server
"Statistics" tab
You will find information on the quality of the data transfer in the "Statistics" tab.
CP 1604 / CP 1616
58 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
4.2.6.7 Topology
Topology
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 59
Operating hardware
4.2 Web server
Set topology
Display of the topological structure of the configured PROFINET devices of a PROFINET IO
system as configured in the Topology editor of STEP 7 with corresponding status display.
Neighboring PROFINET devices are also displayed if their topological structure was also
configured. Here, however, there is no status display.
The topological assignment of failed PROFINET devices and of the set-actual differences
and swapped-over ports can be recognized in this view.
Note
In the following scenarios, the configured set topology is always displayed:
• When you call the "Topology" Web page using the navigation bar
• When you change from the "Module information" Web page from the overview of the
PROFINET IO devices to the "Topology" Web page using the "Topology" link.
If there is no set topology configured, the actual topology is called up as default.
Actual topology
Displays the current topological structure of the "configured" PROFINET devices of a
PROFINET IO system and the detectable directly neighboring unconfigured PROFINET
devices (display of the neighbor relations as far as these can be detected; with these
neighboring PROFINET devices, there is, however, no status display).
Requirement
For problem-free use of the topology, the following requirements must be met:
● You have made the language setting,
● The topological interconnection of the ports has been configured in the Topology editor of
STEP 7 (this is a requirement to allow the display of the set topology and the
corresponding set topological connections).
● The project has been compiled in HW Config.
● "Report system error" has been generated.
● The project is loaded.
CP 1604 / CP 1616
60 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 61
Operating hardware
4.2 Web server
Connection Meaning
Set topology Actual topology
green The current actual connection corresponds to the configured Detected connections
set connection.
red The current actual connection does not correspond to the -
configured set connection (for example port swapped over).
yellow The connection cannot be diagnosed. Causes: -
• Communication with a device is disrupted (for example
cable unplugged),
• The connection is a connection to a passive component,
• The connection is a connection to devices/PROFINET
devices of a different IO controller or IO subsystem.
③ Deactivated nodes
All deactivated, configured PROFINET nodes are displayed light gray.
CP 1604 / CP 1616
62 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
Link between the "Topology" and the "Module information" Web pages
The "Topology" and "Module information" Web pages are linked. If you click on the head of a
configured module in the topology view, you automatically jump to this module on the
"Module information" Web page.
See also section Module information (Page 51).
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 63
Operating hardware
4.2 Web server
Icon Meaning
Configured and reachable PROFINET nodes
CP 1604 / CP 1616
64 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.2 Web server
Meaning of the icons indicating the module status of the PROFINET nodes
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 65
Operating hardware
4.2 Web server
Description
The " Media redundancy" Web page contains information on the status of the redundancy. In
addition to this, you can also configure media redundancy in a ring topology for a module
that has had a memory reset.
Value Meaning
OFF Media redundancy is deactivated in the ring topology. This setting is selected when there
is no ring topology.
MANAGER(AUTO)/CLIENT Select this setting if you use media redundancy in a ring topology and the CP or other
Siemens device is the redundancy manager. The redundancy manager is then specified
automatically by the MRP protocol.
CLIENT Select this setting if you use media redundancy in a ring topology and the redundancy
manager is not a Siemens device.
Value Meaning
OFF Media redundancy is deactivated in the ring topology.
MANAGER The device is redundancy manager.
CLIENT The device is redundancy client.
CP 1604 / CP 1616
66 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.3 IO routing
Value Meaning
--- The device is not redundancy manager. This means that the ring status cannot be dis-
played.
OPEN The ring is open, there is a problem.
CLOSED The ring is closed, there is no problem.
Value Meaning
Port 1 - BLOCKED The port does not allow any user data to pass through, only MRP frames.
Port 1 - DISABLED The port was disabled.
Port 1 - UP The port allows all frames through.
Port 1 - DOWN The port does not have a link.
Note
Configuring in the STEP 7 project
As an alternative, you can also make this setting in STEP 7.
4.3 IO routing
This section answers the following questions:
● What is IO routing?
● When is IO routing used?
● What types of IO routing exist?
● How does the IO router work?
Configuring an IO router is described in the configuration manual "Commissioning PC
Stations“. This is on the SIMATIC NET CD supplied with the CP 1616/CP 1604 product.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 67
Operating hardware
4.3 IO routing
Definition
Using IO routing, process data is exchanged between two PROFINET IO systems.
Example
A process controller user program controls a robot.
IO routing makes input/output data of the robot controller accessible to an IO controller for
the control level that can both read and write the data.
IO routing is a function that is configured for the IO Base interface.
Note
IO routing functionality is available only with PROFINET IO RT communication.
CP 1604 / CP 1616
68 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.3 IO routing
Requirements
A CP 1616 or CP 1604 communications processor is required in a PC station. Only these
CPs can be both IO controller and IO device at the same time.
Configuration
The CP is first configured as an IO controller. Its process controller user program controls
the IO devices assigned to it on the Ethernet bus.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 69
Operating hardware
4.3 IO routing
The same CP is also configured as an IO device of an IO controller for the control level. This
IO device is assigned transfer modules in the configuration that represent the routed data.
Note
The program for this IO device on the PC station can be any IO device user program. It must
simply run through the full initialization phase according to the IO Base user program.
Note
You do not need to worry about the transfer modules in your C user program because they
are managed by the system itself.
Sample C programs for an IO device user program ("dev_easy") are available on the
SIMATIC NET software product CD.
Data exchange
The data exchange between the input and output data of the IO controller for the process
level and input and output data of the IO controller for the control level is established
automatically by the IO router.
Input data is transferred only module-oriented.
If you also use the function for writing outputs bit-oriented, the data from the process
controller user program is "mixed" with the data of the IO controller for the control level
according to the configuration; see Section "Examples of reading and writing (Page 70)".
Introduction
A PC station contains an IO controller user program known as the IO controller for the
process level that controls its IO devices via a CP 1616/CP 1604.
Outside the PC station, there is an external IO controller known as the IO controller for the
control level that can write and read input/output bits of the IO controller for the process level
via the IO router.
Process data is exchanged using the IO router functions.
CP 1604 / CP 1616
70 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.3 IO routing
Description
The input modules with addresses 100.0 to 100.7 and a length of 1 byte are read by the
process controller user program.
The table and the schematic illustrate that all bits of module 100 can be read by the IO
controller for the control level via transfer module 1.
I/O bits of the IO controller Transfer relation (from the perspective I/O bits of the IO controller
for the control level of the IO controller for the control level) for the process level
1.0 read 100.0
to to
1.7 read 100.7
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 71
Operating hardware
4.3 IO routing
Description
The output modules with addresses 100.0 to 100.7 and a length of 1 byte are written by the
process controller user program. The IO controller for the control level reads the data.
The table and schematic show which bits are read by the IO controller for the control level
via transfer module 1.
I/O bits of the IO controller for the con- Transfer relation (from the perspective I/O bits of the IO controllers for the
trol level of the IO controller for the control level) process level
1.0 read 100.0
to to
1.7 read 100.7
CP 1604 / CP 1616
72 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.3 IO routing
4.3.7 Example of the main and robot controller writing output data
Description
Both the IO controller for the process level and the IO controller for the control level will write
input and output bits in output module 100. A transfer relation is therefore configured for
address 1 in the transfer module.
The table and schematic show which bits are written by the IO controller for the control level
and which by the IO controller for the process level.
I/O bits of the IO controller Transfer relation (from the I/O bits of the IO controller Due to IO router configura-
for the control level perspective of the IO control- for the process level tion, assigned to …
ler for the control level)
1.5 Write 100.0 IO controller for the control
1.6 Write 100.1 level
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 73
Operating hardware
4.3 IO routing
Note
The process controller user program always writes byte-oriented on the IO Base user
programming interface.
Bits 100.0 and 100.1 are, however, replaced by the bits of the IO controller for the control
level by the IO router.
Read
Both IO controllers can read input modules of the process device at the same time.
Write
An output bit can only be written by one of the two IO controllers.
Two IO controllers can nevertheless write different bits of the same output byte.
Write/read access by the IO controller for the process level to the input/output data of the
process image is module- and byte-oriented over the IO Base interface.
Note
The IO controller for the process level may not write to output modules in the process image
that are configured fully for write access by the IO controller for the control level.
CP 1604 / CP 1616
74 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.4 Media redundancy
Data status
Note the following about the data status if two IO controllers write to the same module:
Note
The local data status of a module written by two IO controllers is only GOOD if the local
status of both writes is GOOD.
Description
You configure the IO router in the STEP 7/NCM PC program.
In principle, the IO router is configured as follows.
Step Description
1 Configure the CP 1616:
• As IO device for the IO controller of the control level.
• As IO controller for the process level.
2 Configure the IO router:
• Reading input modules is illustrated by example 1.
• Writing outputs bit-oriented is illustrated by example 2.
Note
For a more detailed description of the configuration of IO routing, refer to the configuration
manual "Commissioning PC Stations".
Overview
This section answers the following questions:
● Which topologies are possible?
● What is media redundancy and how does it work in a ring topology?
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 75
Operating hardware
4.4 Media redundancy
CP 1604 / CP 1616
76 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.4 Media redundancy
The two ring ports of a device are the ports that establish the connection to its two
neighboring devices in the ring topology. The ring ports are selected and set in the
configuration of the relevant device. On the S7 Ethernet CP modules, the ring ports are
indicated by an "R" after the port number.
Note
Before physically closing the ring, download the configuration of your STEP 7 project to the
individual devices.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 77
Operating hardware
4.4 Media redundancy
4.4.2 MRP
The "MRP" method conforms to the Media Redundancy Protocol (MRP) specified in the
standard IEC 62439-2 Edition 2.0.
The reconfiguration time after an interruption of the ring is a maximum of 0.2 seconds.
Requirements
Requirements for problem-free operation with the MRP media redundancy protocol are as
follows:
● MRP is supported in ring topologies with up to 50 devices. Exceeding this number of
devices can lead to a loss of data traffic.
● The ring in which you want to use MRP may only consist of devices that support this
function. This applies, for example, to the following devices:
– Industrial Ethernet switches
SCALANCE X 200 as of firmware version V4.0,
SCALANCE X 200 IRT as of firmware version V4.0
– Communications processors
CP 443-1 Advanced (6GK7 443 1GX20 0XE0) as of firmware version V2.0,
CP 343-1 Advanced (6GK7 343 1GX30 0XE0) as of firmware version V1.0,
– Non-Siemens devices that support this functionality.
Further Siemens devices are planned that will support MRP.
● All devices must be interconnected via their ring ports.
● “MRP" must be activated on all devices in the ring (see “MRP configuration in PROFINET
IO").
● Set all the ports involved in the ring to "Automatic settings" in the "Options" tab of the
properties dialog during STEP 7 configuration.
CP 1604 / CP 1616
78 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.4 Media redundancy
Topology
The following schematic shows a possible topology for devices in a ring with MRP.
Figure 4-19 Example of a ring topology with the MRP media redundancy protocol
The following rules apply to a ring topology with media redundancy using MRP:
● All the devices connected within the ring topology are members of the same redundancy
domain.
● One device in the ring is acting as redundancy manager.
● All other devices in the ring are redundancy clients.
Non MRP-compliant devices can be connected to the ring via a SCALANCE X switch or via
a PC with a CP 1616.
Prioritized startup
If you configure MRP in a ring, you must not use the "prioritized startup" function in
PROFINET applications on the devices involved.
If you want to use the "prioritized startup" function, then disable MRP in the configuration.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 79
Operating hardware
4.4 Media redundancy
In the STEP 7 configuration, in the properties dialog of the PROFINET interface > "Media
redundancy" tab > "MRP configuration" box, set the role to "Not node in the ring" in the "mrp-
domain1" domain.
Configuration in STEP 7
To create the configuration in STEP 7, select the parameter group "Media redundancy" on
the PROFINET interface.
Set the following parameters for the MRP configuration of the device:
● Domain
● Role
● Ring port
● Diagnostic interrupts
These settings are described below.
Note
Valid MRP configuration
In the MRP configuration in STEP 7, make sure that all devices in the ring have a valid MRP
configuration before you close the ring. Otherwise, there may be circulating frames that will
cause a failure in the network.
One device in the ring needs to be configured as "redundancy manager" and all other
devices in the ring as "clients".
Note
Note factory settings
MRP is disabled and spanning tree enabled for the following brand new IE switches and
those set to the factory settings:
• SCALANCE XB-200 (Ethernet/IP variants)
• SCALANCE XP-200 (Ethernet/IP variants)
• SCALANCE XM-400
• SCALANCE XR-500
To load a PROFINET configuration into one of the specified devices, first disable spanning
tree on the device.
Note
Changing the role
If you want to change the MRP role, first open the ring.
CP 1604 / CP 1616
80 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.4 Media redundancy
Note
Starting up and restarting
The MRP settings are still effective after a restart of the device or a power failure and hot
restart.
Note
Prioritized startup
If you configure MRP in a ring, you cannot use the "prioritized startup" function in PROFINET
applications on the devices involved.
If you want to use the "prioritized startup" function, then disable MRP in the configuration.
In the STEP 7 configuration, set the role of the relevant device to "Not a node in the ring".
Domain
Role
The choice of role depends on the following use cases.
● You want to use MRP in a topology with one ring only with Siemens devices and without
monitoring diagnostic interrupts:
Assign all devices to the "mrpdomain-1" domain and the role "Manager (Auto)".
The device that actually takes over the role of redundancy manager, is negotiated by
Siemens devices automatically.
● You want to use MRP in a topology with multiple rings only with Siemens devices and
without monitoring diagnostic interrupts (MRP multiple rings):
– Assign the device that connects the rings the role of "Manager".
– For all other devices in the ring topology, select the role of "Client".
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 81
Operating hardware
4.4 Media redundancy
● You want to use MRP in a ring topology that also includes non-Siemens devices or you
want to receive diagnostic interrupts relating to the MRP status from a device (see
"Diagnostic interrupts"):
– Assign precisely one device in the ring the role of "Manager (Auto)".
– For all other devices in the ring topology, select the role of "Client".
● You want to disable MRP:
Select the option "Not node in the ring" if you do not want to operate the device within a
ring topology with MRP.
Note
Role after resetting to factory settings
With brand new Siemens devices and those reset to the factory settings the following
MRP role is set:
• "Manager (Auto)"
CPs
• "Automatic Redundancy Detection"
– SCALANCE X-200
– SCALANCE XC-200
– SCALANCE XB-200 (PROFINET variants)
– SCALANCE XP-200 (PROFINET variants)
– SCALANCE X-300
– SCALANCE X-400
If you are operating a non-Siemens device as the redundancy manager in the ring, this
may cause loss of the data traffic.
MRP is disabled and spanning tree enabled for the following brand new IE switches and
those set to the factory settings:
• SCALANCE XB-200 (Ethernet/IP variants)
• SCALANCE XP-200 (Ethernet/IP variants)
• SCALANCE XM-400
• SCALANCE XR-500
CP 1604 / CP 1616
82 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.4 Media redundancy
The drop-down list shows the selection of possible ports for each device type. If the ports are
specified in the factory, the boxes are grayed out.
NOTICE
Ring ports after resetting to factory settings
If you reset to the factory settings, the ring port settings are also reset.
If other ports were used previously as ring ports before resetting, with the appropriate
attachment, a previously correctly configured device can cause circulating frames and
therefore the failure of the data traffic.
Diagnostic interrupts
Enable the "Diagnostic interrupts" option, if you want diagnostic interrupts relating to the
MRP status on the local CPU to be output.
The following diagnostic interrupts can be generated:
● Wiring or port error
Diagnostic interrupts are generated if the following errors occur at the ring ports:
– Connection abort on a ring port
– A neighbor of the ring port does not support MRP.
– A ring port is connected to a non-ring port.
– A ring port is connected to the ring port of another MRP domain.
● Status change active/passive (redundancy manager only)
If the status changes (active/passive) in a ring, a diagnostics interrupt is generated.
Description
There are 2 configuration options:
● Using STEP 7/NCM PC (recommended)
● Using the Web page of the CP 1616 (possible)
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 83
Operating hardware
4.5 Prioritized startup
Definition
An IO device with the "prioritized startup" property can reach the data transfer phase
extremely quickly after it is powered up.
Example
An industrial robot works with a tool whose actuators are controlled via IO devices. It has
other tools stored in its magazine.
When the industrial robot changes tools, the "prioritized startup" property of the IO device is
important. The faster the IO device is available for data transfer after turning on the power,
the faster the robot can continue working.
Eliminating problems
A disruption during the firmware download can lead to an inconsistent status on the module.
CP 1604 / CP 1616
84 Operating Instructions, 02/2017, C70000-G8976-C218-08
Operating hardware
4.6 Eliminating problems
Status detection
You can recognize an inconsistent status on the CP as follows:
● The CP is not accessible with STEP 7/NCM PC (in the SIMATIC Manager/SIMATIC NCM
Manager, select configured PC station in the STEP 7 project > menu command PLC >
Edit Ethernet Node).
● The red SF LED (group fault) flashes at 2-second intervals.
● Following a computer restart, all the LEDs of an unused RJ-45 jack light briefly and then
go off again.
Note
In contrast to the brief lighting up of the LEDs when the computer starts up, the green
Link LED always lights up if a cable is inserted in the RJ-45 jack and a link is also
established.
Troubleshooting
Download the current firmware file, for example "fw16xx-v.v.v.b.b.fwl", to the CP again via
the ISO access point.
Confirm the error "Error establishing connection to query the hardware version" with "yes"; in
other words, ignore the error.
To download using the ISO protocol, you require the MAC address printed on the module.
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 85
Operating hardware
4.6 Eliminating problems
CP 1604 / CP 1616
86 Operating Instructions, 02/2017, C70000-G8976-C218-08
Technical specifications 5
5.1 Communications processor CP 1604 / CP 1604 EEC
Listing
The following technical specifications apply to the CP 1604 / CP 1604 EEC communications
processor:
Data transfer
Transmission rate 10/100 Mbps
Interfaces
10BaseT/100BaseTx 4 RJ-45 connectors with 40-pin ribbon cable
Interface of the RJ-45 connection board for CP 40-pin connector
1604
Interface of external power supply 20-pin connector
Connection to PC PC/104 Plus
Voltage
PCI power supply +5 VDC, +/-5%
5 VDC supply, external (optional) +5 VDC, +/-5%
Current consumption
PCI voltage at +5 V max. 800 mA
5 VDC supply, external (optional) max. 800 mA
Construction
Module format PC/104 Plus format
Dimensions (W x D x H) in mm 90 x 95 x 24
Weight 110 g
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 87
Technical specifications
5.1 Communications processor CP 1604 / CP 1604 EEC
LED connectors
Input current max. 9 mA
Note
Multiple CP 1604 / CP 1604 EEC CPs in one PC are not permitted
Multiple CP 1604 / CP 1604 EEC communications processors in one PC are not currently
permitted.
Note
Parallel operation is not permitted
Parallel operation of the communications processors CP 1604 / CP 1604 EEC and CP 1616
in one PC is not permitted.
Listing
The following technical specifications apply to the RJ-45 connection board for CP 1604:
Interfaces
Connection to 10BaseT/100BaseTx RJ-45 connector (four)
Construction
Dimensions (W x D x H) in mm 83 x 37 x 15
Weight 33 g
CP 1604 / CP 1616
88 Operating Instructions, 02/2017, C70000-G8976-C218-08
Technical specifications
5.2 CP 1616 communications processor
CP 1616
The following technical specifications apply to the CP 1616 communications processor:
Data transfer
Transmission rate 10/100 Mbps
Interfaces
Connection to 10BaseT/100BaseTx RJ-45 ports (four)
Connection to PG/PC PCI slot (3.3 V/5 V, 32 bits)
Voltage
PCI power supply 5 VDC, +/5%
Power supply external 6 to 9 VDC
Current consumption
PCI voltage at +5 V max. 800 mA
External supply at +6 V max. 650 mA
External supply at +9 V max. 450 mA
Construction
Module format PC card, short PCI format
Dimensions (H x W x D) in mm 167 x 18 x 107
Weight 110 g
Space required PCI slot, short
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 89
Technical specifications
5.2 CP 1616 communications processor
Feed-in
Hollow plug • Outer diameter: 3.5 mm (-)
• Inner diameter: 1.35 mm (+)
WARNING
External supply
If supplied from a separate source, this must meet the requirements to comply with NEC
Class 2.
Note
Parallel operation is not permitted
Parallel operation of the CP 1616 and CP 1604 communications processors in one PC is not
permitted.
CP 1604 / CP 1616
90 Operating Instructions, 02/2017, C70000-G8976-C218-08
Approvals A
Note
The specified approvals apply only when the corresponding mark is printed on the
communications processor.
EC declaration of conformity
You will find the EC declaration of conformity for the communications processor on the
Product Support pages under the following entry ID:
58826997 (https://support.industry.siemens.com/cs/ww/en/view/58826997)
C-TICK approval
The communications processor meets the requirements of the Australian AS/NZS 3548
standard according to EN 61000-6-3.
CSA approval
The communications processor has an approval in accordance with the Canadian CAN/CSA
C22.2 No. 60950-1 standard.
ICES conformity
The communications processor meets the requirements of the Canadian standard ICES-003.
It is rated as a digital device of Class B ("Class B digital apparatus").
CP 1604 / CP 1616
Operating Instructions, 02/2017, C70000-G8976-C218-08 91
Approvals
FCC approval
This equipment has been tested and found to comply with the limits for a Class B digital
device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation. This
equipment generates, uses and can radiate radio frequency energy and, if not installed and
used in accordance with the instructions, may cause harmful interference to radio
communications. However, there is no guarantee that interference will not occur in a
particular installation. If this equipment does cause harmful interference to radio or television
reception, which can be determined by turning the equipment off and on, the user is
encouraged to try to correct the interference by one or more of the following measures:
● Reorient or relocate the receiving antenna.
● Increase the separation between the equipment and receiver.
● Connect the equipment into an outlet on a circuit different from that to which the receiver
is connected.
● Consult the dealer or an experienced radio/TV technician for help.
Siemens AG is not responsible for any radio television interference caused by unauthorized
modifications of this equipment or the substitution or attachment of connecting cables and
equipment other than those specified by Siemens AG. The correction of interference caused
by such unauthorized modification, substitution or attachment will be the responsibility of the
user. The use of shielded I/O cables is required when connecting this equipment to any and
all optional peripheral or host devices. Failure to do so may violate FCC and ICES rules.
UL approval
The communications processor has an approval in accordance with the US standard
UL 60950-1.
CP 1604 / CP 1616
92 Operating Instructions, 02/2017, C70000-G8976-C218-08