Cpu M13-CCF0000 20-02
Cpu M13-CCF0000 20-02
Cpu M13-CCF0000 20-02
Table of contents
1 General.................................................................................................................... 9
1.1 Copyright © YASKAWA Europe GmbH............................................................ 9
1.2 About this manual........................................................................................... 10
1.3 Safety information........................................................................................... 11
2 Basics and mounting........................................................................................... 12
2.1 Safety information for users............................................................................ 12
2.2 System conception......................................................................................... 13
2.3 Dimensions..................................................................................................... 14
2.4 Mounting......................................................................................................... 16
2.4.1 Mounting CPU............................................................................................. 16
2.4.2 Mounting the extension module................................................................... 18
2.4.3 Mounting periphery module......................................................................... 19
2.5 Wiring............................................................................................................. 20
2.5.1 Wiring CPU.................................................................................................. 21
2.5.2 Wiring periphery module.............................................................................. 24
2.6 Demounting.................................................................................................... 26
2.6.1 Demounting CPU......................................................................................... 26
2.6.2 Demounting the extension module.............................................................. 30
2.6.3 Demounting periphery module.................................................................... 31
2.7 Installation guidelines..................................................................................... 34
2.8 General data for the System MICRO.............................................................. 36
3 Hardware description........................................................................................... 38
3.1 Properties....................................................................................................... 38
3.2 Structure......................................................................................................... 39
3.2.1 System MICRO CPU M13C........................................................................ 39
3.2.2 Interfaces..................................................................................................... 40
3.2.3 LEDs............................................................................................................ 44
3.2.4 Memory management.................................................................................. 48
3.2.5 Slot for storage media................................................................................. 48
3.2.6 Buffering mechanisms................................................................................. 49
3.2.7 Operating mode switch................................................................................ 49
3.3 Option: Extension module EM M09 2x serial interface .................................. 50
3.4 Technical data................................................................................................. 52
3.4.1 Technical data CPU..................................................................................... 52
3.4.2 Technical data EM M09............................................................................... 65
4 Deployment CPU M13-CCF0000.......................................................................... 66
4.1 Please note!.................................................................................................... 66
4.2 Assembly........................................................................................................ 66
4.3 Start-up behavior............................................................................................ 66
4.4 Addressing...................................................................................................... 67
4.4.1 Overview...................................................................................................... 67
4.4.2 Default address assignment of the I/O part................................................. 67
4.4.3 Option: Addressing periphery modules....................................................... 68
4.5 Hardware configuration - CPU........................................................................ 69
4.6 Hardware configuration - System MICRO modules........................................ 71
4.7 Hardware configuration - Ethernet PG/OP channel........................................ 72
4.7.1 Take IP address parameters in project........................................................ 73
1 General
1.1 Copyright © YASKAWA Europe GmbH
All Rights Reserved This document contains proprietary information of YASKAWA and is not to be disclosed
or used except in accordance with applicable agreements.
This material is protected by copyright laws. It may not be reproduced, distributed, or
altered in any fashion by any entity (either internal or external to YASKAWA) except in
accordance with applicable agreements, contracts or licensing, without the express
written consent of YASKAWA and the business management owner of the material.
For permission to reproduce or distribute, please contact: YASKAWA Europe GmbH,
European Headquarters, Hauptstraße 185, 65760 Eschborn, Germany
Tel.: +49 6196 569 300
Fax.: +49 6196 569 398
Email: [email protected]
Internet: www.yaskawa.eu.com
Every effort has been made to ensure that the information contained in
this document was complete and accurate at the time of publishing. Nev-
ertheless, the authors retain the right to modify the information.
This customer document describes all the hardware units and functions
known at the present time. Descriptions may be included for units which
are not present at the customer site. The exact scope of delivery is
described in the respective purchase contract.
EC conformity declaration Hereby, YASKAWA Europe GmbH declares that the products and systems are in compli-
ance with the essential requirements and other relevant provisions. Conformity is indi-
cated by the CE marking affixed to the product.
Conformity Information For more information regarding CE marking and Declaration of Conformity (DoC), please
contact your local representative of YASKAWA Europe GmbH.
Trademarks VIPA, SLIO, System 100V, System 200V, System 300V, System 300S, System 400V,
System 500S and Commander Compact are registered trademarks of YASKAWA Europe
GmbH.
SPEED7 is a registered trademark of YASKAWA Europe GmbH.
SIMATIC, STEP, SINEC, TIA Portal, S7-300, S7-400 and S7-1500 are registered trade-
marks of Siemens AG.
Microsoft and Windows are registered trademarks of Microsoft Inc., USA.
Portable Document Format (PDF) and Postscript are registered trademarks of Adobe
Systems, Inc.
All other trademarks, logos and service or product marks specified herein are owned by
their respective companies.
Document support Contact your local representative of YASKAWA Europe GmbH if you have errors or ques-
tions regarding the content of this document. If such a location is not available, you can
reach YASKAWA Europe GmbH via the following contact:
YASKAWA Europe GmbH, Ohmstraße 4, 91074 Herzogenaurach, Germany
Fax: +49 9132 744 29 1204
Email: [email protected]
Technical support Contact your local representative of YASKAWA Europe GmbH if you encounter problems
or have questions regarding the product. If such a location is not available, you can reach
the YASKAWA customer service via the following contact:
YASKAWA Europe GmbH,
European Headquarters, Hauptstraße 185, 65760 Eschborn, Germany
Tel.: +49 6196 569 500 (hotline)
Email: [email protected]
Target audience The manual is targeted at users who have a background in automation technology.
Structure of the manual The manual consists of chapters. Every chapter provides a self-contained description of a
specific topic.
Guide to the document The following guides are available in the manual:
n An overall table of contents at the beginning of the manual
n References with page numbers
Icons Headings Important passages in the text are highlighted by following icons and headings:
DANGER!
Immediate or likely danger. Personal injury is possible.
CAUTION!
Damages to property is likely if these warnings are not heeded.
DANGER!
This device is not certified for applications in
– in explosive environments (EX-zone)
CAUTION!
The following conditions must be met before using or commis-
sioning the components described in this manual:
– Hardware modifications to the process control system should only be
carried out when the system has been disconnected from power!
– Installation and hardware modifications only by properly trained per-
sonnel.
– The national rules and regulations of the respective country must be
satisfied (installation, safety, EMC ...)
Disposal National rules and regulations apply to the disposal of the unit!
The Symbol is located on the module, the module rack or on packing material and it indi-
cates the presence of electrostatic sensitive equipment. It is possible that electrostatic
sensitive equipment is destroyed by energies and voltages that are far less than the
human threshold of perception. These voltages can occur where persons do not dis-
charge themselves before handling electrostatic sensitive modules and they can damage
components thereby, causing the module to become inoperable or unusable. Modules
that have been damaged by electrostatic discharges can fail after a temperature change,
mechanical shock or changes in the electrical load. Only the consequent implementation
of protection devices and meticulous attention to the applicable rules and regulations for
handling the respective equipment can prevent failures of electrostatic sensitive modules.
Measurements and altera- When you are conducting measurements on electrostatic sensitive modules you should
tions on electrostatic sen- take the following precautions:
sitive modules
n Floating instruments must be discharged before use.
n Instruments must be grounded.
Modifying electrostatic sensitive modules you should only use soldering irons with
grounded tips.
CAUTION!
Personnel and instruments should be grounded when working on electro-
static sensitive modules.
The System MICRO is a modular automation system for assembly on a 35mm mounting
rail. By means of periphery modules this system may be adapted matching to your auto-
mation tasks. In addition, it is possible to expand your CPU by appropriate interfaces. The
wiring complexity is low, because the DC 24V electronic section supply is integrated to
the backplane bus and this allows replacement with standing wire.
Components n CPU
n Extension module
n Power supply
n Periphery module
CPU
With the CPU electronic, input/output components and power supply are integrated to
one casing. In addition, up to 8 periphery modules of the System MICRO can be con-
nected to the backplane bus. As head module via the integrated power module for power
supply CPU electronic and the I/O components are supplied as well as the electronic of
the periphery modules, which are connected via backplane bus. To connect the power
supply of the I/O components and for DC 24V electronic power supply of the periphery
modules, which are connected via backplane bus, the CPU has removable connectors.
By installing of up to 8 periphery modules at the backplane bus of the CPU, these are
electrically connected, this means these are assigned to the backplane bus and con-
nected to the DC 24V electronic power supply.
Extension module
By using extension modules you can extend the interfaces of the CPU. The attachment to
the CPU is made by plugging on the left side of the CPU. You can only connect one
extension module to the CPU at a time.
Power supply
The power supply can be mounted together with System MICRO components at the
mounting rail. It serves for electronics and power supply.
Periphery module
By means of up to 8 periphery modules, you can extend the internal I/O areas. The
attachment to the CPU is made by plugging them on the right side of the CPU.
2.3 Dimensions
Dimensions CPU M13C
Dimensions in mm
Dimensions extension
module EM M09
Dimensions in mm
Dimensions periphery
module
Dimensions in mm
2.4 Mounting
2.4.1 Mounting CPU
2.4.1.1 Mounting CPU without mounting rail
CAUTION!
Mounting without mounting rail is only permitted, if you only want to use
the CPU without extension and periphery modules. Otherwise, a
mounting rail must always be used for EMC technical reasons.
Proceeding You can screw the CPU to the back wall by means of screws via the locking levers. This
happens with the following proceeding:
Dimensions in mm
1. The CPU has a locking lever on the upper and lower side. Pull these levers out-
wards as shown in the figure, until these engage 2x audible.
ð By this openings on the locking levers get visible.
2. Use the appropriate screws to fix your CPU to your back wall. Consider the installa-
tion clearances for the CPU.
ð The CPU is now mounted and can be wired.
Dimensions in mm
1. Mount the mounting rail. Please consider that a clearance from the middle of the
mounting rail of at least 44mm respectively 55mm above and below exists.
2. The CPU has a locking lever on the upper and lower side. Pull these levers out-
wards as shown in the figure, until these engage audible.
CAUTION!
It is not allowed to mount the module sideways on the mounting rail,
as otherwise the module may be damaged.
3. Plug the CPU from the top onto the mounting rail and turn the CPU downward until
it rests on the mounting rail.
5. To fix the CPU at the mounting rail, move the locking levers back to the initial posi-
tion.
ð The CPU is now mounted and can be wired.
2. The extension module has a locking lever on the upper and lower side. Pull these
levers outwards as shown in the figure, until these engage audible.
CAUTION!
It is not allowed to mount the module sideways on the mounting rail,
as otherwise the module may be damaged.
3. To mount plug the extension module from the top onto the mounting rail and turn
the extension module downward until it rests on the mounting rail.
4. Attach the extension module to the CPU by sliding the extension module on the
mounting rail to the right until the interface connector slightly locks into the CPU.
5. To fix the extension module at the mounting rail, move the locking levers back to the
initial position.
2. Each periphery module has a locking lever on its upper and lower side. Pull these
levers outwards as shown in the figure, until these engage audible.
CAUTION!
It is not allowed to mount the module sideways on the mounting rail,
as otherwise the module may be damaged.
3. To mount plug the periphery module from the top onto the mounting rail and turn the
periphery module downward until it rests on the mounting rail.
4. Attach the periphery module to the CPU by sliding the periphery module on the
mounting rail to the left until the interface connector slightly locks into the CPU.
5. To fix the periphery module at the mounting rail, move the locking levers back to the
initial position.
6. Proceed in this way with additional periphery modules.
2.5 Wiring
DANGER!
Consider strain relief of the supply lines!
Since the plug for the supply lines of the input voltage has no (double)
insulation, not permanently fixed supply lines must be relieved from push
and pull!
CAUTION!
Consider temperature for external cables!
Cables may experience temperature increase due to system heat dissi-
pation. Thus the cabling specification must be chosen 25°C above
ambient temperature!
CAUTION!
Separate insulation areas!
The system is specified for SELV/PELV environment. Devices, which are
attached to the system must meet theses specifications. Installation and
cable routing other than SELV/PELV specification must be separated
from the system’s equipment!
Data
Umax 30V DC
Imax 10A
Cross section 0.2 ... 1.5mm2 (AWG 24 ... 16)
Stripping length 10mm
Use for wiring rigid wires respectively use wire sleeves. When using stranded wires you
have to press the release button with a screwdriver during the wiring.
Wiring procedure
1 Labeling on the casing
2 Status LED
3 Release area
4 Connection hole for wire
5 Pin 1 of the connector is labelled by a white line
Remove wire The wire is to be removed by means of a screwdriver with 2.5mm blade width.
1. Press with your screwdriver vertically at the release button.
ð The contact spring releases the wire.
2. Pull the wire from the round hole.
Standard wiring
(1) X2: 4L+: DC 24V power section supply for integrated outputs
X1: 3L+: DC 24V power section supply for integrated inputs
(2) X6: 1L+ DC 24V for electronic power supply
Fusing
CAUTION!
– The power section supply of the internal DOs is to be externally pro-
tected with a 8A fuse (fast) respectively by a line circuit breaker 8A
characteristics Z.
Remove connector By means of a screwdriver there is the possibility to remove the connectors e.g. for
module exchange with a fix wiring. For this each connector has indentations for unlocking
at the top. Unlocking takes place by the following proceeding:
1. Remove connector:
Insert your screwdriver from above into one of the indentations.
CAUTION!
Via wrong operation such as pressing the screwdriver down-
ward, the release lever may be damaged.
3. Plug connector:
The connector is plugged by plugging it directly into the release lever.
Data
Umax 240V AC / 30V DC
Imax 10A
Cross section 0.2 ... 1.5mm2 (AWG 24 ... 16)
Stripping length 10mm
Use for wiring rigid wires respectively use wire sleeves. When using stranded wires you
have to press the release button with a screwdriver during the wiring.
Wiring procedure
1 Labeling on the casing
2 Status LED
3 Release area
4 Connection hole for wire
5 Pin 1 of the connector is labelled by a white line
Remove wire The wire is to be removed by means of a screwdriver with 2.5mm blade width.
1. Press with your screwdriver vertically at the release button.
ð The contact spring releases the wire.
2. Pull the wire from the round hole.
Fusing
CAUTION!
– The power section supply of the output modules DO16 is to be exter-
nally protected with a 10A fuse (fast) respectively by a line circuit
breaker 10A characteristics Z.
– The power section supply of the output part of the DIO8 is to be
externally protected with a 5A fuse (fast) respectively by a line circuit
breaker 5A characteristics Z.
Remove connector By means of a screwdriver there is the possibility to remove the connectors e.g. for
module exchange with a fix wiring. For this each connector has indentations for unlocking
at the top. Unlocking takes place by the following proceeding:
1. Remove connector:
Insert your screwdriver from above into one of the indentations.
CAUTION!
Via wrong operation such as pressing the screwdriver down-
ward, the release lever may be damaged.
3. Plug connector:
The connector is plugged by plugging it directly into the release lever.
2.6 Demounting
2.6.1 Demounting CPU
Remove connector By means of a screwdriver there is the possibility to remove the connectors e.g. for
module exchange with a fix wiring. For this each connector has indentations for unlocking
at the top. Unlocking takes place by the following proceeding:
1. Power-off your system.
2. Remove connector:
Insert your screwdriver from above into one of the indentations.
CAUTION!
Via wrong operation such as pressing the screwdriver down-
ward, the connector may be damaged!
CPU replacement (stand- If more modules are connected to the CPU Ä ‘Option: CPU replacement in a system’
alone) page 28. If no other modules are connected to the CPU, the CPU is replaced according
to the following proceeding:
1. Use a screwdriver to pull the locking levers of the CPU outwards until these engage
audible.
2. Remove the CPU with a rotation upwards from the mounting rail.
3. Pull the locking levers of the CPU outwards until these engage audible.
CAUTION!
It is not allowed to mount the module sideways on the mounting rail,
as otherwise the module may be damaged!
4. Plug the CPU from the top onto the mounting rail and turn the CPU downward until
it rests on the mounting rail.
6. To fix the CPU at the mounting rail, move the locking levers back to the initial posi-
tion.
Option: CPU replacement In the following the replacement of a CPU in a system is shown:
in a system
1. If there is an extension module connected to the CPU, you have to remove it from
the CPU. For this use a screwdriver to pull the locking levers of the extension
module and CPU outwards until these engage audible.
2. Disconnect all the modules, which are connected to the CPU by moving the CPU
along with the extension module on the mounting rail.
3. Remove the CPU with a rotation upwards from the mounting rail.
4. Pull the locking levers of the CPU outwards until these engage audible.
CAUTION!
It is not allowed to mount the module sideways on the mounting rail,
as otherwise the module may be damaged!
5. For mounting pull the locking levers of the CPU outwards until these engage
audible. Plug the CPU from the top onto the mounting rail and turn the CPU down-
ward until it rests on the mounting rail.
6. Rebind your modules by moving the CPU along with the extension module on the
mounting rail.
7. To fix the CPU at the mounting rail, move the locking levers back to the initial posi-
tion.
4. Remove the extension module from the CPU by sliding it on the mounting rail.
5. Remove the extension module with a rotation upwards from the mounting rail.
6. Pull the locking levers of the extension module outwards until these engage
audible.
CAUTION!
It is not allowed to mount the module sideways on the mounting rail,
as otherwise the module may be damaged!
7. Plug the extension module from the top onto the mounting rail and turn the exten-
sion module downward until it rests on the mounting rail.
8. Reattach the extension module to the CPU by sliding the extension module on the
mounting rail to the right until the interface connector slightly locks into the CPU.
CAUTION!
Make sure that the working contacts from the relay module are dis-
connected from the power supply!
2. Remove connector:
Insert your screwdriver from above into one of the indentations.
CAUTION!
Via wrong operation such as pressing the screwdriver down-
ward, the connector may be damaged!
3. Remove the periphery module with a rotation upwards from the mounting rail.
CAUTION!
It is not allowed to mount the module sideways on the mounting rail,
as otherwise the module may be damaged!
5. Plug the periphery module from the top onto the mounting rail and turn the
periphery module downward until it rests on the mounting rail.
6. Reconnect all modules by pushing them together again on the mounting rail.
What does EMC mean? Electromagnetic compatibility (EMC) means the ability of an electrical device, to function
error free in an electromagnetic environment without being interfered respectively without
interfering the environment.
The VIPA components are developed for the deployment in industrial environments and
meets high demands on the EMC. Nevertheless you should project an EMC planning
before installing the components and take conceivable interference causes into account.
Possible interference Electromagnetic interferences may interfere your control via different ways:
causes
n Electromagnetic fields (RF coupling)
n Magnetic fields with power frequency
n Bus system
n Power supply
n Protected earth conductor
Depending on the spreading medium (lead bound or lead free) and the distance to the
interference cause, interferences to your control occur by means of different coupling
mechanisms.
There are:
n galvanic coupling
n capacitive coupling
n inductive coupling
n radiant coupling
Basic rules for EMC In the most times it is enough to take care of some elementary rules to guarantee the
EMC. Please regard the following basic rules when installing your PLC.
n Take care of a correct area-wide grounding of the inactive metal parts when installing
your components.
– Install a central connection between the ground and the protected earth conductor
system.
– Connect all inactive metal extensive and impedance-low.
– Please try not to use aluminium parts. Aluminium is easily oxidizing and is there-
fore less suitable for grounding.
n When cabling, take care of the correct line routing.
– Organize your cabling in line groups (high voltage, current supply, signal and data
lines).
– Always lay your high voltage lines and signal respectively data lines in separate
channels or bundles.
– Route the signal and data lines as near as possible beside ground areas (e.g.
suspension bars, metal rails, tin cabinet).
Isolation of conductors Electrical, magnetically and electromagnetic interference fields are weakened by means
of an isolation, one talks of absorption. Via the isolation rail, that is connected conductive
with the rack, interference currents are shunt via cable isolation to the ground. Here you
have to make sure, that the connection to the protected earth conductor is impedance-
low, because otherwise the interference currents may appear as interference cause.
When isolating cables you have to regard the following:
n If possible, use only cables with isolation tangle.
n The hiding power of the isolation should be higher than 80%.
n Normally you should always lay the isolation of cables on both sides. Only by means
of the both-sided connection of the isolation you achieve high quality interference
suppression in the higher frequency area. Only as exception you may also lay the iso-
lation one-sided. Then you only achieve the absorption of the lower frequencies. A
one-sided isolation connection may be convenient, if:
– the conduction of a potential compensating line is not possible.
– analog signals (some mV respectively µA) are transferred.
– foil isolations (static isolations) are used.
n With data lines always use metallic or metallised plugs for serial couplings. Fix the
isolation of the data line at the plug rack. Do not lay the isolation on the PIN 1 of the
plug bar!
n At stationary operation it is convenient to strip the insulated cable interruption free
and lay it on the isolation/protected earth conductor line.
n To fix the isolation tangles use cable clamps out of metal. The clamps must clasp the
isolation extensively and have well contact.
n Lay the isolation on an isolation rail directly after the entry of the cable in the cabinet.
Lead the isolation further on to your PLC and don't lay it on there again!
CAUTION!
Please regard at installation!
At potential differences between the grounding points, there may be a
compensation current via the isolation connected at both sides.
Remedy: Potential compensation line
Mounting conditions
Mounting place - In the control cabinet
Mounting position - Horizontal and vertical
3 Hardware description
3.1 Properties
M13-CCF0000 n SPEED7 technology integrated
n Programmable via VIPA SPEED7 Studio, Siemens SIMATIC Manager or Siemens
TIA Portal
n 64kbyte work memory integrated (32kbyte code, 32kbyte data)
n Work memory expandable up to max. 128kbyte (64kbyte code, 64kbyte data)
n 128kbyte load memory integrated
n Slot for external storage media (lockable)
n Status LEDs for operating state and diagnostics
n X1/X5: DI 16xDC24V with status indication integrated
n X2/X6: DO 12xDC24V 0.5A with status indication integrated
n X3/X4: Ethernet PG/OP channel for active and passive Communication integrated
n X6: AI 2x12Bit (single ended) integrated
n Technological functions: 4 channels for counter, frequency measurement and
2 channels for pulse width modulation
n Pulse Train via SFB 49 (PULSE)
n PROFINET IO controller and I-Device via Ethernet PG/OP channel
n OPC UA project via Ethernet PG/OP channel
n WebVisu project via Ethernet PG/OP channel
n Option: Extension module 2xRS485
n Option: max. 8 periphery modules
n I/O address area digital/analog 2048byte
n 512 timer/counter, 8192 flag byte
Ordering data
3.2 Structure
3.2.1 System MICRO CPU M13C
CPU M13-CCF0000
3.2.2 Interfaces
X1: DI byte 0
X2: DO byte 0
9 0V I red 4M: GND for onboard DO power section supply / GND PWM
LED (red) is on at short circuit respectively overload
10 DC 24V I 4L+: DC 24V for onboard DO power section supply
X5: DI byte 1
2 - - reserved
3 I Shield
5 AI 0 I Analog input AI 0
6 AI 1 I Analog input AI 1
3.2.3 LEDs
1 Status bar CPU
2 X3 Ethernet PG/OP channel: LEDs Link/Activity
3 X4 Ethernet PG/OP channel: LEDs Link/Activity
4 X1 DI +0.x: LEDs DI +0.0 ... DI +0.7
5 X1 3L+: LED DC 24V power section supply for on-board DI
6 X2 DO +0.x: LEDs DO +0.0 ... DO +0.7
7 X2 4L+: LED DC 24V power section supply for on-board DO
8 X2 4M: LED on error, overload respectively short circuit at the outputs
9 X5 DI +1.x: LEDs DI +1.0 ... DI +1.7
10 X6 DO +1.x: LEDs DO +1.0 ... DO +1.3
11 X6 1L+: LED DC 24V for electronic section supply
X3/X4 Function
green Ethernet PG/OP channel X3/X4: Link/Activity Ä 48
yellow Ethernet PG/OP channel X3/X4: Speed Ä 48
X1 DI +0.x
Digital input LED Description
green
DI +0.0 ... DI +0.7 Digital input I+0.0 ... 0.7 has "1" signal
X1 3L+
Power supply LED Description
green
3L+ DC 24V power section supply inputs OK
X2 DO +0.x
Digital output LED Description
green
DO +0.0 ... DO +0.7 Digital output Q+0.0 ... 0.7 has "1" signal
X2 4L+
Power supply LED Description
green
4L+ DC 24V power section supply outputs OK
X2 4M
Error LED Description
red
4M Error, overload respectively short circuit on the outputs
no error
X5 DI +1.x
Digital input LED Description
green
DI +1.0 ... DI +1.7 Digital input I+1.0 ... 1.7 has "1" signal
X6 DO +1.x
Digital output LED Description
green
DO +1.0 ... DO +1.3 Digital output Q+1.0 ... 1.3 has "1" signal
X6 1L+
Power supply LED Description
green
1L+ DC 24V electronic section supply OK
LEDs green are blinking with 2Hz: During the start-up (OB 100) the status bar blinks for at least 3s.
Operation
LED yellow on: CPU is in STOP state.
LED red blinks with 1Hz and LED green is on: CPU is in RUN state with error/warning.
LED red on and LED green blinks with 1Hz: CPU is in STOP state, configured holding point reached.
LED red blinks with 1Hz and LED green blinks with 2Hz: Diagnostic messages detected during start-up.
LED red on and LED yellow on: CPU is in error state. There is a system error or an internal error has occurred.
Here a write access is made to the memory card. As long as the LEDs red and yellow are on, do not remove the
memory card.
LED yellow blinks with 2Hz: Hardware configuration is loaded.
LEDs green are blinking with 1Hz: Blinking test (started via configuration tool)
LED green on and LED green flickers: Access to the memory card in the RUN state.
LED red blinks with 1Hz and LED green flickers: Access to the memory card with CPU is in RUN state with error/
warning.
LED yellow flickers: Access to the memory card in STOP state.
Overall reset
LED yellow blinks with 1Hz: Overall reset is requested
Factory reset
LED yellow blinks with 2Hz: Reset to factory setting is executed.
LED red blinks with 1Hz and LED yellow blinks with 1Hz: Reset to factory settings was finished without errors.
Please perform a power cycle!
Firmware update
LED red and LED yellow are alternately blinking with 1Hz: A new firmware is available on the memory card.
LED yellow flickers: Access the memory card during the firmware update.
LED red and LED yellow are blinking with 1Hz: Firmware update finished without error. Please perform a power
cycle!
LED red blinks with 1Hz: Error during Firmware update.
L/A S Description
Link/Activity Speed
green yellow
X The Ethernet PG/OP channel is physically connected to the Ethernet
interface.
X There is no physical connection.
X Blinking: Shows Ethernet activity.
The Ethernet interface of the Ethernet PG/OP channel has a transfer
rate of 100Mbit.
The Ethernet interface of the Ethernet PG/OP channel has a transfer
rate of 10Mbit.
not relevant: X
To avoid malfunctions, you should use memory cards of VIPA. These cor-
respond to the industrial standard. A list of the currently available VSD
respectively VSC can be found at www.vipa.com
CAUTION!
Please connect the CPU for approximately 1 hour to the power supply, so
that the internal buffering mechanism is loaded accordingly.
In case of failure of the buffer mechanism Date and Time 01.09.2009
00:00:00 set. Additionally, you receive a diagnostics message. Ä Chap.
4.20 ‘Diagnostic entries’ page 116
Please note that the interface X2 MPI(PB) does not provide DC 24V,
which is necessary for some programming adapters!
LEDs
X1 PtP Description
TxD
green flickers Send activity
No send activity
X2 MPI(PB) Description
DE
green n Power supply Expansion module EM M09 available
n Slave is in DE (data exchange)
n Slave exchanges data with the master
n Slave is in RUN state
green flashes n LED flashes at PowerON of EM M09
n No power supply EM M09 available
n Slave has no configuration
Type X2
Type of interface RS485 isolated
Connector Sub-D, 9-pin, female
Electrically isolated ü
MPI ü
MP²I (MPI/RS232) -
DP master -
DP slave optional
Point-to-point interface -
5V DC Power supply max. 90mA, isolated
24V DC Power supply -
Functionality MPI
Number of connections, max. 32
PG/OP channel ü
Routing ü
Global data communication ü
S7 basic communication ü
S7 communication ü
S7 communication as server ü
S7 communication as client -
Transmission speed, min. 19.2 kbit/s
Transmission speed, max. 12 Mbit/s
Functionality PROFIBUS slave
Number of connections, max. 32
PG/OP channel ü
Routing ü
S7 communication ü
S7 communication as server ü
S7 communication as client -
Direct data exchange (slave-to-slave communication) -
DPV1 ü
Transmission speed, min. 9.6 kbit/s
Transmission speed, max. 12 Mbit/s
Automatic detection of transmission speed ü
Type -
Type of interface -
Connector -
Electrically isolated -
PG/OP channel -
Number of connections, max. -
Productive connections -
Fieldbus -
Point-to-point communication
PtP communication ü
Interface isolated ü
RS232 interface -
RS422 interface ü
RS485 interface ü
Connector Sub-D, 9-pin, female
Transmission speed, min. 1200 bit/s
Transmission speed, max. 115.2 kbit/s
Cable length, max. 500 m
Point-to-point protocol
ASCII protocol ü
STX/ETX protocol ü
3964(R) protocol ü
4.2 Assembly
Delivery state In the delivery state the CPU is overall reset. After a STOP®RUN transition the CPU
switches to RUN without program.
4.4 Addressing
4.4.1 Overview
To provide specific addressing of the installed peripheral modules, certain addresses
must be allocated in the CPU. This address mapping is in the CPU as hardware configu-
ration. If there is no hardware configuration, depending on the slot, the CPU assigns
automatically peripheral addresses for digital in-/output modules starting with 0 and
analog modules are assigned to even addresses starting with 256.
Define addresses by hard- You may access the modules with read res. write accesses to the peripheral bytes or the
ware configuration process image. To define addresses a hardware configuration may be used. For this,
click on the properties of the according module and set the wanted address.
Automatic addressing If you do not like to use a hardware configuration, an automatic addressing is established.
Here the address assignment follows the following specifications:
n Starting with slot 1, the central plugged modules are assigned with ascending logical
addresses.
n The length of the memory area corresponds to the size of the process data of the
according module. Information about the sizes of the process data can be found in
the according manual of the module.
n The memory areas of the modules are assigned without gaps separately for input and
output area.
n Digital modules are mapped starting at address 0 and all other modules are mapped
starting from address 256.
n As soon as the mapping of digital modules exceeds the address 256, by regarding
the order, these are mapped starting from address 256.
Installing the IO device The installation of the PROFINET IO devices ‘VIPA MICRO PLC’ happens in the hard-
VIPA MICRO PLC ware catalog with the following approach:
1. Go to the service area of www.vipa.com.
2. Load from the download area at ‘Config files è PROFINET’ the according file for
your System MICRO.
3. Extract the file into your working directory.
4. Start the Siemens hardware configurator.
5. Close all the projects.
6. Select ‘Options è Install new GSD file’
7. Navigate to your working directory and install the according GSDML file.
ð After the installation according PROFINET IO device can be found at
‘PROFINET IO è Additional field devices è I/O è VIPA Micro System’
Proceeding In the Siemens SIMATIC Manager the following steps should be executed:
1. Start the Siemens hardware configurator with a new project.
2. Insert a profile rail from the hardware catalog.
3. Place at ‘Slot’ number 2 the CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3).
6. Use [New] to create a new subnet and assign valid IP address data for your
PROFINET system.
With firmware version V2.4.0 and up, you can access the Ethernet
PG/OP channel via this IP address data. The configuration via an
additional CP is no longer required, but still possible. Ä Chap. 4.7
‘Hardware configuration - Ethernet PG/OP channel’ page 72
7. Click at the sub module ‘PN-IO’ of the CPU and open with ‘Context menu
è Properties’ the properties dialog.
8. Enter at ‘General’ a ‘Device name’ . The device name must be unique at the
Ethernet subnet.
The CPU has an integrated Ethernet PG/OP channel. This channel allows you to pro-
gram and remote control your CPU.
n The Ethernet PG/OP channel (X3/X4) is designed as switch. This enables PG/OP
communication via the connections X3 and X4.
n Configurable connections are possible.
n DHCP respectively the assignment of the network configuration with a DHCP server
is supported.
n Default diagnostics addresses: 2025 ... 2040
n Via the Ethernet PG/OP channel, you have access to:
– Device website, where you can find information on firmware status, connected
peripherals, current cycle times, etc.
– OPC UA project, which is to be created in the OPC UA Configurator.
– WebVisu project, which is to be created in the SPEED7 Studio.
– PROFINET IO controller or the PROFINET I-Device.
Assembly and commis- 1. Install your System MICRO with your CPU.
sioning
2. Wire the system by connecting cables for voltage supply and signals.
3. Connect the one of the Ethernet jacks (X3, X4) of the Ethernet PG/OP channel to
Ethernet.
4. Switch on the power supply.
ð After a short boot time the CP is ready for communication. It possibly has no IP
address data and requires an initialization.
"Initialization" via PLC The initialization via PLC functions takes place with the following proceeding:
functions
Determine the current Ethernet (MAC) address of your Ethernet PG/OP channel.
This can be found at the front of your CPU with the name "MAC PG/OP: ...".
X3 PG/OP
X4 PG/OP
Assign IP address param- You get valid IP address parameters from your system administrator. The assignment of
eters the IP address data happens online in the Siemens SIMATIC Manager starting with ver-
sion V 5.5 & SP2 with the following proceeding:
1. Start the Siemens SIMATIC Manager and set via ‘Options
è Set PG/PC interface’the access path to ‘TCP/IP -> Network card ....’ .
2. Open with ‘PLC è Edit Ethernet Node n’ the dialog window with the same name.
3. To get the stations and their MAC address, use the [Browse] button or type in the
MAC Address. The Mac address may be found at the 1. label beneath the front flap
of the CPU.
4. Choose if necessary the known MAC address of the list of found stations.
5. Either type in the IP configuration like IP address, subnet mask and gateway.
6. Confirm with [Assign IP configuration].
ð Direct after the assignment the Ethernet PG/OP channel may be reached online
by these address data. The value remains as long as it is reassigned, it is over-
written by a hardware configuration or an factory reset is executed.
3. Click at ‘General’ .
4. At ‘Properties’ , enter the previously assigned IP address data and a subnet. The IP
address data are not accepted without subnet assignment!
5. Transfer your project.
CAUTION!
Please configure the diagnostic addresses of the CP343-1EX30 for
‘PN-IO’ , ‘Port1’ and ‘Port2’ so that no overlaps occur in the
periphery input area. Otherwise your CPU can not start-up and you
receive the diagnostic entry 0xE904. These addresses overlaps are
not recognized by the Siemens SIMATIC Manager.
The selected memory byte cannot be used for temporary data storage.
Interrupts n Priority
– Here the priorities are displayed, according to which the hardware interrupt OBs
are processed (hardware interrupt, time-delay interrupt, async. error interrupts).
n Execution
– Select how often the interrupts are to be triggered.
– Intervals ranging from every minute to yearly are available. The intervals apply to
the settings made for start date and time.
n Start date/time
– Enter date and time of the first execution of the time-of-day interrupt.
n Process image partition
– This parameter is not supported.
Parameter The following parameters may be accessed by means of the properties dialog of the
CPU.
n Diagnostics interrupt (default: deactivated)
– Diagnostic interrupt DI power section supply
Error: 3L+ (Dc 24v power section supply) missing respectively < 19 V
– Diagnostic interrupt DO power section supply
Error: 4L+ (DC 24V DO power section supply) missing respectively < 19 V
– Diagnostics interrupt DO short circuit/overload
Error: Short circuit or overload of a digital output respectively current exceeds
0.5A
Retentive data
n Additional retentive memory
– Here enter the number of memory bytes. With 0 the value ‘Retentive memory
è Number of memory bytes starting with MB0’ is set, which is pre-set at the
parameters of the Siemens CPU.
– Range of values: 0 (default) ... 8192
n Additional retentive timer
– Enter the number of S7 timers. With 0 the value ‘Retentive memory
è Number S7 timers starting with T0’ is set, which is pre-set at the parameters of
the Siemens CPU.
– Range of values: 0 (default) ... 512
n Additional retentive counter
– Enter the number of S7 counter. With 0 the value ‘Retentive memory
è Number S7 counters starting with C0’ is set, which is pre-set at the parameters
of the Siemens CPU.
– Range of values: 0 (default) ... 512
OB
n OB 80 for cyclic interrupt error
– Here you can set for which cyclic interrupt OB 80 (time error) should be called.
– Range of values: Deactivated (default), selection of the corresponding OB
Miscellaneous
n PN MultipleWrite
– In the activated state, parameter record sets are combined at PROFINET to one
or more Ethernet frames during the connection setup. This speeds up the connec-
tion setup, since a separate Ethernet frame is not used for each parameter record
set.
n Free Module Mapping Ä 84
– When activated, you can use your CPU in different hardware variants.
– You specify the mapping at runtime with record set 0x7F.
n Reduced PDU size
– When activated, the PDU size is reduced accordingly.
– For some protocols, some configuration tools require a reduced PDU size. For
example, in the Siemens TIA Portal for variable forcing, the PDU size must be
reduced. For the processing of single steps at several breakpoints, the PDU size
must also be reduced.
Access settings Ä 89
n When activated, you have access to the interface or the corresponding communica-
tion protocol.
n By default, there is no access restriction.
n The record 0x7F has a length of 64Byte, where Byte 0 ... 63 corresponds to the slot
1 ... 64 of the target configuration.
n For the FMM configuration, you must specify for each used slot of the target configu-
ration at ‘Mapping’ the corresponding value that corresponds to the actual configura-
tion.
The following values can be entered at Mapping:
n 0 (0x00) - module is ignored
– If modules of the target configuration are to be ignored, the value 0x00 must be
used. In this way, gaps can be projected.
n 1 ... 64 (0x01 ... 0x40) - position of the module in the actual configuration
– ‘Mapping’ corresponds to the value of Slotactual i.e. the slot of the actual configura-
tion on which the module of the target configuration is located.
n 255 (0xFF) - virtual module
– If a module from the target configuration is missing, for Mapping the value 255 for
"virtual module" is to be used.
– Behaviour of a virtual module:
- The input area always has the value 0, regardless of its size.
- The writing to the output area has no effect.
Commissioning The target configuration serves as template for the configuration of hardware variants.
1. Configure your system with a hardware configuration as target configuration and
create your user program. The target configuration represents a superset of all
available hardware variants.
2. Activate the parameter ‘Free Module Mapping’ in your CPU.
3. Activate the parameter ‘Startup when expected/actual configuration differs’ in your
CPU.
4. Create the configuration by defining the deviation of the actual and target configura-
tion for the current hardware configuration in record set 0x7F.
5.
Transfer this record set via write command to your CPU.
n For this use SFB 53 or SFB 58.
n The address to be used is the diagnostic address of the CPU in the virtual IO
device ‘VIPA MICRO CPU’ .
ð The configuration is permanently stored in the CPU and immediately active.
4.9.1.3 Examples
Slottarget - The mapping always refers to the slot of the target configuration.
Based on the target configuration, the following examples show how to determine the
mapping values for the hardware variants.
Slottarget - The mapping always refers to the slot of the target configuration.
Slotactual - Slot of the actual configuration on which the module of the target configura-
tion is located.
Mapping - For variant 1, Mapping corresponds to Slotactual, i.e. slot of the actual configu-
ration on which the module of the target configuration is located.
Slottarget - The mapping always refers to the slot of the target configuration.
Slotactual - Slot of the actual configuration on which the module of the target configura-
tion is located.
Mapping - For variant 2, Mapping corresponds to the value of Slotactual , i.e. slot of the
actual configuration on which the module of the target configuration is
located. If a module from the target configuration is missing, for Mapping the
value 0xFF for "virtual module" is to be used.
Slottarget - The mapping always refers to the slot of the target configuration.
Slotactual - Slot of the actual configuration on which the module of the target configura-
tion is located.
Mapping - For variant 3, Mapping corresponds to the value of Slotactual , i.e. slot of the
actual configuration on which the module of the target configuration is
located. If modules of the target configuration are to be ignored, for Mapping
the value 0x00 is to be used.
The presence of gaps in the System MICRO is not allowed! But you can
place modules and define them via the configuration as empty slot for the
target hardware configuration.
Please note that by disabling e.g. the Ethernet PG/OP channel after
transferring the hardware configuration, the CPU can no longer be config-
ured via this Ethernet PG/OP channel. The access setting can be reset
by an overall reset.
Ethernet protocol Here you can disable Ethernet protocols. If a protocol is disabled, requests via the disa-
bled protocol will be rejected.
n TCP/UDP/IP services
– NTP protocol - protocol for time synchronization between the stations.
– OPC UA - protocol for access to an OPC UA project in the CPU.
– Open communication - protocol for communication via the user program when
using handling blocks.
– Device WebSite - protocol for access to the integrated web server.
– Web Visu - protocol for access to the Web visualization in the CPU, which can be
configured accordingly.
n S7 connections
– PG/OP protocol - protocol for PG/OP communication via Siemens S7 connec-
tions.
– PG/OP Routing - routing requests via Siemens S7 connections.
– NetPro connections - protocol for communication between PLC systems based on
Siemens STEP®7 by means of configured communication connections.
n Other services
– DCP - frame for determining accessible nodes on PROFINET
– LLDP - frame for determining the topology on PROFINET
– Field bus PN - protocols for communication via PROFINET
MPI/PB protocol via X3 Here you can deactivate protocols for the MPI(PB) interface X3. If a protocol is disabled,
requests via the disabled protocol will be rejected.
n MPI(PB) PG/OP protocol - protocol for PG/OP communication via the MPI(PB) inter-
face X3.
n MPI(PB) Routing - routing requests via the MPI(PB) interface X3.
n Global data communication - Global data communication - protocol for cyclic data
exchange between CPUs via the MPI interface.
Transfer 1. For the transfer, connect, if not already done, the appropriate Ethernet port to your
Ethernet.
2. Open your project with the Siemens SIMATIC Manager.
3. Set via ‘Options è Set PG/PC Interface’ the access path to "TCP/IP ® Network
card .... ".
4. Click to ‘PLC è Download’ Download ® the dialog "Select target module" is
opened. Select your target module and enter the IP address parameters of the
Ethernet PG/OP channel for connection. Provided that no new hardware configura-
tion is transferred to the CPU, the entered Ethernet connection is permanently
stored in the project as transfer channel.
5. With [OK] the transfer is started.
System dependent you get a message that the projected system differs
from target system. This message may be accepted by [OK].
® Your project is transferred and may be executed in the CPU after
transfer.
Net structure The structure of a MPI net is electrically identical with the structure of a PROFIBUS net.
This means the same rules are valid and you use the same components for the build-up.
The single participants are connected with each other via bus interface plugs and
PROFIBUS cables. Per default the MPI net runs with 187.5kbaud. VIPA CPUs are deliv-
ered with MPI address 2.
MPI programming cable The MPI programming cables are available at VIPA in different variants. The cables pro-
vide a RS232 res. USB plug for the PC and a bus enabled RS485 plug for the CPU. Due
to the RS485 connection you may plug the MPI programming cables directly to an
already plugged plug on the RS485 jack. Every bus participant identifies itself at the bus
with an unique address, in the course of the address 0 is reserved for programming
devices.
Terminating resistor A cable has to be terminated with its surge impedance. For this you switch on the termi-
nating resistor at the first and the last participant of a network or a segment. Please make
sure that the participants with the activated terminating resistors are always power sup-
plied. Otherwise it may cause interferences on the bus.
Proceeding enabling the A hardware configuration to enable the MPI interface is not necessary. By installing the
interface extension module EM M09 the MPI interface is enabled.
1. Turn off the power supply.
Approach transfer via MPI 1. Connect your PC to the MPI jack of your CPU via a MPI programming cable.
interface
2. Load your project in the SIMATIC Manager from Siemens.
3. Choose in the menu ‘Options è Set PG/PC interface’.
4. Select in the according list the "PC Adapter (MPI)"; if appropriate you have to add it
first, then click on [Properties].
5. Set in the register MPI the transfer parameters of your MPI net and type a valid
address.
6. Switch to the register Local connection.
7. Set the COM port of the PCs and the transfer rate 38400baud for the MPI program-
ming cable.
8. Transfer your project via ‘PLC è Load to module’ via MPI to the CPU and save it
with ‘PLC è Copy RAM to ROM’ on a memory card if one is plugged.
Name Value
Ordering Info M13-CCF0000 Order number of the CPU
Serial ... Serial number of the CPU
Version 01V... Version number of the CPU
HW Revision 01 CPU hardware revision
Name Value
Software 3.0.0 CPU firmware version
Package Pb000292.pkb File name for the firmware update
Card Information
LoadMem 128.0 kByte 0 byte 128.0 kByte Load memory, working memory (code/data)
Tab: ‘IP’ Here the IP address data of your Ethernet PG/OP channel are shown.
Tab: ‘Firmware’ As of CPU firmware version V3.0.0, you can transfer the firmware file online to the CPU
via the ‘Firmware’ tab. The firmware update in the CPU is triggered by means of the
operating mode switch. Ä Chap. 4.14 ‘Firmware update’ page 106
Tab: ‘Access Ways’ As of CPU firmware version V3.0.0, information about access settings is shown here. In
the delivery state, there are no restrictions. You can specify access to interfaces, ports
and protocols via the parametrization. Ä Chap. 4.9 ‘Setting VIPA specific CPU parame-
ters’ page 82
For your CPU can process a OPC UA project, you have to activate the
OPC UA functionality. Ä Chap. 6.3 ‘Activate OPC UA functionality’
page 184
Start Conditions Here the start conditions for the OPC UA server are listed:
n Conflicting projects
– Simultaneous use of an OPC UA and WebVisu project via the same interface is
not permitted and results in the message ‘conflicting project on card’ .
– The status ‘no conflicting project on card’ indicates that there is no conflict with a
WebVisu project on the same interface.
n Feature Set activated
– yes: The OPC UA functionality is activated.
– no: The OPC UA functionality is not activated.
– Ä Chap. 6.3 ‘Activate OPC UA functionality’ page 184
n Allowed by User
– yes: The OPC UA server is activated and access to it is allowed. As soon as an
OPC UA project is found on the memory card, it is automatically started and ena-
bled for access.
– no: You can disable and stop the OPC UA server by means of the CMD - auto
command ‘OPCUA_PGOP_DISABLE’ . With ‘OPCUA_PGOP_ENABLE’ you can
enable to restart the OPC UA server.
– Ä Chap. 4.18 ‘CMD - auto commands’ page 113
Server n State
– Running: The start conditions are fulfilled and the OPC UA server is started.
– Stopped: The OPC UA server is stopped.
– Startup failure: The OPC UA server can not be started.
– Starting: The OPC UA server currently starts up.
– Stopping: The OPC UA server currently stopps.
n Endpoint URL
– As soon as the OPC UA server is started, the endpoint URL of the OPC UA
server is listed here.
For your CPU can process a WebVisu project, you have to activate the
WebVisu functionality. Ä Chap. 7.2 ‘Activate WebVisu functionality’
page 204
Statistics Statistical information about your WebVisu project are shown here.
n Sessions: Number of sessions, i.e. online connections to this WebVisu project. A ses-
sion corresponds to an open window or tab in a web browser.
– free: Number of sessions still possible.
– used: Number of active sessions. For the number of active sessions, it is not rele-
vant whether the sessions were started by the same or different users.
– max.: Number of sessions still possible. The maximum number of sessions is
device specific and specified in the technical data.
n Subscribed items: Number of variables.
– free: Here nothing is shown.
– used: Number of variables used.
– max.: Here nothing is shown.
n WebVisu Project: Information on the memory allocation for the WebVisu project.
– free: Still free space for the WebVisu project.
– used: Size of the current WebVisu project.
– max.: Maximum available space for a WebVisu project.
Link In Status ‘running’ the links to access your WebVisu are listed here.
Status Meaning
running WebVisu is active / has started-up and can be opened
loading webvisu project Loading WebVisu project
shutting down WebVisu server shuts down
stop requested WebVisu STOP requested
stopped WebVisu server is down
webvisu feature not activated WebVisu not activated, memory card is not inserted
webvisu is disabled by the user WebVisu was disabled by the user
no webvisu project file found No WebVisu project found
no hardware configuration loaded No hardware configuration is loaded
Status Meaning
invalid configuration Invalid WebVisu configuration
internal error: filesystem Error initializing the file system
webvisu project file too large Error loading WebVisu project, project file too large
loading webvisu project file Error loading WebVisu project, project file may be damaged
deleting webvisu project Failed to delete the WebVisu project
internal error: file system - delete WebVisu project to be deleted was not found in the memory
CRC mismatch CRC of the WebVisu project file is not correct
webvisu stopped WebVisu server has terminated unexpectedly
internal error 1 Internal error - initialization failed step 1
internal error 2 Internal error - initialization failed step 2
internal error 3 Unexpected internal error
unknown error General error
Enable Port Mirroring When enabled, you can set the parameters for Port Mirroring.
PG/OP1: X3 When enabled the frames of PG/OP2: X4 are mirrored to PG/OP1: X3.
PG/OP2: X4 When enabled the frames of PG/OP1: X3 are mirrored to PG/OP2: X4.
Disable communication on When enabled additional communication via the mirrored interface (Mirror Port) is pre-
the Mirror Port vented.
Save With Save, the setting are taken and activated. The next power-cycle will automatically
disable Port Mirroring.
Tab: ‘Info’ Here product name, order number, serial number, firmware version and hardware state
number of the according module are listed.
Tab: ‘Data’ Here the address and the state of the inputs respectively outputs are listed. Please note
with the outputs that here exclusively the states of outputs can be shown, which are
within the OB 1 process image.
Tab: ‘Parameter’ With parametrizable modules e.g. analog modules the parameter setting is shown here.
These come from the hardware configuration.
Operating mode START- n : After PowerON the yellow LED of the status bar blinks in the STOP
UP state.
n : After a short time the flashing changes to a steady light.
n During the transition from STOP to RUN a call is issued to the start-up organization
block OB 100.
– The processing time for this OB is not monitored.
– The START-UP OB may issue calls to other blocks.
– All digital outputs are disabled during the START-UP, this means BASP is acti-
vated.
– : The green LEDs blinks as soon as the OB 100 is operated and for
at least 3s, even if the start-up time is shorter or the CPU gets to STOP due to an
error.
– : The green LEDs of the status bar lights up when the START-UP is
completed and the CPU is in the RUN state.
Operating mode RUN n : The green LED lights up when the CPU is in the RUN state.
n The application program in OB 1 is processed in a cycle. Under the control of alarms
other program sections can be included in the cycle.
n All timers and counters being started by the program are active and the process
image is updated with every cycle.
n BASP is deactivated, i.e. all outputs are enabled.
Operating mode HOLD The CPU offers up to 3 breakpoints to be defined for program diagnosis. Setting and
deletion of breakpoints happens in your programming environment. As soon as a break-
point is reached, you may process your program step by step.
Precondition For the usage of breakpoints, the following preconditions have to be fulfilled:
n Testing in single step mode is possible with STL. If necessary switch the view via
‘View è STL’ to STL.
n The block must be opened online and must not be protected.
Behavior in operating n Red LED is on and green LED blinks with 1Hz: CPU is in STOP state,
state HOLD configured holding point reached.
n The execution of the code is stopped. No level is further executed.
n All times are frozen.
n The real-time clock runs is just running.
n The outputs were disabled (BASP is activated).
n Configured CP connections remain exist.
You should always establish an overall reset to your CPU before loading
an application program into your CPU to ensure that all blocks have been
cleared from the CPU.
3. Place the operating mode switch in the position STOP and switch it to MR and
quickly back to STOP within a period of less than 3 seconds.
ð The overall reset is carried out. Here the yellow LED blinks with 2Hz
.
4. The overall reset has been completed when the yellow LED is on permanently
.
Overall reset by means of For the following proceeding you must be online connected to your CPU.
the Siemens SIMATIC
Manager 1. For an overall reset the CPU must be switched to STOP state. You may place the
CPU in STOP by the menu command ‘PLC è Operating mode’.
2. You may request the overall reset by means of the menu command ‘PLC
è Clean/Reset’.
ð A dialog window opens. Here you can bring your CPU in STOP state, if not
already done, and start the overall reset. During the overall reset the yellow
LED of the status bar blinks with 2Hz . The overall reset has been
completed when the yellow LED is on permanently .
Activating functionality by If there is a VIPA VSC plugged, after an overall reset the according functionality is auto-
means of a VSC matically activated. Ä Chap. 4.16 ‘Deployment storage media - VSD, VSC’ page 110
Automatic reload If there is a project S7PROG.WLD on the memory card, after an overall reset the CPU
attempts to reload this project from the memory card. Here the yellow LED of the status
line flickers . The operating mode of the CPU will be STOP respectively
RUN, depending on the position of the operating mode switch.
Reset to factory setting The Reset to factory setting deletes completely the internal RAM of the CPU and resets
this to delivery state. Please regard that the MPI address is also set back to default 2!
Ä Chap. 4.15 ‘Reset to factory settings’ page 109
Show the firmware version The CPU has an integrated Device web page that also shows information about the firm-
via web page ware version via ‘Info’ . Here you will also find information about the required firmware
‘Package’ . With [Expert View] you can access the extended "Expert" overview. Ä Chap.
4.11.1 ‘Device web page CPU’ page 93
Tab: ‘Info’
Name Value
Ordering Info M13-CCF0000 Order number of the CPU
Serial ... Serial number of the CPU
Version 01V... Version number of the CPU
HW Revision 01 CPU hardware revision
Software 3.0.0 CPU firmware version
Package Pb000292.pkb File name for the firmware update
Current firmware at The latest firmware versions can be found in the service area at www.vipa.com. For
www.vipa.com example the following file is necessary for the firmware update of the CPU M13-CCF0000
and its components with hardware release 01:
n CPU M13C, Hardware release 01: Pb000292.pkb
CAUTION!
When installing a new firmware you have to be extremely careful. Under
certain circumstances you may destroy the CPU, for example if the
voltage supply is interrupted during transfer or if the firmware file is defec-
tive. In this case, please call our hotline!
Please regard that the version of the update firmware has to be different
from the existing firmware otherwise no update is executed.
CAUTION!
With a firmware update an overall reset is automatically executed. If your
program is only available in the load memory of the CPU it is deleted!
Save your program before executing a firmware update!
7. The update is completed without errors when the red and yellow LEDs of the status
bar are flashing (1Hz) . If only the red LED of the status bar
is flashing, an error has occurred.
8. Turn power OFF and ON.
ð After the start-up, the CPU is ready for operation with the new firmware. The
current firmware version can be determined via the web page of the CPU.
The procedure here describes the update from the CPU firmware version
V2.4.0. The update of an older version to the firmware version V2.4.0 has
to be done via pkg files. For this refer to the corresponding manual for
your CPU version.
CAUTION!
With a firmware update an overall reset is automatically executed. If your
program is only available in the load memory of the CPU it is deleted!
Save your program before executing a firmware update! After a firmware
update you should execute a "Reset to factory setting". Ä Chap. 4.15
‘Reset to factory settings’ page 109
3. Plug the memory card with the firmware file into the CPU. Please take care of the
correct plug-in direction of the memory card.
2. Push the operating mode switch down to position MR for 30 seconds. Here the
yellow LED of the status bar blinks . After a few seconds the LED
changes to static light. Now the LED changes between static light and blinking.
Start here to count the static light of the LED.
3. After the 6. static light release the operating mode switch and tip it downwards to
MR.
ð To confirm the reset process the yellow LED of the status bar blinks (2Hz)
. This means that the RAM was deleted completely.
4. The reset process is completed when the red and yellow LEDs of the status bar are
blinking (1Hz) .
To avoid malfunctions, you should use memory cards of VIPA. These cor-
respond to the industrial standard. A list of the currently available VSD
respectively VSC can be found at www.vipa.com
You can cause the CPU to load a project automatically respectively to execute a com-
mand file by means of pre-defined file names.
VSD VSDs are external storage media based on SD memory cards. VSDs are pre-formatted
with the PC format FAT 16 (max. 2GB) and can be accessed via a card reader. After
PowerON respectively an overall reset the CPU checks, if there is a VSD with data valid
for the CPU.
Push the VSD into the slot until it snaps in leaded by a spring mechanism. This ensures
contacting. By sliding down the sliding mechanism, a just installed VSD card can be pro-
tected against drop out.
To remove, slide the sliding mechanism up again and push the storage media against the
spring pressure until it is unlocked with a click.
CAUTION!
If the media was already unlocked by the spring mechanism, with shifting
the sliding mechanism, a just installed memory card can jump out of the
slot!
VSC The VSC is a VSD with the possibility to enable optional functions. Here you have the
opportunity to accordingly expand your work memory respectively enable field bus func-
tionalities. Information about the enabled functions can be shown via the web page.
Ä Chap. 4.11 ‘Accessing the web server’ page 93
CAUTION!
Please regard that the VSC must remain plugged when you’ve enabled
optional functions at your CPU. Otherwise the red LED of the status bar
blinks in RUN with 1Hz and the CPU goes into STOP after 72
hours. As long as an activated VSC is not plugged in, the LED blinks and
the "TrialTime" timer counts from 72 hours down to 0. The CPU then goes
into STOP mode. By inserting the VSC, the LED goes out and the CPU
runs again without restrictions.
The VSC cannot be exchanged with a VSC of the same optional func-
tions. The activation code is fixed to the VSD by means of an unique
serial number. Here the functionality as an external memory card is not
affected.
Accessing the storage To the following times an access takes place on a storage medium:
medium
After overall reset
n The CPU checks if a VSC is inserted. If so, the corresponding optional functions are
enabled.
n The CPU checks whether a project S7PROG.WLD exists. If so, it is automatically
loaded.
After PowerON
n The CPU checks whether a project AUTOLOAD.WLD exists. If so, an overall reset is
executed and the project is automatically loaded.
n The CPU checks whether a command file with the name VIPA_CMD.MMC exists. If
so the command file is loaded and the commands are executed.
n After PowerON and CPU STOP the CPU checks if there is a *.pkb file (firmware file).
If so, this is shown by the CPU by blinking LEDs and the firmware may be installed by
an update request. Ä Chap. 4.14 ‘Firmware update’ page 106
In STOP state when inserting a memory card
n If a memory card is plugged in STOP state, which contains a command file
VIPA_CMD.MMC, the command file is loaded and the containing instructions are exe-
cuted.
The FC/SFC 208 ... FC/SFC 215 and FC/SFC 195 allow you to include
the memory card access into your user application. More can be found in
the manual operation list (HB00_OPL_SP7) of your CPU.
Besides the "standard" Know-how protection the CPUs from VIPA provide an "extended"
know-how protection that serves a secure block protection for accesses of 3. persons.
n Standard protection
– The standard protection from Siemens transfers also protected blocks to the PG
but their content is not displayed.
– But with according manipulation the know-how protection is not guaranteed.
n Extended protection
– The "extended" know-how protection developed by VIPA offers the opportunity to
store blocks permanently in the CPU.
– With the "extended" protection you transfer the protected blocks to a memory card
into a WLD-file named protect.wld.
– By plugging the memory card and then an overall reset the blocks in the pro-
tect.wld are permanently stored in the CPU.
– You may protect OBs, FBs and FCs.
– When back-reading the protected blocks into the PG, exclusively the block header
are loaded. The block code that is to be protected remains in the CPU and cannot
be read.
Protect blocks with pro- 1. Create a new wld file in the Siemens SIMATIC Manager with ‘File
tect.wld è Memory Card file è New’.
2. Rename the wld file to "protect.wld".
3. Transfer the according blocks into the file by dragging them with the mouse from
the project to the file window of protect.wld.
4. Transfer the file protect.wld to a memory card.
5. Plug the memory card into the CPU and execute an overall reset. Ä Chap. 4.13
‘Overall reset’ page 104
ð The overall reset stores the blocks in protect.wld permanently in the CPU pro-
tected from accesses of 3. persons.
Protection behaviour Protected blocks are overwritten by a new protect.wld. Using a PG 3. persons may
access protected blocks but only the block header is transferred to the PG. The block
code that is to be protected remains in the CPU and cannot be read.
Change respectively Protected blocks in the RAM of the CPU may be substituted at any time by blocks with
delete protected blocks the same name. This change remains up to next overall reset. Protected blocks may per-
manently be overwritten only if these are deleted at the protect.wld before. A factory reset
does not affect the protected blocks. By transferring an empty protect.wld from the
memory card with an overall reset, you may delete all protected blocks in the CPU.
Usage of protected blocks Due to the fact that reading of a "protected" block from the CPU monitors no symbol
labels it is convenient to provide the "block covers" for the end user. For this, create a
project of all protected blocks. Delete all networks in the blocks so that these only contain
the variable definitions in the according symbolism.
Command file n The Command file is a text file, which consists of a command sequence to be stored
as vipa_cmd.mmc in the root directory of the memory card.
n The file has to be started by CMD_START as 1. command, followed by the desired
commands (no other text) and must be finished by CMD_END as last command.
n Text after the last command CMD_END e.g. comments is permissible, because this is
ignored.
n As soon as the command file is recognized and executed each action is stored at the
memory card in the log file logfile.txt.
n For each executed command a diagnostics entry may be found in the diagnostics
buffer.
Commands Please regard the command sequence is to be started with CMD_START and ended with
CMD_END.
Examples The structure of a command file is shown in the following. The corresponding diagnostics
entry is put in parenthesizes.
Example 1
CMD_START Marks the start of the command sequence (0xE801)
LOAD_PROJECT proj.wld Execute an overall reset and load "proj.wld" (0xE805)
WAIT1SECOND Wait ca. 1s (0xE803)
DIAGBUF Store diagnostics buffer of the CPU as "diagbuff.txt" (0xE80B)
CMD_END Marks the end of the command sequence (0xE802)
... arbitrary text ... Text after the command CMD_END is not evaluated.
Example 2
CMD_START Marks the start of the command sequence (0xE801)
LOAD_PROJECT proj2.wld Execute an overall reset and load "proj2.wld" (0xE805)
WAIT1SECOND Wait ca. 1s (0xE803)
WAIT1SECOND Wait ca. 1s (0xE803)
IP parameter (0xE80E)
SET_NETWORK 172.16.129.210,255.255.224.0,172.16.129.210
WAIT1SECOND Wait ca. 1s (0xE803)
WAIT1SECOND Wait ca. 1s (0xE803)
DIAGBUF Store diagnostics buffer of the CPU as "diagbuff.txt" (0xE80B)
CMD_END Marks the end of the command sequence (0xE802)
... arbitrary text ... Text after the command CMD_END is not evaluated.
‘Debug è Monitor’ n This test function displays the current status and the RLO of the different operands
while the program is being executed.
n It is also possible to enter corrections to the program.
n The processing of the states may be interrupted by means of jump commands or by
timer and process-related interrupts.
n At the breakpoint the CPU stops collecting data for the status display and instead of
the required data it only provides the PG with data containing the value 0.
n The interruption of the processing of statuses does not change the execution of the
program. It only shows that the data displayed is no longer valid.
When using the test function "Monitor" the PLC must be in RUN mode!
For this reason, jumps or time and process alarms can result in the value displayed
during program execution remaining at 0 for the items below:
n the result of the logical operation RLO
n Status / AKKU 1
n AKKU 2
n Condition byte
n absolute memory address SAZ. In this case SAZ is followed by a "?".
‘PLC This test function returns the condition of a selected operand (inputs, outputs, flags, data
è Monitor/Modify word, counters or timers) at the end of program execution. This information is obtained
Variables’ from the corresponding area of the selected operands. During the controlling of variables
respectively in operating mode STOP the input area is directly read. Otherwise only the
process image of the selected operands is displayed.
n Control of outputs
– Serves to check the wiring and proper operation of output modules.
– If the CPU is in RUN mode, so only outputs can be controlled, which are not con-
trolled by the user program. Otherwise values would be instantly overwritten.
– If the CPU is in STOP - even without user program, so you need to disable the
command output lock BASP ( ‘Enable PO’ ). Then you can control the outputs
arbitrarily
n Controlling variables
– The following variables may be modified: I, Q, M, T, C and D.
– The process image of binary and digital operands is modified independently of the
operating mode of the CPU.
– When the operating mode is RUN the program is executed with the modified
process variable. When the program continues they may, however, be modified
again without notification.
n Forcing variables
– You can pre-set individual variables of a user program with fixed values so that
they can not be changed or overwritten by the user program of the CPU.
– By pre-setting of variables with fixed values, you can set certain situations for
your user program and thus test the programmed functions.
CAUTION!
– Please consider that controlling of output values represents a poten-
tially dangerous condition.
– Even after a power cycle forced variables remain forced with its
value, until the force function is disabled.
– These functions should only be used for test purposes respectively
for troubleshooting. More information about the usage of these func-
tions may be found in the manual of your configuration tool.
I/O periphery n The integrated I/Os of the CPU may be used for technological functions or as
standard periphery.
n Technological functions and standard periphery may be used simultaneously with
appropriate hardware.
n Read access to inputs used by technological functions is possible.
n Write access to used outputs is not possible.
n Ä Chap. 5.3 ‘Analog input’ page 119
– AI 2xUx12Bit (0 ... 10V)
– The analog channels of the module are not isolated to the electronic power
supply.
– The analog part has no status indication
n Ä Chap. 5.4 ‘Digital input’ page 122
– DI 16xDC 24V
– Interrupt functions parameterizable
– Status indication via LEDs
n Ä Chap. 5.5 ‘Digital output’ page 126
– DO 12xDC 24V, 0.5A
– Status indication via LEDs
Behavior at error As soon as a measured value exceeds the overdrive region respectively falls below the
underdrive region, the following value is issued:
n Measuring value > end of overdrive region:
32767 (7FFFh)
n Measuring value < end of underdrive region:
-32768 (8000h)
At a parameterization error the value 32767 (7FFFh) is issued.
When leaving the defined range during analog output 0V respectively 0A is issued.
Voltage measurement
0 ... 10V
5.3.3 Wiring
X6: DC 24V, AI, DO byte 1
3 I Shield
5 AI 0 I Analog input AI 0
6 AI 1 I Analog input AI 1
Cables for analog signals For the analog signals you have to use isolated cables. With this the interferences can be
reduced. The shield of the analog cables should be grounded at both ends. If there are
potential differences between the cables, a potential compensation current can flow,
which could disturb the analog signals. In this case, you should only ground the shield at
one end of the cable.
5.3.4 Parametrization
5.3.4.1 Address assignment
5.3.4.2 Filter
Parameter hardware con- The analog input part has a filter integrated. The parametrization of the filter happens in
figuration the Siemens SIMATIC Manager via the parameter ‘Integration time’ . The default value of
the filter is 1000ms. The following values can be entered:
n ‘Input 0 ≙ Channel 0’
‘Input 1 ≙ Channel 1’
– ‘Integration time 2.5ms’ ≙ 2ms (no filter)
– ‘Integration time 16.6ms’ ≙ 100ms (small filter)
– ‘Integration time 20ms’ ≙1000ms (medium filter)
Parametrization during By using the record set 1 of the SFC 55 "WR_PARM" you may alter the parametrization
runtime in the module during runtime.
The time needed until the new parametrization is valid can last up to 2ms.
During this time, the measuring value output is 7FFFFh.
Record set 1
5.4.2 Wiring
X1: DI byte 0
X5: DI byte 1
2 - - reserved
5.4.3 Parametrization
5.4.3.1 Adress assignment
2 - - reserved
DI +x
Digital input LED Description
green
DI +0.0 DI +0.7 Digital I+0.0 ... 0.7 has "1" signal
DI +1.0 ... DI +1.7 Digital input I+1.0 ... 1.7 has "1" signal
xL+
Power supply LED Description
green
1L+ DC 24V electronic section supply
xF
Error LED Description
green / red
4M Error, overload respectively short circuit on the outputs
no error
5.5.2 Wiring
X2: DO byte 0
9 0V I red 4M: GND for onboard DO power section supply / GND PWM
LED (red) is on at short circuit respectively overload
10 DC 24V I 4L+: DC 24V for onboard DO power section supply
5.5.3 Parametrization
5.5.3.1 Address assignment
9 0V I red 4M: GND for onboard DO power section supply / GND PWM
LED (red) is on at short circuit respectively overload
10 DC 24V I 4L+: DC 24V for onboard DO power section supply
DO +x
Digital output LED Description
green
DO +0.0 ... DO +0.7 Digital output Q+0.0 ... 0.7 has "1" signal
DO +1.0 ... DO +1.3 Digital output Q+1.0 ... 1.3 has "1" signal
xL+
Power supply LED Description
green
1L+ DC 24V electronic section supply
xF
Error LED Description
green / red
4M Error, overload respectively short circuit on the outputs
no error
5.6 Counting
5.6.1 Properties
n 4 channels
n Various counting modes
– once
– continuously
– periodically
n Control by the user program via blocks
5.6.2 Wiring
5.6.2.1 Counter inputs
X1: DI byte 0
X5: DI byte 1
6 DI 1.3 I Gate 3 *
10 DI 1.7 I Latch 3 *
Output channel Counterx Every counter has an assigned output channel. For each counter you can specify the
behavior of the counter output via the parametrization with ‘Characteristics of the output’
and ‘Pulse duration’ . Ä Chap. 5.6.4.3 ‘Counter’ page 133
5.6.3 Proceeding
Hardware configuration In the Siemens SIMATIC Manager the following steps should be executed:
1. Perform a hardware configuration for the CPU. Ä Chap. 4.5 ‘Hardware configura-
tion - CPU’ page 69
2. Double-click the counter sub module of the CPU 314C-2 PN/DP (314-6EH04-0AB0
V3.3).
ð The dialog ‘Properties’ is opened.
3. As soon as you select the operating mode for the corresponding channel, a dialog
box with default values for this counter mode is created and shown.
4. Perform the required parameter settings.
5. Safe your project with ‘Station è Safe and compile’.
6. Transfer your project to your CPU.
User program n The SFB 47 should cyclically be called (e.g. OB 1) for controlling the counter func-
tions.
n The SFB is to be called with the corresponding instance DB. Here the parameters of
the SFB are stored.
n Among others the SFB 47 contains a request interface. Hereby you get read and
write access to the registers of the appropriate counter.
n So that a new job may be executed, the previous job must have be finished with
JOB_DONE = TRUE.
n Per channel you may call the SFB in each case with the same instance DB, since the
data necessary for the internal operational are stored here.
n Writing accesses to outputs of the instance DB is not permissible.
n Starting, stopping and interrupting a count function of Counter 0 to Counter 2 exclu-
sively happens via the SW gate by setting the SW gate of the SFB 47.
You can also activate input ‘Gate 3’ via the parametrization for Counter 3.
More information about the usage of this block may be found in the
manual "VIPA SPEED7 Operation List".
5.6.4 Parametrization
5.6.4.1 Address assignment
5.6.4.3 Counter
Parameter hardware con- Default values and structure of this dialog box depend on the selected ‘Operating mode’ .
figuration
Please consider that the range of values could be limited due to the used
projecting tool. With the VIPA SPEED7 Studio there are no limitations.
Ä Chap. 12 ‘Configuration with VIPA SPEED7 Studio’ page 271
Parameter overview
Gate function abort and The parametrization defines if the gate interrupts or aborts the counter process.
interrupt
n At abort function the counter starts counting with the load value after gate restart.
n At interrupt function, the counter starts counting with the last recent counter value
after gate restart.
Counter 0 ... 2
5.6.6.3 Comparator
Function In the CPU a comparison value may be stored. During the counting procedure the
counter value is compared with the comparative value. Depending on the result of the
comparison the output channel of the counter and the status bit of STS_CMP of SFB 47
can be set. In addition, you can configure a hardware interrupt. A comparison value can
be specified via the parametrization respectively the job interface of SFB 47.
Counter 3:
If the internal gate has been closed automatically it may only be opened again under the following conditions:
SW gate HW gate I gate
1 Edge 0-1 1
Edge 0-1 (after edge 0-1 at HW gate) Edge 0-1 1
1 Counter value = comparison value ® pulse of the parameterized pulse duration is put
out, the hysteresis is activated and the counting direction stored
2 Leaving the hysteresis range contrary to the stored counting direction ® pulse of the
parameterized pulse duration is put out, the hysteresis is de-activated
3 Counter value = comparison value ® pulse of the parameterized pulse duration is put
out, the hysteresis is activated and the counting direction stored
4 Leaving the hysteresis range without changing counting direction ® hysteresis is de-
activated
5 Counter value = comparison value ® pulse of the parameterized pulse duration is put
out, the hysteresis is activated and the counting direction stored
6 Counter value = comparison value and hysteresis active ® no pulse
7 Leaving the hysteresis range contrary to the stored counting direction ® pulse of the
parameterized pulse duration is put out, the hysteresis is de-activated
With reaching the comparison condition the hysteresis gets active and a pulse of the par-
ameterized duration is put out. As long as the counter value is within the hysteresis
range, no other pulse is put out. With activating the hysteresis the counting direction is
stored in the module. If the counter value leaves the hysteresis range contrary to the
stored counting direction, a pulse of the parameterized duration is put out. Leaving the
hysteresis range without direction change, no pulse is put out.
More information about the usage of this block may be found in the
manual "VIPA SPEED7 Operation List".
1 Integration time
2 Counting pulse
3 SW gate
4 Frequency measurement start
5 Frequency measurement stop
Measuring procedure n The measurement is carried out during the integration time and is updated after the
integration time has expired.
n If the period of the measured frequency exceeds the assigned integration time, this
means there was no edge 0-1 during the measurement, the measurement value 0 is
returned.
n The calculated frequency value is supplied in "mHz" units.
n The measurement value can be read with MEAS_VAL from SFB 48.
n As long as the SW gate is open, you can request the calculated frequency.
n The number of activated channels does not influence the max. frequency, which is
defined in the technical data.
1 Integration time
2 Counting pulse
3 SW gate
4 Evaluated frequency
5.7.2 Wiring
5.7.2.1 Frequency measurement inputs
Connect the signal to be measured at input B of the corresponding counter.
X1: DI byte 0
X5: DI byte 1
5.7.3 Proceeding
Hardware configuration In the Siemens SIMATIC Manager the following steps should be executed:
1. Perform a hardware configuration for the CPU. Ä Chap. 4.5 ‘Hardware configura-
tion - CPU’ page 69
2. Double-click the counter sub module of the CPU 314C-2 PN/DP (314-6EH04-0AB0
V3.3).
ð The dialog ‘Properties’ is opened.
3. As soon as you select the operating mode for the corresponding channel, a dialog
box with default values for this counter mode is created and shown. Select for the
corresponding channel the operating mode ‘Frequency counting’ .
4. Perform the required parameter settings.
5. Safe your project with ‘Station è Safe and compile’.
6. Transfer your project to your CPU.
User program n The SFB 48 should cyclically be called (e.g. OB 1) for controlling the frequency meas-
urement.
n The SFB is to be called with the corresponding instance DB. Here the parameters of
the SFB are stored.
5.7.4 Parametrization
5.7.4.1 Address assignment
1 Integration time
2 Counting pulse
3 SW gate
4 Evaluated frequency
Parameter overview
2 - - reserved
DI +x
Digital input LED Description
green
DI +0.0 DI +0.7 Digital I+0.0 ... 0.7 has "1" signal
DI +1.0 ... DI +1.7 Digital input I+1.0 ... 1.7 has "1" signal
xL+
Power supply LED Description
green
1L+ DC 24V electronic section supply
xF
Error LED Description
green / red
4M Error, overload respectively short circuit on the outputs
no error
More information about the usage of this block may be found in the
manual "VIPA SPEED7 Operation List".
1 Period
2 On-delay
3 Pulse duration
4 Pulse pause
5.8.2 Wiring
5.8.2.1 Pulse width modulation outputs
X2: DO byte 0
8 DO 0.0 O PWM 0
5.8.3 Proceeding
Hardware configuration PWM and pulse train output use the same hardware configuration. Switching between
these modes is done within the SFB 49. In the Siemens SIMATIC Manager the following
steps should be executed:
1. Perform a hardware configuration for the CPU. Ä Chap. 4.5 ‘Hardware configura-
tion - CPU’ page 69
2. Double-click the counter sub module of the CPU 314C-2 PN/DP.
ð The dialog ‘Properties’ is opened.
3. As soon as you select the operating mode for the corresponding channel, a dialog
box with default values for this counter mode is created and shown. For PWM
respectively pulse train output select for the corresponding channel the operating
mode ‘Pulse width modulation - PWM’ .
4. Perform the required parameter settings.
5. Safe your project with ‘Station è Safe and compile’.
6. Transfer your project to your CPU.
User program n The SFB 49 should cyclically be called (e.g. OB 1) for controlling the pulse width
modulation.
– The SFB 49 is used for PWM and pulse train output.
– The switching between the modes takes place by the presetting of the pulse
number (JOB_ID = 08h/09h). As soon as you specify a pulse number > 0, you
switch to the pulse train mode, otherwise PWM is active.
n The SFB is to be called with the corresponding instance DB. Here the parameters of
the SFB are stored.
5.8.4 Parametrization
5.8.4.1 Address assignment
1 Period
2 On-delay
3 Pulse duration
4 Pulse pause
Parameter overview
xL+
Power supply LED Description
green
1L+ DC 24V electronic section supply
xF
Error LED Description
green / red
4M Error, overload respectively short circuit on the outputs
no error
More information about the usage of this block may be found in the
manual "VIPA SPEED7 Operation List".
1 Number of pulses
2 Period duration
3 Pulse duration
4 Pulse pause
The counting function is disabled during the pulse train output on the
same channel.
5.9.2 Wiring
5.9.2.1 Pulse train outputs
X2: DO byte 0
5.9.3 Proceeding
Hardware configuration PWM and pulse train output use the same hardware configuration. Switching between
these modes is done within SFB 49. In the Siemens SIMATIC Manager the following
steps should be executed:
1. Perform a hardware configuration for the CPU. Ä Chap. 4.5 ‘Hardware configura-
tion - CPU’ page 69
2. Double-click the counter sub module of the CPU 314C-2 PN/DP.
ð The dialog ‘Properties’ is opened.
3. As soon as you select the operating mode for the corresponding channel, a dialog
box with default values for this counter mode is created and shown. For PWM
respectively pulse train output select for the corresponding channel the operating
mode ‘Pulse width modulation - PWM’ .
4. Perform the required parameter settings.
5. Safe your project with ‘Station è Safe and compile’.
6. Transfer your project to your CPU.
User program n The SFB 49 should cyclically be called (e.g. OB 1) for controlling the pulse train
output.
– The SFB 49 is used for PWM and pulse train output.
– The switching between the modes takes place by the presetting of the pulse
number (JOB_ID = 08h/09h). As soon as you specify a pulse number > 0, you
switch to the pulse train mode, otherwise PWM is active.
n The SFB is to be called with the corresponding instance DB. Here the parameters of
the SFB are stored.
5.9.4 Parametrization
5.9.4.1 Address assignment
1 Number of pulses
2 Period duration
3 Pulse duration
4 Pulse pause
Parameter overview
xL+
Power supply LED Description
green
1L+ DC 24V electronic section supply
xF
Error LED Description
green / red
4M Error, overload respectively short circuit on the outputs
no error
Diagnostics interrupt The VIPA specific parameters allow you to define the following trigger for a diagnostics
interrupt Ä Chap. 4.9 ‘Setting VIPA specific CPU parameters’ page 82:
n Hardware interrupt lost
n Error: 4L+ DC 24V DO power section supply
n Error: 3L+: DC 24V DI power section supply
n Short circuit overload: DO
A process interrupt causes a call of the OB 40. Within the OB 40 you may find the logical
basic address of the module that initialized the process interrupt by using the Local word
6. More detailed information about the initializing event is to find in the local double word
8. The assignment of local double word 8 depends on the parameterized operating mode
of each channel.
Via the parameterization (record set 7Fh) you may activate a global diagnostic interrupt
for the module. A diagnostic interrupt occurs when during a process interrupt execution in
OB 40 another process interrupt is thrown for the same event. The initialization of a diag-
nostic interrupt interrupts the recent process interrupt execution in OB 40 and branches in
OB 82 to diagnostic interrupt processingincoming. If during the diagnostic interrupt pro-
cessing other events are occurring at other channels that may also cause a process res.
diagnostic interrupt, these are interim stored. After the end of the diagnostic interrupt pro-
cessing at first all interim stored diagnostic interrupts are processed in the sequence of
their occurrence and then all process interrupts. If a channel where currently a diagnostic
interruptincoming is processed res. interim stored initializes further process interrupts, these
get lost. When a process interrupt for which a diagnostic interruptincoming has been
released is ready, the diagnostic interrupt processing is called again as diagnostic inter-
ruptoutgoing. All events of a channel between diagnostic interruptincoming and diagnostic inter-
ruptoutgoing are not stored and get lost. Within this time window (1. diagnostic inter-
ruptincoming until last diagnostic interruptoutgoing) the SF-LED of the CPU is on. Additionally
for every diagnostic interruptincoming/outgoing an entry in the diagnostic buffer of the CPU
occurs.
Example:
Diagnostic interrupt pro- Every OB 82 call causes an entry in the diagnostic buffer of the CPU containing error
cessing cause and module address. By using the SFC 59 you may read the diagnostic bytes. At
de-activated diagnostic interrupt you have access to the last recent diagnostic event. If
you've activated the diagnostic function in your hardware configuration, the contents of
record set 0 are already in the local double word 8 when calling the OB 82. The SFC 59
allows you to also read the record set 1 that contains additional information. After leaving
the OB 82 a clear assignment of the data to the last diagnostic interrupt is not longer pos-
sible. The record sets of the diagnostic range have the following structure:
Record set 0 Diagnosticout- After the removing error a diagnostic messageoutgoing takes place if the diagnostic interrupt
going release is still active.
Diagnostic record set 1 at The record set 1 contains the 4byte of the record set 0 and additionally 12byte module
Alarm Inputs specific diagnostic data. The diagnostic bytes have the following assignment:
Diagnostic record set 1 at The record set 1 contains the 4byte of the record set 0 and additionally 12byte module
counter function specific diagnostic data. The diagnostic bytes have the following assignment:
Diagnostic Record set 1 at The record set 1 contains the 4byte of the record set 0 and additionally 12byte module
frequency measurement specific diagnostic data. The diagnostic bytes have the following assignment:
6 Deployment OPC UA
Please note that the simultaneous use of OPC UA and WebVisu on the
same interface is not supported! When attempting to activate them, both
servers are stopped and the diagnostic message 0xE989 or 0xE9AB is
output.
6.1 General
Term definitions n OPC - Open Platform Communications
– OPC is an interoperability standard for secure and reliable data exchange in
industrial automation.
– OPC is platform-independent and ensures a seamless flow of information
between devices from different manufacturers.
n UA - Unified Architecture
– UA specifies security features and data modeling based on a service-oriented
architecture (SOA).
OPC - Open Platform n Classic variant not scalable and exclusively for Microsoft WindowsÒ
Communications n For each type of data transfer, such as real-time data, history data, interrupts, events,
etc., a separate solution with its own semantics is required, such as OPC DA, OPC
HDA, OPC A&E, etc.
n Separate and complex effort required for security settings.
OPC UA - Open Platform n Scalable and platform-independent communication standard specified in IEC 62541.
Communications Unified n Standardization of classic OPC specifications with integrated security concept.
Architecture n The OPC UA security concept includes user and application authentication, message
signing, and encryption of transmitted data.
n IP-based, optimized, binary protocol for Internet and firewall communication via one
port (4840).
n With OPC UA, any type of information is available at any time and place for any
authorized application and authorized person. For example, raw data and prepro-
cessed information can be transported safely from the sensor and field level to the
control system and into the production planning systems.
n SOA (Service Oriented Architecture) replaces the Microsoft DCOM technology with
open, platform-independent protocols with integrated security mechanisms.
– Communication takes place via standardized services based on the Information
model of OPC UA.
– The services are divided into different task groups.
– Based on a basic model, arbitrarily complex, object-oriented extensions of the
services can be carried out, without affecting interoperability.
OPC UA server n An OPC UA server provides information within a network that can be retrieved from
an OPC UA client.
n The data exchange can take place via security certificates, which have to be stored
accordingly in the server.
n The OPC UA server provides basic services such as data exchange or navigation
through the address space.
n The OPC UA configuration is used to define the variables or contents that an
OPC UA server should provide.
n The OPC UA configuration is done via an external tool such as for VIPA CPUs the
VIPA OPC UA Configurator.
OPC UA client OPC UA clients are programs with the following functionality:
n Read or write access to information of the OPC UA server.
n Access is controlled by access rights.
n Execute services on the OPC UA server.
n In an information model, the content of the address space of the OPC UA server is
described.
n The Information models are structured in layers. Each higher-order type is based on
certain basic rules. Thus, clients who only know the basic rules can still edit complex
information models, e.g. navigate through the address space and read or write data
variables.
n In the address space, all information is represented by Nodes, which are intercon-
nected via references.
n A node is always an instance of a NodeClass.
n OPC UA offers basic services such as data exchange or navigation through the
address space. The services are grouped in Service Sets.
Node classes The following NodeClasses are defined in the OPC UA specification:
n Variable - class of variables
n Method - class of functions
n Object - class of objects
n View - Class of view of a subset of nodes
n DataType - Class of the data types of the value of a variable
n VariableType - Class of the data types of a variable
n ObjectType - class of object types
n ReferenceType - class of reference types
Node attributes Each node consists of attributes and references. Some attributes may also be optional.
The following attributes of each NodeClass must be published:
n NodeID - Unique identifier of a nodes in the address space
n NodeClass - class of node instance
n BrowseName - name of the node in plain text
n DisplayName - display name of the Node for the user
n Description - Description of the node (optional)
OPC UA services n OPC UA services are abstract descriptions defined by request and response mes-
sages.
n The available services of an OPC UA server are defined in the server profile and
grouped together in service sets.
Siemens S7 data type SPEED7 PLC OPC UA data type OPC UA built-in data type
BOOL BOOL Boolean
BYTE BYTE Byte
WORD WORD UInt16
DWORD DWORD UInt32
INT INT Int16
DINT DINT Int32
REAL REAL Float
S5TIME S5TIME UInt16
à à
TIME TIME Int32
DATE DATE UInt16
TIME_OF_DAY (TOD) TIME_OF_DAY UInt32
CHAR CHAR Byte
COUNTER COUNTER UInt16 (Only valid values)
TIMER TIMER UInt16 (Only valid values)
STRING STRING String
DT DT Byte[8]
Particularities
n String
– The data type STRING in Siemens S7 is a byte array in which the maximum
length and the current length are stored in the first 2 bytes. The other bytes store
the string.
– The OPC UA data type String should be defined in the same way.
n Array
– A read or write job in OPC UA is always an Array access, i.e. always provided
with index and length.
– A single variable is a special case of an Arrays (index 0 and length 1). On the line,
the data type is simply sent several times in succession. For the variable, the
DataType attribute points to the base data type. The ValueRank and ArrayDimen-
sions attributes determine if it is an array and how large the array is.
n Structure
– A structure describes a complex data type.
– You can describe your own structures as a subtype of the abstract data type
Structures, which inherits from the data type BaseDataType.
– Since a client may not know user-specific structures, the variables of the data
type of this structure are uniformly published in an ExtensionObject. The structure
ExtensionObject can be read by any client and also publishes the DataTypeId of
the user-specific structure.
– All structures that are not described by structures of the basic data types are pub-
lished on the server in a TypeDictionary.
– With the description of the structure by the TypeDictionary and the DataTypeId,
which is published by the ExtensionObject, the structure of the ExtensionObject
can be decoded by a client.
– If a client knows in advance the description of a user-specific structure, it can be
decoded without reading the TypeDictionary. In this approach, a client needs to
read and decode the entire tree to access individual elements.
Guidelines for information With the "VDI/VDE 2182 sheet 1", Information Security in the Industrial Automation - Gen-
security eral procedural model, VDI guidelines, the VDI/VDE society for measuring and automa-
tion engineering has published a guide for implementing a security architecture in the
industrial environment. The guideline can be found at www.vdi.de PROFIBUS &
PROFINET International (PI) can support you in setting up security standards by means
of the "PROFINET Security Guideline". More concerning this can be found at the corre-
sponding web site such as www.profibus.com
Activate only security guidelines that are compatible with the protection
concept for your machine or Application. Deactivate all other security
guidelines.
X.509 certificates OPC UA has integrated security mechanisms in multiple layers. An important component
here are X.509 certificates, which are also used in the PC world. When using certificates,
the OPC UA server delivers data to the client only if the security certificate has been
accepted as valid on both sides. An X.509 certificate includes the following information:
n Version and serial number of the certificate.
n Name of the certification authority.
n Information about the algorithm used by the certification authority to sign the certifi-
cate.
n Start and end of the validity of the certificate.
n Name of the program, person, or organization for which the certificate was signed by
the certification authority.
n The public key of the program, person or organization.
OPC UA uses three types of X.509 certificates when establishing a client-to-server con-
nection:
n OPC UA application certificates
n OPC UA software certificates
n OPC UA user certificates
Digital signature The signature can be used to prove the integrity and origin of a message.
1. The sender forms a hash value as a check value from the clear message.
2. The hash value and a private key result in the digital signature.
3. The clear message is sent to the recipient together with the digital signature.
4. The recipient decrypts the received signature with the public key and thus gets back
the original hash value.
5. The receiver also forms a hash value from the clear message and checks it with the
original hash value. The public key and hash method are included in the X.509 cer-
tificate.
ð n If both hash values are identical, sender and clear message were not
manipulated.
n If both hash values are not identical, the clear message was manipulated or
falsified during transmission.
Encrypting n X.509 certificates are not encrypted; they are public and anyone can see them.
n Encrypting data prevents unauthorized users from knowing the content.
n When encrypting, the sender encrypts the clear message with the recipient's public
key from the X.509 certificate.
n The recipient decrypts the message with his private key. Each owner of the private
key can decrypt a received message.
Secure Channel n OPC UA uses private and public keys to establish secure channels between client
and server
n Once a secure connection is established, the client and server generate a shared pri-
vate key for signing and encrypting messages.
Security policies OPC UA uses the following security policies to protect messages:
n No security
All messages are unsecured. To use these security policies, connect to a "None" end-
point of a server.
n Sign
All messages are signed. This allows the integrity of the received messages to be
checked. Manipulations are detected. To use these security policies, connect to a
"Sign" endpoint of a server.
n Sign & encrypt
All messages are signed and encrypted. This allows the integrity of the received mes-
sages to be checked. Manipulations are detected. Due to the encryption, no attacker
can read the content of the message. To use these security policies, connect to a
"Sign & Encrypt" endpoint of a server.
The security guidelines are additionally named according to the algorithms used.
Example: "Basic256Sha256 - Sign & Encrypt" means: Secure Endpoint, supports a
set of algorithms for 256-bit hashing and 256-bit encryption.
Please note that the encryption of the communication can affect CPU
performance and therefore the response time of the entire system!
Please regard that the memory card must remain plugged when
you’ve executed activated the OPC UA functionality. Otherwise
the SF LED is on and the OPC UA functionality is deactivated
after 72 hours. As long as an activated memory card is not
inserted, the SF LED is on and the "TrialTime" timer counts
from 72 hours down to 0. After that the OPC UA functionality is
de-activated. By inserting the memory card, the LED goes off
and the CPU runs again without restrictions.
Please note that only the objects of the LD, FBD and IL languages can be
transferred to the OPC UA Configurator.
The use of the SPEED7 Studio requires that you agree with the
license agreement. During installation, you must confirm this.
Further components are required in order to operate SPEED7 Studio. If the fol-
lowing programs are not already present on your PC, they are automatically
installed:
n Microsoft .NET Framework 4.52
n Microsoft SQL Server© 2014 SP1
n WinPcap
2. You can use a 30-day demo version or activate a license.
In order to use SPEED7 Studio without restrictions, you require a licence, which you
can obtain from your local YASKAWA customer service organisation.
If the PC, on which you would like to use the SPEED7 Studio, is connected to the
Internet, you can activate the licence online. If no license is activated, the dialog box
for activating the license opens with each new start of SPEED7 Studio.
Click on ‘Yes’ .
ð The ‘Product activation’ dialog window will open.
3. Enter the serial number that you received with your order of SPEED7 Studio in the
‘Licence key’ input field.
4. Enter your name in the ‘Your name’ input field.
5. If you enter your e-mail address in the ‘E-mail address’ input field, you receive an
e-mail confirmation regarding the product activation.
6. Click at ‘Activate’ .
ð The licence is activated and the SPEED7 Studio is started.
Registration of SPEED7 SPEED7 Tools Integration is automatically listed in the Windows Start menu during the
Studio in the Siemens installation of the SPEED7 Studio.
SIMATIC Manager as
1. To start the SPEED7 Tools Integration, click in the Windows Start menu on ‘VIPA ...
OPC UA Configurator.
è SPEED7 Tools Integration’.
ð For SPEED7 Tools Integration can start, you have to acknowledge the security
prompt to change the data on your computer with ‘Yes’ . Afterwards
SPEED7 Tools Integration will be started.
NOTICE!
Data exchange between platforms of different vendors
If you allow access, you permit the exchange of data between
OPC UA Configurator and your project data of the Siemens
SIMATIC Manager.
– Ensure that the necessary security guidelines are complied
with.
ð The OPC UA Configurator is started. For the OPC UA configuration, the data is
taken from the Siemens SIMATIC Manager project and listed in the table for the
OPC UA configuration.
Please note that only the objects of the LD, FBD and IL lan-
guages can be transferred to the OPC UA Configurator.
6. Configure the OPC UA server and the data for the OPC UA communication.
7. In the OPC UA Configurator switch to the online dialog and transfer the OPC UA
configuration. For communication the IP address data are taken from the Siemens
SIMATIC Manager project.
ð The OPC UA configuration is now complete. For check you will find information
about your OPC UA configuration on the device web page at ‘OPC UA’ .
Ä Chap. 4.11.1.1.1 ‘Tab: ‘OPC UA’ ’ page 96
n The OPC UA Configurator automatically imports the data for the OPC UA configura-
tion from the project data of the Siemens TIA Portal.
n The OPC UA configuration is transferred online from the OPC UA Configurator. For
the communication the OPC UA Configurator automatically uses the IP address data
of the Siemens TIA Portal project.
Please note that only the objects of the LD, FBD and IL languages can be
transferred to the OPC UA Configurator.
The use of the SPEED7 Studio requires that you agree with the
license agreement. During installation, you must confirm this.
Further components are required in order to operate SPEED7 Studio. If the fol-
lowing programs are not already present on your PC, they are automatically
installed:
n Microsoft .NET Framework 4.52
n Microsoft SQL Server© 2014 SP1
n WinPcap
2. You can use a 30-day demo version or activate a license.
In order to use SPEED7 Studio without restrictions, you require a licence, which you
can obtain from your local YASKAWA customer service organisation.
If the PC, on which you would like to use the SPEED7 Studio, is connected to the
Internet, you can activate the licence online. If no license is activated, the dialog box
for activating the license opens with each new start of SPEED7 Studio.
Click on ‘Yes’ .
ð The ‘Product activation’ dialog window will open.
3. Enter the serial number that you received with your order of SPEED7 Studio in the
‘Licence key’ input field.
4. Enter your name in the ‘Your name’ input field.
5. If you enter your e-mail address in the ‘E-mail address’ input field, you receive an
e-mail confirmation regarding the product activation.
6. Click at ‘Activate’ .
ð The licence is activated and the SPEED7 Studio is started.
Registration of SPEED7 SPEED7 Tools Integration is automatically listed in the Windows Start menu during the
Studio in the Siemens TIA installation of the SPEED7 Studio.
Portal as
1. To start the SPEED7 Tools Integration, click in the Windows Start menu on ‘VIPA ...
OPC UA Configurator
è SPEED7 Tools Integration’.
ð For SPEED7 Tools Integration can start, you have to acknowledge the security
prompt to change the data on your computer with ‘Yes’ . Afterwards
SPEED7 Tools Integration will be started.
Please note that due to the software the access request does not
appear in the foreground. To show the access request, you must
again bring the Siemens TIA Portal to the foreground. Once the
access has been selected, you must again bring the ‘OPC UA
Configurator’ to the foreground.
For the OPC UA configuration, the data is taken from the Siemens TIA Portal
project and listed in the table for the OPC UA configuration.
Please note that only the objects of the LD, FBD and IL lan-
guages can be transferred to the OPC UA Configurator.
7. Configure the OPC UA server and the data for the OPC UA communication.
8. In the OPC UA Configurator switch to the online dialog and transfer the OPC UA
configuration. For communication the IP address data are taken from the TIA Portal
project.
ð The OPC UA configuration is now complete. For check you will find information
about your OPC UA configuration on the device web page at ‘OPC UA’ .
Ä Chap. 4.11.1.1.1 ‘Tab: ‘OPC UA’ ’ page 96
1 Menu bar
2 Toolbar
3 Project tree
4 Workspace
5 Output area
Menu bar In the menu bar you will find a few general commands on the OPC UA Configurator. Fur-
ther commands can be called up via context menus with the right mouse button, e.g.
functions for an object in the project tree.
Toolbar
Store OPC UA configuration
Project tree The Project tree gives you access to the ‘Device properties’ and to the following areas of
the ‘OPC UA configuration’ :
n Server settings
n Data access
n User management
Workspace In the Work space, you can edit the settings in the following areas of the OPC UA config-
uration:
n Device properties - General
– Information about the CPU such as device name, name and firmware version.
n Device properties - Communication
– Configuration of the interface for data exchange.
– The IP address data are automatically imported from the project when the OPC
UA Configurator is called and can be viewed here.
n Device properties - Server configuration
– Administration and interface assignment of the OPC UA server in the Project tree
n Server settings - Connection
– Legitimation of the user for access to the OPC UA server.
– Port for communication.
– Security policy for encryption and corresponding exceptions.
n Server settings - Certificate
– Create, view, import or export X.509 ITU-T standard certificate.
– Re-creating or importing replaces an existing certificate.
n Data access
– Selection of the variables that can be accessed via OPC UA.
– Filter option to limit the selection.
n User management
– Creation of a user list with password and role assignment.
Output area The output area shows information about activities performed and background opera-
tions.
Show project tree If the project tree is not shown select ‘View è Project tree’ or press [Strg]+[Shift]+[P].
Show/hide objects The objects in the project tree are arranged in a tree structure. You can show or hide
objects:
Hide all objects (‘Project è Collapse project tree’)
Device properties
Device properties n Edit device name and comment Ä Chap. 6.7.3.2 ‘General device
properties’ page 193
n Perform communication settings Ä Chap. 6.7.3.3 ‘Communication
settings’ page 194
n Create OPC UA configuration Ä Chap. 6.7.3.4 ‘Server configuration’
page 195
OPC UA
Server settings Ä Chap. 6.7.4 ‘Server settings - Connection ’ page 195
Ä Chap. 6.7.5 ‘Server settings - Certificate ’ page 197
Data access Ä Chap. 6.7.6 ‘Data access ’ page 198
User management Ä Chap. 6.7.7 ‘User management ’ page 199
Ä Chap. 6.7.8 ‘Role management ’ page 200
Click on the input field and enter any comment, e.g. an annotation or explanation.
With the [Enter] key, you can add a new line to the input field.
5. In order to check whether a connection between the programming device and the
control can be established with the selected communication settings, click on ‘Verify
connection’ .
ð You can see in the status line, whether the connection could be established suc-
cessfully.
6. In order to check whether your programming device is connected with the correct
control, you can retrieve information from the connected control. For this click on
‘Accessible partners’ .
ð The ‘Search for accessible partners’ dialog window will open.
You can create a maximum of two OPC UA configurations: One configuration for the CPU
and one configuration for the CP (if exists).
Create configuration
1. Select in the selection field ‘OPC UA Configuration’ and click on ‘Add Server’ .
ð A new OPC UA configuration is created and listed in the project tree.
2. Click in the selection field ‘Active server CP’ or ‘Active server CP’ and choose
which configuration is to be assigned. With the selection ‘None’ the configuration
remains saved in the project. However, it is not transferred to the device.
To swap the two configurations for CP and CPU, click on the button .
You can create a maximum of two OPC UA configurations.
Remove server Right-click on the OPC UA configuration (PLC) in the project tree and select
‘Remove OPC UA server’.
General You can set for the OPC UA server how a user of an OPC UA client must prove their
identity for access to the server. Select at least one of the following login methods. You
can also combine the two login methods with each other.
n ‘Activate anonymous login’
– The OPC UA server does not check the authorisation of the OPC UA client.
n ‘Activate user/password login’
– The OPC UA server checks using the user name and password whether the
access of the OPC UA client is authorised. To do this, the server evaluates the
role assigned to the user. Ä Chap. 6.7.8 ‘Role management ’ page 200
n ‘Allow obsolete security guideline’
– Allows the selection of the two obsolete security guidelines ‘Basic128Rsa15’ and
‘Basic256’ (not recommended)
n ‘Application name’
– Clear identification of the application in the OPC name space.
Security
Activate only security guidelines that are compatible with the protection
concept for your machine or system. Deactivate all other security guide-
lines.
n ‘None’
– Insecure data traffic between server and client.
n ‘Basic128Rsa15’
– Secured data traffic, 128-bit encoding with key wrap algorithm RSA-15, (allow
option with ‘Allow obsolete security guideline’ see above).
n ‘Basic256’
– Secured data traffic, 256-bit encoding (allow option with ‘Allow obsolete security
guideline’ see above).
n ‘Basic256Sha256’
– Secured data traffic, 256-bit encoding with hash algorithm SHA-256 (recom-
mended).
Encoding:
n ‘Sign’
– Endpoint secures the integrity of the data through signing.
n ‘SignAndEncrypt’
– Endpoint secures the integrity and confidentiality of the data through signing and
encoding.
n ‘Both’
– The OPC UA server offers both encryption methods ‘Sign’ and
‘SignAndEncrypt’ . The OPC UA client can use one of the two encoding methods.
Security Check Overrides Here you can allow various exceptions in the security check, in order to increase the error
tolerance.
The current X.509 certificate is shown in the work space. If you create or import a new
certificate, the previously shown certificate is replaced.
Toolbar
Create new certificate: Opens the dialog window ‘Create new certificate’
Export certificate You can export the current certificate e.g. to use it on different computers.
1. Click on .
ð The dialog window ‘Save certificate’ opens.
2. Select a directory and enter a file name.
3. Click on ‘Save’ .
ð The current certificate is saved in the export file (pfx file format).
Import certificate You can import a certificate, e.g. to use it for the current OPC UA configuration. For a
successful import, the certificate must have the following characteristics:
n The certificate must be available as a PFX file.
n The ‘Common name’ and ‘Organization’ fields must be completed.
Toolbar
Refresh variables: Apply changed filter settings to the result table.
Filter settings Here you can select the operands and address ranges that will be shown in the results
table.
1. Activate ‘All operand areas’ or individual operand ranges to be shown in the
result table.
2. To limit the addresses of an operand range, enter the start and end byte addresses
in the two adjacent fields, e.g. 0 to 1000.
3. Click on or activate ‘Apply filter changes immediately’ .
ð The result table is updated with the filter settings.
Result In the results table, select the variables that are to be used in the OPC UA configuration.
OPC UA clients may access these variables.
Activate ‘OPC UA’ of the desired variables.
Group operands For a better overview, you can sort the table entries by groups.
You can repeat steps 1 to 2 in order to structure the group into further sub-groups.
In order to cancel a grouping, click on the close icon next to the group name.
Toolbar
Add new user: Input mode for new user
Edit user 1. In the user list, select the user whose data you want to change.
2. Click on .
3. Enter the desired changes and click on .
Removing a user 1. In the user list, select the user you want to delete.
2. Click on .
ð A dialog box opens where you can choose whether the user should be deleted
or not.
Configure roles The following two roles are currently available for selection; further roles can not be
added at the moment.
n Operator: Write permission and reading rights
n Observer: Reading rights only
6.7.9 Output
Information on executed activities and background operations are displayed in the
"Output" window.
n With a WebVisu project there is the possibility to configure a web visualization on your
CPU.
n The configuration of a WebVisu project is only possible with the SPEED7 Studio
V1.7.0 and up.
n Since a WebVisu project is only executable by memory card, a VIPA memory card
(VSD, VSC) of YASKAWA must be plugged. Please regard that you always use a
VSC card that fits to your CPU. Ä Chap. 4.16 ‘Deployment storage media - VSD,
VSC’ page 110
n If the memory card is removed for a short time, the SF LED lights up. This indicates
that a feature is missing and the WebVisu will quit after 72 hours.
n The WebVisu functionality must be activated in the CPU. Ä Chap. 7.2 ‘Activate Web-
Visu functionality’ page 204
n When the project is transferred from the SPEED7 Studio, the WebVisu project is auto-
matically transferred as TAR file to the inserted memory card.
n Access to the WebVisu project of the CPU happens by the IP address of the Ethernet
PG/OP channel and the correspondingly configured port or via the device web page
of the CPU.
n You can access your web visualization via a web browser. Web browsers based on
Windows CE are currently not supported.
Please note that the use of a WebVisu project, depending on the scope of
the WebVisu project and the PLC project, can influence the performance
and thus the response time of your application.
For more information on the SPEED7 Studio and how to use the Web-
Visu editor, refer to its online help.
(1) Toolbar
(2) Editor surface
(3) Status bar
(4) Catalog
(5) Properties window
(1) Toolbar The toolbar provides important commands for working with the WebVisu editor.
(2) Editor area The editor area is your workspace. Here you can place and edit texts and graphics
objects.
(3) Status bar With a slider you can enlarge or reduce your view.
(4) Catalog Via Catalog you can access all the WebVisu elements. You can use Drag & Drop to place
them on the Editor surface and adjust them using properties.
(5) Properties window By enabling ‘View è Properties’ the ‘Properties’ are shown. The properties of the
selected element are shown here. You can adjust these if necessary.
Delete WebVisu Click in the ‘Project tree’ at WebVisu Project and select ‘Context menu
è Delete WebVisu’.
ð The WebVisu project is removed from the configuration.
Edit WebVisu
In the ‘Project tree’ , navigate to ‘WebVisu Project > Images’ and click at ‘Main’ .
Select ‘Context menu è Open image’
ð The WebVisu editor opens. Here, you can configure your web visualization by
dragging and dropping elements from the ‘Catalog’ onto the editor area and
using the ‘Properties’ to interconnect them with a variable.
Please regard that the memory card must remain plugged when
you’ve executed activated the WebVisu functionality. Otherwise
the SF LED is on and the WebVisu functionality is deactivated
after 72 hours. As long as an activated memory card is not
inserted, the SF LED is on and the "TrialTime" timer counts
from 72 hours down to 0. After that the WebVisu functionality is
de-activated. By inserting the memory card, the LED goes off
and the CPU runs again without restrictions.
– Please note that once you have made adjustments to the user man-
agement, you will need to restart your web browser. Otherwise you
receive system-related error messages about invalid user informa-
tion!
– Please note that the encryption of the communication can affect CPU
performance and therefore the response time of the entire system!
Industrial Ethernet Industrial Ethernet is an electrical net based on shielded twisted pair cabling or optical net
based on optical fibre. Industrial Ethernet is defined by the international standard IEEE
802.3
The net access of Industrial Ethernet corresponds to IEEE 802.3 - CSMA/CD (Carrier
Sense Multiple Access/Collision Detection) scheme:
n Every station "listens” on the bus cable and receives communication messages that
are addressed to it.
n Stations will only initiate a transmission when the line is unoccupied.
n In the event that two participants should start transmitting simultaneously, they will
detect this and stop transmitting to restart after a random delay time has expired.
n Using switches there is the possibility for communication without collisions.
Layer 1 - Bit communica- The bit communication layer (physical layer) is concerned with the transfer of data bits via
tion layer (physical layer) the communication channel. This layer is therefore responsible for the mechanical, elec-
trical and the procedural interfaces and the physical communication medium located
below the bit communication layer:
n Which voltage represents a logical 0 or a 1?
n The minimum time the voltage is present to be recognized as a bit.
n The pin assignment of the respective interface.
Layer 2 - Security layer This layer performs error-checking functions for bit strings transferred between two com-
(data link layer) municating partners. This includes the recognition and correction or flagging of communi-
cation errors and flow control functions. The security layer (data link layer) converts raw
communication data into a sequence of frames. This is where frame limits are inserted on
the transmitting side and where the receiving side detects them. These limits consist of
special bit patterns that are inserted at the beginning and at the end of every frame. The
security layer often also incorporates flow control and error detection functions. The data
security layer is divided into two sub-levels, the LLC and the MAC level. The MAC (Media
Access Control) is the lower level and controls how senders are sharing a single transmit
channel. The LLC (Logical Link Control) is the upper level that establishes the connection
for transferring the data frames from one device into the other.
Layer 3 - Network layer The network layer is an agency layer. Business of this layer is to control the exchange of
binary data between stations that are not directly connected. It is responsible for the log-
ical connections of layer 2 communications. Layer 3 supports the identification of the
single network addresses and the establishing and disconnecting of logical communica-
tion channels. Additionally, layer 3 manages the prior transfer of data and the error pro-
cessing of data packets. IP (Internet Protocol) is based on Layer 3.
Layer 4 - Transport layer Layer 4 connects the network structures with the structures of the higher levels by
dividing the messages of higher layers into segments and passes them on to the network
layer. Hereby, the transport layer converts the transport addresses into network
addresses. Common transport protocols are: TCP, SPX, NWLink and NetBEUI.
Layer 5 - Session layer The session layer is also called the communication control layer. It relieves the communi-
cation between service deliverer and the requestor by establishing and holding the con-
nection if the transport system has a short time fail out. At this layer, logical users may
communicate via several connections at the same time. If the transport system fails, a
new connection is established if needed. Additionally this layer provides methods for con-
trol and synchronization tasks.
Layer 6 - Presentation This layer manages the presentation of the messages, when different network systems
layer are using different representations of data. Layer 6 converts the data into a format that is
acceptable for both communication partners. Here compression/decompression and
encrypting/decrypting tasks are processed. This layer is also called interpreter. A typical
use of this layer is the terminal emulation.
Layer 7 - Application layer The application layer is the link between the user application and the network. The tasks
of the application layer include the network services like file, print, message, data base
and application services as well as the according rules. This layer is composed from a
series of protocols that are permanently expanded following the increasing needs of the
user.
Twisted Pair In the early days of networking the Triaxial- (yellow cable) or thin Ethernet cable (Cheap-
ernet) was used as communication medium. This has been superseded by the twisted-
pair network cable due to its immunity to interference. The CPU has a twisted-pair con-
nector. The twisted-pair cable consists of 8 cores that are twisted together in pairs. Due to
these twists this system is provides an increased level of immunity to electrical interfer-
ence. For linking please use twisted pair cable which at least corresponds to the category
5. Where the coaxial Ethernet networks are based on a bus topology the twisted-pair net-
work is based on a point-to-point scheme. The network that may be established by
means of this cable has a star topology. Every station is connected to the star coupler
(hub/switch) by means of a separate cable. The hub/switch provides the interface to the
Ethernet.
Hub (repeater) The hub is the central element that is required to implement a twisted-pair Ethernet net-
work. It is the job of the hub to regenerate and to amplify the signals in both directions. At
the same time it must have the facility to detect and process segment wide collisions and
to relay this information. The hub is not accessible by means of a separate network
address since it is not visible to the stations on the network. A hub has provisions to inter-
face to Ethernet or to another hub res. switch.
Switch A switch also is a central element for realizing Ethernet on Twisted Pair. Several stations
res. hubs are connected via a switch. Afterwards they are able to communicate with each
other via the switch without interfering the network. An intelligent hardware analyses the
incoming telegrams of every port of the switch and passes them collision free on to the
destination stations of the switch. A switch optimizes the bandwidth in every connected
segment of a network. Switches enable exclusive connections between the segments of
a network changing at request.
Siemens S7 connections With the Siemens S7 connection large data sets may be transferred between PLC sys-
tems based on Siemens STEP®7. Here the stations are connected via Ethernet. Precon-
dition for the Siemens S7 communication is a configured connection table, which contains
the defined connections for communication. Here NetPro from Siemens may be used.
Properties:
n A communication connection is specified by a connection ID for each connection
partner.
n The acknowledgement of the data transfer is established from the partner station at
level 7 of the ISO/OSI reference model.
n At the PLC side FB/SFB VIPA handling blocks are necessary for data transfer for the
Siemens S7 connections.
More information about the usage of these blocks may be found in the
manual "VIPA SPEED7 Operation List".
Open communication In the ‘open communication’ the communication takes place via the user program by
means of handling blocks. These blocks are also part of the Siemens SIMATIC Manager.
You will find these in the ‘Standard Library’ at ‘Communication Blocks’ .
n Connection-oriented protocols:
Connection-oriented protocols establish a (logical) connection to the communication
partner before data transmission is started. And if necessary they terminate the con-
nection after the data transfer was finished. Connection-oriented protocols are used
for data transmission when reliable, guaranteed delivery is of particular importance. In
general, many logical connections can exist on one physical line. The following con-
nection-oriented protocols are supported with FBs for open communication via Indus-
trial Ethernet:
– TCP native accord. to RFC 793:
During data transmission, no information about the length or about the start and
end of a message is transmitted. However, the receiver has no means of
detecting where one message ends in the data stream and the next one begins.
The transfer is stream-oriented. For this reason, it is recommended that the data
length of the FBs is identical for the sending and receiving station. If the number
of received data does not fit to the preset length you either will get not the whole
data, or you will get data of the following job.
– ISO on TCP accord. to RFC 1006:
During data transmission, information on the length and the end of the message
is also transmitted. If you have specified the length of the data to be received
greater than the length of the data to be sent, the receive block will copy the
received data completely into the receive range.
n Connection-less protocol:
There is thus no establishment and termination of a connection with a remote partner.
Connection-less protocols transmit data with no acknowledge and with no reliable
guaranteed delivery to the remote partner.
– UDP accord. to RFC 768:
In this case, when calling the sending block you have to specify the address
parameters of the receiver (IP address and port number). During data transmis-
sion, information on the length and the end of the message is also transmitted. In
order to be able to use the sending and receiving blocks first you have to con-
figure the local communications access point at both sides. With each new call of
the sending block, you re-reference the remote partner by specifying its IP
address and its port number.
Net-ID, Host-ID The Network-ID identifies a network res. a network controller that administrates the net-
work. The Host-ID marks the network connections of a participant (host) to this network.
Subnet mask The Host-ID can be further divided into a Subnet-ID and a new Host-ID by using a bit for
bit AND assignment with the Subnet mask.
The area of the original Host-ID that is overwritten by 1 of the Subnet mask becomes the
Subnet-ID, the rest is the new Host-ID.
Address at first start-up At the first start-up of the CPU, the Ethernet PG/OP channel does not have an IP
address.
Information about the assignment of IP address data to the Ethernet PG/OP channel may
be found in Ä Chap. 4.7 ‘Hardware configuration - Ethernet PG/OP channel’ page 72.
Address classes For IPv4 addresses there are five address formats (class A to class E) that are all of a
length of 4byte = 32bit.
The classes A, B and C are used for individual addresses, class D for multicast
addresses and class E is reserved for special purposes. The address formats of the 3
classes A, B, C are only differing in the length of Network-ID and Host-ID.
Private IP networks These addresses can be used as net-ID by several organizations without causing con-
flicts, for these IP addresses are neither assigned in the Internet nor are routed in the
Internet. To build up private IP-Networks within the Internet, RFC1597/1918 reserves the
following address areas:
Steps of configuration For the configuration of the Ethernet PG/OP channel for productive connections please
follow the following approach:
n Hardware configuration - CPU
n Hardware configuration - Ethernet PG/OP channel
n Configure connections
– Siemens S7 connections
(Configuration via Siemens NetPro, communication via VIPA handling blocks)
– Open communication
(Configuration and communication happens by standard handling blocks)
n Transfer of the complete project to CPU
Requirements n Siemens SIMATIC Manager V 5.5 SP2 or higher and SIMATIC NET are installed.
n With the hardware configuration the according CP was assigned with IP address data
by its properties.
Work environment of For the project engineering of connections, a thorough knowledge with NetPro from Sie-
NetPro mens is required! The following passage only describes the basic usage of NetPro. More
detailed information about NetPro is to be found in the according online manual res. doc-
umentation. Start NetPro by clicking on a "net" in the Siemens SIMATIC Manager or on
"connections" within the CPU.
The environment of NetPro has the following structure:
1 Graphic net view: All stations and networks are displayed in a graphic view. By
clicking on the according component you may access and alter the concerning prop-
erties.
2 Net objects: This area displays all available net objects in a directory view. By drag-
ging a wanted object to the net view you may include further net objects and open
them in the hardware configurator.
3 Connection table: The connection table lists all connections in a table. This list is only
shown when you highlighted a connectable module like e.g. a CPU. You may insert
new connections into this table with the according command.
PLC stations You receive the following graphical display for every PLC station and their component. By
selecting the single components, the context menu offers you several functions:
1 Station: This includes a PLC station with rack, CPU and communication components.
Via the context menu you may configure a station added from the net objects and its
concerning components in the hardware configurator. After returning to NetPro, the
new configured components are shown.
2 CPU: A click onto the CPU shows the connection table. The connection table shows
all connections that are configured for the CPU.
3 Internal communication components: This displays the communication components
that are available in your CPU. The PROFINET IO controller is to be configured by
the PN-IO component.
4 Ethernet PG/OP channel: The internal Ethernet PG/OP channel must always be con-
figured as external CP in the hardware configuration.
Link-up stations NetPro offers you the option to link-up the communicating stations. You may link-up the
stations via the properties in the hardware configuration or graphically via NetPro. For this
you point the mouse on the coloured net mark of the according CP and drag and drop it
to the net you want to link. Now the CP is linked up to the wanted net by means of a line.
Projecting connections
1. For the project engineering of connections, open the connection list by selecting the
according CPU. Choose Insert new connection in the context menu:
n Connection partner (partner station)
A dialog window opens where you may choose the connection partner and the
connection type.
n Specified connection partner
Each station configured in the Siemens SIMATIC Manager is listed in the table
of connection partner. These stations are unique specified by an IP address and
a subnet mask.
n Unspecified connection partner
Here the connection partner may exist in the current project or in an unknown
project. Connection jobs to an unknown project must be defined by an unique
connection name, which is to be used in the projects of both stations. Due to
this allocation the connection remains unspecified.
2. Choose the connection partner and the type of connection and confirm with [OK].
ð If activated, a properties dialog for the according connection opens as link to
your PLC user program.
3. After every connection was configured by this way, you may save and compile your
project and exit NetPro.
Connection types With this CPU exclusively Siemens S7 connection may be configured with Siemens
NetPro.
Siemens S7 connection n For data transfer with Siemens S7 connections the FB/SFB VIPA handling blocks are
necessary; the deployment is described in the manual "Operation list" of your CPU.
n At Siemens S7 connections the communication connections are specified by a con-
nection ID for each communication partner.
n A connection is specified by the local and partner connection end point.
n At Siemens S7 connections the TSAPs must be congruent crosswise. The following
parameters define a connection end point:
Station A Station B
remote TSAP à Siemens à local TSAP
local TSAP ß S7 connection ß remote TSAP
ID A ID B
Siemens S7 connection - With the VIPA SPEED7 CPUs there are two possibilities for the deployment of the com-
Communication functions munication functions:
n Siemens S7-300 communication functions:
By integration of the VIPA function blocks FB 12 ... FB 15 you may access the Sie-
mens S7-300 communication functions.
n Siemens S7-400 communication functions:
For the Siemens S7-400 communication functions the SFB 12 ... SFB 15 are to be
used, which were integrated to the operating system of the CPU. Here copy the inter-
face description of the SFBs from the standard library at system function block to the
directory container, generate an instance data block for each call and call the SFB
with the associated instance data block.
Function blocks
The following connection-oriented protocols are supported with FBs for open communica-
tion via Industrial Ethernet:
n TCP/IP native according to RFC 793 (connection types 01h and 11h):
– During data transmission, no information about the length or about the start and
end of a message is transmitted.
– The receiver has no means of detecting where one message ends in the data
stream and the next one begins.
– The transfer is stream-oriented. For this reason, it is recommended that the data
length of the FBs is identical for the sending and receiving station.
– If the number of received data does not fit to the preset length you either will get
not the whole data, or you will get data of the following job. The receive block
copies as many bytes into the receive area as you have specified as length. After
this, it will set NDR to TRUE and write RCVD_LEN with the value of LEN. With
each additional call, you will thus receive another block of sent data.
n ISO on TCP according to RFC 1006:
– During data transmission, information on the length and the end of the message
is also transmitted.
– The transfer is block-oriented
– If you have specified the length of the data to be received greater than the length
of the data to be sent, the receive block will copy the received data completely
into the receive range. After this, it will set NDR to TRUE and write RCVD_LEN
with the length of the sent data.
– If you have specified the length of the data to be received less than the length of
the sent data, the receive block will not copy any data into the receive range but
instead will supply the following error information: ERROR = 1, STATUS = 8088h.
Connection-less protocol n There is thus no establishment and termination of a connection with a remote partner.
n Connection-less protocols transmit data with no acknowledge and with no reliable
guaranteed delivery to the remote partner.
The following connection-oriented protocol is supported with FBs for open communication
via Industrial Ethernet:
n UDP according to RFC 768 (with connection type 13h):
– In this case, when calling the sending block you have to specify the address
parameters of the receiver (IP address and port number).
– During data transmission, information on the length and the end of the message
is also transmitted.
– In order to be able to use the sending and receiving blocks first you have to con-
figure the local communications access point at both sides.
– With each new call of the sending block, you re-reference the remote partner by
specifying its IP address and its port number.
– If you have specified the length of the data to be received greater than the length
of the data to be sent, the receive block will copy the received data completely
into the receive range. After this, it will set NDR to TRUE and write RCVD_LEN
with the length of the sent data.
– If you have specified the length of the data to be received less than the length of
the sent data, the receive block will not copy any data into the receive range but
instead will supply the following error information: ERROR = 1, STATUS = 8088h.
Handling blocks Those in the following listed UTDs and FBs serve for "open communication" with other
Ethernet capable communication partners via your user program. These blocks are part
of the Siemens SIMATIC Manager. You will find these in the "Standard Library" at "Com-
munication Blocks". Please consider when using the blocks for open communication that
the partner station does not have to be configured with these blocks. This can be config-
ured with AG_SEND/AG_RECEIVE or IP_CONFIG. First you have to establish a hard-
ware configuration of the CPU and Ethernet PG/OP channel before you can use the han-
dling blocks.
Hardware configuration:
n CPU
Ä Chap. 4.5 ‘Hardware configuration - CPU’ page 69
n Ethernet PG/OP channel
Ä Chap. 4.7 ‘Hardware configuration - Ethernet PG/OP channel’ page 72
To specify the Ethernet PG/OP channel, the following values are defined in the UDT 65:
n local_device_id
– 00h: Ethernet PG/OP channel of the CPU
n next_staddr_len
– 01h: Ethernet PG/OP channel of the CPU
n next_staddr
– 04h: Ethernet PG/OP channel of the CPU
UDTs
FBs
PROFINET IO n With PROFINET IO an I/O data sight to the distributed periphery is described.
n PROFINET IO describes the whole data transfer between IO controller and IO device.
n PROFINET is configured like PROFIBUS.
n PROFINET IO always contains the real time concept.
n Contrary to the master-slave procedure of PROFIBUS, PROFINET uses the provider-
consumer model. This supports the communication relations (AR = Application Rela-
tion) between equal participants in the Ethernet. Here the provider sends its data
without a request of the communication partner.
n Apart from the user data exchange also functions for parametrization and diagnostics
are supported.
TCP/IP communication This is the open communication via Ethernet TCP/IP without any demand on real-time.
PROFINET devices Like PROFIBUS DP also with PROFINET IO the following devices are classified
according to their tasks:
n IO controller
– The IO controller is equivalent to the master of PROFIBUS.
– This is the PLC with PROFINET connection, in which the PLC program runs.
n IO device
– The IO device is a distributed I/O field device, which is connected to PROFINET.
– The IO device is equal to the slave of PROFIBUS.
n IO supervisor
– The IO supervisor is an engineering station as e.g. programming unit, PC or HMI
interface for commissioning and diagnostics.
API n API means Application Process Identifier and defines besides Slot and Subslot a fur-
ther addressing level.
n With this additional addressing mode with using of different applications, the overlap-
ping of data areas can be prevented.
n The following APIs are currently supported by the VIPA PROFINET IO devices:
– DEFAULT_API (0x00000000 )
– DRIVE_API (0x00003A00)
– ENCODER_API (0x00003D00)
– FIELDBUS_INTEGRATION_API (0x00004600)
– PROFINET_IO_LINK_API (0x00004E01)
– RFID_READER_API (0x00005B00)
– BARCODE_READER_API (0x00005B10)
– INTELLIGENT_PUMP_API (0x00005D00)
– PROCESS_AUTOMATION_API (0x00009700)
GSDML file n To configure a device I/O connection in your own configuration tool, you’ve got all the
information about your PROFINET components in form of a GSDML file. This file may
be found for System MICRO in the download area of www.vipa.com at‘Config files
è PROFINET’.
n Please install the GSDML file in your configuration tool.
n More information about installing the GSDML file may be found at the manual of the
according engineering tool.
n Structure and content of the GSDML file are defined by IEC 61158.
Addressing In contrast to the PROFIBUS address, in PROFINET each device may be definitely iden-
tified with its PROFINET interface:
n Device name
n IP address respectively MAC address
Transfer medium PROFINET is compatible to Ethernet in accordance with the IEEE standards. The con-
nection of the PROFINET IO field devices is exclusively established via switches as net-
work components. This is made either as star via multi-port switches or as line by means
of switches, integrated to the field devices.
Precautions The most important precautions to prevent manipulation and loss of data security in the
industrial environment are:
n Encrypting the data traffic by means of certificates.
n Filtering and inspection of the traffic by means of VPN - "Virtual Private Networks".
n Identification of the nodes by "Authentication" via save channels.
n Segmenting in protected automation cells, so that only devices in the same group can
exchange data.
Guidelines for information With the "VDI/VDE 2182 sheet 1", Information Security in the Industrial Automation - Gen-
security eral procedural model, VDI guidelines, the VDI/VDE society for measuring and automa-
tion engineering has published a guide for implementing a security architecture in the
industrial environment. The guideline can be found at www.vdi.de PROFIBUS &
PROFINET International (PI) can support you in setting up security standards by means
of the "PROFINET Security Guideline". More concerning this can be found at the corre-
sponding web site e.g. www.profibus.com
Industrial Ethernet n Due to the open standard of PROFINET standard Ethernet components may be used.
n For industrial environment and due to the high transfer rate of 100MBit/s your
PROFINET system should consist of Industrial Ethernet components.
n All the devices interconnected by switches are located in one and the same network.
All the devices in a network can communicate directly with each other.
n A network is physically limited by a router.
n If devices need to communicate beyond the limits of a network, you have to configure
the router so that it allows this communication to take place.
Topology n Linear
– With the linear structure all the communication devices are connected via a linear
bus topology.
– Here the linear bus topology is realized with switches that are already integrated
into the PROFINET device.
– If a communication member fails, communication across the failed member is no
longer possible.
n Star
– If you connect communication devices to a switch with more than 2 PROFINET
interfaces, you automatically create a star network topology.
– If an individual PROFINET device fails, this does not automatically lead to failure
of the entire network, in contrast to other structures.
– It is only if a switch fails that part of the communication network will fail as well.
n Ring
– In order to increase the availability of a network the both open ends of a linear
bus topology may be connected by a switch.
– By configuring the switch as redundancy manager on a break in the network it
ensures that the data is redirected over an intact network connection.
n Tree
– If you interconnect several star structures, you obtain a tree network topology.
Range of functions
Please regard that the PROFINET IO controller supports only the
PROFINET functions, which are described in this manual, even if the Sie-
mens CPU, which is used for configuration, offers further functions! To
use some described PROFINET functions, it is necessary to deploy
another Siemens CPU for configuration. Here, however, is pointed to
explicitly.
With the Siemens SIMATIC Manager, the CPU M13-CCF0000 from VIPA
is to be configured as!
CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3)
Assign IP address param- This function is supported only if the PROFINET IO controller is not yet configured. You
eters get valid IP address parameters from your system administrator. The assignment of the
IP address data happens online in the Siemens SIMATIC Manager starting with version V
5.5 & SP2 with the following proceeding:
1. Start the Siemens SIMATIC Manager.
2. Switch to "TCP/IP -> Network card .... " using ‘Options è Set PG/PC interface è ’.
3. Open the dialog for initialization of a station with ‘PLC è Edit Ethernet node’.
4. To get the stations and their MAC address, use the [Browse] button or type in the
MAC address. The Mac address may be found at the front of the CPU.
5. Choose if necessary the known MAC address of the list of found stations. To check
this with [Blink] you may cause the MT LED to blink.
6. Either type in the IP configuration like IP address, subnet mask and gateway. Or
your station is automatically provided with IP parameters by means of a DHCP
server. Depending of the chosen option the DHCP server is to be supplied with
MAC address, equipment name or client ID. The client ID is a numerical order of
max. 63 characters. The following characters are allowed: Hyphen "-", 0-9, a-z, A-Z
7. Confirm with [Assign IP configuration].
Directly after the assignment the PROFINET IO controller is online reachable using the
set IP address data. You can take the IP address data to your project by means of the
hardware configuration. Ä Chap. 4.5 ‘Hardware configuration - CPU’ page 69
Proceeding Open the properties dialog of the PROFINET IO controller by a double-click at PN-
IO.
9.3.3.2 PN-IO
Tab: ‘General’
Short description Designation of the IO controller. For the IO controller of VIPA, the short description is
"PN-IO".
Device name The device name on the Ethernet subnet must be unique. During initialization the device
name is derived from the short description. You can change this at any time.
Support device replace- This parameter is not evaluated. With configured topology the device replacement without
ment without exchange- exchangeable medium is supported. Ä Chap. 9.7 ‘Device replacement without exchange-
able medium able medium/PG’ page 238
Properties With properties you can enter the IP address, subnet mask and gateway for the
PROFINET interface and select the subnet to be connected.
Tab: ‘Addresses’ The CPU reports errors of the IO controller via the interface address, as soon as e.g. an
error during synchronization of the IO controller occurs. With the PROFINET IO system
address the CPU reports e.g. failure/return of the PROFINET IO system. This address is
also used to identify the IO system to which the device belongs, if an IO device fails.
Tab: ‘PROFINET’ With the operation field "OB82 / I/O fault task..." you can cause the CPU to call the OB 82
at an error event of the PROFINET interface. An entry to the diagnostics buffer is always
done. The other parameters here are not relevant for the use of the VIPA PROFINET
CPU.
Tab: ‘I-Device’ These settings are not required for the use of the PROFINET IO controller as an I-Device
and should not be changed. Ä Chap. 9.4 ‘Deployment as PROFINET I-Device’ page 229
Tab: ‘Synchronization’ These settings are not relevant and should not be changed.
Tab: ‘Media Redundancy’ MRP is supported exclusively as a redundancy client. Ä Chap. 9.5 ‘MRP’ page 236
(MRP)
Tab: ‘Time-of-day In this area you can configure time-of-day master for time-of-day synchronization in the
synchronization’ network. Ä Chap. 4.7.1.1.1 ‘Time-of-day synchronization’ page 75
Tab: ‘Options’
Interval Here you can set the interval time with which "Keep-Alive" telegrams are to be sent to a
connection partner. This ensures that a communication partner can still be reached
because the connection resources are automatically released again after the expiration
interval time.
9.3.3.3 Port 1
Tab: ‘General’ Shown is the short name "Port...". In the field Name another designation may be selected,
which is also shown in the configuration table At comment you may describe your entry
near more. The comment also appears in the configuration table.
Tab: ‘Addresses’ Via the port address the diagnostics information of the IO controller may be accessed.
Tab: ‘Topology’ These parameters serve for the port setting for topology. Ä Chap. 9.6 ‘Topology’
page 237
Tab: ‘Options’ These parameters serve for the port setting. Here the following parameters are sup-
ported:
n Connection
– Here you can make settings for transmission medium and type. Ensure that the
setting for the local port and the partner port are identical.
– PROFINET requires 100Mbit/s in duplex mode.
n Boundaries
– Boundaries are limitations for the transfer of certain Ethernet frames. The fol-
lowing Boundaries are supported:
‘End of detection of accessible nodes’ : DCP frames for detecting accessible
nodes are not forwarded. When enabled, participants which are lying behind this
port, are no longer recognized and can not be reached by the controller.
‘End of topology discovery’ : When enabled, this port does not support topology
discovery, i.e. LLDP frames are not forwarded.
Configure IO devices Now the project engineering of the PROFINET IO controller is finished. Please link up
now your IO devices with periphery to your IO controller.
1. For the project engineering of PROFINET IO device you search the concerning
PROFINET IO device in the hardware catalog at PROFINET-IO and drag&drop it in
the subnet of your IO controller.
2. Assign a name to the IO device. The configured name must match the name of the
device. Information about setting the device name can be found in the manual of
the IO device.
Range of functions
Please regard that the PROFINET IO controller supports only the
PROFINET functions, which are described in this manual, even if the Sie-
mens CPU, which is used for configuration, offers further functions! To
use some described PROFINET functions, it is necessary to deploy
another Siemens CPU for configuration. Here, however, is pointed to
explicitly.
2. Open the properties dialog of the PROFINET IO controller of the CPU by a double-
click at ‘PN-IO’ and assign the name for the I-Device.
Write down the Name. This name must also be specified as the
‘device name’ of the I-Device for the higher-level IO controller.
3. For ‘PN-IO’ at ‘slot’ ‘X...’ assign an IP address via the properties dialog.
4. Create the transfer areas by dragging them to the ‘slots’ as I/O areas from the
hardware catalog. There must be no gaps in the slots. To create the transfer areas,
the following input and output areas are available that can be assigned to the virtual
I-Device:
n Input: 1, 8, 16, 32, 64, 128, 256, 512 byte
n Output: 1, 8, 16, 32, 64, 128, 256, 512 byte
The data direction for Input or Output refers to the view of the I-Device.
n Input areas define data that are sent from the higher-level IO controller to the I-
Device and which are mapped to the input address area of the CPU.
n Output areas define data that are sent to the higher-level IO controller and
which are to stored in the output address area of the CPU.
4. Configure an input area of the same size for each output area of the I-Device in the
IO controller and vice versa. Here also no gaps may arise. In particular, make sure
that the order of the transfer areas matches that of the I-Device configuration. The
following transfer units are available:
n Input: 1, 8, 16, 32, 64, 128, 256, 512 byte per slot
n Output: 1, 8, 16, 32, 64, 128, 256, 512 byte per slot
5. Save and transfer your project to the CPU.
ð Your VIPA PROFINET controller is now connected as an I-Device to the higher-
level PROFINET IO controller.
n ... if the number of configured modules in the IO controller is greater than the number
of configured modules in the I-Device:
– The IO controller receives a ModuleDiffBlock with ModuleStatus "NoModule" for
modules that are not configured in the I-Device. The I-Device sets the status of
the non-configured modules to "bad".
n ... if the number of configured modules in the I-Device is greater than the number of
configured modules in the IO controller:
– The IO controller does not receive an error because the additional modules are
unknown.
9.5 MRP
Overview To increase the network availability of an industrial Ethernet network, you can connect a
line topology together to a ring topology. To set up a ring topology with media redun-
dancy, you have to bring together the two free ends of a linear bus topology in one
device. Closing the linear bus topology to form a ring is achieved with two ports (ring
ports) of a device in the ring. At least one device of the ring takes the role of the redun-
dancy manager. All other devices in the ring are redundancy clients. A standard media
redundancy method is MRP (Media Redundancy Protocol). Up to 50 devices per ring can
participate. The MRP (Media Redundancy Protocol) is specified in the standard IEC
61158 Type 10 "PROFINET".
Precondition
n The ring in which you want to use MRP may consist only of devices that support this
function.
n "MRP" must be activated for all devices in the ring.
n All devices must be connected via their ring ports.
n The ring may contain max. 50 devices.
n The connection setting (transmission medium/duplex) must be set to "full duplex" and
at least 100Mbit/s for all ring ports. Otherwise there may be a loss of data traffic.
Function n The data paths between the individual devices are automatically reconfigured if the
ring is interrupted at any point. After reconfiguration, the devices are accessible
again.
n In the redundancy manager, one of the both ring ports are blocked for uninterrupted
network operation for normal communication so that no data telegrams are circulated.
In terms of data transmission, the ring topology is a linear bus topology.
n The redundancy manager monitors the ring for interruptions. For this he sends test
frames from both ring port 1 and ring port 2. The test frames run through the ring in
both directions until they arrive at the other ring port of the redundancy manager.
n As soon as the interruption is removed, the original transmission paths are restored,
the two ring ports of the redundancy manager are disconnected and the redundancy
clients informed of the change. The redundancy clients then use the new paths to the
other devices.
Reconfiguration time The time between the ring interruption and restoration of a functional linear topology is
known as the reconfiguration time. At MRP the reconfiguration time is typically 200ms.
VIPA PROFINET CP as MRP is only supported as redundancy client. If the ring is opened or closed, you will be
redundancy client informed via the OB 82 "Neighbourhood change". With SFB 54 you can get more infor-
mation.
The use of MRP in the operating mode I-Device is not permissible and is
rejected during the configuration!
9.6 Topology
Overview By configuring the topology you specify for the PROFINET IO controller the physical con-
nections between the stations in your PROFINET IO system These "neighbourhood rela-
tions" are used among others at "Device replacement without exchangeable medium".
Here by comparison of target and current topology, the IO device without a name is
detected and automatically integrated to the user data traffic. By configuring the topology
you have the following options:
n You can evaluate topological errors in your application program
n You have greater flexibility in planning and expansion of a plant
Interconnection by means 1. Click in the hardware configurator at the according PROFINET port and open the
of the Port properties properties dialog via ‘Context menu è Object properties’ and select the register
‘Topology’ .
ð The properties dialog to interconnect the ports is opened.
2. Here you have the following parameters:
n Port interconnection
– Local port: Name of the local port
– Medium: Specifying the line type (copper, fibre optic cable). Currently, this
parameter is not evaluated.
– Cable name Specifying a cable name
n Partners
– Partner port: Name of the port to which the selected port is interconnected.
– Alternating partner ports: By specifying at ‘Partner port’ "Any partner", you
can configure alternating partner ports for the I/O devices. Currently, this
parameter is not evaluated.
n Cable data
– Cable length: Depending on the port medium you can set in the select list
the cable length, if the medium between two stations does not change. Here
the signal delay time is automatically calculated. Currently, this parameter is
not evaluated.
– Signal delay time: If the medium between two stations changes, a signal
delay time can be defined here. Currently, this parameter is not evaluated.
3. Close the properties dialog with [OK] again.
Configuring the function The configuration of the function Device replacement without exchangeable medium/PG
in your PROFINET IO system happens with the following approach:
1. Double-click at the PROFINET interface of the IO controller of the CPU.
ð The properties dialog of this PROFINET interface is opened
2. Enable in the register ‘General’ the option ‘Support device replacement without
exchangeable medium’ .
3. Apply the settings with [OK].
4. Safe and translate the hardware configuration.
5. Configure your Topology. Ä Chap. 9.6 ‘Topology’ page 237
6. Transfer your project to the CPU.
Prepare the replace device For the replacement the "replace device" must be in "delivery state". If you have not
received a new "replace device" from VIPA, you have to prepare this with the following
approach:
1. For this connect your "replace device" local at your PG.
2. Start the Siemens SIMATIC Manager and execute ‘PLC è Edit Ethernet node’
3. Click at ‘Nodes accessible online’ at [Browse].
4. Select the according IO device, which you identify as your "replace device".
5. Click at ‘Reset to factory settings’ at [Reset].
ð Your IO device is now reset and has then "delivery state".
Replace device For the replacement the "replace device" must be in "delivery state".
1. Disconnect if not already done your device to be exchanged from power.
2. Replace this by your "replace device".
3. Connect the "replaced device" to power and turn it ON.
ð Here by comparison of target and current topology, the "replaced device" is
automatically detected by the IO controller and automatically integrated to the
user data traffic.
Online with bus parame- n For the communication between IO controller and IO device the ways for the commu-
ters without project nication are to be defined before. For the clear specification of the communication
ways, these are established during the start-up by the IO controller, based on the
project data. Here the configuration takes place by a hardware configuration.
n As soon as the project data were transmitted, the IO controller performs a new
system start-up.
n In this state the IO controller may be accessed and its CPU may be configured via
Ethernet by the IO controller by means of the IP address.
IO device configuration n The PROFINET IO controller is configured by a hardware configuration. After the
transmission of the project into the IO controller, the IO controller has the whole infor-
mation for the addressing of and the data exchange with the IO devices.
n During the system start-up of the IO controller the IO devices are supplied with their
configured IP address by means of the DCP protocol. After PowerON and after trans-
mitting a new hardware configuration, due to the project data the system start-up of
the IO controller is initialized and it runs automatically. During the system start-up the
IO controller establishes a clear communication relation (CR) and an application rela-
tion (AR) to an IO device. Here the cyclic IO data, the acyclic R/W services and the
expected modules/sub modules are specified.
n The PROFINET IO controller does not have any physical LEDs to show the status.
The status information are stored as virtual LED states. During runtime, you can
determine their status using the SSL partial lists xy19h or xy74h. Ä Chap. 9.9.5 ‘Diag-
nostics status indication via SSLs’ page 242
– The BF3 LED is on when a PROFINET IO device is configured as "linked" but o
bus cable is connected.
– If the IO controller has received a valid configuration with at least one IO device,
the BS2-LED gets on.
– With Ethernet interface parameters, which are unsuitable for PROFINET opera-
tion, the BS2-LED flashes at 1Hz.
– If the IP address of the IO controller can not be used because e.g. it is duplicated,
the BS2-LED flashes at 0.5Hz.
– If at least one IO device is not in cyclic data exchange after the start-up, the BF3
LED blinks.
– If all IO devices are in cyclic data exchange, the BF3 LED gets off. After a suc-
cessful system start-up the system is ready for communication.
CPU state influences the After PowerON respectively a receipt of a new hardware configuration the configuration
IO process data data are automatically transferred to the IO controller. Dependent on the CPU state the
following behavior is shown by the IO controller:
n Behavior at CPU STOP
– In the STOP state of the CPU an output telegram is further cyclically sent, but the
contained data are marked as "invalid" and as output data zeros are transmitted.
– The IO controller further receives the input data of the IO devices and transfers
them cyclically to the input area of the CPU.
n Behavior at CPU RUN
– The IO controller cyclically reads the output data from the CPU and transfers
these as telegram to the configured IO devices.
– The IO controller receives the input data of the IO devices and transfers them
cyclically to the input area of the CPU.
More information about the usage of this block may be found in the
manual "VIPA SPEED7 Operation List".
Example OB 1 For the cyclic access to the diagnostics data of the counter module 050-1BA00 the fol-
lowing example may be used in the OB 1:
Diagnostics data The counter module 050-1BA00 serves for 20byte diagnostics data. The diagnostics data
of the module 050-1BA00 have the following structure:
More information about the diagnostics data may be found in the System
SLIO manual HB300_FM_050-1BA00.
Depending on the type of error, the following OBs are called in a diagnostics event:
n OB 82 on an error of an module at the IO device (Diagnostics interrupt)
n OB 83 on inserting respectively removing a module on a IO device
n OB 86 on failure respectively return of a IO device
More information about the OBs and their start information may be found
in the online help of your programming tool and in the manual "SPEED7
Operation List" from VIPA.
X X With a suited configuration tool you can cause the MT LED to blink by means
of the function ‘Member blink test’ . This can be useful for e.g. identification of
2Hz the module.
Please note that the value D must always be rounded to the nearest
smaller integer!
Protocols The protocols respectively procedures ASCII, STX/ETX, 3964R, USS and Modbus are
supported.
Parametrization The parametrization of the serial interface happens during runtime using the FC/SFC 216
(SER_CFG). For this you have to store the parameters in a DB for all protocols except
ASCII.
Communication The FCs/SFCs are controlling the communication. Send takes place via FC/SFC 217
(SER_SND) and receive via FC/SFC 218 (SER_RCV). The repeated call of the FC/SFC
217 SER_SND delivers a return value for 3964R, USS and Modbus via RetVal that con-
tains, among other things, recent information about the acknowledgement of the partner
station. The protocols USS and Modbus allow to evaluate the receipt telegram by calling
the FC/SFC 218 SER_RCV after SER_SND. The FCs/SFCs are included in the consign-
ment of the CPU.
Overview FCs/SFCs for The following FCs/SFCs are used for the serial communication:
serial communication
FC/SFC Description
FC/SFC 216 SER_CFG RS485 parameterize
FC/SFC 217 SER_SND RS485 send
FC/SFC 218 SER_RCV RS485 receive
More information about the usage of these blocks may be found in the
manual "VIPA SPEED7 Operation List".
1 Program
2 Protocol
3 FIFO buffer
4 Interface
Enable PtP functionality A hardware configuration to enable the PtP functionality is not necessary.
1. Turn off the power supply.
1 X1 PtP interface
2 Periphery
RS485 cabling with For isolated interfaces you have 5V (P5V) isolated at pin 6 and the corresponding ground
defined static voltage (M5V) at pin 5. With this isolated voltage, you can assign defined static voltage levels to
levels the signal lines and so ensure a low reflection level.
1 X1 PtP interface
2 Periphery
RS422 cabling
1 X1 PtP interface
2 Periphery
3 Send
4 Receive
*) For line lengths >50m, you have to solder a terminating resistor of approx. 330W on
the receiver side for traffic-free data transfer.
RS422 cabling with For isolated interfaces you have 5V (P5V) isolated at pin 6 and the corresponding ground
defined static voltage (M5V) at pin 5. With this isolated voltage, you can assign defined static voltage levels to
levels the signal lines and so ensure a low reflection level.
1 X1 PtP interface
2 Periphery
3 Send
4 Receive
*) For line lengths >50m, you have to solder a terminating resistor of approx. 330W on
the receiver side for traffic-free data transfer.
Status indication
X1 PtP Description
TxD
green flickers Send activity
No send activity
10.4 Parametrization
10.4.1 FC/SFC 216 - SER_CFG - Parametrization PtP
The parametrization happens during runtime deploying the FC/SFC 216 (SER_CFG). You
have to store the parameters for STX/ETX, 3964R, USS and Modbus in a DB.
10.5 Communication
10.5.1 FC/SFC 217 - SER_SND - Send to PtP
This block sends data via the serial interface. The repeated call of the FC/SFC 217
SER_SND delivers a return value for 3964R, USS and Modbus via RETVAL that con-
tains, among other things, recent information about the acknowledgement of the partner
station. The protocols USS and Modbus require to evaluate the receipt telegram by
calling the FC/SFC 218 SER_RCV after SER_SND.
More information about the usage of these blocks may be found in the
manual "VIPA SPEED7 Operation List".
ASCII ASCII data communication is one of the simple forms of data exchange. Incoming char-
acters are transferred 1 to 1. At ASCII, with every cycle the read FC/SFC is used to store
the data that is in the buffer at request time in a parametrized receive data block. If a tele-
gram is spread over various cycles, the data is overwritten. There is no reception
acknowledgement. The communication procedure has to be controlled by the concerning
user application. For this you can use the FB 1 - Receive_ASCII.
More information about the usage of this block may be found in the
manual "VIPA SPEED7 Operation List".
STX/ETX STX/ETX is a simple protocol with start and end ID, where STX stands for Start of Text
and ETX for End of Text.
n Any data transferred from the periphery must be preceded by a Start followed by the
data characters and the end character. Depending of the byte width the following
ASCII characters can be transferred: 5bit: not allowed: 6bit: 20...3Fh, 7bit: 20...7Fh,
8bit: 20...FFh.
n The effective data, which includes all the characters between Start and End are trans-
ferred to the CPU when the End has been received.
n When data is send from the CPU to a peripheral device, any user data is handed to
the FC/SFC 217 (SER_SND) and is transferred with added Start- and End-ID to the
communication partner.
n You may work with 1, 2 or no Start- and with 1, 2 or no End-ID.
n If no End-ID is defined, all read characters are transferred to the CPU after a parame-
terizable character delay time (Timeout).
As Start-res. End-ID all Hex values from 01h to 1Fh are permissible. Characters above
1Fh are ignored. In the user data, characters below 20h are not allowed and may cause
errors. The number of Start- and End-IDs may be different (1 Start, 2 End res. 2 Start, 1
End or other combinations). For not used start and end characters you have to enter FFh
in the hardware configuration.
Message structure:
3964 The 3964R procedure controls the data transfer of a point-to-point link between the CPU
and a communication partner. The procedure adds control characters to the message
data during data transfer. These control characters may be used by the communication
partner to verify the complete and error free receipt.
The procedure employs the following control characters:
n STX: Start of Text
n DLE: Data Link Escape
n ETX: End of Text
n BCC: Block Check Character
n NAK: Negative Acknowledge
You may transfer a maximum of 255byte per message.
Procedure
USS The USS protocol (Universelle serielle Schnittstelle = universal serial interface) is a serial
transfer protocol defined by Siemens for the drive and system components. This allows to
build-up a serial bus connection between a superordinated master and several slave sys-
tems. The USS protocol enables a time cyclic telegram traffic by presetting a fix telegram
length.
The following features characterize the USS protocol:
n Multi point connection
n Master slave access procedure
n Single master system
n Max. 32 participants
n Simple and secure telegram frame
It is essential:
n You may connect 1 master and max. 31 slaves at the bus
n The single slaves are addressed by the master via an address sign in the telegram.
n The communication happens exclusively in half-duplex operation.
n After a send command, the acknowledgement telegram must be read by a call of the
FC/SFC 218 SER_RCV.
The telegrams for send and receive have the following structure:
with
STX - Start sign
STW - Control word
LGE - Telegram length
ZSW - State word
ADR - Address
HSW - Main set value
PKE - Parameter ID
HIW - Main effective value
IND - Index
BCC - Block Check Character
PWE - Parameter value
Modbus n The Modbus protocol is a communication protocol that fixes a hierarchic structure
with one master and several slaves.
n Physically, Modbus works with a serial half-duplex connection. There are no bus con-
flicts occurring, because the master can only communicate with one slave at a time.
n After a request from the master, this waits for a preset delay time for an answer of the
slave. During the delay time, communication with other slaves is not possible.
n After a send command, the acknowledgement telegram must be read by a call of the
FC/SFC 218 SER_RCV.
n The request telegrams send by the master and the respond telegrams of a slave have
the following structure:
Telegram structure
Start sign Slave address Function Code Data Flow control End sign
Broadcast with slave n A request can be directed to a special slave or at all slaves as broadcast message.
address = 0 n To mark a broadcast message, the slave address 0 is used.
n In opposite to a "normal" send command, the broadcast does not require a telegram
evaluation via FC/SFC 218 SER_RCV.
n Only write commands may be sent as broadcast.
ASCII, RTU mode Modbus offers 2 different transfer modes. The mode selection happens during runtime by
using the FC/SFC 216 SER_CFG.
n ASCII mode: Every byte is transferred in the 2 sign ASCII code. The data are marked
with a start and an end sign. This causes a transparent but slow transfer.
n RTU mode: Every byte is transferred as one character. This enables a higher data
pass through as the ASCII mode. Instead of start and end sign, a time control is used.
Supported Modbus proto- The following Modbus Protocols are supported by the RS485 interface:
cols
n Modbus RTU Master
n Modbus ASCII Master
n Modbus differentiates between bit and word access; bits = "Coils" and words = "Reg-
ister".
n Bit inputs are referred to as "Input-Status" and bit outputs as "Coil-Status".
n word inputs are referred to as "Input-Register" and word outputs as "Holding-Reg-
ister".
Range definitions Normally the access at Modbus happens by means of the ranges 0x, 1x, 3x and 4x.
0x and 1x gives you access to digital bit areas and 3x and 4x to analog word areas.
For the VIPA CPs is not differentiating digital and analog data, the following assignment is
valid:
0x - Bit area for master output data
Access via function code 01h, 05h, 0Fh
Overview With the following Modbus function codes a Modbus master can access a Modbus slave.
The description always takes place from the point of view of the master:
Respond of the slave If the slave announces an error, the function code is send back with an "ORed" 80h.
Without an error, the function code is sent back.
Check sum CRC, RTU, The shown check sums CRC at RTU and LRC at ASCII mode are automatically added to
LRC every telegram. They are not shown in the data block.
Read n bits 01h, 02h Code 01h: Read n bits of master output area 0x
Code 02h: Read n bits of master input area 1x
Command telegram
Slave address Function code Address 1. bit Number of bits Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Respond telegram
Slave address Function code Number of Data 1. byte Data 2. byte ... Check sum
read bytes CRC/LRC
1byte 1byte 1byte 1byte 1byte 1word
max. 250byte
Read n words 03h, 04h 03h: Read n words of master output area 4x
04h: Read n words master input area 3x
Command telegram
Slave address Function code Address 1. bit Number of words Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Respond telegram
Slave address Function code Number of Data 1. word Data 2. word ... Check sum
read bytes CRC/LRC
1byte 1byte 1byte 1word 1word 1word
max. 125words
Write 1 bit 05h Code 05h: Write 1 bit to master output area 0x
A status change is via "Status bit" with following values:
"Status bit" = 0000h ® Bit = 0
"Status bit" = FF00h ® Bit = 1
Command telegram
Slave address Function code Address bit Status bit Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Respond telegram
Slave address Function code Address bit Status bit Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Write 1 word 06h Code 06h: Write 1 word to master output area 4x
Command telegram
Slave address Function code Address word Value word Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Respond telegram
Slave address Function code Address word Value word Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Write n bits 0Fh Code 0Fh: Write n bits to master output area 0x
Please regard that the number of bits has additionally to be set in byte.
Command telegram
Slave Function Address 1. Number of Number of Data 1. Data 2. ... Check sum
address code bit bits bytes byte byte CRC/LRC
1byte 1byte 1word 1word 1byte 1byte 1byte 1byte 1word
max. 250byte
Respond telegram
Slave address Function code Address 1. bit Number of bits Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Write n words 10h Code 10h: Write n words to master output area 4x
Command telegram
Slave Function Address 1. Number of Number of Data 1. Data 2. ... Check sum
address code word words bytes word word CRC/LRC
1byte 1byte 1word 1word 1byte 1word 1word 1word 1word
max. 125words
Respond telegram
Slave address Function code Address 1. word Number of words Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Steps of configuration The configuration of the PROFIBUS DP slave should be done with the following
approach:
n Activating bus functionality by means of a VSC
n Hardware configuration - CPU
n Use as DP slave
– With activating the bus functionality ‘PROFIBUS DP slave’ by means of a VSC,
the bus functionality ‘PROFIBUS DP slave’ is unlocked.
n Transfer of the entire project to the CPU
With the Siemens SIMATIC Manager, the CPU M13-CCF0000 from VIPA
is to be configured as
CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3)
The PROFIBUS DP slave is to be configured and connected via the sub
module X1 (MPI/DP).
DP slave operation For the deployment in a super-ordinated master system you first have to project your
slave system as Siemens CPU in slave operation mode with configured in-/output areas.
Afterwards you configure your master system. Couple your slave system to your master
system by dragging the CPU 31x from the hardware catalog at Configured stations onto
the master system, choose your slave system and connect it.
Operating mode DP slave: There is the possibility to enable the option ‘Test, commissioning, routing’ in the hard-
Test, commissioning, ware configuration by means of the properties dialog of the PROFIBUS via the register
routing (active/passive) ‘Operating mode’ at ‘DP slave’ . The activation affects as follows:
n The PROFIBUS interface gets an "active" PROFIBUS node, this means it is involved
in the token rotation.
n Via this interface you have PG/OP functions (programming, status request, control,
test).
n The PROFIBUS interface serves as a gateway (S7 routing).
n The bus rotation time can exceed.
When disabled, the PROFIBUS interface operates as passive DP slave with the following
characteristics:
n The PROFIBUS interface gets an "passive" PROFIBUS node, this means it is not
involved in the token rotation.
n Bus rotation time is not influenced.
n S7 routing is not possible.
Enable PROFIBUS func- The activation of the PROFIBUS functionality of the extension module EM M09 happens
tionality with the following proceeding:
1. Turn off the power supply.
1 RS485 interface
2 Periphery
Never connect the cable shield and the M5V (pin 5) together, since the
interfaces could be destroyed!
Status indication
X2 MPI(PB) Description
DE
green n Slave is in DE (data exchange).
n Slave exchanges data with the master.
n Slave is in RUN state
green blinking n Slave CPU is in state start-up.
n Slave-CPU is without master.
n There is no power supply.
n Slave has no configuration.
Project engineering of the 1. Start the Siemens SIMATIC Manager and configure a CPU as described at "Hard-
slave section ware configuration - CPU".
2. Designate the station as "...DP slave".
3. Add your modules according to the real hardware assembly.
4. Open the properties dialog of the DP interface of the CPU by means of a double-
click at ‘MPI/DP’ .
5. Set Interface type to "PROFIBUS".
6. Connect to PROFIBUS and preset an address (e.g. 3) and confirm with [OK].
7. Switch at Operating mode to "DP slave" .
8. Via Configuration you define the in-/output address area of the slave CPU, which
are to be assigned to the DP slave.
9. Save, compile and transfer your project to your CPU.
4. Open the properties dialog of the DP interface of the CPU by means of a double-
click at ‘MPI/DP’ .
5. Set Interface: type to "PROFIBUS".
6. Connect to PROFIBUS and preset an address (e.g. 2) and confirm with [OK].
7. Switch at Operating mode to "DP master" and confirm the dialog with [OK].
8. Connect your slave system to this master system by dragging the "CPU 31x" from
the hardware catalog at Configured stations onto the master system and select your
slave system to be coupled.
9. Open the Configuration at Object properties of your slave system.
10. Via double click to the according configuration line you assign the according input
address area on the master CPU to the slave output data and the output address
area to the slave input data.
11. Save, compile and transfer your project to your CPU.
Standard diagnostic data More detailed information to the structure of the slave standard diagnostic data can be
found in the standard papers of the PROFIBUS User Organization. The slave diagnostic
data have the following structure:
Device specific diagnostic The device related diagnostic data provide detailed information on the slave and the
data peripheral modules. The length of the device related diagnostic data is fixed at 10byte
Release diagnostic n In case of a diagnostic the contents of Byte 11 ... 15 of the device specific diagnostic
data will be transferred to the process image of the CPU and this preceded by a
status byte.
n Where this diagnostic block with a length of 6byte is located in the process image can
be defined via the CPU parameters.
n You start diagnostics by means of a status change from 0 à 1 in the diagnostic status
byte.
n This transmits the respective diagnostic message to the master.
n A status of 0000 0011 is ignored!
The diagnostic block of the CPU has the following structure:
Transfer medium n As transfer medium PROFIBUS uses an isolated twisted-pair cable based upon the
RS485 interface.
n The RS485 interface is working with voltage differences. Though it is less irritable
from influences than a voltage or a current interface. You are able to configure the
network as well linear as in a tree structure.
n Max. 32 participants per segment are permitted. Within a segment the members are
linear connected. The segments are connected via repeaters. The maximum segment
length depends on the transfer rate.
n PROFIBUS DP uses a transfer rate between 9.6kbit/s and 12Mbit/s, the slaves are
following automatically. All participants are communicating with the same transfer
rate.
n The bus structure under RS485 allows an easy connection res. disconnection of sta-
tions as well as starting the system step by step. Later expansions don’t have any
influence on stations that are already integrated. The system realizes automatically if
one partner had a fail down or is new in the network.
Bus connection The following picture illustrates the terminating resistors of the respective start and end
station.
The PROFIBUS line has to be terminated with its ripple resistor. Please
make sure to terminate the last participants on the bus at both ends by
activating the terminating resistor.
Dimensions in mm
Termination with "Easy- The "EasyConn" bus connector is provided with a switch that is used to activate a termi-
Conn" nating resistor.
Wiring
CAUTION!
The terminating resistor is only effective, if the connector is installed at a
bus participant and the bus participant is connected to a power supply.
The tightening torque of the screws to fix the connector to a device must
not exceed 0.02Nm!
Assembly
1. Loosen the screw.
2. Lift contact-cover.
3. Insert both wires into the ducts provided (watch for the correct line colour as below!)
4. Please take care not to cause a short circuit between screen and data lines!
(1) Start You can create a new project, open a saved project, or delete projects.
(2) Project If a project is open, you can open the ‘Project overview’ or add a new
device.
(3) Last projects Here recently opened projects are listed.
You can show and hide additional windows and the arrangement and size of the windows
can be adjusted.
(1) Menu bar Most of the commands you need for working with SPEED7 Studio are provided in the
menu bar. Further commands can be accessed via the context menus using the right
mouse button, e.g. functions of a device in the project tree.
The menu commands ‘Project’ and ‘Device’ are only shown if a project is open. The
menu commands ‘Image’ is only shown if a HMI image is open.
You can use the menus with the mouse or the keyboard.
(2) Toolbar Important commands you need for working with SPEED7 Studio are provided in the
toolbar. More commands can be accessed via the toolbars and push buttons of different
editors.
Some of the commands in the toolbar are only shown if a project is open.
(3) CPU control centre In the CPU control centre, you can view the current mode and other control data and con-
trol the CPU.
(4) Project tree Any project device and project data can be accessed via the project tree. The project tree
includes any object which you have created in the project, e.g. devices, components, pro-
gram blocks, HMI images. Here you can add or remove devices and components. Fur-
thermore, you can open editors in order to edit settings, configurations, the control pro-
gram and visualisation.
(5) Area of operations Devices and project data can be edited in the area of operations. You can open different
editors for this purpose. The register in the area of operations is divided into two register
levels. You can switch through the editors in the area of operations via the tabs.
(6) Output range Information on executed activities and background operations are displayed on the output
range.
(7) Catalog/properties Devices and components which you want to add to the project can be selected in the cat-
alog. You can also select objects which you want to add to the PLC program or to HMI
images.
(8) Status line The version of SPEED7 Studio is displayed at the left edge of the status line. The pro-
gress bar for background operations and status messages is shown at the right edge. As
long as there are no background operations, the status message created at last is shown.
Show project tree If the project tree is not displayed, you must select either ‘View è Project tree’ or press
[Strg]+[Shift]+[P].
Show projects in the In order to display the project in the project tree, you must create a new project or open a
project tree stored project.
It is not possible to edit several projects at the same time. It is possible to run
SPEED7 Studio simultaneously several times on one PC if you want to use it for various
projects.
Show/hide objects The objects in the project tree are arranged in a tree structure. You can show or hide
objects:
Hide all objects (‘Project è Reduce project tree’)
Recognise object state Icons behind an object in the project tree provide indications of the object state.
12.2.2 Catalog
(1) Switching to another view
(2) Register
(3) Show/hide objects
(4) Search
(5) Filter
(6) Objects
(7) Catalog information
Devices and components which you want to add to the project can be selected in the cat-
alog. You can also select objects which you want to add to the PLC program or to HMI
images.
Show catalog:
If the catalog is not displayed, you must select either ‘View è Catalog’ or press [Strg]+
[Shift]+[C].
(1) Switch to another view If the properties are displayed instead of the catalog, you must click on ‘Catalog’ at the
lower screen edge.
(2) Register Certain tabs are displayed in the catalog, depending on which editor window is opened in
the foreground.
(3) Show/hide objects The objects in the catalog are arranged in a tree structure. You can show or hide objects:
Hide all objects (‘Project è Reduce project tree’)
Hide all objects (‘Project è Reduce catalog tree’)
(4) Search
You can search for certain objects in the catalog.
1. Enter a search text in the input field.
ð Only those objects are displayed in the catalog which contain the search text.
2. Click on to delete the search text.
ð All objects are displayed in the catalog.
(5) Filter With ‘enabled’ Filter, only these modules are shown in the Catalog which are relevant for
configuration
Example
(1) Select the desired object (hold left mouse button down)
(2) Drag the object
(3) Drop the object at a suitable place (release the mouse button)
(4) The object is added
(7) Catalog information The catalog information shows detailed information of the selected object, e.g. name, pro-
ducer, version and order information.
Device configuration
The CPU has an integrated Ethernet PG/OP channel. This channel allows you to pro-
gram and remote control your CPU.
n The Ethernet PG/OP channel (X3/X4) is designed as switch. This enables PG/OP
communication via the connections X3 and X4.
n Configurable connections are possible.
n DHCP respectively the assignment of the network configuration with a DHCP server
is supported.
n Default diagnostics addresses: 2025 ... 2040
n Via the Ethernet PG/OP channel, you have access to:
– Device website, where you can find information on firmware status, connected
peripherals, current cycle times, etc.
– OPC UA project, which is to be created in the OPC UA Configurator.
– WebVisu project, which is to be created in the SPEED7 Studio.
– PROFINET IO controller or the PROFINET I-Device.
Assembly and commis- 1. Install your System MICRO with your CPU.
sioning
2. Wire the system by connecting cables for voltage supply and signals.
3. Connect the one of the Ethernet jacks (X3, X4) of the Ethernet PG/OP channel to
Ethernet.
4. Switch on the power supply.
ð After a short boot time the CP is ready for communication. It possibly has no IP
address data and requires an initialization.
"Initialization" The assignment of IP address data takes place via the MAC address. The IP address of
your Ethernet PG/OP channel for the interfaces X3 and X4 can be found on the front of
your CPU with the name "MAC PG/OP: ...".
X3 PG/OP
X4 PG/OP
The assignment of the IP address data happens online in the SPEED7 Studio with the
following proceeding:
1. Start the SPEED7 Studio with your project.
2. Click in the Project tree at ‘Devices and networking’ .
ð You will get a graphical object view of your CPU.
5. Select the according network interface card, which is connected to the Ethernet
PG/OP channel and click at ‘Search’ to determine the via MAC address reachable
device.
ð The network search is started and the found stations are listed in a table.
6. Devices... IP... MAC... Device... ... ...
Click in the list at the module with the known MAC address. This can be found at
the front of the CPU labelled as "MAC PG/OP: ...".
7. Click at ‘Set IP address’ . Now set the IP configuration by entering ‘IP address’ ,
‘Subnet mask’ and ‘Gateway’ . You get valid IP address parameters from your
system administrator.
8. Click at ‘Set IP address’ .
ð The IP address is transferred to the module and the list is refreshed. Directly
after the assignment the Ethernet PG/OP channel is online reachable using the
set IP address data. The value remains as long as it is reassigned, it is over-
written by a hardware configuration or a factory reset is executed.
9. With clicking at ‘Apply settings’ the IP address data are stored in the project.
Take IP address parame- If you are not online, you can assign IP address data to your Ethernet PG/OP channel
ters in project with following proceeding:
1. Start the SPEED7 Studio with your project.
2. Click in the Project tree at ‘Devices and networking’ .
ð You will get a graphical object view of your CPU.
Local components
Parametrization For parametrization double-click in the ‘Device configuration’ on the module you want to
parametrize. Then the parameters of the module are shown in a dialog. Here you can
make your parameter settings.
Parametrization during By using the SFCs 55, 56 and 57 you may alter and transfer parameters for wanted
runtime modules during runtime. For this you have to store the module specific parameters in so
called "record sets". More detailed information about the structure of the record sets is to
find in the according module description.
12.6.2.2.2 ‘Parameter’
‘Filtering channel 0/1’ The analog input part has a filter integrated. The parametrization of the filter happens via
the parameter ‘Filter channel 0/1’ . The default value of the filter is 1000ms. The following
values can be entered:
n 2ms: no filter
n 100ms: small filter
n 1000ms: medium filter
n 10000ms: maximum filter
12.6.3.2.2 ‘Inputs’
‘Trigger for process Here you can specify a hardware interrupt for each input in groups of 2 channels for the
interrupt’ corresponding edge. The hardware interrupt is disabled, if nothing is selected (default
setting). A diagnostics interrupt is only supported with Hardware interrupt lost.
Here is valid:
n Rising edge: Edge 0-1
n Falling edge: Edge 1-0
Input delay n The input delay can be configured per channel in groups of 4.
n An input delay of 0.1ms is only possible with "fast" inputs, which have a max. input
frequency of 100kHz Ä Chap. 5.4 ‘Digital input’ page 122. Within a group, the input
delay for slow inputs is limited to 0.5ms.
n Range of values: 0.1ms / 0.5ms / 3ms / 15ms
12.6.5 Counter
12.6.5.1 Overview
n 4 channels
n Sub module: ‘Count’
n Ä Chap. 5.6 ‘Counting’ page 129
12.6.5.2.3 ‘Channel x’
Operating mode Select via ‘Channel’ the channel select via ‘Operating’ the counter operating mode. The
following counter operating modes are supported:
n Not parametrized: Channel is de-activated
n Count endless
n Count once
n Count periodical
Counter
Operating mode Default values and structure of this dialog box depend on the selected ‘Operating mode’ .
Parameter overview
1 Integration time
2 Counting pulse
3 SW gate
4 Evaluated frequency
Parameter overview
12.6.7.2.2 ‘Channel x’
Operating mode PWM and pulse train output use the same hardware configuration. Switching between
these modes is done within the SFB 49. Select via ‘Channel x’ the channel and select for
pulse width modulation via ‘Operating mode’ the operating mode ‘Pulse width
modulation’ Default values and structure of this dialog box depend on the selected
‘Operating mode’ . The following parameters are relevant for PWM, which must be speci-
fied or determined:
1 Period
2 On-delay
3 Pulse duration
4 Pulse pause
Parameter overview
12.6.8.2.2 ‘Channel x’
Operating mode PWM and pulse train output use the same hardware configuration. Switching between
these modes is done within the SFB 49. Select via ‘Channel x’ the channel and select for
pulse train via ‘Operating mode’ the operating mode ‘Pulse width modulation’ . Default
values and structure of this dialog box depend on the selected ‘Operating mode’ . The fol-
lowing parameters are relevant for pulse train, which must be specified or determined:
1 Number of pulses
2 Period duration
3 Pulse duration
4 Pulse pause
Parameter overview
Net structure The structure of a MPI net is electrically identical with the structure of a PROFIBUS net.
This means the same rules are valid and you use the same components for the build-up.
The single participants are connected with each other via bus interface plugs and
PROFIBUS cables. Per default the MPI net runs with 187.5kbaud. VIPA CPUs are deliv-
ered with MPI address 2.
MPI programming cable The MPI programming cables are available at YASKAWA in different variants. The cables
provide a RS232 res. USB plug for the PC and a bus enabled RS485 plug for the CPU.
Due to the RS485 connection you may plug the MPI programming cables directly to an
already plugged plug on the RS485 jack. Every bus participant identifies itself at the bus
with an unique address, in the course of the address 0 is reserved for programming
devices.
Terminating resistor A cable has to be terminated with its surge impedance. For this you switch on the termi-
nating resistor at the first and the last participant of a network or a segment. Please make
sure that the participants with the activated terminating resistors are always power sup-
plied. Otherwise it may cause interferences on the bus.
Proceeding transfer via 1. Connect your PC to the MPI jack of your CPU via a MPI programming cable.
MPI
2. Switch-ON the power supply of your CPU and start the SPEED7 Studio with your
project.
3. Set at ‘Active PC interface’ the "Serial interface".
4. Click in the ‘Project tree’ to your project and select ‘Context menu è Recompile’.
ð Your project will be translated and prepared for transmission.
5. To transfer the user program and hardware configuration click in the Project tree at
your CPU and select ‘Context menu è Transfer all’.
ð A dialog window for project transfer opens
6. Select the ‘Port type’ "Serial interface" and start the transfer with ‘Transfer’ .
7. Confirm the request that the CPU is to be brought into the state STOP.
ð The user program and the hardware configuration are transferred via MPI to the
CPU.
8. Close after transmission the dialog.
9. With ‘Context menu è Copy RAM to ROM’ you can save your project on a memory
card, if one is plugged.
4. To transfer the user program and hardware configuration click in the Project tree at
your CPU and select ‘Context menu è Transfer all’.
ð A dialog window for project transfer opens
5. Select the ‘Port type’ "Ethernet interface" and start the transfer with ‘Transfer’ .
6. Confirm the request that the CPU is to be brought into the state STOP.
ð The user program and the hardware configuration are transferred via Ethernet
to the CPU.
7. Close after transmission the dialog.
8. With ‘Context menu è Copy RAM to ROM’ you can save your project on a memory
card, if one is plugged.
4. Copy the wld file at a suited memory card. Plug this into your CPU and start it
again.
ð The transfer of the application program from the memory card into the CPU
takes place depending on the file name after an overall reset or PowerON.
S7PROG.WLD is read from the memory card after overall reset.
AUTOLOAD.WLD is read from the memory card after PowerON.
The flickering of the yellow LED of the status bar of the CPU
marks the active transfer. Please regard that your user memory serves for
enough space for your user program, otherwise your user program is not com-
pletely loaded and the red LED of the status bar lights up.
Information about the Siemens TIA Portal can be found in the online help
respectively in the according online documentation.
Starting the TIA Portal To start the Siemens TIA Portal with Windows select ‘Start è Programs
è Siemens Automation è TIA ...’
Then the TIA Portal opens with the last settings used.
Exiting the TIA Portal With the menu ‘Project è Exit’ in the ‘Project view’ you may exit the TIA Portal. Here
there is the possibility to save changes of your project before.
Portal view The ‘Portal view’ provides a "task oriented" view of the tools for processing your project.
Here you have direct access to the tools for a task. If necessary, a change to the Project
view takes place automatically for the selected task.
Project view The ‘Project view’ is a "structured" view to all constituent parts of your project.
Areas of the Project view The Project view is divided into the following areas:
No ‘Upload device as new Due to the system ‘Upload device as new station...’ is currently not supported. Instead,
station...’ use the backup and restore functions in the Siemens TIA Portal:
1. To backup an online connected CPU, select ‘Online è Backup from online device’.
ð A backup object is created and stored in the project navigation at ‘Online
backups’ . The backup contains all blocks of the project and the current device
status.
2. To restore into an online connected CPU it must be overall reset first. Then click in
the project navigation under ‘Online backups’ on the created backup and select
‘Context menu è Download to device’.
ð The backup data is transferred online to the CPU.
No online blocks Due to the system, online blocks of CPUs connected via ‘Accessible devices’ are cur-
rently not listed.
Installation GSDML CPU The installation of the PROFINET IO devices ‘VIPA MICRO PLC’ happens in the hard-
for PROFINET ware catalog with the following approach:
1. Go to the service area of www.vipa.com.
2. Load from the download area at ‘Config files è PROFINET’ the according file for
your System MICRO.
3. Extract the file into your working directory.
4. Start the Siemens TIA Portal.
5. Close all the projects.
6. Switch to the Project view.
7. Select ‘Options è Install general station description file (GSD)’.
8. Navigate to your working directory and install the according GSDML file.
ð After the installation the hardware catalog is refreshed and the Siemens TIA
Portal is finished.
After restarting the Siemens TIA Portal the according PROFINET IO device can
be found at Other field devices > PROFINET > IO > VIPA ... > VIPA Micro
System.
Thus, the VIPA components can be displayed, you have to deactivate the
"Filter" of the hardware catalog.
Configuration CPU With the Siemens TIA Portal, the CPU from VIPA is to be configured as CPU 314C-2
PN/DP (314-6EH04-0AB0 V3.3) from Siemens.
1. Start the Siemens TIA Portal.
2. Create a new project in the Portal view with ‘Create new project’ .
3. Switch to the Project view.
4. Click in the Project tree at ‘Add new device’ .
5. Select the following CPU in the input dialog:
SIMATIC S7-300 > CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3)
ð The CPU is inserted with a profile rail.
Device overview:
...
Setting standard CPU Since the CPU from VIPA is configured as Siemens CPU, so the setting of the non- VIPA
parameters specific parameters takes place via the Siemens CPU. For parametrization click in the
Project arearespectively in the Device overview at the CPU part. Then the parameters of
the CPU part are shown in the Properties dialog. Here you can make your parameter set-
tings. Ä Chap. 4.8 ‘Setting standard CPU parameters’ page 77
5. Select in the Network view the IO device ‘VIPA MICRO PLC’ and switch to the
Device overview.
ð In the Device overview of the PROFINET IO device ‘VIPA MICRO PLC’ the
CPU is already placed at slot 0. From slot 1 you can place your Extension
module.
Setting VIPA specific CPU For parametrization click at the CPU at slot 0 in the Device overview of the PROFINET IO
parameters device ‘VIPA MICRO PLC’ . Then the parameters of the CPU part are shown in the Prop-
erties dialog. Here you can make your parameter settings. Ä Chap. 4.9 ‘Setting VIPA
specific CPU parameters’ page 82
The CPU has an integrated Ethernet PG/OP channel. This channel allows you to pro-
gram and remote control your CPU.
n The Ethernet PG/OP channel (X3/X4) is designed as switch. This enables PG/OP
communication via the connections X3 and X4.
n Configurable connections are possible.
n DHCP respectively the assignment of the network configuration with a DHCP server
is supported.
n Default diagnostics addresses: 2025 ... 2040
n Via the Ethernet PG/OP channel, you have access to:
– Device website, where you can find information on firmware status, connected
peripherals, current cycle times, etc.
– OPC UA project, which is to be created in the OPC UA Configurator.
– WebVisu project, which is to be created in the SPEED7 Studio.
– PROFINET IO controller or the PROFINET I-Device.
Assembly and commis- 1. Install your System MICRO with your CPU.
sioning
2. Wire the system by connecting cables for voltage supply and signals.
3. Connect the one of the Ethernet jacks (X3, X4) of the Ethernet PG/OP channel to
Ethernet.
4. Switch on the power supply.
ð After a short boot time the CP is ready for communication. It possibly has no IP
address data and requires an initialization.
"Initialization" The assignment of IP address data takes place via the MAC address. The IP address of
your Ethernet PG/OP channel for the interfaces X3 and X4 can be found on the front of
your CPU with the name "MAC PG/OP: ...".
X3 PG/OP
X4 PG/OP
"Initialization" The assignment of the IP address data happens online in the Siemens TIA Portal with the
following proceeding:
1. Start the Siemens TIA Portal.
2. Switch to the ‘Project view’ .
3. Click in the ‘Project tree’ at ‘Online access’ and choose here by a doubleclick your
network card, which is connected to the Ethernet PG/OP channel.
4. To get the stations and their MAC address, use the ‘Accessible device’ . This can
be found at the front of the CPU labelled as "MAC PG/OP: ...".
5. Choose from the list the module with the known MAC address (Onboard PG/OP
[MAC address]) and open with "Online & Diagnostics" the diagnostics dialog in the
Project area.
6. Navigate to Functions > Assign IP address. Type in the IP configuration like IP
address, subnet mask and gateway.
7. Confirm with [Assign IP configuration].
ð Directly after the assignment the Ethernet PG/OP channel is online reachable
using the set IP address data. The value remains as long as it is reassigned, it
is overwritten by a hardware configuration or an factory reset is executed.
Due to the system you may get a message that the IP address could not
be assigned. This message can be ignored.
CAUTION!
Please configure the diagnostic addresses of the CP343-1EX30 for
‘PN-IO’ , ‘Port1’ and ‘Port2’ so that no overlaps occur in the
periphery input area. Otherwise your CPU can not start-up and you
receive the diagnostic entry 0xE904. Address overlaps are not rec-
ognized in the Siemens TIA Portal.
4. Open the ‘Property’ dialog by clicking on the CP 343-1EX30 and enter for the CP
at ‘Properties’ at ‘Ethernet address’ the IP address data and subnet, which you
have assigned before. The IP address data are not accepted without subnet assign-
ment!
5. Transfer your project.
Device overview
Parametrization To provide specific addressing of the installed peripheral modules, certain addresses
must be allocated in the CPU. For parametrization click in the Device overview at the
module you want to parametrize. Then the parameters of the module are shown in the
Properties dialog. Here you can make your parameter settings.
Range of functions
Please regard that the PROFINET IO controller supports only the
PROFINET functions, which are described in this manual, even if the Sie-
mens CPU, which is used for configuration, offers further functions! To
use some described PROFINET functions, it is necessary to deploy
another Siemens CPU for configuration. Here, however, is pointed to
explicitly.
With the Siemens TIA Portal, the VIPA CPU M13-CCF0000 is to be con-
figured as
CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3)!
Assign IP address param- This function is supported only if the PROFINET IO controller is not yet configured. You
eters get valid IP address parameters from your system administrator. The assignment of the
IP address data happens online in the Siemens TIA Portal with the following proceeding:
1. Start the Siemens TIA Portal.
2. Switch to the ‘Project view’ .
3. Click in the ‘Project tree’ at ‘Online access’ and choose here by a doubleclick your
network card, which is connected to the PROFINET interface.
4. To get the stations and their MAC address, use the ‘Accessible device’ . This can
be found at the front of the CPU labelled as "MAC ETH: ...".
5. Choose from the list the module with the known MAC address and open with
"Online & Diagnostics" the diagnostics dialog in the Project area.
6. Navigate to Functions > Assign IP address. Type in the IP configuration like IP
address, subnet mask and gateway.
7. Confirm with [Assign IP configuration].
ð Directly after the assignment the PROFINET IO controller is online reachable
using the set IP address data. The hardware configuration allows you to transfer
the IP address data to your project. Ä Chap. 13.3 ‘TIA Portal - Hardware config-
uration - CPU’ page 300
Proceeding
1. For parametrization click in the Project area at the CPU part.
2. Click on ‘PROFINET interface’ in the Device overview.
ð The parameters of the PROFINET interface are listed in the properties dialog.
Device overview
Port interconnection These parameters serve for the port setting of the topology.
Port options These parameters serve for the port setting. Here the following parameters are sup-
ported:
n Connection
– Here you can make settings for transmission medium and type. Ensure that the
setting for the local port and the partner port are identical.
– PROFINET requires 100Mbps in duplex mode.
n Boundaries
– Boundaries are limitations for the transfer of certain Ethernet frames. The fol-
lowing Boundaries are supported:
‘End of detection of accessible nodes’ : DCP frames for detecting accessible
nodes are not forwarded. When enabled, participants which are lying behind this
port, are no longer recognized and can not be reached by the controller.
‘End of topology discovery’ : When activated, this port does not support topology
detection, i.e. the LLDP telegrams are not forwarded.
Thus, the VIPA components can be shown, you have to deactivate the
"Filter" of the hardware catalog.
Configure IO devices Now the project engineering of the PROFINET IO controller is finished. Please link up
now your IO devices with periphery to your IO controller.
1. For the project engineering of the PROFINET IO device you search the concerning
PROFINET IO device in the hardware catalog at PROFINET-IO and drag&drop it in
the subnet of your IO controller.
2. Assign a name to the IO device. The configured name must match the name of the
device. Information about setting the device name can be found in the manual of
the IO device.
3. Enter a valid IP address. The IP address is normally assigned automatically by the
hardware configurator. If this is not desired, you can assign the IP address man-
ually.
4. Link up the modules of your IO device in the plugged sequence and add the
addresses that should be used by the modules.
5. If needed, parametrize the modules.
6. Save, compile and transfer your project. Ä Chap. 13.10 ‘TIA Portal - Project
transfer’ page 321
Device overview
Steps of configuration The configuration of the PROFIBUS DP slave should be done with the following
approach:
n Activating bus functionality by means of a VSC
n Hardware configuration - CPU
n Use as DP slave
– With activating the bus functionality ‘PROFIBUS DP slave’ by means of a VSC,
the bus functionality ‘PROFIBUS DP slave’ is unlocked.
n Transfer of the entire project to the CPU
With the Siemens TIA Portal, the CPU M13-CCF0000 from VIPA is to be
configured as
CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3)
The PROFIBUS DP slave is to be configured and connected via the sub
module X1 (MPI/DP).
Enable PROFIBUS func- The activation of the PROFIBUS functionality of the extension module EM M09 happens
tionality with the following proceeding:
1. Turn off the power supply.
1 RS485 interface
2 Periphery
Never connect the cable shield and the M5V (pin 5) together, since the
interfaces could be destroyed!
Status indication
X2 MPI(PB) Description
DE
green n Slave is in DE (data exchange).
n Slave exchanges data with the master.
n Slave is in RUN state
green blinking n Slave CPU is in state start-up.
n Slave-CPU is without master.
n There is no power supply.
n Slave has no configuration.
Configuration of the 1. Start the Siemens TIA Portal and configure a CPU.
master part
2. Designate the station as "... DP master".
3. Integrate the modules according to the hardware configuration of the master
system.
4. Select the PROFIBUS interface of the master CPU and select ‘Context menu
è Properties’.
ð The ‘Properties’ dialog is shown.
5. Set at interface: Type "PROFIBUS".
6. Connect to PROFIBUS and preset an address (e.g. 2).
7. Switch at Operating mode to "DP master".
Configuration of the slave 1. Configure a Siemens CPU 314C-2 PN/DP (314-6EH04-0AB0 V3.3) as another CPU
part Ä Chap. 13.3 ‘TIA Portal - Hardware configuration - CPU’ page 300
2. Designate the station as "... DP slave".
3. Integrate your modules according to your hardware configuration.
4. Select the PROFIBUS interface of your CPU and select ‘Context menu
è Properties’.
ð The ‘Properties’ dialog is shown.
5. Set at interface: Type "PROFIBUS".
6. Connect to PROFIBUS and preset an address (e.g. 3).
7. Switch at ‘Operating mode’ to "DP slave".
8. Under ‘Assigned DP master’ , select your master system.
9. Use ‘Transfer area’ to define the I/O address areas of the slave CPU that are to be
assigned to the DP slave.
10. Save, translate and transfer the respective project into the corresponding master or
slave CPU.
Unzip ...TIA_Vxx.zip Start your un-zip application with a double click on the file TIA_Vxx.zip and copy all the
files and folders in a work directory for the Siemens TIA Portal.
Open library and transfer 1. Start the Siemens TIA Portal with your project.
blocks into the project
2. Switch to the Project view.
3. Choose "Libraries" from the task cards on the right side.
4. Click at "Global libraries".
5. Click at "Open global libraries".
6. Navigate to your directory and load the file ...TIA.alxx.
7. Copy the necessary blocks from the library into the "Program blocks" of the Project
tree of your project. Now you have access to the VIPA specific blocks via your user
application.
Initialization So that you may the according Ethernet interface, you have to assign IP address parame-
ters by means of the "initialization". Ä Chap. 13.4 ‘TIA Portal - Hardware configuration -
Ethernet PG/OP channel’ page 303
Please consider to use the same IP address data in your project for the CP 343-1.
Transfer 1. For the transfer, connect, if not already done, the appropriate Ethernet jack to your
Ethernet.
2. Open your project with the Siemens TIA Portal.
3. Click in the Project tree at Online access and choose here by a double-click your
network card, which is connected to the Ethernet PG/OP interface.
4. Select in the Project tree your CPU and click at [Go online].
5. Set the access path by selecting "PN/IE" as type of interface, your network card and
the according subnet. Then a net scan is established and the corresponding station
is listed.
6. Establish with [Connect] a connection.
7. Click to ‘Online è Download to device’.
ð The according block is compiled and by a request transferred to the target
device. Provided that no new hardware configuration is transferred to the CPU,
the entered Ethernet connection is permanently stored in the project as transfer
channel.
4. Copy the wld file at a suited memory card. Plug this into your CPU and start it
again.
ð The transfer of the application program from the memory card into the CPU
takes place depending on the file name after an overall reset or PowerON.
S7PROG.WLD is read from the memory card after overall reset.
AUTOLOAD.WLD is read from the memory card after PowerON.
The flickering of the yellow LED of the status bar of the CPU
marks the active transfer. Please regard that your user memory serves for
enough space for your user program, otherwise your user program is not com-
pletely loaded and the red LED of the status bar lights up.
Net structure The structure of a MPI net is electrically identical with the structure of a PROFIBUS net.
This means the same rules are valid and you use the same components for the build-up.
The single participants are connected with each other via bus interface plugs and
PROFIBUS cables. Per default the MPI net runs with 187.5kbaud. VIPA CPUs are deliv-
ered with MPI address 2.
Terminating resistor A cable has to be terminated with its surge impedance. For this you switch on the termi-
nating resistor at the first and the last participant of a network or a segment. Please make
sure that the participants with the activated terminating resistors are always power sup-
plied. Otherwise it may cause interferences on the bus.
Proceeding enabling the A hardware configuration to enable the MPI interface is not necessary. By installing the
interface extension module EM M09 the MPI interface is enabled.
1. Turn off the power supply.
Proceeding transfer via Currently the VIPA programming cables for transfer via MPI are not supported. This is
MPI interface only possible with the programming cable from Siemens. The cables provide a RS232
res. USB plug for the PC and a bus enabled RS485 plug for the CPU. Due to the RS485
connection you may plug the MPI programming cables directly to an already plugged plug
on the RS485 jack. Every bus participant identifies itself at the bus with an unique
address, in the course of the address 0 is reserved for programming devices.
1. Establish a connection to your extension module via MPI with an appropriate pro-
gramming cable. Information may be found in the corresponding documentation of
the programming cable.
2. Start the Siemens TIA Portal with your project.
3. Select in the Project tree your CPU and choose ‘Context menu
è Download to device è Hardware configuration’ to transfer the hardware configu-
ration.
4. To transfer the PLC program choose ‘Context menu è Download to device
è Software’. Due to the system you have to transfer hardware configuration and
PLC program separately.
Appendix
Content
Event ID Description
0x115C Manufacture interrupt (OB 57) for EtherCAT
OB: OB number
ZINFO1: Input / Output address
ZINFO2: Interrupt type
0: Reserved
1: Diagnostic interrupt (incoming)
2: Process interrupt
3: Pull interrupt
4: Plug interrupt
5: Status interrupt
6: Update interrupt
7: Redundancy interrupt
8: Controlled by the supervisor
9: Enabled
10: Wrong sub module plugged
11: Recovery of the sub module
12: Diagnostic interrupt (outgoing)
13: Cross traffic connection message
14: Neighbourhood change message
15: Synchronisation message (bus)
16: Synchronisation message (device)
17: Network component message
18: Clock synchronisation message (bus)
31: Pull interrupt component
32: Vendor-specific interrupt min.
33: Vendor-specific interrupt topology change
127: Vendor-specific interrupt max.
ZINFO3: CoE error code
DatID: Input
DatID: Output
0x38D0 Bus recovery
0: OB
PK: Priority class
ZINFO1: Logical address of the IO system
ZINFO2: Logical address of the virtual device
Event ID Description
ZINFO3 - Position 0: Station number
ZINFO3 - Position 11: IO system ID
ZINFO3 - Bit 15: System ID DP/PN
0x38D1 Bus recovery, but expected configuration does not match actual configuration
0: OB
PK: Priority class
ZINFO1: Logical address of the IO system
ZINFO2: Logical address of the virtual device
ZINFO3 - Position 0: Station number
ZINFO3 - Position 11: IO system ID
ZINFO3 - Bit 15: System ID DP/PN
0x39D0 Bus failure
OB: OB number
PK: Priority class
ZINFO1: Logical address of the IO system
ZINFO2: Logical address of the virtual device
ZINFO3 - Position 0: Station number
ZINFO3 - Position 11: IO system ID
ZINFO3 - Bit 15: System ID DP/PN
0x454B STOP: Maximum number of time-outs of a synchronous OB reached
OB: CPU mode
PK:
ZINFO1: ZInfo1
ZINFO2: ZInfo2
ZINFO3: ZInfo3
DatID: Block type
0x49CA PROFINET IO system failure (Watchdog)
0: OB
1: Cyclic program (OB 1)
16: Time of day interrupt OB (OB 16)
17: Time of day interrupt OB (OB 17)
32: Cyclic interrupt OB (OB 32)
33: Cyclic interrupt OB (OB 33)
34: Cyclic interrupt OB (OB 34)
35: Cyclic interrupt OB (OB 35)
36: Cyclic interrupt OB (OB 36)
37: Cyclic interrupt OB (OB 37)
38: Cyclic interrupt OB (OB 38)
Event ID Description
64: Synchronous cycle interrupt (OB 64)
65: Synchronous technology interrupt (OB 65)
80: Time error OB (OB 80)
81: Power supply error OB (OB 81)
82: Diagnostic interrupt OB (OB 82)
83: Plug/Pull OB (OB 83)
85: Program sequence error OB (OB 85)
86: Component rack failure OB (OB 86)
PK: Priority class
ZINFO1: Logical address of the IO system
ZINFO2: Interrupt reason
0: Unknown
1: Alarm overflow
2: Message box overflow
3: Cyclic data not in bus cycle
4: Application bus cycle error
5: Watchdog
6: Error handler
7: Time-out when receiving cyclic data
8: No not-IO-task available
ZINFO3 - Position 0: Station number
ZINFO3 - Position 11: IO system ID
ZINFO3 - Bit 15: System ID DP/PN
0xE003 Error in access to periphery
ZINFO1: Transfer type
ZINFO2: Periphery address
ZINFO3: Slot
0xE004 Multiple configuration of a periphery address
ZINFO1: Periphery address
ZINFO2: Slot
0xE005 Internal error - Please contact the hotline!
ZINFO1: Not user relevant
ZINFO2: Not user relevant
ZINFO3: Not user relevant
0xE007 Configured input/output bytes do not fit in the periphery area
0xE008 Internal error - Please contact the hotline!
0xE009 Error on accessing the standard backplane bus
0xE010 Non-defined component recognised at the standard backplane bus
Event ID Description
ZINFO2: Slot
ZINFO3: Type identifier
0xE011 Master project engineering at slave CPU not possible or wrong slave configuration
0xE012 Error at configuration standard backplane bus
0xE013 Error at shift register access to standard backplane bus digital modules
0xE014 Error in Check_Sys
0xE015 Error in access to master
ZINFO2: Slot of the master
ZINFO2: Page frame master
0xE016 Maximum block size exceeded in master transfer
ZINFO1: Periphery address
ZINFO2: Slot
0xE017 Error in access to integrated slave
0xE018 Error in mapping the master periphery
0xE019 Error on standard backplane bus system detection
0xE01A Error at detection of the operating mode (8/9 bit)
0xE01B Error: Maximum number of plug-in components exceeded
0xE020 Error: Interrupt information undefined
ZINFO1: Rack/Slot
ZINFO3: Error type
4: Rack/Slot (in ZINFO1) undefined
5: Alarm type (in DatID) undefined
DatID: Interrupt type
0xE030 Error of the standard backplane bus
0xE033 Internal error - Please contact the hotline!
0xE0B0 SPEED7 is not stoppable
ZINFO1: Not user relevant
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xE0C0 Not enough memory space in the working memory for code block (block too large)
0xE0CB Error on SSL access
ZINFO1: Error
4: SSL wrong
5: Sub-SSL wrong
6: Index wrong
ZINFO2: SZL-ID
ZINFO3: Index
Event ID Description
0xE0CC Communication error
ZINFO1: Error code
1: Wrong priority
2: Buffer overrun
3: Telegram format error
4: Wrong SSL request (SSL-ID invalid)
5: Wrong SSL request (SSL-Sub-ID invalid)
6: Wrong SSL request (SSL-Index invalid)
7: Wrong value
8: Wrong return value
9: Wrong SAP
10: Wrong connection type
11: Wrong sequence number
12: Faulty block number in the telegram
13: Faulty block type in the telegram
14: Inactive function
15: Wrong size in the telegram
20: Error in writing on MMC
90: Faulty buffer size
98: Unknown error
99: Internal error
0xE0CD Error at DP-V1 job management
ZINFO1: Not user relevant
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xE0CE Error: Time out when sending I-Slave diagnostics
0xE100 Memory card access error
0xE101 Memory card error file system
0xE102 Memory card error FAT
0xE104 Memory card error at saving
ZINFO3: Not user relevant
0xE200 Memory card writing finished (Copy Ram2Rom)
OB: Not user relevant
PK: Not user relevant
0xE210 Memory card reading finished (reload after memory reset)
OB: Not user relevant
PK: Not user relevant
Event ID Description
ZINFO1 - Position 0: Not user relevant
0xE21D Memory card reading: Error on reload (after memory reset), error in the block header
ZINFO1: Block type
56: OB
65: DB
66: SDB
67: FC
68: SFC
69: FB
70: SFB
97: VDB
98: VSDB
99: VFC
100: VSFC
101: VFB
102: VSFB
111: VOB
ZINFO2: Block number
ZINFO3: Block length
0xE21E Memory card reading: Error in recharging (after memory reset), "Protect.wld" file too large
OB: Not user relevant
0xE21F Memory card reading: Error at reload (after memory reset), checksum error when reading
OB: Not user relevant
PK: Not user relevant
ZINFO1: Not user relevant
ZINFO2: Block type
56: OB
65: DB
66: SDB
67: FC
68: SFC
69: FB
70: SFB
97: VDB
98: VSDB
99: VFC
100: VSFC
101: VFB
Event ID Description
102: VSFB
111: VOB
ZINFO3: Block number
0xE300 Internal flash writing completed (copy Ram2Rom)
0xE310 Internal flash reading completed (recharging after battery failure)
0xE400 FSC card was plugged
OB: FSC activated from this slot (PK)
OB: The inserted FSC is the activated FSC
OB: The inserted FSC is compatible with the CPU
PK: FSC source
0: CPU
1: Card
ZINFO1: FSC(CRC)
1146: 955-C000070
1736: 955-C0NE040
2568: FSC-C0ME040
3450: 955-C000M30
3903: 955-C000S30
4361: FSC-C000M30
4940: FSC-C000S30
5755: 955-C0ME040
6843: FSC-C0NE040
8561: FSC-C000S20
9012: FSC-C000M20
13895: 955-C000060
15618: 955-C000S20
16199: 955-C000M20
17675: FSC-C000S00
18254: FSC-C000M00
20046: FSC-C000040
21053: 955-C000040
22904: 955-C000S00
23357: 955-C000M00
24576: 955-C000050
35025: 955-C00MC10
36351: FSC-C000S40
36794: FSC-C000M40
37260: 955-C000S40
Event ID Description
37833: 955-C000M40
38050: FSC-C00MC10
41460: 955-C000M50
41526: 955-C0PE040
42655: FSC-C00MC00
47852: 955-C00MC00
48709: FSC-C0PE040
50574: 955-C000M70
52366: 955-C000030
53501: FSC-C000030
58048: FSC-C000020
63411: 955-C000M60
65203: 955-C000020
ZINFO2: FSC serial number (high word)
ZINFO3: FSC serial number (low word)
0xE401 FSC card was removed
OB: Action after the end of the trial time
0: No action
1: CPU STOP
2: CPU STOP and FSC deactivated
3: Factory reset
255: FSC was not activated
PK: FSC source
0: CPU
1: Card
ZINFO1: FSC(CRC)
1146: 955-C000070
1736: 955-C0NE040
2568: FSC-C0ME040
3450: 955-C000M30
3903: 955-C000S30
4361: FSC-C000M30
4940: FSC-C000S30
5755: 955-C0ME040
6843: FSC-C0NE040
8561: FSC-C000S20
9012: FSC-C000M20
13895: 955-C000060
Event ID Description
15618: 955-C000S20
16199: 955-C000M20
17675: FSC-C000S00
18254: FSC-C000M00
20046: FSC-C000040
21053: 955-C000040
22904: 955-C000S00
23357: 955-C000M00
24576: 955-C000050
35025: 955-C00MC10
36351: FSC-C000S40
36794: FSC-C000M40
37260: 955-C000S40
37833: 955-C000M40
38050: FSC-C00MC10
41460: 955-C000M50
41526: 955-C0PE040
42655: FSC-C00MC00
47852: 955-C00MC00
48709: FSC-C0PE040
50574: 955-C000M70
52366: 955-C000030
53501: FSC-C000030
58048: FSC-C000020
63411: 955-C000M60
65203: 955-C000020
ZINFO2: FSC serial number (high word)
ZINFO3: FSC serial number (low word)
DatID: FeatureSet Trialtime in minutes
0xE402 A configured functionality is not activated. The configuration is accepted, but the PLC can not go to RUN.
ZINFO1: Required FSC: PROFIBUS
ZINFO1: Required FSC: MOTION
ZINFO2: Number of released axes
ZINFO3: Number of configured axes
0xE403 FSC can not be activated in this CPU
OB: FCS error code
PK: FSC source
0: CPU
Event ID Description
1: Card
ZINFO1: FSC(CRC)
1146: 955-C000070
1736: 955-C0NE040
2568: FSC-C0ME040
3450: 955-C000M30
3903: 955-C000S30
4361: FSC-C000M30
4940: FSC-C000S30
5755: 955-C0ME040
6843: FSC-C0NE040
8561: FSC-C000S20
9012: FSC-C000M20
13895: 955-C000060
15618: 955-C000S20
16199: 955-C000M20
17675: FSC-C000S00
18254: FSC-C000M00
20046: FSC-C000040
21053: 955-C000040
22904: 955-C000S00
23357: 955-C000M00
24576: 955-C000050
35025: 955-C00MC10
36351: FSC-C000S40
36794: FSC-C000M40
37260: 955-C000S40
37833: 955-C000M40
38050: FSC-C00MC10
41460: 955-C000M50
41526: 955-C0PE040
42655: FSC-C00MC00
47852: 955-C00MC00
48709: FSC-C0PE040
50574: 955-C000M70
52366: 955-C000030
53501: FSC-C000030
58048: FSC-C000020
Event ID Description
63411: 955-C000M60
65203: 955-C000020
ZINFO2: FSC serial number (high word)
ZINFO3: FSC serial number (low word)
0xE404 Feature set deleted due to CRC error
0xE405 The trial time of a feature set/memory card has expired
OB: Action after the end of the trial time
0: No action
1: CPU STOP
2: CPU STOP and FSC deactivated
3: Factory reset
255: FSC was not activated
PK: FSC source
0: CPU
1: Card
ZINFO1: FSC(CRC)
1146: 955-C000070
1736: 955-C0NE040
2568: FSC-C0ME040
3450: 955-C000M30
3903: 955-C000S30
4361: FSC-C000M30
4940: FSC-C000S30
5755: 955-C0ME040
6843: FSC-C0NE040
8561: FSC-C000S20
9012: FSC-C000M20
13895: 955-C000060
15618: 955-C000S20
16199: 955-C000M20
17675: FSC-C000S00
18254: FSC-C000M00
20046: FSC-C000040
21053: 955-C000040
22904: 955-C000S00
23357: 955-C000M00
24576: 955-C000050
35025: 955-C00MC10
Event ID Description
36351: FSC-C000S40
36794: FSC-C000M40
37260: 955-C000S40
37833: 955-C000M40
38050: FSC-C00MC10
41460: 955-C000M50
41526: 955-C0PE040
42655: FSC-C00MC00
47852: 955-C00MC00
48709: FSC-C0PE040
50574: 955-C000M70
52366: 955-C000030
53501: FSC-C000030
58048: FSC-C000020
63411: 955-C000M60
65203: 955-C000020
ZINFO2: FSC serial number (high word)
ZINFO3: FSC serial number (low word)
DatID: FeatureSet Trialtime in minutes
0xE406 The inserted feature set is corrupt
PK: FSC source
0: CPU
1: Card
0xE410 A CPU feature set was activated
PK: FSC source
0: CPU
1: Card
ZINFO1: FSC(CRC)
1146: 955-C000070
1736: 955-C0NE040
2568: FSC-C0ME040
3450: 955-C000M30
3903: 955-C000S30
4361: FSC-C000M30
4940: FSC-C000S30
5755: 955-C0ME040
6843: FSC-C0NE040
8561: FSC-C000S20
Event ID Description
9012: FSC-C000M20
13895: 955-C000060
15618: 955-C000S20
16199: 955-C000M20
17675: FSC-C000S00
18254: FSC-C000M00
20046: FSC-C000040
21053: 955-C000040
22904: 955-C000S00
23357: 955-C000M00
24576: 955-C000050
35025: 955-C00MC10
36351: FSC-C000S40
36794: FSC-C000M40
37260: 955-C000S40
37833: 955-C000M40
38050: FSC-C00MC10
41460: 955-C000M50
41526: 955-C0PE040
42655: FSC-C00MC00
47852: 955-C00MC00
48709: FSC-C0PE040
50574: 955-C000M70
52366: 955-C000030
53501: FSC-C000030
58048: FSC-C000020
63411: 955-C000M60
65203: 955-C000020
ZINFO2: FSC serial number (high word)
ZINFO3: FSC serial number (low word)
0xE500 Memory management: Deleted block without corresponding entry in BstList
ZINFO2: Block type
56: OB
65: DB
66: SDB
67: FC
68: SFC
69: FB
Event ID Description
70: SFB
97: VDB
98: VSDB
99: VFC
100: VSFC
101: VFB
102: VSFB
111: VOB
ZINFO3: Block number
0xE501 Parser error
ZINFO1: Error code
1: Parser error: SDB structure
2: Parser error: SDB is not a valid SDB type
ZINFO2: SDB type
ZINFO3: SDB number
0xE502 Invalid block type in protect.wld (block was not loaded)
ZINFO2: Block type
56: OB
65: DB
66: SDB
67: FC
68: SFC
69: FB
70: SFB
97: VDB
98: VSDB
99: VFC
100: VSFC
101: VFB
102: VSFB
111: VOB
ZINFO3: Block number
0xE503 Inconsistency of code sizes and block sizes in the working memory
ZINFO1: Code size
ZINFO2: Block size (high word)
ZINFO3: Block size (low word)
0xE504 Additional information for CRC error in the working memory
ZINFO2: Block address (high word)
Event ID Description
ZINFO3: Block address (low word)
0xE505 Internal error - Please contact the hotline!
ZINFO1: Cause for MemDump
0: Unknown
1: Manual request
2: Invalid OP value
3: CRC code error
4: Processor exception
5: Processor exception with dump after reboot
6: Block-CRC error
0xE604 Multiple configuration of a periphery address for Ethernet PG/OP channel
ZINFO1: Periphery address
ZINFO3: 0: periphery address is input, 1: periphery address is output
0xE605 Too many productive connections configured
ZINFO1: Interface slot
ZINFO2: Number of configured connections
ZINFO3: Number of admissible connections
0xE610 On-board PROFIBUS/MPI: Bus error removed
PK: Not user relevant
ZINFO1: Interface
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xE701 Internal error - Please contact the hotline!
ZINFO1: Not user relevant
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xE703 Internal error - Please contact the hotline!
0: Master system ID
PK: Not user relevant
ZINFO1: Not user relevant
ZINFO2: Slave address
ZINFO3: Not user relevant
DatID: Not user relevant
0xE705 Too many PROFIBUS slaves configured
ZINFO1: Diagnostic address of the PROFIBUS master
ZINFO2: Number of configured slaves
Event ID Description
ZINFO3: Number of admissible slaves
0xE70A PROFIBUS configured, but access way disabled
ZINFO1: Logical base address of the DP master
ZINFO2 - Position 8: DP master system ID
0xE710 On-board PROFIBUS/MPI: Bus error occurred
PK: Not user relevant
ZINFO1: Interface
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xE720 Internal error - Please contact the hotline!
ZINFO1: Slave no
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Master system ID
0xE721 Internal error - Please contact the hotline!
PK: Error code
1: Error when assigning diagnostic address for slave (no. in ZINFO3)
2: Error when assigning diagnostic address for master
3: Error when assigning logical address when de/activating for slave (no. in ZINFO3)
4: Error when assigning slots for slave (no. in ZINFO3)
5: Error in DPV1 configuration (inputs) for slave (no. in ZINFO3)
6: Error in DPV1 configuration (outputs) for slave (no. in ZINFO3)
7: SubnetID for master (in ZINFO2) invalid
8: Slave (no. in ZINFO3) could not be configured (CFG length in OB)
ZINFO1: Not user relevant
ZINFO2: Master system ID
ZINFO3: Not user relevant
DatID: Not user relevant
0xE722 Internal error - Please contact the hotline!
ZINFO1: Channel-Event
0: Channel offline
1: Bus error
2: Internal error
ZINFO2: Master system ID
DatID: Not user relevant
0xE723 Internal error - Please contact the hotline!
ZINFO1: Error code
Event ID Description
1: Parameter error
2: Configuration error
ZINFO2: Master system ID
DatID: Not user relevant
0xE780 Error in configuration of a process image
ZINFO1: Not user relevant
ZINFO2: Logical address
ZINFO3: IO Flag
0xE781 Address range exceeds process image limit
ZINFO1: Address
ZINFO2: Length of the address range
ZINFO3: Size of the process image
DatID: Address range
0xE801 CMD - auto command: CMD_START recognized and executed
0xE802 CMD - auto command: CMD_End recognized and executed
0xE803 CMD - auto command: WAIT1SECOND recognized and executed
0xE804 CMD - auto command: WEBPAGE recognized and executed
0xE805 CMD - auto command: LOAD_PROJECT recognized and executed
0xE806 CMD - auto command: SAVE_PROJECT recognized and executed
ZINFO3: Status
0: Error
1: OK
32768: Wrong password
0xE807 CMD - auto command: FACTORY_RESET recognized and executed
0xE808 Internal message
ZINFO2: Not user relevant
ZINFO3: Not user relevant
0xE809 Internal message
ZINFO3: Not user relevant
0xE80A Internal message
ZINFO3: Status
0: OK
65153: File create error
65185: File writing error
65186: Odd address for reading
0xE80B CMD - auto command: DIAGBUF recognized and executed
ZINFO3: Status
0: OK
Event ID Description
65153: File create error
65185: File writing error
65186: Odd address for reading
0xE80C Internal message
ZINFO3: Status
0: OK
65153: File create error
65185: File writing error
65186: Odd address for reading
0xE80D Internal message
0xE80E CMD - auto command: SET_NETWORK recognized and executed
0xE80F Internal message
ZINFO3: Status
0: OK
65153: File create error
65185: File writing error
65186: Odd address for reading
0xE810 Internal message
0xE811 Internal message
0xE812 Internal message
0xE813 Internal message
0xE814 CMD - auto command: SET_MPI_ADDRESS identified
0xE816 CMD - auto command: SAVE_PROJECT recognized but not executed, because the CPU memory is
empty
0xE817 Internal message
ZINFO3: Not user relevant
0xE820 Internal message
0xE821 Internal message
0xE822 Internal message
0xE823 Internal message
0xE824 Internal message
0xE825 Internal message
0xE826 Internal message
0xE827 Internal message
0xE828 Internal message
0xE829 Internal message
0xE82A CMD - auto command: CPUTYPE_318 recognized and executed
ZINFO3: Error code
0xE82B CMD - auto command: CPUTYPE_ORIGINAL recognized and executed
Event ID Description
ZINFO3: Error code
0xE82C CMD - auto command: WEBVISU_PGOP_ENABLE recognized and executed
0xE82D CMD - auto command: WEBVISU_PGOP_DISABLE recognized and executed
0xE82E CMD - auto command: WEBVISU_CP_ENABLE recognized and executed
0xE82F CMD - auto command: WEBVISU_CP_DISABLE recognized and executed
0xE830 CMD - auto command: OPCUA_PGOP_ENABLE recognized and executed
0xE831 CMD - auto command: OPCUA_PGOP_DISABLE recognized and executed
0xE832 CMD - auto command: OPCUA_CP_ENABLE recognized and executed
0xE833 CMD - auto command: OPCUA_CP_DISABLE recognized and executed
0xE8FB CMD - auto command: Error: Initialization of the Ethernet PG/OP channel by means of SET_NETWORK is
faulty
0xE8FC CMD - auto command: Error: Some IP parameters missing in SET_NETWORK
0xE8FE CMD - auto command: Error: CMD_START not found
0xE8FF CMD - auto command: Error while reading CMD file (memory card error)
0xE901 Checksum error
ZINFO1: Not user relevant
ZINFO2: Not user relevant
DatID: Not user relevant
0xE902 Internal error - Please contact the hotline!
ZINFO1: Not user relevant
ZINFO2: Not user relevant
DatID: Not user relevant
0xE904 PG/OP: Multiple parametrization of a peripheral address
ZINFO1: Peripheral address
ZINFO2: Slot
ZINFO3: Data width
DatID: 0x54 Peripheral address is input address
DatID: 0x55 Peripheral address is output address
0xE90A PROFINET configured, but access way disabled
ZINFO1: Logical address of the IO system
ZINFO3: Station number
ZINFO3: IO system ID
ZINFO3: System ID DP/PN
0xE910 PG/OP: Input peripheral address out of peripheral area
ZINFO1: Peripheral address
ZINFO2: Slot
ZINFO3: Data width
0xE911 PG/OP: Output peripheral address out of peripheral area
ZINFO1: Peripheral address
Event ID Description
ZINFO2: Slot
ZINFO3: Data width
0xE920 Configuration error PROFINET
ZINFO1 - Position 0: Error code
1: Double IP/PROFINET configuration in slot 2 and 4
2: PROFINET IO system configured in slot 4
3: Too many PROFINET IO controller configured
4: Virtual device multiple configured
5: EtherCAT devices for PROFINET CP configured
6: PROFINET devices for EtherCAT CP configured
7: PROFINET CP configured at slot 2, although this is not supported
8: A PROFINET IO system (I-Device) must not be configured on the CP on slot 4
9: A PROFINET IO system (controller) must not be configured on the CP on slot 4
0xE980 Error when loading the WebVisu project file
ZINFO1: Platform
0xE981 Error in the configuration of the WebVisu project
ZINFO1: Platform
0xE982 Internal error of the WebVisu server
ZINFO1: Platform
0xE983 Hardware configuration of the control is not loaded, WebVisu is not started
ZINFO1: Platform
0xE984 WebVisu is blocked by the user, start of the WebVisu was prevented
ZINFO1: Platform
0xE985 WebVisu was started
ZINFO1: Platform
0xE986 WebVisu was stopped
ZINFO1: Platform
0xE987 WebVisu was enabled by the user
ZINFO1: Platform
0xE988 WebVisu was disabled by the user
ZINFO1: Platform
0xE989 WebVisu and OPC UA project not allowed at the same time
ZINFO1: Platform
0xE9A0 Error when loading the OPC UA project file
ZINFO1: Platform
ZINFO3 - Bit 0: Error code
0xE9A1 OPC UA: No FSC enabled
ZINFO1: Platform
Event ID Description
0xE9A2 OPC UA: TAR file invalid
ZINFO1: Platform
ZINFO3: Error code
0xE9A3 OPC UA: Internal error of the OPC UA server
ZINFO1: Platform
ZINFO3: Error code
0xE9A4 OPC UA: Hardware configuration of the control is not loaded, Server is not started
ZINFO1: Platform
0xE9A5 OPC UA blocked by user, start of the server was prevented
ZINFO1: Platform
0xE9A6 OPC UA server was started
ZINFO1: Platform
0xE9A7 OPC UA server was stopped
ZINFO1: Platform
0xE9A8 OPC UA was disabled by the user
ZINFO1: Platform
0xE9A9 OPC UA was enabled by the user
ZINFO1: Platform
0xE9AA OPC UA: Lock by S7 configuration (access settings)
ZINFO1: Platform
0xE9AB OPC UA and WebVisu project not allowed at the same time
ZINFO1: Platform
0xEA00 Internal error - Please contact the hotline!
PK: Not relevant to user
DatID: Not user relevant
0xEA01 Internal error - Please contact the hotline!
PK: Not user relevant
ZINFO1: Slot
DatID: Not user relevant
0xEA02 SBUS: Internal error (internal plugged sub module not recognized)
PK: Not user relevant
ZINFO1: Slot
ZINFO2: Type identifier target
ZINFO3: Type identifier
DatID: Not user relevant
0xEA03 SBUS: Communication error between CPU and IO controller
OB: Operating mode
0: Configuration in operating condition RUN
Event ID Description
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
PK: Not user relevant
ZINFO1: Slot
ZINFO2: Status
0: OK
1: Error
2: Empty
3: Busy
4: Time out
5: Internal blocking
6: Too many telegrams
7: Not Connected
8: Unknown
DatID: Not user relevant
0xEA04 SBUS: Multiple configuration of a periphery address
ZINFO1: Periphery address
ZINFO2: Slot
ZINFO3: Data width
0xEA05 Internal error - Please contact the hotline!
0xEA07 Internal error - Please contact the hotline!
0xEA08 SBUS: Configured input data width not the same as the connected input data width
ZINFO1: Configured input data width
Event ID Description
ZINFO2: Slot
ZINFO3: Input data width of the connected component
0xEA09 SBUS: Configured output data width not the same as the connected output data width
ZINFO1: Configured output data width
ZINFO2: Slot
ZINFO3: Output data width of the plugged component
0xEA0A SBUS: Internal error (internal plugged sub module wrong)
PK: Not user relevant
ZINFO1: Slot
ZINFO2: Type identifier target
3: PROFINET-CPU
4: EtherCAT-CPU
ZINFO3: Type identifier
3: PROFINET-CPU
4: EtherCAT-CPU
DatID: Not user relevant
0xEA10 SBUS: Input periphery address outside the periphery area
ZINFO1: Periphery address
ZINFO2: Slot
ZINFO3: Data width
0xEA11 SBUS: Output periphery address outside the periphery area
ZINFO1: Periphery address
ZINFO2: Slot
ZINFO3: Data width
0xEA12 SBUS: Error in writing dataset
ZINFO1: Slot
ZINFO2: Dataset number
ZINFO3: Dataset length
0xEA14 SBUS: Multiple configuration of a periphery address (diagnostic address)
ZINFO1: Periphery address
ZINFO2: Slot
ZINFO3: Data width
0xEA15 Internal error - Please contact the hotline!
ZINFO2: Slot of the master
0xEA18 SBUS: Error in mapping the master periphery
ZINFO2: Slot of the master
0xEA19 Internal error - Please contact the hotline!
PK: Not user relevant
Event ID Description
ZINFO2: HW slot
ZINFO3: Interface type
DatID: Not user relevant
0xEA1A SBUS: Error in access to SBUS FPGA address table
PK: Not user relevant
ZINFO2: HW slot
ZINFO3: Table
0: Read
1: Writing
DatID: Not user relevant
0xEA20 Error: RS485 interface is not pre-set to PROFIBUS DP master bus a PROFIBUS DP master is configured
0xEA21 Error: Configuration RS485 interface X2/X3: PROFIBUS DP master is configured but missing
ZINFO2: Interface X is configured incorrectly
0xEA22 Error: Configuration RS485 interface X2: Value is outside the limits
ZINFO2: Configuration for X2
0xEA23 Error: Configuration RS485 interface X3: Value is outside the limits
ZINFO2: Configuration for X3
0xEA24 Error: Configuration RS485 interface X2/X3: Interface/protocol missing, default settings are used
ZINFO2: Configuration for X2
ZINFO3: Configuration for X3
0xEA30 Internal error - Please contact the hotline!
ZINFO1: Status
ZINFO2: Not user relevant
ZINFO3: Not user relevant
0xEA40 Internal error - Please contact the hotline!
OB: Slot of the CP
PK: File number
ZINFO1: Version of the CP
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Line
0xEA41 Internal error - Please contact the hotline!
OB: Slot of the CP
PK: File number
ZINFO1: Version of the CP
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Line
Event ID Description
0xEA50 PROFINET IO controller: Error in the configuration
OB: Not user relevant
PK: Not user relevant
ZINFO1: Rack/slot of the controller
ZINFO2: Device number
ZINFO3: Slot at the device
DatID: Not user relevant
0xEA51 PROFINET IO controller: There is no PROFINET IO controller at the configured slot
PK: Not user relevant
ZINFO1: Rack/slot of the controller
ZINFO2: Recognized type identifier at the configured slot
DatID: Not user relevant
0xEA52 PROFINET IO controller: Too many configured PROFINET IO controllers
PK: Not user relevant
ZINFO1: Number of configured controllers
ZINFO2: Slot of the excessively configured controller
DatID: Not user relevant
0xEA53 PROFINET IO controller: Too many configured PROFINET IO devices
ZINFO1: Number of configured devices
ZINFO2: Slot
ZINFO3: Maximum possible number of devices
0xEA54 PROFINET IO controller: Multiple configuration of a periphery address or range too long
0: Error type
0: No error
1: Range too long
2: Input address already used
3: Output address already used
PK: Not user relevant
ZINFO1: Logical address of the IO system
ZINFO2: Rack/slot of the controller
ZINFO3: Base address of the block which is too large
DatID: Not user relevant
0xEA55 PROFINET IO controller: Too many slots or too high slot number configured
ZINFO1: Rack/slot of the controller
ZINFO2: Device number
ZINFO3: Number of configured slots or too high slot number
0xEA56 PROFINET IO controller: Too many subslots or too high sub slot number configured
ZINFO1: Rack/slot of the controller
Event ID Description
ZINFO2: Device number
ZINFO3: Number of configured subslots or too high sub slot number
0xEA57 PROFINET IO controller: The port configuration in the virtual device has no effect.
0xEA61 Internal error - Please contact the hotline!
OB: File number
PK: Slot of the controller
ZINFO1: Firmware major version
ZINFO2: Firmware minor version
DatID: Line
0xEA62 Internal error - Please contact the hotline!
OB: File number.
PK: Slot of the controller
ZINFO1: Firmware major version
ZINFO2: Firmware minor version
DatID: Line
0xEA63 Internal error - Please contact the hotline!
OB: File number
PK: Slot of the controller
ZINFO1: Firmware major version
ZINFO2: Firmware minor version
DatID: Line
0xEA64 PROFINET IO controller/EtherCAT-CP: Error in configuration
PK: Interface
ZINFO1 - Bit 0: Too many devices
ZINFO1 - Bit 1: Too many devices per second
ZINFO1 - Bit 2: Too many input bytes per millisecond
ZINFO1 - Bit 3: Too many output bytes per millisecond
ZINFO1 - Bit 4: Too many input bytes per device
ZINFO1 - Bit 5: Too many output bytes per device
ZINFO1 - Bit 6: Too many productive connections
ZINFO1 - Bit 7: Too many input bytes in the process image
ZINFO1 - Bit 8: Too many output bytes in the process image
ZINFO1 - Bit 9: Configuration not available
ZINFO1 - Bit 10: Configuration invalid
ZINFO1 - Bit 11: Refresh interval too small
ZINFO1 - Bit 12: Refresh interval too large
ZINFO1 - Bit 13: Invalid device number
ZINFO1 - Bit 14: CPU is configured as an I device
Event ID Description
ZINFO1 - Bit 15: Assume IP address in another way. Is not supported for the IP address of the controller.
ZINFO2 - Bit 0: Incompatible configuration (SDB version not supported)
ZINFO2 - Bit 1: EtherCAT: EoE configured but not supported (Possible cause is a too short cycle time of
the EtherCAT master system. When using EoE terminals, at least a cycle time of 4ms must be config-
ured.)
ZINFO2 - Bit 2: DC parameter invalid
ZINFO2 - Bit 3: I device configuration invalid (slot gap)
ZINFO2 - Bit 4: MRP configuration invalid (client)
ZINFO2 - Bit 5: Transfer rate 10 MBit (HD/FD) configured but not supported
0xEA65 Internal error - Please contact the hotline!
PK: Platform
0: none
8: CP
9: Ethernet CP
10: PROFINET CP
12: EtherCAT CP
16: CPU
ZINFO1: ServiceID in which the error occurred
ZINFO2: Command in which the error occurred
1: Request
2: Connect
3: Error
0xEA66 PROFINET IO controller: Error in the communication stack
OB: StackError.Service
PK: Rack/slot
ZINFO1: StackError.Error.Code
ZINFO2: StackError.Error.Detail
ZINFO3 - Position 0: StackError.Error.AdditionalDetail
ZINFO3 - Position 8: StackError.Error.AreaCode
DatID: StackError.DeviceRef
0xEA67 PROFINET IO controller: Error reading dataset
OB: Rack/slot of the controller
PK: Error type
0: Dataset error local
1: Dataset error stack
2: Dataset error station
ZINFO1: Dataset number
ZINFO2: Dataset handle (caller)
ZINFO3: Internal error code from PN stack
Event ID Description
DatID: Device
0xEA68 PROFINET IO controller: Error writing dataset
OB: Rack/slot of the controller
PK: Error type
0: Dataset error local
1: Dataset error stack
2: Dataset error station
ZINFO1: Dataset number
ZINFO2: Dataset handle (caller)
ZINFO3: Internal error code from PN stack
DatID: Device
0xEA69 Internal error - Please contact the hotline!
ZINFO1: Minimum version for the FPGA
ZINFO2: Loaded FPGA version
0xEA6A PROFINET IO controller: Service error in the communication stack
OB: Service ID
PK: Rack/slot
ZINFO1: ServiceError.Code
ZINFO2: ServiceError.Detail
ZINFO3 - Position 0: ServiceError.AdditionalDetail
ZINFO3 - Position 8: ServiceError.AreaCode
0xEA6B PROFINET IO controller: Incorrect Vendor-ID
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
Event ID Description
253: Process image release in STOP
254: Watchdog
255: Not set
PK: Rack/slot
ZINFO1: Device ID
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xEA6C PROFINET IO controller: Incorrect Device-ID
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
PK: Rack/slot
ZINFO1: Device ID
0xEA6D PROFINET IO controller: No empty name
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
Event ID Description
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
PK: Rack/slot
ZINFO1: Device ID
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xEA6E PROFINET IO controller: Wait for RPC response
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
PK: Rack/slot
Event ID Description
ZINFO1: Device ID
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xEA6F PROFINET IO controller: PROFINET module deviation
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
PK: Rack/slot
ZINFO1: Device ID
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xEA70 PROFINET IO controller: PROFINET stack configuration error
OB: UnsupportedApiError.api
PK: Rack/slot
ZINFO1: UnsupportedApiError.slot
ZINFO2: UnsupportedApiError.subslot
DatID: UnsupportedApiError.deviceID
0xEA71 Internal error - Please contact the hotline!
PK: Rack/slot
ZINFO1: functionIndex
Event ID Description
ZINFO2: Not user relevant
0xEA72 Internal error - Please contact the hotline!
OB: Connection number
PK: Slot of the controller
ZINFO1: Error cause
129: PNIO
207: RTA error
218: AlarmAck
219: IODConnectRes
220: IODReleaseRes
221: IOD/IOXControlRes
222: IODReadRes
223: IODWriteRes
ZINFO2: ErrorDecode
128: PNIORW: Service Read Write
129: PNIO: Other Service or internal e.g. RPC errors
130: Vendor specific
ZINFO3: Error code (PN spec. V2.722 chapter 5.2.6)
DatID: Device ID
0xEA81 Internal error - Please contact the hotline!
OB: Not user relevant
PK: Not user relevant
ZINFO1: Filenamehash[0-3]
ZINFO2: Filenamehash[4-7]
ZINFO3: Line
DatID: SvnRevision
0xEA82 Internal error - Please contact the hotline!
OB: Not user relevant
PK: Not user relevant
ZINFO1: Filenamehash[0-3]
ZINFO2: Filenamehash[4-7]
ZINFO3: Line
DatID: SvnRevision
0xEA83 Internal error - Please contact the hotline!
OB: Not user relevant
PK: Not user relevant
ZINFO1: Filenamehash[0-3]
ZINFO2: Filenamehash[4-7]
Event ID Description
ZINFO3: Line
DatID: SvnRevision
0xEA91 Internal error - Please contact the hotline!
OB: Current OB number
PK: Core status
0: INIT
1: STOP
2: READY
3: PAUSE
4: RUN
ZINFO1: Filenamehash[0-3]
ZINFO2: Filenamehash[4-7]
ZINFO3: Line
DatID: Current job number
0xEA92 Internal error - Please contact the hotline!
OB: Current OB number
PK: Core status
0: INIT
1: STOP
2: READY
3: PAUSE
4: RUN
ZINFO1: Filenamehash[0-3]
ZINFO2: Filenamehash[4-7]
ZINFO3: Line
DatID: Current job number
0xEA93 Internal error - Please contact the hotline!
OB: Current OB number
PK: Core status
0: INIT
1: STOP
2: READY
3: PAUSE
4: RUN
ZINFO1: Filenamehash[0-3]
ZINFO2: Filenamehash[4-7]
ZINFO3: Line
DatID: Current job number
Event ID Description
0xEA97 Internal error - Please contact the hotline!
ZINFO3: Slot
0xEA98 Error in file reading via SBUS
PK: Not user relevant
ZINFO3: Slot
DatID: Not user relevant
0xEA99 Parameter assignment job could not be executed
PK: Not user relevant
ZINFO1: File version on MMC/SD (if not 0)
ZINFO2: File version of the SBUS module (if not 0)
ZINFO3: Slot
DatID: Not user relevant
0xEAA0 Internal error - Please contact the hotline!
OB: Current operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
ZINFO1: Diagnostic address of the master
ZINFO2: Not user relevant
ZINFO3: Number of errors which occurred
0xEAB0 Invalid link mode
OB: Current operating mode
0: Configuration in operating condition RUN
Event ID Description
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
ZINFO1: Diagnostic address of the master
ZINFO2: Current connection mode
1: 10Mbit half-duplex
2: 10Mbit full-duplex
3: 100Mbit half-duplex
4: 100Mbit full-duplex
5: Connection mode undefined
6: Auto Negotiation
0xEAC0 Internal error - Please contact the hotline!
ZINFO1: Error code
2: Internal error
3: Internal error
4: Internal error
5: Internal error
6: Internal error
7: Internal error
8: Internal error
8: Internal error
0xEAD0 SyncUnit configuration error
ZINFO1: Status
0xEB02 System error: Preset configuration does not match actual configuration
Event ID Description
ZINFO1: Bit mask slots 1-16
ZINFO2: Bit mask slots 17-32
ZINFO3: Bit mask slots 33-48
DatID: Bit mask slots 49-64
0xEB03 System error: IO mapping
PK: Not user relevant
ZINFO1: Error type
1: SDB parser error
2: Configured address already used
3: Mapping error
ZINFO2: Slot (0=cannot be determined)
DatID: Not user relevant
0xEB04 Bus: Multiple configuration of a periphery address
ZINFO1: Periphery address
ZINFO2: Slot
DatID: Input
DatID: Output
0xEB05 System error: Bus structure for isochronous process image not suitable
PK: Not user relevant
ZINFO2: Slot (0=cannot be determined)
DatID: Not user relevant
0xEB06 System error: Timeout with the isochronous process image
0xEB10 System error: Bus error
PK: Not user relevant
ZINFO1: Error type
96: Bus enumeration error
128: General error
129: Queue execution error
130: Error interrupt
ZINFO2: Error on bus enumeration error (ZINFO1)
DatID: Not user relevant
0xEB11 System error: Error during bus initialization
PK: Not user relevant
DatID: Not user relevant
0xEB15 Bus FMM message
ZINFO1: FMM message
0xEB20 System error: Interrupt information undefined
0xEB21 System error: Accessing configuration data
Event ID Description
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xEC02 EtherCAT: Configuration warning
ZINFO1: Error code
1: Number of slave stations is not supported
2: Master system ID invalid
3: Slot invalid
4: Master configuration invalid
5: Master type invalid
6: Slave diagnostic address invalid
7: Slave address invalid
8: Slave module IO configuration invalid
9: Logical address already in use
10: Internal error
11: IO mapping error
12: Error
13: Error in initialising the EtherCAT stack (is entered by the CP)
14: Slave station number already occupied by virtual device
ZINFO2: Station number
0xEC03 EtherCAT: Configuration error
PK: Not user relevant
ZINFO1: Error code
1: Number of slave stations is not supported
2: Master system ID invalid
3: Slot invalid
4: Master configuration invalid
5: Master type invalid
6: Slave diagnostic address invalid
7: Slave address invalid
8: Slave module IO configuration invalid
9: Logical address already in use
10: Internal error
11: IO mapping error
12: Error
13: Error in initialising the EtherCAT stack (is entered by the CP)
14: Slave station number already occupied by virtual device
ZINFO2: Station number
Event ID Description
ZINFO3: Not user relevant
DatID: Not user relevant
0xEC04 EtherCAT: Multiple configuration of a periphery address
PK: Not user relevant
ZINFO1: Periphery address
ZINFO2: Slot
DatID: Input
DatID: Output
0xEC05 EtherCAT: Check the set DC mode of the YASKAWA Sigma 5/7 drive
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
PK: Not user relevant
ZINFO1: Station address of the EtherCAT device
ZINFO2: Error code
1: WARNING: For the drive the DC Beckhoff mode is recommended (DC reference clock is not in
Beckhoff Mode)!
2: NOTE: For the drive the DC Hilscher mode is recommended (DC reference clock is not in Beckhoff
Mode)!
3: The station address could not be determined for checking (station address in ZINFO1 is accordingly 0)
4: The slave information could not be determined for checking (station address in ZINFO1 is accordingly
0)
5: The EtherCAT status of the drive could not be determined
Event ID Description
6: Error when sending the SDO request (for further information, the (subsequent) event with the ID
0xED60 is to be analysed on the CP)
7: Drive returns error in the SDO response (for further information, the (subsequent) event with the ID
0xED60 is to be analysed on the CP)
8: SDO time out, DC mode could not be determined (for further information, the (subsequent) event with
the ID 0xED60 is to be analysed on the CP)
ZINFO3: Not user relevant
DatID: Not user relevant
0xEC10 EtherCAT: Recovery bus with all slaves
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO1 - Position 8: Previous status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: Diagnostic address of the station
ZINFO3: Number of stations, which are not in the same state as the master
DatID: Station not available
DatID: Station available
DatID: Input address
DatID: Output address
0xEC11 EtherCAT: Recovery bus with missing slaves
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO1 - Position 8: Previous status
0: Undefined/Unkown
1: Init
Event ID Description
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: Diagnostic address of the master
ZINFO3: Number of stations which are not in the same state as the master
DatID: Station not available
DatID: Station available
DatID: Input address
DatID: Output address
0xEC12 EtherCAT: Recovery slave
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO1 - Position 8: Previous status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: Diagnostic address of the station
ZINFO3: AL status code
DatID: Station not available
DatID: Station available
DatID: Input address
DatID: Output address
0xEC30 EtherCAT: Topology OK
ZINFO2: Diagnostic address of the master
0xEC40 Bus cycle time infringement resolved
ZINFO2: Logical address of the IO system
0xEC50 EtherCAT: Distributed clocks (DC) out of sync
OB: Operating mode
0: Configuration in operating condition RUN
Event ID Description
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
ZINFO2: Diagnostic address of the master
ZINFO3: DC state change
0: DC master out of sync
1: DC slave stations out of sync
0xEC80 EtherCAT: Bus error resolved
ZINFO1: Logical address of the IO system
ZINFO3 - Position 0: Station number
ZINFO3 - Position 11: IO system ID
ZINFO3 - Bit 15: System ID DP/PN
0xED10 EtherCAT: Breakdown bus
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO1 - Position 8: Previous status
0: Undefined/Unkown
1: Init
2: PreOp
Event ID Description
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: Diagnostic address of the master
ZINFO3: Number of stations which are not in the same state as the master
DatID: Station available
DatID: Station not available
DatID: Input address
DatID: Output address
0xED12 EtherCAT: Breakdown slave
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO1 - Position 8: Previous status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: Diagnostic address of the station
ZINFO3: AlStatusCode
0: No error
1: Unspecified error
17: Invalid requested status change
18: Unknown requested status
19: Bootstrap not supported
20: No valid firmware
22: Invalid mailbox configuration
23: Invalid sync manager configuration
24: No valid inputs available
25: No valid outputs available
26: Synchronisation error
27: Sync manager watchdog
Event ID Description
28: Invalid sync manager types
29: Invalid output configuration
30: Invalid input configuration
31: Invalid watchdog configuration
32: Slave station needs cold start
33: Slave station needs to be in INIT state
34: Slave station needs to be in PreOp state
35: Slave station needs to be in SafeOp state
45: Invalid output FMMU configuration
46: Invalid input FMMU configuration
48: Invalid DC Sync configuration
49: Invalid DC Latch configuration
50: PLL error
51: Invalid DC IO error
52: Invalid DC time out error
66: Error in acyclic data exchange Ethernet Over EtherCAT
67: Error in acyclic data exchange CAN Over EtherCAT
68: Error in acyclic data exchange Fileaccess Over EtherCAT
69: Error in acyclic data exchange Servo Drive Profile Over EtherCAT
79: Error in acyclic data exchange Vendorspecific Over EtherCAT
DatID: Station not available
DatID: Station available
DatID: Input address
DatID: Output address
0xED20 EtherCAT: Bus state change without calling OB86
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO1 - Position 8: Previous status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
Event ID Description
8: Op
ZINFO2: Diagnostic address of the master
ZINFO3: Number of stations which are not in the same state as the master
DatID: Station not available
DatID: Station available
DatID: Input address
DatID: Output address
0xED21 EtherCAT: Incorrect bus status change
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO1 - Position 8: Previous status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: Diagnostic address of the master
ZINFO3: Error code
4: Cancel (master state change)
8: Busy
11: Invalid parameters
14: Invalid status
16: Time out
DatID: Station available
DatID: Station not available
DatID: Output address
DatID: Input address
0xED22 EtherCAT: Slave status change that does not generate an OB86
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
Event ID Description
3: Bootstrap
4: SafeOp
8: Op
ZINFO1 - Position 8: Previous status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: Diagnostic address of the station
ZINFO3: AlStatusCode
0: No error
1: Unspecified error
17: Invalid requested status change
18: Unknown requested status
19: Bootstrap not supported
20: No valid firmware
22: Invalid mailbox configuration
23: Invalid sync manager configuration
24: No valid inputs available
25: No valid outputs available
26: Synchronisation error
27: Sync manager watchdog
28: Invalid sync manager types
29: Invalid output configuration
30: Invalid input configuration
31: Invalid watchdog configuration
32: Slave station needs cold start
33: Slave station needs to be in INIT state
34: Slave station needs to be in PreOp state
35: Slave station needs to be in SafeOp state
45: Invalid output FMMU configuration
46: Invalid input FMMU configuration
48: Invalid DC Sync configuration
49: Invalid DC Latch configuration
50: PLL error
51: Invalid DC IO error
Event ID Description
52: Invalid DC time out error
66: Error in acyclic data exchange Ethernet Over EtherCAT
67: Error in acyclic data exchange CAN Over EtherCAT
68: Error in acyclic data exchange Fileaccess Over EtherCAT
69: Error in acyclic data exchange Servo Drive Profile Over EtherCAT
79: Error in acyclic data exchange Vendorspecific Over EtherCAT
DatID: Station not available
DatID: Station available
DatID: Input address
DatID: Output address
0xED23 EtherCAT: Time out while changing the master state to OP, after CPU has changed to RUN
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
ZINFO1: Master status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: EtherCAT configuration present
Event ID Description
0: There is no EC configuration
1: There is an EC configuration
ZINFO3: DC in sync
0: Not in sync
1: In sync
0xED30 EtherCAT: Topology deviation
ZINFO2: Diagnostic address of the master
0xED31 EtherCAT: Overflow of the interrupt queue
ZINFO2: Diagnostic address of the master
0xED40 Bus cycle time infringement occurred
ZINFO1: Logical address of the IO system
0xED50 EtherCAT: Distributed clocks (DC) in sync
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
ZINFO2: Diagnostic address of the master
ZINFO3: DC state change
0: Master
1: Slave
0xED60 EtherCAT: Diagnostic buffer CP: Slave status change
OB: Operating mode
0: Configuration in operating condition RUN
Event ID Description
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
ZINFO1 - Position 0: New status
0: Undefined/Unkown
1: Init
2: PreOp
3: Bootstrap
4: SafeOp
8: Op
ZINFO2: Slave address
ZINFO3: AlStatusCode
0: No error
1: Unspecified error
17: Invalid requested status change
18: Unknown requested status
19: Bootstrap not supported
20: No valid firmware
22: Invalid mailbox configuration
23: Invalid sync manager configuration
24: No valid inputs available
25: No valid outputs available
26: Synchronisation error
27: Sync manager watchdog
Event ID Description
28: Invalid sync manager types
29: Invalid output configuration
30: Invalid input configuration
31: Invalid watchdog configuration
32: Slave station needs cold start
33: Slave station needs to be in INIT state
34: Slave station needs to be in PreOp state
35: Slave station needs to be in SafeOp state
45: Invalid output FMMU configuration
46: Invalid input FMMU configuration
48: Invalid DC Sync configuration
49: Invalid DC Latch configuration
50: PLL error
51: Invalid DC IO error
52: Invalid DC time out error
66: Error in acyclic data exchange Ethernet Over EtherCAT
67: Error in acyclic data exchange CAN Over EtherCAT
68: Error in acyclic data exchange Fileaccess Over EtherCAT
69: Error in acyclic data exchange Servo Drive Profile Over EtherCAT
79: Error in acyclic data exchange Vendorspecific Over EtherCAT
DatID: Cause for slave status change
0: Regular slave status change
1: Slave failure
2: Recovery slave
3: Slave is in an error state
4: Slave has unexpectedly changed its status
0xED61 EtherCAT: Diagnostic buffer CP: CoE emergency
OB: EtherCAT station address (high byte)
PK: EtherCAT station address (low byte)
ZINFO1 - Position 0: Error register
ZINFO1 - Position 8: MEF-Byte1
ZINFO2 - Position 0: MEF-Byte2
ZINFO2 - Position 8: MEF-Byte3
ZINFO3 - Position 0: MEF-Byte4
ZINFO3 - Position 8: MEF-Byte5
DatID: Error code
0xED62 EtherCAT: Diagnostic buffer CP: Error on SDO access
OB: EtherCAT station address (high byte)
Event ID Description
PK: EtherCAT station address (low byte)
ZINFO1: Index
ZINFO2: SDO error code (high word)
ZINFO3: SDO error code (low word)
DatID: Sub index
0xED63 EtherCAT: Diagnostic buffer CP: Error in the response to an INIT command
OB: EtherCAT station address (high byte)
PK: EtherCAT station address (low byte)
ZINFO1: Error type
0: Not defined
1: No response
2: Validation error
3: INIT command failed, requested station could not be reached
0xED70 EtherCAT: Diagnostic buffer CP: Twofold hot connect group recognised
OB: Operating mode
0: Configuration in operating condition RUN
1: STOP (update)
2: STOP (memory reset)
3: STOP (auto initialization)
4: STOP (internal)
5: STARTUP (cold start)
6: STARTUP (restart/warm start)
7: STARTUP (hot restart)
9: RUN
10: HALT
11: COUPLING
12: UPDATING
13: DEFECTIVE
14: Error search mode
15: De-energised
253: Process image release in STOP
254: Watchdog
255: Not set
ZINFO1: Diagnostic address of the master
ZINFO2: EtherCAT station address
0xED80 Bus error occurred (receive time-out)
ZINFO1: Logical address of the IO system
ZINFO3 - Position 0: Station number
Event ID Description
ZINFO3 - Position 11: IO system ID
ZINFO3 - Bit 15: System ID DP/PN
0xEE00 Additional information at UNDEF_OPCODE
OB: Not user relevant
ZINFO1: Not user relevant
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xEE01 Internal error - Please contact the hotline!
ZINFO3: SFB number
0xEEEE CPU was completely deleted, since after PowerON the start-up could not be finished
0xEF00 Internal error - Please contact the hotline!
DatID: Not user relevant
0xEF01 Internal error - Please contact the hotline!
ZINFO1: Not user relevant
ZINFO2: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xEF11 Internal error - Please contact the hotline!
0xEF12 Internal error - Please contact the hotline!
0xEF13 Internal error - Please contact the hotline!
0xEFFE Internal error - Please contact the hotline!
PK: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xEFFF Internal error - Please contact the hotline!
PK: Not user relevant
ZINFO3: Not user relevant
DatID: Not user relevant
0xF9C1 Restart of the component
OB: NCM_EVENT
1: OVS: Component start-up request was denied
3: Component data basis invalid
6: IP_CONFIG: New IP address assigned by STEP7 configuration
10: IP_CONFIG: A non-configured new IP address was assigned
13: HW reset at P bus (for CPU memory reset)
19: Switch actuation from STOP to RUN causes the restart of the component
20: MGT: PG command causes the restart of the component
Event ID Description
21: MGT: Take-over of component data basis causes the hot restart of the component
23: Stopping the sub-system after having loaded the already existing consistency-secured SDBs xxxx by
the rack component
25: The SIMATIC procedure has been selected for the time synchronisation of the component.
26: Component actively established a connection
28: The SDB xxxx loaded by the rack component is the consistency securing object (SDB type 0x3118)
29: The component actively disconnected the system connection to the CPU
31: Inconsistency of the component data base by loading SDB xxxx by the rack component (SDB type
0x3100)
32: Periphery enabled by S7-CPU
33: Periphery disabled by S7-CPU
34: Component STOP due to switch actuation
35: Component STOP due to invalid configuration
36: Component STOP due to PG command
38: SDB xxxx is not registered in the still valid consistency securing object, or it has an incorrect time
stamp (SDB type 0x3107), the error is being corrected
40: Memory reset executed
44: Consistency of the data base achieved after loading the SDBs xxxx by the rack component (SDB type
xxxx)
45: Remanent part of the component data base is deleted by the rack component after being loaded
70: Restore factory defaults (same as memory reset of CPU!)
83: Network interface: automatic configuration, TP/ITP with 10 Mbit/s semi-duplex
96: The MAC address was retrieved from the system SDB. This is the configured address.
97: The MAC address was retrieved from the boot EPROM. This is the factory-provided address.
100: Restart of the component
101: Component STOP due to deletion of system SDBs
104: PG command start was denied due to missing or inconsistent configuration
105: Component STOP due to double IP address
107: Start-up request by switch actuation was denied due to missing or inconsistent configuration
PK: NCM_SERVICE
2: Management
3: Object management system
6: Time synchronisation
10: IP_CONFIG
38: SEND/RECEIVE
B Integrated blocks
OB Name Description
OB 1 CYCL_EXC Program Cycle
OB 10 TOD_INT0 Time-of-day Interrupt
OB 20 DEL_INT0 Time delay interrupt
OB 21 DEL_INT1 Time delay interrupt
OB 32 CYC_INT2 Cyclic interrupt
OB 33 CYC_INT3 Cyclic interrupt
OB 34 CYC_INT4 Cyclic interrupt
OB 35 CYC_INT5 Cyclic interrupt
OB 40 HW_INT0 Hardware interrupt
OB 80 CYCL_FLT Time error
OB 81 PS_FLT Power supply error
OB 82 I/O_FLT1 Diagnostics interrupt
OB 83 I/O_FLT2 Insert / remove module
OB 85 OBNL_FLT Priority class error
OB 86 RACK_FLT Slave failure / restart
OB 100 COMPLETE RESTART Start-up
OB 102 COLD RESTART Start-up
OB 121 PROG_ERR Programming error
OB 122 MOD_ERR Periphery access error