Ba - CP 1616 CP 1604 - 76
Ba - CP 1616 CP 1604 - 76
Ba - CP 1616 CP 1604 - 76
Information in the
"Operating Instructions
(compact)" of the CP 1616
SIMATIC NET or CP 1604
1
Glossary, Index
12/2006
C79000-G8976-C218-01
Classification of Safety-Related Notices
This document contains notices which you should observe to ensure your own
personal safety, as well as to protect the product and connected equipment. These
notices are highlighted in the manual by a warning triangle and are marked as follows
according to the level 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 can result if proper precautions are not
taken.
Caution
with warning triangle indicates that minor personal injury can result if proper
precautions are not taken.
Caution
without warning triangle indicates that damage to property can result if proper
precautions are not taken.
Notice
indicates that an undesirable result or status can occur if the relevant notice is
ignored.
Note
highlights important information on the product, using the product, or part of the
documentation that is of particular importance and that will be of benefit to the user.
Trademarks
Third parties using for their own purposes any other names in this document which
refer to trademarks might infringe upon the rights of the trademark owners.
Before you use the product described here, read the safety instructions below
thoroughly.
Siemens AG
Automation and Drives
Sensors and Communication C79000-G8976-C218-01
Postfach 4848, D-90327 Nrnberg Subject to technical change.
Only qualified personnel should be allowed to install and work on this equipment .
Qualified persons are defined as persons who are authorized to commission, to
ground, and to tag circuits, equipment, and systems in accordance with established
safety practices and standards.
Please note the following regarding the correct usage of hardware products:
Warning
This device may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or components from other
manufacturers that have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up,
and installed correctly, and operated and maintained as recommended.
Before you use the supplied sample programs or programs you have written yourself,
make certain that no injury to persons nor damage to equipment can result in your
plant or process.
EU Directive: Commissioning must not be carried out until it has been established that
the machine in which this component is to be installed complies with the conditions of
"Directive 98/37/EEC of the European Parliament and of the Council of 22 June 1998
on the approximation of the laws of the Member States relating to machinery.
Please note the following regarding the correct usage of software products:
Warning
This software may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or software products from
other manufacturers which have been approved or recommended by Siemens.
Before you use the supplied sample programs or programs you have written yourself,
make certain that no injury to persons nor damage to equipment can result in your
plant or process.
Prior to Startup
Before putting the product into operation, note the following warning:
CP 1616/CP 1604
C79000-G8976-C218-01 3
Caution
Prior to startup read the relevant documentation. For ordering data of the
documentation please refer to the catalogs or contact your local SIEMENS
representative.
CP 1616/CP 1604
C79000-G8976-C218-01 4
Preface
These installation instructions show you how to install the CP 1616/CP 1604
communications processor in your PG/PC. All the information you require for this
task is contained in this document.
You will find more information on operating the CP 1616/CP 1604 communications
processor not included in the "Operating Instructions (compact).
Product Documentation
You will find information on the use of this product in the following sources:
CP 1616/CP 1604
C79000-G8976-C218-01 5
Preface
The table below provides an overview of the information available on the CDs
supplied.
CP 1616/CP 1604
C79000-G8976-C218-01 6
Preface
To help you find your way through the manual, we have provided not only the table
of contents, but also the following sections in the appendix:
Glossary
Index
You will find information on technical support, contact persons and training in the
separate document "DC_support_99.PDF on the SIMATIC NET CD.
Certification
The products and systems listed in this document are manufactured and marketed
using a quality management system complying with DIN ISO 9001 and certified by
DQS. The DQS certificate is recognized in all IQNet countries (certificate register
no. 2613).
CP 1616/CP 1604
C79000-G8976-C218-01 7
Preface
CP 1616/CP 1604
C79000-G8976-C218-01 8
Contents
Glossary ..................................................................................................................................... 43
Index ........................................................................................................................................... 45
CP 1616/CP 1604
C79000-G8976-C218-01 9
Contents
CP 1616/CP 1604
C79000-G8976-C218-01 10
Information in the "Operating Instructions
(compact)" of the CP 1616 or CP 1604 1
You will find basic information on the CP and installing it in the "Operating
Instructions (compact) of the CP 1616 or CP 1604. This information covers the
following:
Fault and system message displayed by LEDs on the front panel of the
module.
Technical specifications
CP 1616/CP 1604
C79000-G8976-C218-01 11
Information in the "Operating Instructions (compact)" of the CP 1616 or CP 1604
CP 1616/CP 1604
C79000-G8976-C218-01 12
Diagnostics with SNMP
2
2.1 SNMP and CP 1616/CP 1604
MIB
CP 1616/CP 1604
C79000-G8976-C218-01 13
Diagnostics with SNMP
With the SNMP V1 and SNMP V2 protocols, all the objects of MIB-II relevant for
the product and the objects of a private MIB can be queried.
In the MIB-II, the CP 1616/CP 1604 contains all groups except "egp and
transmission" and "at".
Security Concept
Access Community
Read-only access public
Read and write access private
In the following table, you can see the meaning of the abbreviations/acronyms
used above and can also see where you can obtain further information.
CP 1616/CP 1604
C79000-G8976-C218-01 14
Diagnostics with SNMP
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 diagnostic and parameter
data of SNMP-compliant components, for example the product WinCC.
You will find further information on the SIMATIC NET SNMP OPC server on the
Internet at the URL:
http://www.siemens.com/snmp-opc-server
Note
The SIMATIC NET SNMP OPC server is not part of this product.
CP 1616/CP 1604
C79000-G8976-C218-01 15
Diagnostics with SNMP
The range of information that can be monitored by the devices with the SIMATIC
NET SNMP OPC server depends on the particular device profile.
With the integrated MIB compiler of STEP 7/NCM PC, existing profiles can be
modified and new device profiles created for any SNMP-compliant device. It
requires MIB files according to the SMIv1 standard.
CP 1616/CP 1604
C79000-G8976-C218-01 16
Diagnostics with SNMP
The following table shows several SNMP variables of the MIB II standard for
monitoring the device standard from the "System" directory:
CP 1616/CP 1604
C79000-G8976-C218-01 17
Diagnostics with SNMP
The following table shows several SNMP variables of the MIB II standard for
monitoring the device standard from the "Interface" directory:
CP 1616/CP 1604
C79000-G8976-C218-01 18
Diagnostics with SNMP
continued
Port Indexes
For the CP 1616/CP 1604, the interface index corresponds to the port number.
Example
The "IfOperStatus.1" variable determines the operating state (up, down etc.) of port
1 of the CP 1616/CP 1604.
CP 1616/CP 1604
C79000-G8976-C218-01 19
Diagnostics with SNMP
The private MIB contains the following variables for the LED status:
snCp1616BFLed/ Read- Status of the bus Data type for all LED variables:
snCp1604BFLed only fault LED DisplayString
snCp1616SFLed/ Read- Status of the Possible values are:
snCp1604SFLed only system error LED
String Meaning
snCp1616RunLed/ Read- Status of the off LED off
snCp1604RunLed only RUN-LED on LED on
snCp1616StopLed/ Read- Status of the blink LED flashing
snCp1604StopLed only STOP-LED fastBlink LED flashing fast
Note
For the meaning of the signals indicated by the LEDs, refer to the Operating
Instructions (compact), Section "Front elements in the section "LED Display.
CP 1616/CP 1604
C79000-G8976-C218-01 20
Diagnostics with SNMP
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 over SNMP.
On the CP 1616
The private MIB variables of the CP 1616 have the following object identifier (OID):
iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).siemensAD(4196).
adProductMibs(1).simaticNet(1).iCP(9).iCP1616(1)
On the CP 1604
The private MIB variables of the CP 1604 have the following object identifier (OID):
iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).siemensAD(4196).
adProductMibs(1).simaticNet(1).iCP(9).iCP1604(2)
CP 1616/CP 1604
C79000-G8976-C218-01 21
Diagnostics with SNMP
CP 1616/CP 1604
C79000-G8976-C218-01 22
Diagnostics over the WEB
3
Overview
The CP 1616/CP 1604 contains its own Web page on the module that calls up
current operating data.
You can display the Web page with a standard Web browser such as the Microsoft
Internet Explorer once the communications processor has been assigned an IP
address.
You can call up the Web page of the CP 1616/CP 1604 by entering the IP address
in the address field of your Web browser.
The Web page of the CP 1616/CP 1604 opens. You can read out the operating
data using four tabs.
CP 1616/CP 1604
C79000-G8976-C218-01 23
Diagnostics over the WEB
Description
The "Overview tab below, shows the characteristic data and the mode based on
the example of the CP 1616.
CP 1616/CP 1604
C79000-G8976-C218-01 24
Diagnostics over the WEB
CP 1616/CP 1604
C79000-G8976-C218-01 25
Diagnostics over the WEB
Description
The "IP Configuration tab below, shows the network configuration based on the
example of the CP 1616.
CP 1616/CP 1604
C79000-G8976-C218-01 26
Diagnostics over the WEB
The following table contains a description of the parameters displayed in the "IP
Configuration tab.
CP 1616/CP 1604
C79000-G8976-C218-01 27
Diagnostics over the WEB
Description
The "Port Status tab below shows the status data of the network ports based on
the example of the CP 1616.
CP 1616/CP 1604
C79000-G8976-C218-01 28
Diagnostics over the WEB
CP 1616/CP 1604
C79000-G8976-C218-01 29
Diagnostics over the WEB
Description
The "Port Statistics tab below shows the statistical data of the integrated switch
based on the example of the CP 1616.
The following tables describe the contents of the tables in the "Port Statistics" tab.
Table Description
Statistics Here you can see how many bytes or how many frames were
Throughput sent and received for each port.
per port
Note
The statistical information is reset to 0 once the maximum count
is reached.
Statistics The number of sent and received packets is displayed for each
Packet Size port; 1 column per packet size.
per port
Note
The statistical information is reset to 0 once the maximum count
is reached.
CP 1616/CP 1604
C79000-G8976-C218-01 30
IO Router
4
This section answers the following questions:
What is IO routing?
CP 1616/CP 1604
C79000-G8976-C218-01 31
IO Router
Definition
Example
A process controller user program controls a robot.
IO routing makes input/output data of the robot controller accessible to a main
controller that can both read and write the data.
PROFINET IO controller
IO router
CP 1616/CP 1604
Process image Process image
PN IO Industrial Ethernet
SIMATIC S7
ET 200S
PROFINET IO devices
Note
IO routing functionality is available only with PROFINET IO RT.
CP 1616/CP 1604
C79000-G8976-C218-01 32
IO Router
From the perspective of the main controller, there are three IO routing tasks:
When writing process outputs, on the other hand, there are two possible ways of
writing:
Writing module-oriented
All process outputs of a module are written by the main controller (module-
oriented).
Writing bit-oriented
Individual configured process output bits or bit areas are written by the main
controller.
CP 1616/CP 1604
C79000-G8976-C218-01 33
IO Router
Requirements
Configuration
Note 1
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 2
You do not need to worry about the transfer modules in your C user program
because they are managed by the system itself.
A sample C program for an IO device user program ("dev_easy) is available on
the SIMATIC NET software product CD.
Data Exchange
The data exchange between the input/output data of the process controller and
input/output data of the main controller is established automatically by the IO
router.
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 main controller
according to the configuration; see Section 4.4.
CP 1616/CP 1604
C79000-G8976-C218-01 34
IO Router
To support IO router functions, there are also two diagnostics services available
(PNIO_CTRL_DIAG_CONFIG_IOROUTER_PRESENT,
PNIO_CTRL_DIAG_CONFIG_OUTPUT_SLICE_LIST). Using these services, all
output areas that can be written by the process controller user program can be
identified.
CP 1616/CP 1604
C79000-G8976-C218-01 35
IO Router
Introduction
Description
PROFINET IO controller
PC station
Main controller
with CP 1616/CP 1604
IO router
CP 1616/CP 1604
PN IO Industrial Ethernet
SIMATIC S7
ET 200S
PROFINET IO devices
CP 1616/CP 1604
C79000-G8976-C218-01 36
IO Router
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
main controller over transfer module 1.
I/O bits of the Transfer relation (from the I/O bits of the process
main controller perspective of the main controller
controller)
1.0 Read 100.0
to to
1.7 Read 100.7
CP 1616/CP 1604
C79000-G8976-C218-01 37
IO Router
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 main controller reads this data.
The table and schematic show which bits are read by the main controller via
transfer module 1.
I/O bits of the Transfer relation (from the I/O bits of the process
main controller perspective of the main controllers
controller)
1.0 Read 100.0
to to
1.7 Read 100.7
PC station
Main controller with CP 1616/CP 1604
CP 1616/CP 1604
C79000-G8976-C218-01 38
IO Router
4.4.3 Example of the Main and Robot Controller Writing Output Data
Description
Both the process controller and the main controller will write input/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 main controller and
which by the process controller.
CP 1616/CP 1604
C79000-G8976-C218-01 39
IO Router
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 main controller by
the IO router.
CP 1616/CP 1604
C79000-G8976-C218-01 40
IO Router
Read
Both IO controllers can read input modules of the process device at the same time.
Write
Two IO controllers can nevertheless write different bits of the same output byte.
Write/read access by the process controller to the input/output data of the process
image is module- and byte-oriented over the IO Base interface.
Notice
The process controller may not write to output modules in the process image that
are configured fully for write access by the main controller.
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.
CP 1616/CP 1604
C79000-G8976-C218-01 41
4.5 Configuring IO Routing
Description
Step Description
1 Configure the CP 1616 in two networks:
In the network of the main controller as IO device
In the network of the process controller as IO controller
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.
CP 1616/CP 1604
C79000-G8976-C218-01 42
Glossary
CP Communications Processor
Local status Status of data in the local device Status of the IO data (GOOD or
BAD) that the local IO Base user program writes to this IO data in the
local device. Both the output data to be written and the input data to be
read are assigned a local status.
PROFINET device Device on Ethernet. A PROFINET device can also have a PROFIBUS
port and act as master and proxy PROFINET device for PROFIBUS
devices.
CP 1616/CP 1604
C79000-G8976-C218-01 43
IO Router
Remote status Status of data on the communication partner Status of the IO data
(GOOD or BAD) transferred from the communication partner. Both the
output data to be written and the input data to be read are assigned a
remote status.
SIMATIC NET Product name for networks and network components from Siemens.
Formerly SINEC.
Transfer modules Transfer modules do not exist physically and are used as endpoints of
the transfer relations in the address space of the main controller.
Transfer relation A transfer relation defines the mapping of the input/output bits of the
lower-level address space to the address space of the main controller.
CP 1616/CP 1604
C79000-G8976-C218-01 44
Index
D P
Diagnostics with SNMP ........................... 13 Product documentation..............................5
I S
IO routing Structure of the documentation..................6
Configuring IO routing.......................... 42
W
Definition of IO routing ......................... 32
Web page
Example of reading input data ............. 37
IP Configuration....................................25
Example of reading output data........... 38
Overview ..............................................23
Example of writing output data ............ 39
Port Statistics .......................................29
Properties of IO routing........................ 41
Port Status............................................27
Types of IO routing .............................. 33
CP 1616/CP 1604
C79000-G8976-C218-01 45
IO Router
CP 1616/CP 1604
C79000-G8976-C218-01 46