Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

mc166 - Kompend - Kap082 - e - CBP PROFIBUS

Download as pdf or txt
Download as pdf or txt
You are on page 1of 137

06.

2005 Communication / PROFIBUS

8.2 PROFIBUS
In addition to the CBP communications board, there is the CBP2 with
extended functionality. It replaces but remains fully compatible with the
CBP.
In the following, "CBP" refers to both boards. Any individual features
which a board possesses are specially indicated.

8.2.1 Product description of the CBP communications board


The CBP communications board (Communications board PROFIBUS)
is for linking SIMOVERT MASTERDRIVES® to higher-level automation
systems via PROFIBUS-DP.

9-pole Sub-D connection


X448
System connector

LED (red)
LED (yellow)
LED (green)

Fixing screw

Fig. 8.2-1 View of the communications board

Technical data The communications board has three LEDs (green, yellow, red) for
providing information on the current operating status.
Voltage is supplied from the basic unit through the system's plug-in
connector.
The CBP has a 9-pole SUB D socket (X448) which is provided for
connecting it up to the PROFIBUS system in accordance with the
PROFIBUS standard. All connections of this RS485 interface are short-
circuit-proof and floating.
The CBP supports baud rates of 9.6 kbaud to 12 Mbaud and is also
suitable for connecting fiber-optic cable by means of optical link plugs
(OLPs).

NOTE For reasons of space, optical link plugs cannot be used for Compact
units, types 1 and 2!

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-1
Communication / PROFIBUS 06.2005

Functionality ♦ Useful data is exchanged with the master according to the


"PROFIBUS profile for variable-speed drives", PROFIdrive.
♦ Acyclical communications channel for transferring parameter values
up to a length of 101 words with a SIMATIC S7-CPU.
♦ Acyclical communications channel for linking the PC-based
Drive ES start-up and service tool.
♦ Automatic adoption of the useful data structure defined in the
master.
♦ Monitoring of the bus interface.
♦ Supporting of SYNC-type PROFIBUS control commands for
synchronized data transfer from the master to several slaves.
♦ Supporting of FREEZE-type PROFIBUS control commands for
synchronized data transfer from several slaves to the master.
♦ Extremely simple parameterization of the CBP via the PMU of the
basic unit.

Extended ♦ Flexible configuration of the setpoints/actual values up to a


functionality of the maximum of 16 process data words
CBP2 ♦ Clock synchronization at the isochronous PROFIBUS for
synchronization of processing by the master and slaves
(MASTERDRIVES MC only)
♦ Cross traffic for direct data exchange between slaves
♦ Direct access to a drive by a SIMATIC OP
♦ USS protocol

Extension by ♦ Acyclical parameter channel in accordance with PROFIdrive profile,


PROFIdrive V3 version 3, with data block 47
functions in con- ♦ Standard telegrams 1 to 6
junction with CBP2
from V2.20

For MASTERDRIVES MC and during use of T100 or T300, please pay


attention to the note in Section 2.3.2 "TB Blocks".

6SE7087-6QX50 (Version AG) Siemens AG


8.2-2 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.2 Description of the CBP's functions on the PROFIBUS-DP


Definition PROFIBUS is an international, open field bus standard with a wide
scope of application in production and process automation. Neutrality
and openness are guaranteed by international standards EN 50170
and IEC 61158.
The PROFIBUS-DP enables very fast, time-critical transfer of data on
the field level.
With the PROFIBUS, a distinction is made between masters and
slaves.
♦ Masters determine data traffic on the bus and are also designated
in the literature as active nodes.
There are two classes of master:
• DP-Master Class 1 (DPM1):
These are central stations (e.g. SIMATIC S5, S7 and
SIMADYN D) which exchange information with the slaves in
defined communications cycles.
• DP-Master Class 2 (DPM2):
Units of this type are programming units, planning units or control
and monitoring units which are used for configuring, starting up
or monitoring systems in operation.
♦ Slaves (e.g. CBP, CB15 etc.) can only acknowledge the messages
they receive or transfer messages to a master when the latter
requests a slave to do so. Slaves are also designated as passive
nodes.
Protocol The protocol architecture of the PROFIBUS-DP is oriented to the OSI
architecture (Open System Interconnection) reference model in accordance with the
international standard, ISO 7498, and uses layers 1 and 2 as well as
the user interface.
Transmission When transmission equipment is being selected, criteria such as high
equipment transmission speed and simple, inexpensive wiring and cabling is of
primary importance. PROFIBUS supports transmission according to
RS485 and also transmission by means of fiber-optic cable.
The transmission speed can be selected between 9.6 kbaud and 12
Mbaud. The same speed is specified for all units on the bus when
the system is started up for the first time.
Bus-access The PROFIBUS works according to the token-passing procedure, i.e.
procedure the masters become token holders for a defined time window in a
logical ring. Within this time window, the master can communicate with
other masters. Alternatively, it can communicate with slaves by using a
lower-level master-slave procedure.
The PROFIBUS-DP mainly uses the master-slave method and data is
usually exchanged with the drives cyclically.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-3
Communication / PROFIBUS 06.2005

Data exchange via This enables very rapid data exchange between the higher-level
PROFIBUS systems (e.g. SIMATIC, SIMADYN D, PC/PGs) and the drives. Access
to the drives is always made according to the master-slaves method.
The drives are always the slaves and each slave is clearly defined by
its address.

Higher-level MASTERDRIVES Other


computer "Slave" "Slave"
"Master"
CBP

Other
nodes

PROFIBUS interface (PROFIBUS cable)

Fig. 8.2-2 PROFIBUS interfaces

The cyclical communications functions are determined by the


PROFIBUS-DP basic functions in accordance with EN 50170.
For purposes of parameterization during cyclical data exchange with
intelligent drives, acyclical extended communications functions are also
used which are defined in PROFIBUS Guideline No. 2.081 (German) or
2.082 (English).
The following illustration contains an overview of the communications
functions which are enabled with the CBP.

S7, S5 Automation PG / PC SIMOVIS/DriveMonitor


and Master class 1 Master class 2
others
MSCY_C1 MSAC_C1 MSAC_C2

PROFIBUS DP

Acyclical Acyclical
Cyclical
channel channel CBP
channel
(only S7) (only SIMOVIS)

MASTERDRIVES - CU MASTER-
DRIVES

Fig. 8.2-3 Data-traffic channels of the CBP

6SE7087-6QX50 (Version AG) Siemens AG


8.2-4 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

The following illustration contains an overview of the communications


functions which are enabled with the CBP2:

Configuration
Automation Operational control
(Master class 2)
(Master class 1) (Master class 2)
DriveES, SIMOVIS /
S7, S5 and other SIMATIC OP
DriveMonitor

Cross traffic
(slave) Cyclical channels Acyclical channels CBP2
Drive, ET200

Drive, ET200 MASTERDRIVES - CU

Fig. 8.2-4 Data-traffic channels of the CBP2

8.2.2.1 Cyclical data transmission

DANGER When interconnecting connectors, binectors, and double word


connectors, please note that simultaneous interconnection of a
connector, and a double word connector with the same name is not
permitted, because when a double word connector (e. g. KK3032) is
connected, the meanings of the connectors K3002 and K3003 are
swapped round (high-word and low-word exchanged).
On MASTERDRIVES MC and Compact Plus on software version V1.50
and higher and on MASTERDRIVES CUVC on software version V3.23
and higher, simultaneous use of connectors and double word
connectors with the same name is mutually interlocked (see also
function diagrams [121] and [131]).
Because the binectors are not included in the interlocking (to ensure
compatibility for older configurations), their significance changes
according to whether the pertinent word or double word is wired.

The structure of Useful data for the cyclical MSCY_C1 channel (see Figs. 8.2-3 and
useful data as PPOs 8.2-4) is structurally defined in the PROFIBUS profile for variable-speed
drives version 2 as a parameter process data object (PPO).
Frequently, the cyclical MSCY_C1 channel is simply called the
STANDARD channel as well.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-5
Communication / PROFIBUS 06.2005

NOTES Data is exchanged with the MASTERDRIVES in accordance with the


specifications of the PNO guideline "PROFIBUS profile for variable-
speed drives". PROFIdrive CBP and CBP2 V2.10 implement
PROFIdrive version 2 (PNO: Order No. 3071).
CBP2, V2.20 and later, implements PROFIdrive Version 3 (PNO: Order
No. 3172) as a compatible expansion. The useful data structure
described below is still supported.

For the drives, the guideline specifies the useful-data structure with
which a master can access the drive slaves by means of cyclical
MSCY_C1 data transfer. With MSCY_C1 data transfer, useful data is
divided up into two areas which can be transmitted in each telegram:
♦ The process data area (PZD), i.e. control words and setpoints or
status information and actual values
♦ The parameter area (PKW) for reading/writing parameters − e.g.
reading out faults − and for reading out information on the
characteristics of a parameter such as reading out the min./max.
limits etc.
The type of PPO (see next page) used by the PROFIBUS-DP master to
communicate with the converter can be configured from the master
when the bus system is started up. Which type of PPO is selected
depends on the task of the drive in the automation network. The
process data are always transmitted. In the drive, they are processed
with the highest priority and in the shortest time slots. The process data
are used to coordinate the drive with the other units in the automation
network, e.g. for power on/off, entering setpoints etc.
With the help of the parameter area, the user can access all the
parameters in the converter via the bus system as required. For
example, detailed diagnostic information, alarms and so on can be read
out. In this way, a higher-level system, (e.g. a PC), can be used to call
additional information for visualization of the drive without affecting
process data transmission.
The telegrams of cyclical data transfer therefore have the following
basic structure:

Protocol frame Useful data Protocol frame


(Header) Parameters (PKW)1) Process data (PZD) (Trailer)

PPO
1) PKW: Parameter identifier value

6SE7087-6QX50 (Version AG) Siemens AG


8.2-6 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

There are five types of PPO:


♦ Useful data without a parameter area with two words or six words
of process data
♦ or useful data with a parameter area and two, six or ten words of
process data.
PKW PZD

PZD1 PZD2
PKE IND PWE STW1 HSW PZD3 PZD4 PZD5 PZD6 PZD7 PZD8 PZD9 PZD10
ZSW1 HIW

1st 2nd 3rd 4th 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th
Word Word Word Word Word Word Word Word Word Word Word Word Word Word

PPO1

PPO2

PPO3

PPO4

PPO5

PKW: Parameter ID value STW: Control word 1


PZD: Process data ZSW: Status word 1
PKE: Parameter ID HSW: Main setpoint
IND: Index HIW: Main actual value
PWE: Parameter value

Table 8.2-1 Parameter process data object (PPO types)

Dividing the useful data into parameter identifier values and process
data enables different tasks to be carried out.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-7
Communication / PROFIBUS 06.2005

Parameter data area With the PKW (parameter identifier value) part of the telegram, any
(PKW) parameter in the converter can be observed and/or altered. The
mechanisms of task/reply IDs necessary for this are described later in
the chapter "Mechanisms of PKW processing".
Process data area With the process data part, control words and setpoints (tasks: master
(PZD) → converter) or status words and actual values (replies: converter →
master) are transferred.
The transferred process data only have an effect if the control-word
bits, the setpoints, the status words and the actual values are routed in
the basic unit in accordance with the chapter "Process data wiring".
The following page gives an overview of typical ways of routing process
data to the basic unit. For this routing of the data, the term "process
data wiring" is often used.

NOTE The following process data wiring only applies if a technology board
has not been mounted.
If a technology board is used (e.g. T400, T300, T100), the process data
wiring in the manual for the technology board is to be used.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-8 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Telegram: PZD
Master → Converter
(Setpoint channel) PZD PZD PZD PZD PZD PZD PZD PZD PZD PZD
1 2 3 4 5 6 7 8 9 10
STW1 HSW
1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th
word word word word word word word word word word
Combination values for:
16-bit process data 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010
16-/32-bit process data (example) 3001 3032 3004 3035 3037 3039

Alternatives 3001 3032 3004 3005 3036 3038 3010


3001 3002 3003 3004 3035 3007 3038 3010
Process data quantity for:
PPO types 1 and 3 PZD2
PPO types 2 and 4 PZD6
PPO type 5 PZD10

Telegram: PZD
Converter → Master
(Actual-value channel) PZD PZD PZD PZD PZD PZD PZD PZD PZD PZD
1 2 3 4 5 6 7 8 9 10
ZSW1 HIW

Assignment of actual-value P734 P734 P734 P734 P734 P734 P734 P734 P734 P734
parameters for
16-bit process data P694 P694 P694 P694 P694 P694 P694 P694 P694 P694
i001 i002 i003 i004 i005 i006 i007 i008 i009 i010

16-/32-bit process data (example) P734 P734 P734 P734 P734 P734 P734
P694 P694 P694 P694 P694 P694 P694
i001 i002 = i003 i004 i005 = i006 i007 i008 = i009 i010

Parameters for FC (CU1), VC (CU2) and SC (CU3)

PZD: Process data HSW: Main setpoint


STW: Control word HIW: Main actual value
ZSW: Status word

Table 8.2-2 Fixed assignment and combination values

NOTE If a second CBP is being operated in the converter, then the "8000"
connectors will be applicable for the second CBP instead of the "3000"
connectors, and parameter P736 will be applicable instead of para-
meter P734 (see function diagrams for CB/TB boards in Chapter 12).

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-9
Communication / PROFIBUS 06.2005

CBP2 - Free Extended functionality of the CBP2 in a SIMATIC STEP7 environment


configuration with DriveES:
In addition to the five types of PPO, free configuration of the cyclical
data is possible.
Up to 16 process data words can be configured, even with a different
number of setpoints and actual values. The consistency ranges can be
flexibly adjusted.
A parameter area (PKW) can be configured irrespective of the number
of process data items.
CBP2, V2.20 and On version V2.20 and later of the CBP2, cyclic data transmission is
later, standard implemented via standard telegrams in accordance with PROFIdrive
telegrams profile, version 3.
The CBP2 supports standard telegrams 1 to 6 (cf. Section 8.2.7.3
"Process data interconnection via standard tele").

8.2.2.2 Acyclical data transfer

Extended The PROFIBUS-DP has now been improved to include other methods
DP functions of data transfer. In addition to cyclical data transfer, the extended
PROFIBUS-DP enables the following forms of data transfer as defined
in PROFIBUS guidelines No. 2.081 (German) or 2.082 (English):
♦ Acyclical data transfer at the same time as cyclical data transfer
♦ Alarm processing

Acyclical data transfer enables:


♦ the exchange of larger amounts of useful data up to 206 bytes
♦ a reduction in the number of peripheral addresses in the SIMATIC
by means of relocating the PKW area from cyclical to first acyclical
data transfer
♦ as a result, also reduction of the bus cycle time due to shorter
telegrams in cyclical data transfer
♦ simultaneous access by Drive ES (PG/PC) for diagnosis and
parameterization by means of the second data transfer

6SE7087-6QX50 (Version AG) Siemens AG


8.2-10 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Realization of the The different masters or the different methods of data transfer are
extended DP represented in the CBP by corresponding channels (see Fig. 8.2-4):
functions ♦ Cyclical data transfer with a Class 1 master (MSCY_C1)
Use of DATA-EXCHANGE and the PPO types in accordance with
the PROFIdrive profile
♦ Acyclical data transfer with the same Class 1 master (MSAC_C1)
Use of the PROFIBUS functions, DDLM_READ and DDLM_WRITE
The contents of the transferred data block corresponds to the
structure of the parameter area (PKW) in accordance with the USS
specification (with data block 100)
or (for CBP2 V2.20 and later only)
the structure of the acyclic parameter channel according to
PROFIdrive profile, version 3 (with data block 47).
♦ Acyclical data transfer with DriveES (Class 2 master;
MSAC_C2)
The DriveES can access parameters and process data in the basic
units acyclically.
♦ CBP2: acyclical data traffic with SIMATIC OP (second Class 2
master; MSAC_C2) only
SIMATIC OP can access parameters in the basic units acyclically.
♦ CBP2 V2.20 and later only: Instead of DriveES or SIMATIC OP an
external master (Class 2 Master) compliant with acyclic parameter
channel according to PROFIdrive profile version 3 with data block
47 can also access the converter.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-11
Communication / PROFIBUS 06.2005

8.2.2.3 Acyclical master class 1, automation (PLC)

MSAC_C1 channel Acyclical communication between the DP master Class 1 (DPM1) and
the DP slaves takes place via supplementary service access point 51.
In a service sequence, the DPM1 establishes a link to the slave, this
link being designated MSAC_C1. Establishment of this link is closely
related to the link for cyclical data transfer between the DPM1 and the
slaves. Once a link has been established, the DPM1 can conduct
cyclical data transfer via the MSCY_C1 link and, at the same time,
acyclical data transfer via the MSAC_C1 link.
The MSAC_C1 channel enables READING and WRITING of any of the
data blocks in the slave. These data blocks are accessed with the
PROFIBUS functions, DDLM_Read and DDLM_Write.
For processing parameters, the CBP supports a data block with the
index 100 in slot 2. Because the parameters can only be altered
infrequently in comparison to the process data, the parameter area of
the telegram can be removed from the fast cyclical channel in order to
save bus resources.

NOTE With the CBP2, version V2.20 and later, a class 1 master automation
(PLC) can also utilize acyclic parameter access according to
PROFIdrive V3, cf. Section 8.2.4 "PROFIdrive V3: Acyclic parameter
accessing with data block 47".

6SE7087-6QX50 (Version AG) Siemens AG


8.2-12 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Telegram structure The following illustration shows the telegram structure for data transfer
via the acyclical MSAC_C1 channel.

Write function
Call telegram

Function Slot
Index Length Data

DP - Master
number number

DP - Slave
Possibly several polling cycles without
data until reply with data
Function Slot
Index Length
number number

Reply telegram

Read function
Call telegram

Function Slot
Index Length
DP - Master

number number

DP - Slave
Possibly several polling cycles without
data until reply with data

Function Slot
Index Length Data
number number

Reply telegram

Fig. 8.2-5 Sequence of a Read and Write function

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-13
Communication / PROFIBUS 06.2005

Sequence of a PKW The following sequence is necessary for handling a PKW task:
task 1. With the function DDLM_Write, a PKW task is transferred in the data
block with the index 100 to the CBP.
2. A positive acknowledgement of DDLM_Write is awaited.
3. With the function DDLM_Read, the PKW reply is requested by the
CBP in the data block with the index 100.
4. The PKW reply to the task is contained in the positive
acknowledgement of DDLM_Read.
The contents of the data block with the index 100 corresponds to the
structure of the PKW area of the telegram in accordance with the USS
specification.
With the PKW (parameter identifier value) area, any parameter in the
converter can be visualized and/or altered. The mechanisms of
task/reply IDs necessary for this are described later in the chapter
"Mechanisms of PKW processing".
In the MSAC_C1 channel, larger amounts of data can be transferred at
the same time than by means of PPOs in the cyclical channel. The
whole data unit is used exclusively for transmitting parameters.
It offers the same possibilities, however, as in the USS specification,
i.e. complete arrays can also be processed with one task (IND = 255).
All values of the array are directly transmitted one after the other in a
data block. The maximum length of a data block is 206 bytes.

Total telegram
Protocol frame Protocol frame
(trailer) Data unit (trailer)
max. 244

Read / Write

Function ID Slot No. Index Length Data unit


1 2 3 4 5-210 (max. 240)

PKW data

PKE IND PWE1 PWE2 PWE101

1 2 3 4 5 6 7 8 205 206

Fig. 8.2-6 Structure of PKW data in cyclical data transfer

NOTE Process data (PZDs) cannot be stipulated via this acyclical MSAC_C1
channel.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-14 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Example for the In the SIMATIC S7, the data block with the index 100 corresponds to
SIMATIC S7 the data record DS100.
From the SIMATIC S7 side, data can be exchanged via the MSAC_C1
channel with the system functions SFC 58 "WR_REC" and SFC 59
"RD_REC".
When the system functions are called, the parameter RECNUM is to
be set to 100.
If the logical address of the CBP is determined by means of SFC 5
"GADR_LGC", the parameters are to be provided with the following
when SFC 5 is called:

SUBNETID = ID of the planned DP master system in accordance with the


hardware configuration
RACK = Node / bus address of the CBP
SLOT = 2
SUBSLOT = 0
SUBADDR = 0

The function-block package, DVA_S7 (see also section 8.2.7.2), is a


standard method of data exchange between the SIMATIC S7 and the
CBP via the acyclical MSAC_C1 channel. The user is provided with a
data block as the data interface. This data block has a TRANSMIT
MAILBOX and a RECEIVE MAILBOX, thus considerably reducing the
expenditure on the application for the user.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-15
Communication / PROFIBUS 06.2005

8.2.2.4 Acyclical master class 2 - Configuration (DriveES)

MSAC_C2 channel The MSAC_C2 channel on the CBP must be reserved for the start-up
for the Drive ES and service tool Drive ES.

SIMATIC S7

Drive ES
Basic

DPM1
Profibus DP DPM2

MSAC_C2

SIEM ENS

MASTERDRIVES
S1

X1 01 B

X1 03 C

Fig. 8.2-7 Drive ES with Profibus

6SE7087-6QX50 (Version AG) Siemens AG


8.2-16 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.2.5 Acyclical master class 2 - Operator control (SIMATIC OP)

Functionality only with CBP2.


With a SIMATIC OP as the PROFIBUS DP master, you can achieve
direct access to a drive.
A drive with a CBP2 behaves like a SIMATIC S7 towards a SIMATIC
OP. For access to the drive parameters, the following simple illustration
applies:
Parameter number = Data block number
Parameter subindex = Data block offset

All SIMATIC OPs and TDs with the final digit 7 are suitable.

ProTool You can configure SIMATIC OP with "ProTool". The following specific
settings for drives are to be entered during configuration with Pro Tool.

Open-loop control Control units: Protocol always "SIMATIC S7 - 300/400", additional


parameters:
Field Value
Network parameter - Profile DP
Network parameter - Baud rate (as selected)
Communications partner - Address (the PROFIBUS address of the drive)
Communications partner - Slot/rack Don't care, 0

Variable Variables: "General" register:


Field Value
Name (as selected)
Control unit (as selected)
Type Depending on parameter value addresses,
e.g.:
INT: for I2, O2
DINT: for I4, O4
WORD: for V2, L2
Range DB
DB Parameter number
(data block number) 1 to 3999
DBB, DBW, DBD Subindex
(data block offset) 0: for non-indexed parameters
1 to 101: for indexed parameters
Length (not activated)
Acquisition cycle (as selected)
Number of elements 1
Places after the decimal point (as selected)

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-17
Communication / PROFIBUS 06.2005

NOTES ♦ You can operate a SIMATIC OP together with a drive, irrespective of


any automation system which may be present. A simple "point-to-
point" connection with only two nodes is possible.
♦ The "Variable" OP functions can be used for drives. Other functions
cannot be used (e.g. "Messages" or "Recipes").
♦ Access is possible to individual parameter values. Access is not
possible to whole arrays, descriptions or texts.
♦ The parameter values transferred to the OP are the non-
standardized internal values of the drive. You can influence the
value displayed on the OP with "Functions" in Pro Tool (e.g. "Linear
conversion").
♦ The diagnostic output on the SIMATIC OP is limited. In the case of
unsuccessful attempts at access, the CB diagnostic parameter,
r732.22. and the following can help you further. See Section
"Diagnosis and Troubleshooting".

8.2.3 Mechanisms for processing parameters via the PROFIBUS


Parameter area With the PKW mechanism (for PPO types 1, 2 and 5 and when the
(PKW) acyclical channels, MSAC_C1 and MSAC_C2, are used), you can
perform the following tasks:
♦ Handling and visualizing parameters (read/write)
♦ Transferring and acknowledging parameter change reports (not
realized)
The parameter area always contains at least 4 words.

Parameter ID (PKE) 1st word


Bit No.: 15 12 11 10 0
AK SPM PNU

Parameter index (IND) 2nd word


Bit No.: 15 8 7 0
The structure and significance depend on the type of data
transfer (see following pages)

Parameter value (PWE)


Parameter value High (PWE1) 3rd word
Parameter value Low (PWE2) 4th word

AK: Task ID or reply ID


SPM: Toggle bit for processing the parameter change report
PNU: Parameter number
Table 8.2-3 Structure of the parameter area (PKW)

6SE7087-6QX50 (Version AG) Siemens AG


8.2-18 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Parameter ID (PKE), The parameter ID (PKE) is always a 16-bit value.


1st word Bits 0 to 10 (PNU) contain the number of the required parameter.
Bit 11 (SPM) is the toggle bit for parameter change reports.
Bits 12 to 15 (AK) contain the task ID or the reply ID.
With regard to the task telegram (master → converter), the significance
of the task ID is given in Table 8.2-4. Task IDs 10 to 15 are specifically
for MASTERDRIVES and are not specified in the PROFIBUS-DP
profile.
With regard to the reply telegram (converter → master), the significance
of the reply ID is given in Table 8.2-5. Reply IDs 11 to 15 are
specifically for MASTERDRIVES and are not specified in the
PROFIBUS-DP profile. Only certain reply IDs are possible, depending
on the task ID. If the reply ID has the value 7 (task cannot be
executed), an error number is deposited in parameter value 2 (PWE2)
in accordance with Table 8.2-6.

Task ID Significance Reply ID


positive negative
0 No task 0 7 or 8
1 Request parameter value 1 or 2 ↑
2 Change parameter value (word) 1 ⏐
3 Change parameter value (double word) 2 ⏐
4 Request description element 1 3 ⏐
5 Change description element (not with CBP) 3 ⏐
6 Request parameter value (array) 1 4 or 5 ⏐
7 Change parameter value (array, word) 2 4 ⏐
8 Change parameter value (array, double word) 2 5 ⏐
9 Request the number of array elements 6 ⏐
10 Reserved - ⏐
11 Change parameter value (array, double word) and store in the 5 ⏐
EEPROM 2
12 Change parameter value (array, word) and store in the EEPROM 2 4 ⏐
13 Change parameter value (double word) and store in the EEPROM 2 ⏐
14 Change parameter value (word) and store in the EEPROM 1 ↓
15 Read or change text (not with CBP) 15 7 or 8

Table 8.2-4 Task IDs (master -> converter)

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-19
Communication / PROFIBUS 06.2005

Reply ID Significance
0 No reply
1 Transfer parameter value (word)
2 Transfer parameter value (double word)
3 Transfer description element 1
4 Transfer parameter value (array, word) 2
5 Transfer parameter value (array, double word) 2
6 Transfer the number of array elements
7 Task cannot be executed (with error number)
8 No operator change rights for the PKW interface
9 Parameter change report (word)
10 Parameter change report (double word)
11 Parameter change report (array, word) 2
12 Parameter change report (array, double word) 2
13 Reserved
14 Reserved
15 Transfer text (not with CBP)

1 The required element of the parameter description is specified in IND (2nd word)
2 The required element of the indexed parameter is specified in IND (2nd word)

Table 8.2-5 Reply IDs (converter -> master)

Example Source for the ON/OFF1 command (control word 1, bit 0):
P554 (=22A Hex)
Change parameter value (array, word) and store in the EEPROM

Parameter ID (PKE) 1st word


Bit No.: 15 12 11 10 0
AK SPM PNU
1 1 0 0 0 0 1 0 0 0 1 0 1 0 1 0 Binary value
C 2 2 A HEX value

♦ Bits 12 to 15: Value = 12 (= "C" Hex); change parameter value


(array, word) and store in the EEPROM
♦ Bits 0 to 11: Value = 554 (= "22A" Hex); parameter number without
set bit for the parameter change report

6SE7087-6QX50 (Version AG) Siemens AG


8.2-20 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

No. Significance
0 Non-admissible parameter No. (PNU) If the PNU does not exist
1 Parameter value cannot be changed If the parameter is a visualization parameter
2 Upper or lower limit exceeded −
3 Erroneous subindex −
4 No array −
5 Incorrect data type −
6 Setting not allowed (can only be reset) −
7 Description element cannot be changed Generally not possible for MASTERDRIVES
11 No operator control rights −
12 Key word missing Drive converter parameter "access key" and/or
"parameter special access" not correctly set
15 No text array available −
17 Task cannot be executed due to operating Drive converter status does not permit the present
status task
101 Parameter number deactivated at present Specific to MASTERDRIVES
102 Channel width too small Specific to MASTERDRIVES: only for short
channels
103 Incorrect number of PKWs Specific to MASTERDRIVES: only for G-SST1/2
and SCB interface (USS)
104 Parameter value not admissible Specific to MASTERDRIVES
105 The parameter is indexed e.g. task: "PWE, change word" for indexed
parameters
106 Task not implemented

Table 8.2-6 Error numbers for the reply "Task cannot be executed" (drive converter
parameters)

Comment on error Error number 103 is only relevant to the G-SST1, 2 interface and the
number 103 SCB interface. It is transferred in the following two cases:
♦ If the task involves indices of an indexed parameter (task index
equal to 255) or the complete parameter description is requested
and a variable telegram length has not been parameterized.
♦ If the set task is too small for the parameterized number of PKW
data in the telegram (e.g. the double word and the PKW number is
changed to 3 (words)).
Comment on error This error number is transferred if the parameter value which is to be
104 adopted has not been assigned a function in the drive converter or
cannot be adopted at the time of the change for internal reasons
(although it lies within the limits).
This error number always occurs, for example, when only values
explicitly entered in a table are valid for a parameter value and are not
transferred exactly (e.g. the number of PKW data for the USS
interfaces for which only the explicit values 0, 3, 4 and 127 are
allowed).

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-21
Communication / PROFIBUS 06.2005

Parameter index The assignment of the index (IND) is to be regarded as a special


(IND) 2nd word feature or difference between what is specified in the PPOs and what is
specified for the acyclical channels MSAC_C1 and MSAC_C2.
The array sub-index (also designated in shorter form as the sub-index
in the PROFIBUS profile) is an 8-bit value and, during cyclical data
transfer, is transferred in the most significant byte (bits 8 to 15) of the
parameter index (IND). The least significant byte (bits 0 to 7) is not
defined in the profile DVA. In the PPO of the CBP, the least significant
byte of the parameter index is used in order to be able to address
additional technology parameters or parameters of free components in
the MASTERDRIVES by means of parameter page selection.

Structure of IND PKE IND PWE1 PWE2


with cyclical
HIGH LOW
communication by
means of PPOs

Array subindex MASTERDRIVES – specific


15 8 7 0
Subindex 1- 255 Bit 7=PARA PAGE SEL

The array subindex is an 8-bit value and, with acyclical data transfer
(MSAC_C1), is always transferred in the least significant byte (bits 0 to
7) of the parameter index (IND). The function of parameter-page
selection for additional technology parameters or parameters of free
components in the MASTERDRIVES is assumed here by the most
significant byte (bits 8 to 15) of the parameter index. This structure
corresponds to the stipulations of the USS specification.

Structure of IND PKE IND PWE1 PWE2


with acyclical
HIGH LOW
communication via
MSAC_C1

MASTERDRIVES – specific Array subindex


15 8 7 0
Bit 15 = PARA PAGE SEL Subindex 1- 255

The function of the For an indexed parameter, if the subindex in a task is transferred with
IND the values between 1 and 254, the required index of the parameter is
transferred. The significance of the individual indices of the parameter
can be found in the "Parameter List" of the operating instructions for the
converter.
When a description element is being processed, the number of the
required element is transferred. The significance of the description
elements is given in the PROFIBUS profile "Variable-speed drives",
PROFIdrive version V2 (PNO: Order No. 3071).
The value 255 for the array subindex is of special importance. If the
array subindex is transferred with 255, all indices of an indexed
parameter are transferred simultaneously in one data block.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-22 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

This function is useful only for acyclical data transfer via MSAC_C1.
The transferred data block has the same structure as in the USS
specification (see Fig. 8.2-7). The maximum size of a data block is 206
bytes.

The bit for parameter page selection has the following effect:
If this bit is equal to 1, the parameter number (PNU) transferred in the
PKW task is provided with an offset of 2000 in the CBP and then
passed on.
Parameter designation Serial Required addressing of the
(acc. to parameter list) parameter parameter via PROFIBUS
number
PNU PNU Bit
[decimal] [hex.] *)

P000 - P999 (r000 - r999) 0 - 999 0 - 999 0 - 3E7 =0


H000 - H999 (d000 - d999) 1000 - 1999 1000 -1999 3E8 - 7CF =0
U000 - U999 (n000 - n999) 2000 - 2999 0 - 999 0 - 3E7 =1
L000 - L999 (c000 - c999) 3000 - 3999 1000 - 1999 3E8 - 7CF =1

*) Parameter page selection

Example Source for the ON/OFF command (control word 1, bit 0):
P554 (=22A Hex)
Change parameter value of index 1 (structure of the IND according to
PPO)

Parameter index (IND) 2nd word


Bit No.: 15 8 7 0
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 Binary value
0 1 0 0 HEX value

♦ Bits 8 to 15: Index of parameter P554


♦ Bits 0 to 7: Value = 0

Parameter value The parameter value (PWE) is always transferred as a double word (32
(PWE) 3rd and 4th bits). In a PPO telegram, only one parameter value can be transferred.
words A 32-bit parameter value is composed of PWE1 (most significant word,
3rd word) and PWE2 (least significant word, 4th word).
A 16-bit parameter value is transferred in PWE2 (least significant word,
4th word). In this case, you must set PWE1 (most significant word, 3rd
word) to 0 in the PROFIBUS-DP master.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-23
Communication / PROFIBUS 06.2005

Example for CUMC/ Source for the ON/OFF command (control word 1, bit 0): P554 (= 22A
CUVC Hex)
Change parameter value of index 1 to the value 3100

Parameter value (PWE)


Bit No.: 31 24 23 16 3rd word (PWE1) (hex)
0 0 0 0

Bit No.: 15 8 7 0 4th word (PWE2) (hex)


3 1 0 0

♦ Bits 0 to 15: Parameter value for 16-bit parameter or low


component for 32-bit parameter
♦ Bits 16 to 31: Value = 0 for 1-bit parameter or high component for
32-bit parameter

Rules for task/reply ♦ A task or a reply can only relate to one parameter value.
processing ♦ The master must repeat a task until it receives the appropriate reply.
♦ The master identifies the reply to a task which has been set:
• By evaluating the reply ID
• By evaluating the parameter number, PNU
• If necessary, by evaluating the parameter index, IND
• If necessary, by evaluating the parameter value, PWE.
♦ The task must be sent complete in one telegram; telegrams with
split tasks are not permissible. The same applies to the reply.
♦ With regard to reply telegrams which contain parameter values
(actual values), the slave (CBP) always replies with the latest
current values if the telegram is repeated.
♦ If the PKW interface requires no information during cyclical
operation (only PZD data are important), the "No task" task must be
sent.

WARNING When you change the initialization function of software version V1.3x to
V1.40 and higher, or VC firmware from 3.22 to 3.23 and higher, the
behavior of the converter also changes (reverting to the behavior of
software versions V1.2x and lower again) as follows:
If the electronics supply is switched off on a converter that is in state
"READY" and is connected to an automation system via a field bus
(PROFIBUS, CAN, DEVICE-NET, or CC-Link), this causes a fault
message for this converter in the automation system.
If the automation system nevertheless sends a control word STW1 with
valid authorization (bit 10 = 1) and a pending ON command (bit 0 = 1)
to this converter, this can cause the converter to switch on and go
straight into "OPERATION" state when the electronics supply is
connected at the converter.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-24 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.4 PROFIdrive V3: Acyclic parameter accessing with data block 47

NOTE Acyclic parameter accessing with data block 47 is supported by the


CBP2 with firmware version V2.20 and later.
A detailed description of acyclic parameter accessing with data block
47 can be found in PROFIBUS Profiles, PROFIdrive (PNO: Order No.
3172).

General properties ♦ Compatibility with PKW tasks in accordance with PROFIdrive profile
version 2
♦ 16-bit wide address for each parameter number and subindex
♦ Transfer of complete arrays or areas thereof, or the entire parameter
description
♦ Transfer of different parameters in one access operation (multi-
parameter tasks)
♦ Only one parameter task is processed at a time (no pipelining)
♦ A parameter task/response must fit into one data block (max. 240
bytes). Tasks/responses are not split over several data blocks. The
maximum length of data blocks can be less than 240 bytes as a
result of slave property or bus configuration.
♦ "Multi-parameter" tasks are defined for optimized, simultaneous
access to different parameters (e.g. HMI screen contents).
♦ Data block 47 can be processed by acyclical channels MSAC_C1
and MSAC_C2.

Subindex 0 The definition of an array has been changed in IEC 61158 as compared
to the definition in EN 50170.
The PROFIdrive profile version 2 is compliant with EN 50 170,
according to which the subindex of an indexed parameter or array
begins with index 1. In the current IEC standard 61158, access to an
indexed parameter or array begins with the index 0.
As a consequence, the parameter model and the DPV1 parameter
channel had to be adapted in PROFIdrive profile version 3 so as to
ensure compliance with the IEC standard.
Compatibility with MASTERDRIVES still utilizes the parameter model to PROFIdrive V2
the PKW mechanism on its internal interface. MASTERDRIVES can be accessed via data
in PROFIdrive block 47 as a DPV1 client with the CBP2. For tasks using DB47, the
profile version 2 CBP2 thus adds an offset of 1 to the parameter subindex.
Cyclical parameter accessing via PKW and acyclical parameter
accessing using data block 100 can still be utilized as before.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-25
Communication / PROFIBUS 06.2005

MASTERDRIVES MC with parameter model to PROFIdrive profile


version 2. In combination with the CBP2, DPV1 can be utilized in
accordance with PROFIdrive profile version 3.

DPV1 client (V3) [0..n-1]

+1
[1..n] Drive
PKW client (V2)
(V2)
[1..n]

Special features / ♦ Access operations to simple parameters (i.e. parameters without


restrictions indices) must be identified by "No. of elements" = 0.
♦ Changing the sub-areas of an array is not supported by the CBP2,
in other words, it is possible to transfer a write task either for one
index or for all indices. To alter a complete parameter array, the
number of values must be equal to or greater than the array size.
♦ The editing of texts or descriptions is not supported.
♦ Reading of several or all texts from a text array via a parameter task
is not supported, i.e. only one text from one text array (subindex)
can be read with one parameter task.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-26 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.4.1 Comparison between parameter tasks to PROFIdrive version 2 and 3

PKW to PROFIdrive DPV1 parameter tasks to Remarks


profile V2 PROFIdrive profile V3

Task reference - New! Task/response


8-bit identification

Task identifier Request/change Request/change Distinction


value/des./texts 8-bit value/description/text as
additional attribute
4-bit
No. of parameters - New! Multi-parameter tasks
8-bit
Parameter number 0..1999 (11 bits) Content as for PKW Parameter number = 0 not
16-bit allowed

Subindex 1..255 (8 bits) Content as for PKW - 1 Offset in subindex due to


16-bit modified array definition:
DPV1 subindex = PKW
subindex – 1
No. of elements - New Access to simple
(always "1") 8-bit parameters (nonindexed
parameters) is defined in
DB47 with "No. of
elements" = 0.
Attribute - New Distinction
8-bit value/description/text

Total length 2 words 5 words

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-27
Communication / PROFIBUS 06.2005

8.2.4.2 Example of "Request parameter value", simple

Parameter task:
Offset
Task header Task reference Task identifier = 0
Request parameter
Axis = 0 No. of parameters = 1 2
Parameter Attribute = value No. of elements = 0 (!) 4
address
Parameter number
Subindex = 0 (don't care)
10

Positive parameter response with word:


Response header Task ref. mirrored Response identifier = 0
Request parameter (+)
Axis mirrored No. of parameters = 1 2
Parameter value Format = word No. of values = 1 4
Value 6
8

Positive parameter response with double word:


Response header Task ref. mirrored Response identifier = 0
Request parameter (+)
Axis mirrored No. of parameters = 1 2
Parameter value Format = double word No. of values = 1 4
Value 6

10

Negative parameter response:


Response header Task ref. mirrored Response identifier = 0
Request parameter (-)
Axis mirrored No. of parameters = 1 2
Parameter value Format = error No. of values = 1 4
Error value 6
8

6SE7087-6QX50 (Version AG) Siemens AG


8.2-28 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.4.3 Example of "Change parameter value", simple

Parameter task:
Offset
Task header Task reference Task identifier = 0
Change parameter
Axis = 0 No. of parameters = 1 2
Parameter Attribute = value No. of elements = 0 (!) 4
address
Parameter number
Subindex = 0 (don't care)
Parameter value Format = word No. of values = 1 10
Value 12
14

Positive parameter response:


Response header Task ref. mirrored Response identifier = 0
Change parameter (+)
Axis mirrored No. of parameters = 1 2
4

Negative parameter response:


Response header Task ref. mirrored Response identifier = 0
Change parameter (-)
Axis mirrored No. of parameters = 1 2
Parameter value Format = error No. of values = 1 4
Error value 6
8

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-29
Communication / PROFIBUS 06.2005

8.2.4.4 Example of "Request parameter value", more than one array element

Parameter task:
Offset
Task header Task reference Task identifier = 0
Request parameter
Axis = 0 No. of parameters = 1 2
Parameter Attribute = value No. of elements = 5 4
address
Parameter number
Subindex = 0
10

Positive parameter response:


Response header Task ref. mirrored Response identifier = 0
Request parameter (+)
Axis mirrored No. of parameters = 1 2
Parameter value Format = word No. of values = 5 4
Value 1 6
Value 2
Value 3
Value 4
Value 5
16

Negative parameter response:


Response header Task ref. mirrored Response identifier = 0
Request parameter (-)
Axis mirrored No. of parameters = 1 2
Parameter value Format = error No. of values = 1 4
Error value 6
8

6SE7087-6QX50 (Version AG) Siemens AG


8.2-30 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.4.5 Example of "Change parameter value", more than one array element

NOTE Changing the sub-areas of an array is not supported by the CBP2, in


other words, it is possible to transfer a write task either for one index or
for all indices. To alter a complete parameter array, the number of
values must be equal to or greater than the array size.
The following example shows a write operation to one parameter with 5
subindices.

Parameter task:
Offset
Task header Task reference Task identifier = 0
Change parameter
Axis = 0 No. of parameters = 1 2
Parameter Attribute = value No. of elements = 5 4
address
Parameter number
Subindex = 0
Parameter value Format = word No. of values = 5 10
Value 1 12
Value 2
Value 3
Value 4
Value 5
22

Positive parameter response:


Response header Task ref. mirrored Response identifier = 0
Change parameter (+)
Axis mirrored No. of parameters = 1 2
4

Negative parameter response:


Response header Task ref. mirrored Response identifier = 0
Change parameter (-)
Axis mirrored No. of parameters = 1 2
Parameter value Format = error No. of values = 1 4
Error value 6
8

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-31
Communication / PROFIBUS 06.2005

8.2.4.6 Example of "Request parameter value", multi-parameter

Parameter task:
Offset
Task header Task reference Task identifier = 0
Request parameter
Axis = 0 No. of parameters = 3 2
st
1 parameter address Attribute = value No. of elements = 1 4
Parameter number
Subindex = 7
nd
2 parameter address Attribute = value No. of elements = 100 10
Parameter number
Subindex = 0
rd
3 parameter address Attribute = value No. of elements = 2 16
Parameter number
Subindex = 13
22

Parameter response (+): All part accesses o.k.


Response header Task ref. mirrored Response identifier = 0
Request parameter (+)
Axis mirrored No. of parameters = 3 2
st
1 parameter value(s) Format = word No. of values = 1 4
Value 6
nd
2 parameter value(s) Format = word No. of values = 100 8
Value 1 10
Value 2
...
Value 100
rd
3 parameter value(s) Format = double No. of values = 2 210
word
Value1 212

Value2

220

6SE7087-6QX50 (Version AG) Siemens AG


8.2-32 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Parameter response (-): First and third part access o.k., second part
access errored
Response header Task ref. mirrored Response identifier = 0
Request parameter (-)
Axis mirrored No. of parameters = 3 2
st
1 parameter value(s) Format = word No. of values = 1 4
Value 6
nd
2 parameter value(s) Format = error No. of values = 1 8
Error value 10
rd
3 parameter value(s) Format = double No. of values = 2 12
word
Value1 14

Value2

22

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-33
Communication / PROFIBUS 06.2005

8.2.4.7 Example of "Change parameter value", multi-parameter

Parameter task:
Offset
Task header Task reference Task identifier = 0
Change parameter
Axis = 0 No. of parameters = 3 2
st
1 parameter address Attribute = value No. of elements = 1 4
Parameter number
Subindex = 7
nd
2 parameter Attribute = value No. of elements = 100 10
address
Parameter number
Subindex = 0
rd
3 parameter address Attribute = value No. of elements = 2 16
Parameter number
Subindex = 0
st
1 parameter value(s) Format = word No. of values = 1 22
Value 24
nd
2 parameter Format = word No. of values = 100 26
value(s)
Value 1 28
Value 2
...
Value 100
rd
3 parameter value(s) Format = double No. of values = 2 228
word
Value1 230

Value2

238

Parameter response (+): All part access o.k.


Response header Task ref. mirrored Response identifier = 0
Change parameter (+)
Axis mirrored No. of parameters = 3 2
4

6SE7087-6QX50 (Version AG) Siemens AG


8.2-34 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Parameter response (-): First and third part access o.k., second part
access errored
Response header Task ref. mirrored Response identifier = 0
Change parameter (-)
Axis mirrored No. of parameters = 3 2
st
1 parameter value(e) Format = zero No. of values = 0 4
nd
2 parameter Format = error No. of values = 2 6
value(e)
Error value 8
Errored subindex 10
rd
3 parameter value(e) Format = zero No. of values = 0 12
14

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-35
Communication / PROFIBUS 06.2005

8.2.4.8 Request description, individual

Parameter task:
Offset
Task header Task reference Task identifier = 0
Request parameter
Axis = 0 No. of parameters = 1 2
Parameter address Attribute = description No. of elements = 1 4
Parameter number
Subindex = n
10

Positive parameter response with word (e.g. ID code):


Response header Task ref. mirrored Response identifier = 0
Request parameter (+)
Axis mirrored No. of parameters = 1 2
Parameter value Format = word No. of values = 1 4
Value 6
8

Positive parameter response with text:


Response header Task ref. mirrored Response identifier = 0
Request parameter (+)
Axis mirrored No. of parameters = 1 2
Parameter value Format = byte No. of values = 16 4
Byte 1 Byte 2 6
... ...
Byte 15 Byte 16
22

Negative parameter response:


Response header Task ref. mirrored Response identifier = 0
Request parameter (-)
Axis mirrored No. of parameters = 1 2
Parameter value Format = error No. of values = 1 4
Error value 6
8

6SE7087-6QX50 (Version AG) Siemens AG


8.2-36 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.4.9 Request description, total

Parameter task:
Offset
Task header Task reference Task identifier = 0
Request parameter
Axis = 0 No. of parameters = 1 2
Parameter address Attribute = description No. of elements = 0 4
(don’t care)
Parameter number
Subindex = 0 (!)
10

Positive parameter response:


Response header Task ref. mirrored Response identifier = 0
Request parameter (+)
Axis mirrored No. of parameters = 1 2
Parameter value Format = byte No. of values = (Bytes) 4
ID code 6
(etc.)
...

... ...

6 + des-
cription

Negative parameter response:


Response header Task ref. mirrored Response identifier = 0
Request parameter (-)
Axis mirrored No. of parameters = 1 2
Parameter value Format = error No. of values = 1 4
Error value 6
8

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-37
Communication / PROFIBUS 06.2005

8.2.4.10 Request text, individual

Parameter task:
Offset
Task header Task reference Task identifier = 0
Request parameter
Axis = 0 No. of parameters = 1 2
Parameter address Attribute = text No. of elements = 1 4
Parameter number
Subindex = n
10

Positive parameter response:


Response header Task ref. mirrored Response identifier = 0
Request parameter (+)
Axis mirrored No. of parameters = 1 2
Parameter value Format = byte No. of values = 16 4
Byte 1 Byte 2 6
... ...
Byte 15 Byte 16
22

Negative parameter response:


Response header Task ref. mirrored Response identifier = 0
Request parameter (-)
Axis mirrored No. of parameters = 1 2
Parameter value Format = error No. of values = 1 4
Error value 6
8

6SE7087-6QX50 (Version AG) Siemens AG


8.2-38 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.5 Mounting methods / CBP slots

NOTE The CBP can be directly built into Compact PLUS units. In all other
types of unit in this series, it is mounted on the CUMC or CUVC or it
can be connected in the electronics box with an adaptation board.

8.2.5.1 CBP mounting slots in MC Compact PLUS units

NOTE You can mount the CBP optional board (Communications board
PROFIBUS) in any slot. Bear in mind, however, that an encoder board
always needs slot C.

Position of the slots


Fastening screw for
side cover

SIE MENS

Slot A
A

Rear wall
S1
Right-hand side wall open

X101 B Slot B

Inscription fields for


X103 C optional boards
Slot C

Fastening screw for


side cover

Fig. 8.2-8 Position of the slots (with side wall on the right removed)

DANGER Due to the DC link capacitors, hazardous voltages are still present in
the converter up to 5 minutes after it has been disconnected from the
power supply. Before opening the converter, wait until the capacitors
have completely discharged.
A maximum of two CBPs can be operated in the Compact PLUS type
unit. The following configurations are defined (see function diagrams in
Chapter 12):
♦ If two CBPs are inserted, the CBP which is inserted into the slot with
the lower slot letter is considered the first CB/TB.
♦ If two CBPs are inserted, the CBP which is inserted into the slot with
the higher slot letter is considered the second CB/TB.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-39
Communication / PROFIBUS 06.2005

8.2.5.2 CBP slots in Compact units and chassis-type units with the CUs of
function classes Motion Control (CUMC) and Vector Control (CUVC)

Slots In the electronics box of Compact and chassis-type converters and


inverters, there are up to six slots available for mounting an optional
board. The slots are designated with the letters A to G. There is no slot
B, however, in these types of unit; it is only used in Compact PLUS type
units.
If you wish to use slots D to G, you must first mount the LBA (Local Bus
Adapter, Order No. 6SE7090-0XX84-4HA0) and the corresponding
adaption board ADB (Order No. 6SX7010-0KA00).

NOTE You can operate the CBP optional board (Communications board
PROFIBUS) in any slot. Bear in mind, however, that an encoder board
always needs slot C and that the LBA has to use a particular sequence
of slots.
The CBP can be mounted on the adaptation board in both slots, i.e. at
the BOTTOM and/or at the TOP.
Position of the slots The slots are located at the following positions:
♦ Slot A CU board Top
♦ Slot C CU board Bottom
♦ Slot D Adaptation board in mount. pos. 2 Top
♦ Slot E Adaptation board in mount. pos. 2 Bottom
♦ Slot F Adaptation board in mount. pos. 3 Top
♦ Slot G Adaptation board in mount. pos. 3 Bottom

top Electronics box

Optional board
Adaption board
ADB
Mounting pos. 1
Mounting pos. 3

bottom

Mounting pos. 2

Fig. 8.2-9 Adaptation board with optional boards and position of the slots for
Compact units and chassis-type units

6SE7087-6QX50 (Version AG) Siemens AG


8.2-40 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

DANGER Due to the DC link capacitors, hazardous voltages are still present in
the converter up to 5 minutes after it has been disconnected from the
power supply. Before opening the converter, wait until the capacitors
have completely discharged.

For technical reasons, certain sequences for using the slots are
stipulated for the LBA.
If only one adaptation board with optional boards is inserted in the
electronics box, it must always be inserted in slot +1.B2 (ON THE
RIGHT), i.e. mounting position 2.
If a technology board T100 / T300 or T 400 is inserted in the electronics
box in addition to the adaptation board with CBP, it must be inserted in
slot +1.B2 (mounting position 2). In this case, the adaptation board with
CBP is inserted in slot +1.B3 (mounting position 3).
A maximum of either two CBPs or one CBP plus one T100/T300/T400
technology board can be operated in the electronics box of the
converter. The following configurations are defined (see function
diagrams in Chapter 12):
♦ The CBP is regarded as the first CB/TB if one of the following
configurations exist:
• Exactly one CBP is inserted in slots A to G on the electronics box
and no T100/T300/T400 technology board is inserted.
• If two CBPs are inserted, the CBP which is inserted in the slot
with the lower slot letter.
♦ The CBP is regarded as the second CB/TB if one of the following
configurations is present:
• A T100/T300/T400 technology board is inserted and the CBP in
the electronics box is inserted in slots A to G.
• In the case of two CBPs, the one inserted in the slot with the
higher slot letter.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-41
Communication / PROFIBUS 06.2005

8.2.5.3 CBP slots in Compact and chassis-type units with the CUs of function
classes FC (CU1), VC (CU2) or SC (CU3)

Electronics box
Adaption board
ADB

+1.B1
+1.B3
+1.B2

Optional board
CBP

The adaption board with optional board


can be mounted in the electronics box in
1.B2 and/or 1.B3.

Fig. 8.2-10 Electronics box with free slots (+1.B2 and +1.B3) and adaptation board
with CBP

On the adaptation board ADB (Order No. 6SX7010-0KA00), only one


CBP can be mounted in slot X198, i.e. at the BOTTOM.
If the CBP is mounted with adaptation board, the LBA (Local Bus
Adapter, LBA, Order No. 6SE7090-0XX84-4HA0) must first be
mounted.

NOTE If only one optional board is used, it must always be inserted in slot
+1.B2 (on the RIGHT) in the electronics box.
If, in addition to the CBP, a technology board (T100 / T300 or T400) is
inserted in the electronics box, it must be inserted in slot +1.B2. In this
case, the CBP is inserted in slot +1.B3.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-42 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.6 Connecting up the CBP to the PROFIBUS

8.2.6.1 Assignment of plug-in connector X448

Connecting up The CBP optional board has a 9-pin Sub-D socket (X448) which is
provided for connecting the CBP to the PROFIBUS system. The
connections are short-circuit proof and floating.
Pin Designation Significance Area
9 5
1 SHIELD Ground connection
2 - Not connected
3 RxD/TxD-P Receive/transmit data P (B/B´) RS485

6
4 CNTR-P Control signal TTL
1
5 DGND PROFIBUS data reference potential (C/C´)
6 VP Power supply Plus 5 V ± 10 %
7 - Not connected
8 RxD/TxD-N Receive/transmit data N (A/A´) RS485
9 - Reference filtered M_EXT

Table 8.2-7 Pin assignment of X448 connection

8.2.6.2 Connecting up the bus cable by means of the RS485 bus connecting
system

With the PROFIBUS, data transfer according to RS485 is most


frequently used. A twisted, shielded copper cable with one pair of wires
is used.
Up to a maximum of 124 units can be connected to a PROFIBUS
phase. In one bus segment, up to 32 units can be connected together
in a linear structure. If there are more than 32 nodes, repeaters (power
amplifiers) must be used in order to link up the individual bus segments.
Maximum cable The maximum cable length depends on the baud rate (transmission
lengths speed).
The maximum cable length can be increased by using repeaters but no
more than three repeaters may be connected in series.
The maximum cable lengths given in the following table can only be
ensured if PROFIBUS bus cables are used (e.g. Siemens PROFIBUS-
cable with MRPD 6XV 1830-0AH10).
Baud rate Max. cable length in Max. distance between 2
a segment stations
[m] [m]
9.6 to 187.5 kbaud 1000 10000
500 kbaud 400 4000
1.5 Mbaud 200 2000
3 to 12 Mbaud 100 1000

Table 8.2-8 Permissible cable length of a segment with RS485 repeaters

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-43
Communication / PROFIBUS 06.2005

Rules for laying When you are laying the bus cable, you must not:
cables ♦ twist it
♦ stretch it
♦ or squash it
In addition to this, you must take into account any influences on
electromagnetic compatibility (EMC).
For further information, see for example Chapter 3 of the Compendium
or the description "Instructions for Design of Drives in Conformance
with EMC Regulations" (Order No. 6SE7087-6CX87-8CE0).
Bus connectors You need bus connectors in order to connect the PROFIBUS to a CBP.
There are different types of bus connector with degree of protection
IP20. Their different uses are shown in the table below.
Order No. 6ES7 972-0BA11-0XA0 6ES7 972-0BA40-0XA0
6ES7 972-0BB11-0XA0 6ES7 972-0BB40-0XA0
Appearance

PG socket 0BA11: no 0BA40: no


0BB11: yes 0BB40: yes
Max. baud rate 12 Mbaud 12 Mbaud

Terminating resistor Can be connected as required Can be connected as required

Outgoing cable Vertical slanting

Interfaces
• PROFIBUS nodes • 9-pole Sub-D socket • 9-pole Sub-D socket
• PROFIBUS cable • 4 terminal blocks for wires up • 4 terminal blocks for wires up
to 1.5 mm2 to 1.5 mm2
Connectable diameter of 8 ± 0.5 mm 8 ± 0.5 mm
PROFIBUS cable
Recommended for
• IM 308-B z
• IM 308-C z
• S5-95U z
• S7-300 z
• S7-400 z z
• M7-300 z
• M7-400 z
• CBP z z
Table 8.2-9 Structure and application of bus connectors with IP20 protection

For more information on ordering and additional descriptions, see the


A&D AS catalog "Industrial Communication" IK 10
(Order No. E86060-K6710-A101-A6).

6SE7087-6QX50 (Version AG) Siemens AG


8.2-44 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Installing the bus Bus cable connection for first Bus cable connection for
and last nodes on the bus1 other nodes on the bus
cable

1 The bus cable must be connected on the left!

Fig. 8.2-11 Connecting up the bus cable to the bus connector

Bus termination Each bus segment must be fitted with a resistor network, the bus
termination, at each end.
If the recommended bus connectors can be used, the bus termination
can be connected or disconnected by means of switches.

Terminating resistor on Terminating resistor on


connected off not connected off

Fig. 8.2-12 Switch positions for connected or disconnected bus termination resistor

If these bus connectors are not used, the user must ensure installation
of a bus termination network at the first and last bus station in
accordance with the following illustration.

VP (PIN 6)

390 Ohm

Data line
RxD/TxD-P (PIN 3)

220 Ohm
Data line
RxD/TxD-N (PIN 8)

390 Ohm

DGND (PIN 5)

Fig. 8.2-13 Bus termination network

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-45
Communication / PROFIBUS 06.2005

NOTICE A bus segment must always be terminated at both ends with a


matching resistor. This is not the case, for example, if the last slave
with bus connector is not live. Because the bus connector obtains its
voltage from the station, the matching resistor has no effect.
Make sure that the stations at which the matching resistor is connected
is always supplied with voltage.

Pulling out the bus You can pull out the bus connector with looped-through bus cable from
connector the PROFIBUS-DP interface at any time without interrupting data
transfer on the bus.

Connection example First bus node Other bus nodes Last bus node

Bus Bus
termination termination

From preceding bus node To next bus node

Fig. 8.2-14 Bus segment in linear structure (max. 32 stations per segment)

6SE7087-6QX50 (Version AG) Siemens AG


8.2-46 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.6.3 Connecting the bus cable with the fiber-optic cable system

For applications in an environment which is subjected to a high level of


interference, fiber-optic cables can also be used with the PROFIBUS-
DP. The specification of fiber-optic-cable transmission is defined in
PROFIBUS guideline No. 2.021.
For connecting fiber-optic cables to the CBP, an OLP (Optical Link
Plug) can be used which provides integrated conversion of the RS485
signals in fiber-optic cables and vice versa.
Area of application With the optical link plugs (OLPs), optical PROFIBUS networks in ring
form can easily be created (single-fiber ring with plastic fiber-optic
cables).

OLM/P3
or
Siemens OLM/P4

PROFIBUS
Master
BFOC connector

Plug-in cable 830-1 Plastic fiber-optic


cable
Simplex cable

PROFIBUS PROFIBUS
Slave Slave
CBP HP Simplex CBP
connector

PROFIBUS A ring consists of PROFIBUS


Slave 1 OLM/P and a Slave
CBP max. of 10 OLP CBP

Fig. 8.2-15 Example of a system configuration with OLPs

The OLP can be directly plugged into the 9-pole SUB-D socket of the
CBP. Power is supplied to the OLP via the 9-pole SUB-D connector of
the CBP.
The transmission reliability of PROFIBUS networks is greatly increased
by using fiber-optic cable instead of twisted two-wire cable. As a result,
the network is insensitive to interference due to EMC problems or
overvoltages.
Considerable cost savings are achieved by using plastic fiber-optic
cables which are also easy to fit. Additional grounding is no longer
necessary either.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-47
Communication / PROFIBUS 06.2005

Functions ♦ Connection of a PROFIBUS slave to an optical single-fiber ring


♦ Cable length between 2 OLPs with plastic fiber-optic cable from 1 m
to 25 m
♦ Maximum circumference of a single-fiber ring: 275 m
♦ Transmission rate of 93.75 kbit/s to 1.5 Mbit/s; can be adjusted by
means of plug-in jumpers (this can be checked through inspection
windows in the connector housing)
♦ OLP single-fiber rings can be integrated in PROFIBUS networks by
means of OLM/Ps

Requirements for ♦ One OLM/P per single-fiber ring is necessary as a coordinator.


use
Ordering data OLP / OLM for PROFIBUS Order No.
OLP 6GK1 502-1AA00
Optical link plug for creating optical single-fiber rings with
plastic fiber-optic cables; including 2 HP Simplex
connectors and mounting instructions
OLM/P3 6GK1 502-3AA10
Optical link module for plastic fiber-optic cables, 3-
channel version with signaling contact, including 2 BF
OC connectors
OLM/P4 6GK1 502-4AA10
Optical link module for plastic fiber-optic cables, 4-
channel version with signaling contact, including 4
BFOC-connectors

For more information on ordering and additional descriptions, see the


A&D AS catalog "Industrial Communication" IK 10
(Order No. E86060-K6710-A101-A6).

6SE7087-6QX50 (Version AG) Siemens AG


8.2-48 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.6.4 Shielding of the bus cable / EMC measures

In order to ensure interference-free operation of the PROFIBUS-DP,


especially in the case of data transmission with RS485, the following
measures are imperative:
Shielding ♦ For the PROFIBUS bus cable, the shield in the bus connector
should be connected to the CBP. Shielding is also provided by the
shield clamps (in the event of Compact units) or by the shield
clamps and cable ties (in the event of chassis-type units) on the
converter housing. The following illustrations show you how to use
the shield clamps. When removing the insulation from the various
core ends, please ensure that the solid copper core is not damaged.
♦ Please ensure that the shield of each bus cable is connected to
protective earth, both where it enters the cabinet as well as at the
converter housing.

NOTE Bus cables are to be laid at an angle of 90 ° to power cables if it is


necessary that the two kinds of cable intersect.

NOTE The bus cables must be twisted and shielded and are to be laid
separately from the power cables at a minimum distance of 20 cm. The
braided shield and, if necessary, the underlying foil shield as well, are
to be connected on both sides through a large surface area so that they
are highly conductive, i.e. the shield of the bus cable between two
converters is to be connected to the converter housing at both ends of
the cable. The same applies to the shielding of the bus cable between
the PROFIBUS-DP master and the converters.

Snap in the shield clamp


∅ ≤ 15 mm ∅ ≤ 7,5 mm ∅ ≤ 5 mm

Release the shield clamp

Squeeze the shield clamp together with your hand


or a screwdriver and pull upwards.

Fig. 8.2-16 Using the shield clamps

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-49
Communication / PROFIBUS 06.2005

Compact type and chassis type units Compact PLUS MC:

Type C Type D

SIEMEN S

Type A Type B

X100

E-box

E-box
A
S1

Slot A
E-box

E-box

X101 B

Slot B

X103 C

Slot C

Shield connection for Shield connection


Shield connecting points for motor cable
control cables

Compact Plus VC:

PE3

+

SIEMEN S

X100
A
S1

Slot A

X101 B

Slot B

X103 C

Shield connection for Shield connection


control cables for motor cable

Fig. 8.2-17 Position of the shield connecting points

If so many control cables are used that two shield clamps are
insufficient, the "EMC shielded housing" option is to be used.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-50 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Potential ♦ Please avoid differences in potential (e.g. as a result of different


equalization power supply levels) between the converters and the PROFIBUS-
DP master.
♦ Use equipotential bonding cables:
• 16 mm2 Cu equipotential bonding cables up to 200 m
• 25 mm2 Cu equipotential bonding cables over 200 m
♦ Route the equipotential bonding cables so that there is the smallest
possible surface between the equipotential bonding cables and
signal cables.
♦ Connect equipotential bonding cables to the ground/protective
conductor through the largest possible surface area.
Laying cables Instructions for laying cables:
♦ Bus cables (signal cables ) must not be laid close to and parallel to
power cables.
♦ Signal cables and the associated equipotential-bonding cables must
be laid as closely together as possible and kept as short as
possible.
♦ Power cables and signal cables must be laid in separate cable
ducts.
♦ Shields must be connected through the largest possible surface
area.
For more information on electromagnetically compatible installation of
systems, see for example Chapter 3 of the Compendium or the
description "Instructions for Design of Drives in Conformance with EMC
Regulations" (Order No. 6SE7087-6CX87-8CE0).

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-51
Communication / PROFIBUS 06.2005

8.2.7 Starting up the CBP

NOTE With regard to basic parameterization, please note the differences to


the types of unit with the older function classes FC (CU1), VC (CU2)
and SC (CU3). These differences are described below.
In order to make these differences clear, the parameter numbers and
other deviations are either printed in dark gray or have a dark-gray
background.

8.2.7.1 Basic parameterization

NOTE For the CBP optional board, it is not necessary to adjust the baud rate.

Basic
Optional boards?
parameterization
with Compact PLUS, no yes
CUMC and CUVC Possible optional boards: CBP, TB

Function selection "Hardware configuration"


P060 = 4

Optional for start-up diagnosis


P711.1 = x

P712.1 = Optional; if PPO type cannot be set via


2...5 PROFIBUS-DP master

P713.1 = Reserved
. .
P721.1 = Reserved

CBP bus address 0 < n < 126


P918.1 = n

Leave "Hardware configuration"


P060 = 1

Parameter access CBP


P053 = x

P060 = 5 Function selection "Drive setting"

Fig. 8.2-18 Parameterization of "Hardware configuration" for Compact PLUS, CUMC


and CUVC

In the case of MASTERDRIVES MC (CUMC) and MC+ (Compact+)


from firmware version V1.4 onwards, the CB parameters P918 and
P711 to P721 can also be changed in the "Drive setting" status (P060 = 5).

6SE7087-6QX50 (Version AG) Siemens AG


8.2-52 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Basic
parameterization for
FC (CU1), VC (CU2) yes Possible optional boards:
and SC (CU3) Optional SCB, TSY, CBP, TB
boards?

no P052 = 4 Function selection


"Hardware configuration"

CBP in yes
slot +1.B2?
CBP in slot +1.B2
no
P090 = 1

yes yes
CBP in
slot +1.B3?

nein
P091 = 1 CBP in slot +1.B3

P696 = x Optional for start-up


diagnosis

Optional; if PPO type


P697 = 2 ... 5 cannot be set via
PROFIBUS-DP
master
P698 = Reserved
. .
P705 = Reserved

P918 = n CBP bus address


0 < n < 126

P052 = 0 Leave
"Hardware configuration"

P053 = x Parameter access CBP

P052 = 5 Function selection "Drive setting"

Fig. 8.2-19 Parameterization of "Hardware configuration" for FC (CU1), VC (CU2)


and SC (CU3)

NOTE All grayed out parameters are only valid for units with the functions FC
(CU1), VC (CU2) and SC (CU3).

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-53
Communication / PROFIBUS 06.2005

NOTE The following conventions apply to all parameters with index (e.g.
P918.x) given below:
♦ Index 1 is valid for the first CBP
♦ Index 2 is valid for the second CBP
To determine which CBP is the first and which the second, see Section
8.2.4 "Mounting methods / CBP slots".

P053 (parameter access)


This parameter is significant for the CBP if you wish to set or change
parameters of the converter (including technology) by means of the PKW part
of the PROFIBUS telegrams.
In this case, please set parameter P053 to an uneven number (e.g. 1, 3, 7
etc.). With parameter P053, you can define the positions (PMU, CBP etc.)
from which parameters may be altered.
Example: P053 = 1: Parameter access only CBP
= 3: Parameter access CBP+PMU
= 7: Parameter access CBP+PMU+SCom1 (OP)
If changing parameters (= parameter access) has been enabled via the CBP
(P053 = 1, 3 etc.), all other parameter settings can be made from the
PROFIBUS-DP master via the bus.
For the additional setting of parameters which concern data transfer via the
PROFIBUS-DP (e.g. process data (PZD) combination), you must know the
PPO type used for the transfer of useful data.

P060 P052
Function selection "Hardware setting"

P090 (board position 2) or P091 (board position 3)


You can also change these parameters if the CBP exchanges useful data via
the PROFIBUS-DP. In this way, you can isolate the PROFIBUS-DP interface
from the converter with the appropriate parameterization. In this case, the
CBP changes over to the PROFIBUS-DP status "Static Diagnosis", i.e. the
CBP causes the PROFIBUS-DP master to exit the data-exchange mode and
only to request diagnostic telegrams from the CBP.

P918.x (CBP Bus Address) P918 (CBP Bus Address)


The CBP accepts the address set in parameter P918 only after voltage
recovery or a reset. After the CBP has been parameterized, it is no longer
possible to change the address. Any attempt to do so leads to fault number
F080.
An address change only becomes effective after the power supply to the
electronics box has been turned off and then turned on again!

6SE7087-6QX50 (Version AG) Siemens AG


8.2-54 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

P711.x (CBP Parameter 1) P696 (CBP Parameter 1)


With this parameter, you can activate special diagnostic information for start-
up and service. During normal operation, P711 / P696 has the value 0
(default setting).

P712.x (CBP Parameter 2) P697 (CBP Parameter 2)


If you are using a PROFIBUS-DP master system where it is possible to set
the identification byte and thus specify the type of PPO (e.g. IM308B/C for
SIMATIC S5), you do not need to do anything with P712 / P697 (simply
bypass this parameter P712 / P697)!
If you are using a PROFIBUS-DP master system where it is not possible to
specify the PPO type at the converter by means of the identification byte (e.g.
CP5431 for SIMATIC S5), you can specify a PPO type with parameter
P712 / P697. With the default setting (P712 / P697= 0), the CBP
automatically sets the type of PPO.
P712 / P697 = 0: PPO1 (default setting)
= 1: PPO1
= 2: PPO2
= 3: PPO3
= 4: PPO4
= 5: PPO5

P713.x (CB Parameter 3) P698 (CBP Parameter 3)


Only CBP2
Communications protocol:
P713 / P698 = 0: PROFIBUS
(Default setting)
(P713 / P698 = 1: reserved)
P713 / P698 = 2: USS
Only selected parameters are relevant (see below).
A change from the PROFIBUS to the USS protocol and vice versa does not
come into effect until after the voltage has been switched off and then on
again.

P714.x (CB Parameter 4) P699 (CBP Parameter 4)


Only CBP2
Write requests of a SIMATIC OP are stored permanently (EEPROM) or
temporarily (RAM).
P714 / P699 = 0: EEPROM (default setting)
P714 / P699 = 1: RAM

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-55
Communication / PROFIBUS 06.2005

P715.x (CB Parameter 5) P700 (CBP Parameter 5)


Only CBP2
Failure of a cross-traffic relationship is signaled as a fault or alarm.
P715 / P700 = 0: Fault (default setting)
In the event of failure, transmission of all setpoints to the basic unit is
stopped. This leads to fault F082
P715 / P700 = 1: Alarm
The failure is only signaled by alarm A088. With regard to the missing
setpoints, those last received are retained.

NOTE After the above settings have been made, the CBP is logged-on in the
converter and is ready to establish connections to the PROFIBUS-DP.
It is not yet possible to process the process data via the PROFIBUS-DP
after this has been done.
This additionally requires the type of process data interconnection
described in the following section 8.2.6.2.

USS For USS-relevant parameter numbers, only CBP2 with P713.x = 2:


CBP2 parameter Meaning Corresponds to Scom/
number SCB parameter
number
P918.x Bus address P700
P718.x Baud rate P701
(CB parameter 8) 6 = 9.6 kbaud
7 = 19.2 kbaud
8 = 38.4 kbaud
P719.x Number of PKWs P702
(CB parameter 9)
P720.x Number of PZDs P703
(CB parameter 10)
P722.x Telegram failure time P704

Further information on the USS protocol can be found in Section 8.1,


USS.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-56 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.7.2 Process data interconnection in the units

Definition Process data interconnection involves the linking up of setpoints and


control bits to the RAM interface. The transferred process data only
become effective when the used bits of the control words as well as the
setpoints, status words and actual values are allocated (connected) to
the dual-port RAM interface.
The CBP stores the received process data at fixed pre-determined
addresses in the dual-port RAM. Each item of process data (PZDi, i = 1
to 10) is assigned a connector (e.g. 3001 for PZD1). The connector is
also used to determine whether the PZDi (i = 1 to 10) is a 16-bit value
or a 32-bit value.
With the help of selector switches (e.g. P554.1 = selector switch for bit
0 of control word 1), the setpoints or the individual bits of the control
words can be assigned to a particular PZDi in the dual-port RAM. In
order to do this, the connector belonging to the required PZDi is
assigned to the selector switch.

NOTE In function classes CUMV, CUVC and Compact PLUS, the control
words STW1 and STW2 are also available in bit form on so-called
binectors (explanations of BICO systems can be found in Chapter 4
"Function Blocks and Parameters").

Alter process data interconnection?

no yes

Interconnect receive channel See section


control words, "Process-data interconnection,
setpoints setpoint channel"

Interconnect reply channel: See section


status words, "Process-data interconnection,
actual values actual-value channel"

See section
Other relevant CBP
"Process-data monitoring"
parameters

Fig. 8.2-20 Procedure for changing process data

NOTICE Rewiring from 16 to 32 bit and vice versa should not be done while the
equipment is in operation, because the changeover takes several
milliseconds, during which time the data on the bus are not consistent
(high and low can change places).

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-57
Communication / PROFIBUS 06.2005

Examples The following pages contain examples of how the transferred data are
allocated in the units by means of process data interconnection.

e.g. P554.1 = 3100

B 3100
PKW Process data (PZD) - Setpoint channel
PZD1 PZD2 S TW 1
STW HSW PZD3PZD4 PZD5PZD6 B it 0
Dual-port-RAM
Setpointchannel B 3101

STW 3001
from the master HSW 3002/3032 B 3115
Bus
PZD3 3003
PROFIBUS-DP connector
PZD4 3004 e.g. P443.1=3002
PZD5 3005/3035
PZD6 3006/3036

S o u rce o f
PZD10 3010 H SW
from analog
input
CBP SIMOVERT MASTERDRIVES

PKW Process data (PZD) - Actual-value channel


PZD1 PZD2
ZSW HIW PZD3PZD4PZD5 PZD6
Dual-port-RAM
to the master Actual-valuechannel
(CB/TB-actual values)
ZSW P734.1 P734.1
P734.2
HIW P734.2
Bus P734.3
connector PZD3 P734.3
PROFIBUS-DP P734.10
PZD4 P734.4
PZD5 P734.5
PZD6 P734..6

S ta te s
PZD10 P734.10 A ctu a l
va lu e s

CBP SIMOVERT MASTERDRIVES

Fig. 8.2-21 Example of process data interconnection of the first CB board in function
classes Motion Control Compact PLUS, CUMC and CUVC

6SE7087-6QX50 (Version AG) Siemens AG


8.2-58 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

e. g. P554.1 = 3001

PKW Process data (PZD) - Setpoint channel STW1


Bit 0
PZD1 PZD2 PZD3 PZD 4
STW HSW PZD5 PZD6
Dual-port-RAM
Setpoint channel

STW 3001
From the master HSW 3002/3032
Bus
connector PZD3 3003
PROFIBUS-DP
PZD4 3004 e. g. P443.1=3002
PZD5 3005/3035
PZD6 3006/3036
Source of
PZD10 3010 HSW

from analog
input

CBP SIMOVERT MASTERDRIVES

PKW Process data (PZD) - Actual-value channel


PZD1 PZD2
ZSW HIW PZD3 PZD 4 PZD5 PZD6
To the Master Dual-port-RAM
Actual-value channel (CB/TB-Actual values)
ZSW P694.1 P694.1
P694.2
HIW P694.2
P694.3
Bus
connector PZD3 P694.3
PROFIBUS-DP P694.10
PZD4 P694.4
PZD5 P694.5
PZD6 P694..6
States
Actual
values
PZD10 P694.10

CBP SIMOVERT MASTERDRIVES

Fig. 8.2-22 Example of process data interconnection for function classes FC (CU1),
VC (CU2) and SC (CU3)

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-59
Communication / PROFIBUS 06.2005

Process data ♦ The "tens digit" of the connector is used to distinguish between a
interconnection, 16-bit process data item (e.g. 3002) and a 32-bit process data item
setpoint channel (e.g. 3032).
Master → Converter ♦ If a process data item is transferred as a 16-bit quantity, assign the
required PZDi-relevant connector for a 16-bit process data item to
the selector switch (see "Process data linkage"). (Example: If a 16-
bit process data item is assigned to PZD2, the relevant connector is
3002).
♦ If a process data item is transferred as a 32-bit process data item,
assign the required PZDi-relevant connector for a 32-bit process
data item to the selector switch (see "Process data
interconnection"). For this, use the connector of the least-significant
PZDi (Example: If a 32-bit process data item is assigned to PZD2 +
PZD3, the relevant connector is 3032)
♦ The first word (associated connector : 3001 or the binectors 3100 to
3115) of the received process data is always assigned to control
word 1 (STW1).
♦ The second word is always assigned to the main setpoint (HSW).
♦ If the main setpoint is transferred as a 32-bit process data item, it is
also assigned to word 3. In this case, the most-significant part of the
main setpoint is transferred in word 2 and the least-significant part is
transferred in word 3.
♦ If a control word 2 (STW2) is transferred, the fourth word (relevant
connector = 3004 or binectors 3400 to 3415) is always assigned to
STW2.

NOTE In PPO types 1 and 3, the PZD part only consists of two words. Here,
only control word 1 and the main setpoint (as 16-bit value) can be
linked up to the dual-port RAM interface.
♦ The connector for the setpoint channel is always a 4-digit one. The
connectors assigned to the process data (PZD1 to PZD10) are
shown in the function diagram of the relevant CU board.
The connectors are entered at the PMU as 4-digits values (e.g.
3001). When parameterization is done via the PROFIBUS-DP, the
connector is entered via the bus and also via the PMU (e.g.
connector 3001 is transferred as 3001hex).

NOTE Process data interconnection of the setpoint channel can also be


carried out via the PROFIBUS-DP if P053 has previously been set to an
uneven value.
Please bear in mind that control word 1 (STW1) has the value 0 during
the parameterization phase (process data interconnection)!

6SE7087-6QX50 (Version AG) Siemens AG


8.2-60 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Interlocking of MC V1.50 and higher / CUVC V3.23 and higher


connectors and
double connectors

DANGER When interconnecting connectors, binectors, and double word


connectors, please note that simultaneous interconnection of a
connector, and a double word connector with the same name is not
permitted, because when a double word connector (e. g. KK3032) is
connected, the meanings of the connectors K3002 and K3003 are
swapped round (high-word and low-word exchanged).
On MASTERDRIVES MC and Compact Plus on software version V1.50
and higher and on MASTERDRIVES CUVC on software version V3.23
and higher, simultaneous use of connectors and double word
connectors with the same name is mutually interlocked (see also
function diagrams [121] and [131]).
Because the binectors are not included in the interlocking (to ensure
compatibility for older configurations), their significance changes
according to whether the pertinent word or double word is wired.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-61
Communication / PROFIBUS 06.2005

Example for the PZD interconnection for the bits of control word 1 (STW1), the main
setpoint channel setpoint (HSW) and the bits of control word 2 (STW2).

At the converter via PMU Meaning

P554.1 = 3100 P554.1 = 3001 Control word 1 bit 0 (Src ON/OFF1) via DPR interface (word 1)

P555.1 = 3101 P555.1 = 3001 Control word 1 bit 1 (SrcON/OFF2) via DPR interface (word 1)

P443.1 = 3002 P443.1 = 3002 16-bit main setpoint (Src Main Setpoint) via DPR interface (word 2)

P588.1 = 3411 P588.1 = 3004 Control word 2 bit 28 (Src No Ext Warn1) via DPR interface (word 4)

If the factory setting of the converter is used, the above example of


parameterization is a functioning way of interconnecting process data
(setpoints).
• Italics:
Parameter number (if the PMU is a decimal number, via PROFIBUS-DP as
an equivalent HEX number).
• Single underline:
Index (if the PMU is a decimal number, via PROFIBUS-DP as an equivalent
HEX number).
• Double underline:
Interconnection value: defines whether the parameter selected by the
parameter number is transferred as a 16-bit value or as a 32-bit value and
at which position in the PZD-setpoint telegram (PZDi), the parameter is
transferred.
• White background = MASTERDRIVES Compact PLUS,
CUMC or CUVC (first CBP)
• Grey background = MASTERDRIVES FC (CU1),
VC (CU 2) or SC (CU 3)

Process data The actual-value process data (PZDi, i = 1 to 10) are assigned to the
interconnection, appropriate status words and actual values by the indexed parameter
actual-value channel P734.i / P694.i (CB/TB actual values). Each index stands for a process
data item (e.g. 5 → PZD5 etc.). Please enter the number of the
connector or parameter whose value and corresponding process data
item you wish to transfer in parameter P734 / P694 under the relevant
index.
The status word is always to be transferred in the PZD1 word of the
PZD reply (actual-value channel), and the main actual value in PZD2.
What additional items are assigned to the PZD (PZD1 up to, if
necessary, PZD10) is not specified. If the main actual value is
transferred as a 32-bit value, then it is assigned to PZD2 and PZD3.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-62 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Example for the PZD interconnection for status word 1 (ZSW1), the main actual value
actual-value channel (HIW) and status word 2 (ZSW2).

At the converter via PMU Meaning

P734.1 = 32 P694.1 = 968 Status word 1 (K032 / P968) is transferred in the actual-value
channel by means of PZD1.

P734.2 = 151 P694.2 = 218 The actual speed n/f (KK151 / P218) is transferred in the actual-value
channel by means of PZD2 (here, as a 16-bit quantity; PZD3 is
empty).

P734.4 = 33 P694.4 = 553 Status word 2 (K033 / P553) is transferred in the actual-value
channel by means of PZD4.

Example: 32-bit main actual value

P734.2 = 151 P694.2 = 218 The actual speed n/f (KK151 / P218) is transferred in the actual-value
channel by means of PZD2 ...

P734.3 = 151 P694.3 = 218 ... and as a 32-bit value by means of PZD3.

• Italics:
P734 / P694 (CB/TB actual value), if PMU is shown as a decimal number,
transferred via PROFIBUS-DP as an equivalent HEX (2B6 Hex).
• Single underline:
Index (if PMU is a decimal number, via PROFIBUS-DP as an equivalent
HEX number): Specifies at which position in the PZD actual-value telegram
the actual value selected by the parameter number is transferred.
• Double underline:
Parameter number of the required actual value.
• White background = MASTERDRIVES Compact PLUS,
CUMC or CUVC (first CBP)
• Grey background = MASTERDRIVES FC (CU1),
VC (CU 2) or SC (CU 3)

NOTE If actual values are transferred as a 32-bit data item, you must enter the
appropriate connector number at two consecutive words (indices).

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-63
Communication / PROFIBUS 06.2005

8.2.7.3 Process data interconnection via standard telegrams

Definition PROFIdrive profile version V3 defines standard telegrams for cyclical


data exchange.

Telegram selection Process data can be interconnected for standard telegrams by means
of a Script file.

Structure of See also PROFIdrive version 3 (PNO: Order No. 3172).


standard telegrams

Standard telegram 1:
PZD number 1 2
Setpoint STW1 NSOLL_A

PZD number 1 2
Actual value ZSW1 NIST_A

Standard telegram 2:
PZD number 1 2 3 4
Setpoint STW1 NSOLL_B STW2

PZD number 1 2 3 4
Actual value ZSW1 NIST_B ZSW2

Standard telegram 3:
PZD number 1 2 3 4 5
Setpoint STW1 NSOLL_B STW2 G1_STW

PZD number 1 2 3 4 5 6 7 8 9
Actual value ZSW1 NIST_B ZSW2 G1_ZSW G1_XIST1 G1_XIST2

Standard telegram 4:
PZD number 1 2 3 4 5 6
Setpoint STW1 NSOLL_B STW2 G1_STW G2_STW

PZD number 1 2 3 4 5 6 7 8 9 ...


Actual value ZSW1 NIST_B ZSW2 G1_ZSW G1_XIST1 G1_XIST2 ...

... ... 10 11 12 13 14
... ... G2_ZSW G2_XIST1 G2_XIST2

Standard telegrams 5 and 6 are derived from standard telegrams 3 and 4 for the Dynamic
Servo Control (DSC) function.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-64 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Standard telegram 5:
PZD number 1 2 3 4 5 6 7 8 9
Setpoint STW1 NSOLL_B STW2 G1_STW XERR KPC

PZD number 1 2 3 4 5 6 7 8 9
Actual value ZSW1 NIST_B ZSW2 G1_ZSW G1_XIST1 G1_XIST2

Standard telegram 6:
PZD number 1 2 3 4 5 6 7 8 9 10
Setpoint STW1 NSOLL_B STW2 G1_STW G2_STW XERR KPC

PZD number 1 2 3 4 5 6 7 8 9 ...


Actual value ZSW1 NIST_B ZSW2 G1_ZSW G1_XIST1 G1_XIST2 ...

... ... 10 11 12 13 14
... ... G2_ZSW G2_XIST1 G2_XIST2

Signals:

Signal No. Meaning Abbreviation Length Sign


16/32-bit
1 Control word 1 STW1 16
2 Status word 1 ZSW1 16
3 Control word 2 STW2 16
4 Status word 2 ZSW2 16
5 Speed setpoint A NSOLL_A 16 with
6 Actual speed A NIST_A 16 with
7 Speed setpoint B NSOLL_B 32 with
8 Actual speed B NIST_B 32 with
9 Encoder 1 control word G1_STW 16
10 Encoder 1 status word G1_ZSW 16
11 Encoder 1 actual position 1 G1_XIST1 32
12 Encoder 1 actual position 2 G1_XIST2 32
13 Encoder 2 control word G2_STW 16
14 Encoder 2 status word G2_ZSW 16
15 Encoder 2 actual position 1 G2_XIST1 32
16 Encoder 2 actual position 2 G2_XIST2 32
25 Control deviation XERR 32 with
26 Position controller gain factor KPC 32 with

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-65
Communication / PROFIBUS 06.2005

8.2.7.4 Process data monitoring

NOTE Please note the different parameter numbers for the types of unit with
the older function classes FC (CU1), VC (CU2) and SC (CU3).
In order to make these differences clear, these parameter numbers are
either printed in dark gray or have a dark-gray background.

P722.x (CB/TB TlgOFF) P695 (CB/TB TlgOFF)


With parameter P722. / P695, you can determine whether entering of process
data into the dual-port RAM by the CBP is to be monitored by the converter.
For parameter P722
♦ Index 1 is applicable for the first CBP and
♦ Index 2 is applicable for the second CBP.
To determine which CBP is the first one and which is the second one, see
section 8.2.4 "Mounting methods / CBP slots".

If process data monitoring has been activated, a fault in the DP master


is followed by a reaction of the converter, irrespective of the reply-
monitoring time in the CBP.

& P722.x ≠ 0 P722.x = 0 P695 ≠ 0 P695 = 0


Response Reaction Reaction Reaction Reaction
monitor active Yes No Yes No
Response Reaction Reaction Reaction Reaction
monitor inactive No No No No

Table 8.2-10 Process data monitoring depending on P722.1/P695 and the response
monitor tWD

When the DP master is being configured, it is specified whether


telegram traffic with the master is to be monitored by the slave (CBP). If
response-monitoring is active, the PROFIBUS-DP master passes on a
time value tWD (watchdog time) to the CBP when a connection is
made.
If the response-monitoring time expires, the CBP ceases to write
process data into the dual-port RAM. When this is combined with
P722.x / P695, it is therefore possible to plan your process data
monitoring.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-66 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Response monitoring (watchdog) CBP TLgOFF

P722.1
tWD or
P695
DP-Master CBP Basic unit

Fig. 8.2-23 Effect of tWD and P722.1 / P695

Response-monitoring time tWD


Yes No

CPU (AG) IM308B/C CPU (AG) IM 308B/C Simatic


P722.x in STOP in STOP or in STOP in STOP "Supply off"
P695 Simatic "Supply
off
Converter Converter Converter Converter Converter
continues to continues to continues to continues to continues to
run with the run with the run with the run with the run with the
0 ms useful data last useful data last useful data last useful data last useful data last
received. received. received. received. received.
Alarm A083 Alarm Alarm A083
A083/A084
Converter
Fault trip with Fault trip with continues to Fault trip with Converter
F082 after: F082 after: run with the F082 after: continues to
useful data last run with the
10 ms Watchdog time Watchdog time received. 10 ms
+ + useful data last
10 ms 10 ms Fault trip with received.
F082 after
restart of CPU.

Table 8.2-11 Interaction of P722 / P695 and response monitoring (watchdog)

Always set parameter P722.x / P695 to 10 for operation with the CBP.
Monitoring of process data is thus activated/deactivated by the value of
the response-monitoring (watchdog) time solely via the PROFIBUS-DP!
The converter monitors entering of process data into the dual-port RAM
from the instant at which the CBP enters process data into the dual-port
RAM for the first time. Fault F082 can only be tripped after this instant!
Process data whose complete control word (PZD1) has the value zero
is not passed on by the CBP to the dual-port RAM (warning A083)!

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-67
Communication / PROFIBUS 06.2005

A fault is followed by a fault trip after


♦ Watchdog time + 10 ms
♦ The 10 ms correspond to the value 10 of parameter P722 / P695
and can be neglected with respect to the response-monitoring value.
♦ For additional operation with a Class II master, please bear in mind
the information in the section "Diagnosis with the Class II master" of
Chapter 8.2.8.4.

DANGER If the "ON" command (bit 0) is interconnected with the dual-port RAM
interface, the following must be done for safety reasons:
An "OFF2" or "OFF3" command must be additionally parameterized to
the terminal strip/PMU as otherwise the converter cannot be powered
down by means of a defined command when there is a communications
breakdown!

8.2.8 Settings for the PROFIBUS-DP master (Class 1)


PROFIBUS units have different performance characteristics.
In order to ensure that all master systems can correctly communicate
with the CBP in all the ways possible, the characteristic features of the
CBP are summarized in the form of an electronic data sheet (data file).
These so-called master files describe the characteristic features of a
type of unit clearly and completely in an exactly specified format.
For the different master systems, the characteristics are summarized in
a standardized master file (GSD) and, for the SIMATIC, in a type-
description file specific to the SIMATIC.
Master file (GSD) The CBP2 V2.20 supports PROFIdrive version 3. The device master
file (GSD) is stored as an ASCII file (SIEc8045.GSD) on the floppy disk
supplied with the CBP.
The GSD allows you to configure standard telegrams 1 to 6. It has been
generated according to revision 4 for PROFIBUS DP-V2.
To ensure complete compatibility between CBP and CBP2 V2.10, PPO
types can still be used for configuring purposes, as described below.
The CBP2 V2.20 can also be operated on the device master file for the
CBP and CBP2 V2.1 (SIEM8045.GSD).
Type-description file The type-description file is also available as an ASCII file
(SI8045AX.200 and SI8045TD.200) on the floppy disk which
accompanies the CBP.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-68 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Selecting the type of So-called identification bytes are transferred in the configuration
PPO telegram of the PROFIBUS-DP master. These bytes determine the type
of PPO for the useful-data telegram.
These bytes can be assigned different values for selecting a particular
type of PPO (except for PPO type 1). For PPO type 4, for example,
either identification byte 0 = 245 and identification byte 1 = 0 can be
entered or only identification byte 0 = 245. If an unknown combination
of identification bytes is received, the CBP sets the bit
"parameterization error" in the diagnostic telegram to the PROFIBUS-
DP master.

PPO Identification byte Identification byte Identification byte Identification byte COMET200
0 1 2 3
type Dec Hex COM Dec Hex COM Dec Hex COM Dec Hex COM Version
1 243 F3 4AX 241 F1 2AX V4.x/V5.x
2 243 F3 4AX 243 F3 4AX 241 F1 2AX 0 0 0 V4.x/V5.x
2 243 F3 4AX 243 F3 4AX 241 F1 2AX V4.x/V5.x
2 243 F3 4AX 245 F5 6AX V5.x
3 241 F1 2AX 0 0 0 V4.x/V5.x
3 0 0 0 241 F1 2AX V4.x/V5.x
3 241 F1 2AX V4.x/V5.x
4 0 0 0 243 F3 4AX 241 F1 2AX 0 0 0 V4.x/V5.x
4 0 0 0 243 F3 4AX 241 F1 2AX V4.x/V5.x
4 0 0 0 243 F5 6AX V5.x
4 245 F5 6AX 0 0 0 V5.x
4 245 F5 6AX V5.x
5 243 F3 4AX 243 F3 4AX 243 F3 4AX 241 F1 2AX V4.x/V5.x
5 243 F3 4AX 243 F3 4AX 241 F1 2AX 243 F3 4AX V4.x/V5.x
5 243 F3 4AX 249 F9 10A V5.x
X

Table 8.2-12 Values for the identification bytes

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-69
Communication / PROFIBUS 06.2005

8.2.8.1 Operating the CBP with a SIMATIC S5

When the CBP is used with a SIMATIC S5, it is operated as a


standard DP slave.
As possible master boards, the IM308 B or the IM308 C can be used,
or even the CP5431 in limited form.
The planning tools COM ET200 or COM PROFIBUS are available for
configuring the master station.
If older versions of these planning tools are used, you must copy the
master file or type-description file from the accompanying floppy disk
into the appropriate sub-directory of the planning software.
COM ET200 up to When configuring the CBP, please use the SI8045TD.200 type-
Version V4.x description file on the floppy disk.
Please copy the type-description file into the directory containing the
COM ET 200 files in the PG/PC.
Example CD C:\COMET200
COPY A:\SI8045TD.200 C:
The type of PPO is selected in the configuration mask of COM ET200
up to Version V4.x by entering identification bytes in accordance with
the above table of identification bytes.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-70 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

COM ET200 WIN When configuring the CBP, please use the SI8045AX.200 type-
and description file on the floppy disk only if the CBP has not yet been
COM PROFIBUS included in the supplied version of the COM package.
Then copy the type-description file into the "TYPDAT5X" directory of
the COM installation in the PG/PC.
From COM PROFIBUS V3.2 onwards, the CBP is included as standard
and the type-description files on the floppy disk are then of no
significance.
When a CBP is being configured (pull out the selector buttons
"DRIVES" on the bus cable) and the suggested slave address is
confirmed, a selection mask called "Slave characteristics" appears on
the screen. It has the following appearance:

The required type of PPO is selected with this planning tool from a
selection table called "Required configuration". This table appears
automatically when the menu item "Configure" is selected.
More information on how to configure data exchange between a CBP
and a SIMATIC S5 can be found in the description accompanying the
DVA_S5 module package.
Using the DVA_S5 The DVA_S5 module package (variable-speed drives with the SIMATIC
module package S5) implements data transfer between SIMATIC and SIMOVERT
slaves in accordance with the PROFIBUS profile for variable-speed
drives and thus facilitates creation of the user program. A data module
with the same appearance is always provided as the data interface,
irrespective of which S5-CPU the program runs on. The programmer,
therefore, does not need any detailed knowledge of the SIMATIC S5
system architecture or of the system functions which may be required.
The DVA_S5 module package can be obtained from A&D WKF
Fürth/Germany under MLFB 6DD1800-0SW0.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-71
Communication / PROFIBUS 06.2005

8.2.8.2 Operating the CBP with a SIMATIC S7

CBP as S7 slave The CBP can be operated in two ways with a SIMATIC S7:
♦ As a standard DP slave
♦ As a standard DP slave with extended functionality for SIMATIC S7
Integrated The CPUs with integrated PROFIBUS interface such as CPU315-2DP,
PROFIBUS CPU413-2DP, CPU414-2DP or CPU416-2DP etc. can be used as the
interfaces possible S7 master.
The master station as well as the whole PROFIBUS network is
configured in the STEP 7 hardware manager.
CBP as a standard Requirement: STEP 7 from V3.0 upwards
DP slave If your STEP 7 hardware catalog does not yet contain the entry
"MASTERDRIVES CBP", proceed as follows:
Copy the type-description file S18045AX.200 from the supplied floppy
disk into the STEP 7 index STEP7 à S7DATA à GSD.
From STEP 7 version V4.01, the CBP is contained as standard in the
hardware catalog, i.e. from version V4.01 onwards, the floppy disks are
of no significance.
In the "Extras" menu of the SIMATIC hardware configuration, then
select the menu item "Update GSD files" and carry out this command.
You will find the CBP in the "Hardware catalog" menu under
"PROFIBUS-DP à Further field devices à Simovert". It appears there
under the name "MASTERDRIVES CBP".
CBP as a standard To enable the CBP to be connected as a standard DP slave with
DP slave with extended functionality for SIMATIC S7 (e. g. acyclical communication
extended with SIMOVIS/DriveMonitor) to the PROFIBUS-DP, a so-called
functionality DVA_S7 object manager has to be installed as an add-on to STEP 7.
The DVA_S7 object manager is part of the DVA_S7 module package.
STEP7 basis software, Version V3.1 and upwards, is a requirement for
installation of the DVA_S7-OM.
The DVA_S7-OM takes on the function of a master file or type-
description file and supplements the unit characteristics stored there
with all the necessary S7 characteristics.
S7 diagnosis If the CBP is configured in SIMATIC S7 using the DVA_S7 object
manager, a diagnosis alarm is automatically generated for the
converter fault in the S7-CPU. This diagnosis alarm is derived from bit 3
of the status word (collective fault) and results in a STOP of the S7-
CPU if the OB82 (diagnostics organization block) is not
programmed.
For the correct processing of the diagnosis alarm, the status word of
the converter always has to be transferred unchanged as the first word
from the converter to the CBP (see section "Process data
interconnection").

NOTE When a converter fault occurs, the CBP2 does not generally trigger a
diagnosis alarm.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-72 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

The behavior of the S7-CPU during complete failure of a configured


drive or during an interruption in the bus cable can be controlled by
programming the relevant system organization modules OB86 and
OB122. If these system modules are not programmed, the S7-CPU
also goes into the STOP state if a configured drive fails or if a bus is
interrupted. Refer to Chapter 3 of the programming manual for the S7-
300/400 for detailed descriptions on the indicated system organization
modules.
After installation of the DVA_S7-OM , the CBP is shown as follows in
the hardware catalog:

The type of PPO is selected in the hardware manager from the register
"Configuration" of the "Characteristics – DP slave" mask which is
automatically shown on the screen when the selection (e.g. Motion
Control) is confirmed.
More information on planning data exchange between a CBP and a
SIMATIC S7 can be found in the description accompanying the
DVA_S7 module package.
If the DVA_S7 module package is not used, the system features
regarding data consistency have to be observed by the user program.
In particular, this means that access can only be made via the system
functions SFC14 and SFC15 to all consistent data areas > 4 bytes.
The PKW and the PZD parts are regarded as two independent
consistent data areas.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-73
Communication / PROFIBUS 06.2005

PKW PZD (4, 12 or 20 bytes)


PPO1 (8 bytes) (4 bytes)
PPO2 (8 bytes) (12 bytes)
PPO3 − (4 bytes)
PPO4 − (12 bytes)
PPO5 (8 bytes) (20 bytes)

CP342-5DP At the present time, the CBP can be operated with a CP342-5DP only
as a standard DP slave because S7 functions are not yet supported by
the CP342-5DP. In order to operate the CBP as a standard slave, the
equipment master file or the type-description file must be incorporated
into the STEP7 basic software (see integrated DP interfaces).
The DVA_S7 module The SIMATIC DVA_S7 module package (variable-speed drives on
package SIMATIC S7) implements data transfer between the drive and SIMATIC
S7 in accordance with the PROFIBUS profile for variable-speed drives
and thus facilitates creation of the user program. A data module with
the same appearance is always provided as the data interface,
irrespective of which S7 CPU the program runs on. The programmer
does not therefore need any detailed knowledge of the SIMATIC S7
system architecture or of the necessary system functions.
As already mentioned, the DVA_S7 object manager is part of the scope
of supply of the DVA_S7 module package.
The DVA_S7 module package can be obtained from A&D WKF
Fürth/Germany under MLFB 6SX 7005-0CB00.

8.2.8.3 Operating the CBP with a non-Siemens system

When used with a non-Siemens master system, the CBP can be


operated only as a standard DP slave.
Required master file The equipment master file (GSD file) on the floppy disk contains all the
information which a DP master system needs for integrating the CBP
as a standard DP slave in its PROFIBUS configuration.
If the non-Siemens master system allows direct integration of a master
file, the SIEM8045.GSD file can be copied into the relevant sub-
directory.
If this is not possible, the required information will have to be taken from
the SIEM8045.GSD file.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-74 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.8.4 Operating the CBP2 with extended functions with a SIMATIC S7

The extended functions "Cross traffic" and "Clock synchronization" are


described in detail in PROFIBUS Profile Drive Technology, Version 3.

DriveES SlaveOM The functions described here presuppose the planning tool, STEP7,
and driveES with the slave OM for the CBP2.
♦ Free configuration: Up to 16 process data can be configured in each
case, separated into setpoints and actual values.
♦ Cross traffic: Direct slave-to-slave communication without going the
long way round via the DP master.
♦ Clock synchronization: Synchronization of master and slave
applications at the isochronous PROFIBUS.
Free configuration is possible with all DP masters which are configured
with STEP7.
Cross traffic and clock synchronization presuppose DP masters which
support this functionality, i.e. all S7-CPUs, for example, with the
characteristic "equidistance".

Configuration For free configuration and cross traffic, carry out configuration
completely with the slave OM in the "Configuration" register. In the
drive, only correct interconnection of the setpoints and actual values
has to be carried out.

Clock Configure Clock synchronization with the slave OM in the "Clock


synchronization synchronization" register. In addition, some parameters in the drive
have to be set (MASTERDRIVES MC only).
Detailed help can be obtained in the on-line help for the slave OM.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-75
Communication / PROFIBUS 06.2005

8.2.8.5 CBP2 with cross traffic operated with a SIMATIC S7

The cross traffic function enables direct slave-to-slave communication


on the PROFIBUS without having to go the long way round via the DP
master. A DP master, however, is needed "to keep time".

DP master (class 1)

Parameterizing master,
active station

Outputs Inputs

Slave (drive) Slave (drive) Slave (drive)

Publisher Subscriber Subscriber

Cross-traffic relationships

Fig. 8.2-24 Cross traffic

Configurations With cross traffic, you can configure communication between DP slaves
in various ways, e.g.
♦ "Broadcast": Stipulation of a master setpoint from a master drive to
all drives.
♦ "Peer-to-peer": Passing on a setpoint from one drive to the next.

Definitions:
Encoder ♦ Cross-traffic encoder (publisher): All inputs of a DP slave capable of
cross traffic are transmit data in relation to cross traffic. They can be
received by the DP master or by DP slaves capable of cross traffic.
Transmitting takes place automatically by means of a broadcast.
Explicit configuration of the cross-traffic encoder is not necessary.
Receiver ♦ Cross-traffic receiver (subscriber): The sources for the setpoints are
specified by means of configuration. The outputs of the DP master
or the inputs of a DP slave as the cross-traffic encoder are possible
sources (in the case of drives, their actual values). There are no
restrictions on the way in which master outputs and slave inputs are
mixed (with word granularity).
Drives capable of cross traffic can also receive data from themselves
(feedback loop).

6SE7087-6QX50 (Version AG) Siemens AG


8.2-76 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

You need:
♦ STEP7 from Version 5.0 with Servicepack 2 or Servicepack 4
(Servicepack 3 is not suitable) or Version 5.1
♦ DriveES with slaveOM for CBP2
♦ S7-Profibus-Master with the "equidistance" property
♦ DP slaves which are capable of cross traffic as communication
partners (e.g. drives or ET200)
♦ CBP2
Cross traffic is independent of the basic unit used. The functionality is
completely provided in the CBP2.
You can configure cross traffic with the slave OM in the mask,
"Configuration".

Quantities Receive/transmit data: maximum of 16 words of setpoints/actual values


per drive, can be divided up in any way on DP master and DP slaves
capable of cross traffic.
Number of transmission channels: a broadcast channel which the DP
master and any number of DP slaves can receive.
Number of receive channels: max. eight.

Example The following illustration contains a cross-traffic configuration with two


cross-traffic encoders (publishers) and a drive with CBP2 as the cross-
traffic receiver (subscriber).

PROFIBUS Slave 1 (Subscriber)


Drive with CBP2
Dual-Port-RAM
1 PZD1
Master - Slave 1 2 PZD2 Actual
Inputs 3 PZD3 values
4 PZD4

1
Outputs 2
3

PZD1
PZD2 Setpoints
1 PZD3
Slave 2 2 PZD4
(Publisher) 3 PZD5
Inputs 4 PZD6
5 PZD7
6 PZD8
7

1
Slave 3 2
(Publisher) 3
Inputs 4
5
6
7
8

Fig. 8.2-25 Example of a cross-traffic configuration

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-77
Communication / PROFIBUS 06.2005

8.2.8.6 CBP2 with clock synchronization operated with a SIMATIC S7

CBP2 with clock synchronization is not supported by MASTERDRIVES


VC.
Clock synchronization enables the synchronization of several
MASTERDRIVES MC at the isochronous PROFIBUS.
You need
♦ STEP7 Version 5 or higher
♦ DriveES with slave OM for CBP2
♦ S7 Profibus master with the "equidistance" characteristic
♦ CBP2
♦ MASTERDRIVES MC (Compact or Compact PLUS) software
version 1.4 or higher
You can configure clock synchronization with the slave OM in the mask,
"Clock synchronization".
Cycle times The isochronous DP cycle must have been tuned to the pulse
frequency of the drive. The following combinations are possible with the
default pulse frequency of 5.0 kHz and a PROFIBUS transmission rate
of 12 Mbit/s:
Synchronized task on DP cycle Max. number of DP
CUMC slaves
T4 3.2 ms 11
T5 6.4 ms 27

STEP7 bus Measures relating to bus configuration:


configuration ♦ First, configure all DP slaves, possibly with cross traffic. The
quantities and the minimum DP cycle on the PROFIBUS are thus
defined.
♦ In the "Equidistance" register (can be reached under "PROFIBUS",
"Properties", "Supply settings", "Options"), activate the isochronous
bus cycle. You must repeat this step if you alter the bus
configuration (deactivate Equidistance and re-activate!).
♦ In the "Clock synchronization" mask of the slaveOM, activate clock
synchronization for the drive. The task T4 with 3.2 s is the default
setting.
♦ It must be ensured that the difference between "DP cycle" and
"Equidistance master cycl. part" is at least 1 ms. The CBP2 needs
this time to copy the data between PROFIBUS and
MASTERDRIVES CUMC consistently.
♦ The "Align" button ensures that all MASTERDRIVES MC are given
the same settings for clock synchronization and that the DP master
adopts the isochronous DP cycle.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-78 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Drive configuration Configuration of MASTERDRIVES MC:


♦ Enabling the source for clock synchronization by means of P744:
P744.1 P744.2 Synchronization source
0 1 First CBP2
1 1 Second CBP2
0 0 (First SLB)
1 0 (Second SLB)

♦ With clock-synchronous PROFIBUS it is possible to switch on cycle


monitoring with P723 = 1.
Function: Synchronization telegrams that are received outside the
bus cycle (± 12.8 µs) are ignored.
Advantage: During faulty operation, incorrect and offset
synchronization telegrams are detected and do not cause
synchronization failure.
♦ All jobs to be synchronized must be in the same task, especially the
processing of setpoints and actual values to the CBP2.
Diagnosis Diagnosis of clock synchronization in MASTERDRIVES MC:
♦ B0043 = 1: Application is synchronous
♦ r748.9: should fluctuate between 65515 and 20
For further diagnostic parameters, see section "Diagnosis and
Troubleshooting".
Times The following times will help you when calculating the bus bandwidth
available (12 Mbit/s):
♦ 150-200 µs "Equidistance master cycl. part" per DP slave (cyclical
services master class 1)
♦ Approx. 600 µs for "Equidistance master acyclical part"
(acyclical services master class 1)
♦ Approx. 700 µs for a max. of one additional active node
(master class 2)
♦ 1000 µs computing time for CBP2, parallel to acyclical services

Clock Clock

DP cycle

Equi-master Master cl.2


Equi-master acyclical acyclical
cyclical

CBP2 processing

Fig. 8.2-26 Breakdown of the DP cycle at the isochronous PROFIBUS

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-79
Communication / PROFIBUS 06.2005

Two time conditions which have to be complied with are


♦ "DP cycle" > "Equidistance master cyclical part" + 1000 µs
♦ "DP cycle" > "Equidistance master cyclical part" + "Equidistance
master acyclical part"" + "Master class 2"
Auxiliary conditions The following auxiliary conditions are to be complied with at the present
time when clock synchronization at the isochronous PROFIBUS is
used:
♦ Transfer rate: 12 Mbit/s (the performance of lower transfer rates is
too small for drives)
♦ Maximum number of nodes: 31
♦ Maximum distance: 100 m
♦ Only one master class 1 (the equidistance master)
♦ A maximum of one additional master (class 2, PG); it is
recommended that no additional master be used
♦ No repeater, no fiber optic cables (they cause different dead times)
♦ The CBP2 must be directly plugged onto the basic board (also via
adapter board). There must not be a technology board plugged in
between the basic unit and the CBP2

Comparison PROFIBUS offers you a bus system for all tasks. With SIMOLINK, you
PROFIBUS / can achieve better performance in clock synchronization. The following
SIMOLINK table shows the differences in clock synchronization:

Criterion PROFIBUS SIMOLINK


Medium Copper Glass / plastic
Distance 100 m (12 Mbit/s) Glass: 300 m
Plastic: 40 m per node
Max number of nodes 31 (no repeater) 200
Number of slaves/cycle 11 / 3.2 ms; 27 / 6.4 ms 100 per ms / < 1 ms
Max. telegram length 16 words n times 2 words

6SE7087-6QX50 (Version AG) Siemens AG


8.2-80 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.8.7 CBP2 with clock synchronization on a PROFIBUS master in accordance


with PROFIdrive V3

CBP2 with clock synchronization is not supported by MASTERDRIVES


VC.
The CBP2 V2.20 enables the clock cycles of several
MASTERDRIVES MC to be synchronized according to PROFIdrive
version 3 on the isochronous PROFIBUS.
You will need:
♦ A configuring tool that supports isochronous operation according to
PROFIdrive V3
♦ A Profibus Master that supports isochronous operation according to
PROFIdrive V3
♦ CBP2 from V2.20
♦ MASTERDRIVES MC (Compact or Compact Plus), software
version 1.6

Cycle times The pulse frequency of the drive must be set to 5.3 kHz for clock
synchronization in accordance with PROFIdrive V3. The following
combinations are possible with a PROFIBUS transmission rate of
12 Mbit/s:
Synchronized task on DP cycle
CUMC
T4 3 ms
T5 6 ms

Drive configuring Configuring the MASTERDRIVES MC:


♦ Set pulse frequency to 5.3 kHz. Select P340 = 5.3 in the drive
settings screen.
♦ Enable the source for clock sycnchronization via P744:
P744.1 P744.2 Synchronization source
0 1 First CBP2
1 1 Second CBP2
0 0 (first SLB)
1 0 (second SLB)

♦ A cycle monitoring function can be activated with P723 = 1 for the


isochronous PROFIBUS.
Function: Synchronization telegrams received outside the bus cycle
(± 12.8 µs) are ignored.
Advantage: Under fault conditions, faulty and displaced telegrams
are detected so that synchronization errors can be avoided.
♦ All jobs to be synchronized must be located in the same task,
especially processing of setpoints and actual values to the CBP2.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-81
Communication / PROFIBUS 06.2005

Diagnosis Diagnosis of clock synchronization in MASTERDRIVES MC:


♦ B0043 = 1: Application is synchronous
♦ r748.9: Should fluctuate between 65515 and 20
For other diagnostic parameters, see Section "Diagnosis and
troubleshooting"
Times The following time data help you to calculate the available bus
bandwidth (12 Mbit/s):
♦ 150-200 µs "Isochronous master cyclical share" per DP slave
(cyclical services class 1 master)
♦ Approx. 600 µs for "Isochronous master acyclical share"
(acyclical services class 1 master)
♦ Approx. 700 µs for max. one further active node
(class 2 master)
♦ 1000 µs computation time for CBP2, in parallel to acyclical services

Takt Takt

DP cycle

Iso-master Cl.2 master


Iso-master acyclical acyclical
cyclical

CBP2 processing

Fig. 8.2-27 Splitting of DP cycle on isochronous PROFIBUS

Two mandatory time conditions:


♦ "DP cycle" > "Isochronous master cyclical share" + 1000 µs
♦ "DP cycle" > "Isochronous master cyclical share" + "Isochronous
master acyclical share" + "Class 2 master"
Supplementary The following supplementary conditions currently apply to clock
conditions synchronization on the isochronous PROFIBUS:
♦ Transmission rate: 12 Mbit/s (performance afforded by lower
transmission rates is too low for drives)
♦ Maximum number of nodes: 31
♦ Maximum distance: 100 m
♦ For class 1 master only (isochronous master)
♦ A maximum of one other master (class 2, PG), ideally no other
master
♦ No repeaters, no fiber optics (which cause varying deadtimes)
♦ The CBP2 must, of course, be inserted directly in the basic board
(or via an adapter board). No technology board may be installed
between the basic board and the CBP2.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-82 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.9 MASTERDRIVES as PROFIdrive V3-Slave


CBP2 with clock synchronization is not supported by MASTERDRIVES
VC.
Requirements Variable speed electric drives in automated units, from the simple
frequency converter to the highly dynamic servo controller, are now
increasingly being connected to higher-level open-loop and closed-loop
control systems via digital interfaces.
In current systems the standard speed interface is one in which the
speed command is given by the higher-level automation system and is
tracked by the drive. For monitoring, the actual speed value is generally
reported back to the automation system.
So that the digital field bus interface can also be used for motion control
with multiple axes in decentralised automation concepts, the current
standard field buses must be supplemented by specific properties.
The following requirements must be met:
Clock synchronization
In the case of a central motion controller, which performs interpolation
and position control, the control circuit must be connected via the bus.
In the setpoint direction the speed setpoint is transmitted to the drive. In
the actual value direction the drive returns the actual position value. In
order to be able to achieve sufficiently high circuit gain for the dynamic
required, the dead times must be small and above all absolutely
constant. If the motion control task requires coordination of several
axes, the position actual value must be recorded exactly simultaneously
and evaluated synchronously in the motion controller, and the setpoints
must take effect exactly simultaneously in the axes. Actual value
recording, transmission and setpoint setting are therefore clock
synchronous with the position controller.

New functions of the This document contains the relevant extracts from the Profi-Drive-Profil
PROFIdrive-Profile document (PROFIBUS Nutzerorganisation e. V., Order no.: 3.171,
Version 3 http://www.profibus.com), in which the use of clock synchronous
transmission, of cross traffic and a position encoder interface and the
standardisation and configuration of the setpoints and actual values for
the drives are manufacturer-neutral and openly standardised.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-83
Communication / PROFIBUS 06.2005

Definitions General
♦ Output data:
Data which a slave receives cyclically from the master and forwards
to the slave application or the I/O's.
♦ Input data:
Data sent cyclically to the master by a slave.
♦ Process data:
For drives, all input and output data
♦ Technological functions:
Controls and sequence control for automation of application-specific
processes

Clock synchronization
♦ Synchronization:
Creating synchronism (simultaneity, time consistency)
♦ Clock synchronization:
Clock synchronization refers to the synchronization of the sample
times of the control with the connected drives.
♦ Clock synchronous application:
in the control software in digital drives and control system. The
starting times and the length of the sampling times in various
devices are synchronized exactly with each other.
♦ Equidistance:
The same distance. The bus cycle time is always constant. Any free
bus time is filled up with blank telegrams.
♦ Isochronous mode:
Profibus service for clock synchronization; produces a time-
constant, i.e. equidistant bus cycle with a clock pulse signal at the
start of the cycle.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-84 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.9.1 Incorporation of drives in automation systems / plant characterization

This section presents the different variants for incorporation of drives in


automation systems.
Application classes Nowadays, drive applications are implemented in many different ways.
The following table defines the various application classes in which
drives are used. The application classes are typical examples from the
total spectrum of electrical drive engineering and are not necessarily
covered by a specific equipment characteristic.

Application class Interface Functions 2)


1 Standard drive n-set, i-set Cyclical interface 1)
2 Standard drive with distributed Technological Cyclical interface
technology controller (continuous set/actual values with cross traffic 1)
process) (command
variable)
3 Basic positioning drive with pos-set, travel Cyclical interface
distributed position control and tasks 1)
interpolation
4 Positioning with central n-set Cyclical interface
interpolation and position control x-actual clock synchronous
Optional: additional for DSC: encoder interface,
DSC (Dynamic Servo Control) ∆x (xerr), KV (kPC) DSC (see chapter
2.4)
5 Positioning with central x-set Cyclical interface
interpolation and distributed clock synchronous
position control 3)

6 Motion control in clocked Command variable, Cyclical interface


processes or distributed angular motion commands clock synchronous
synchronism and with cross
traffic

1) The cyclical interface can also be operated clock synchronously if, for
example, simultaneity of action in several drives is required.
2) For all application classes: Acyclical interface for parameters, diagnosis,
identification
3) This application class is not described in this document.

Table 8.2-13 Application classes

NOTE When the MASTERDRIVES unit is used as PROFIdrive V3 slave, only


application classes 1 and 4 are used!
Several MASTERDRIVES can be connected to one PROFIdrive V3
master in class 1 as slave (Monomaster operation).

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-85
Communication / PROFIBUS 06.2005

Application class 1:
Standard drive In the simplest case the drive is controlled via a main setpoint (e. g.
(Standard telegram speed setpoint) via PROFIBUS (Figure 1). The complete speed control
1 and 2) takes place in the drive controller. The automation device includes all
the technological functions for the automation process. PROFIBUS acts
only as transmission medium between the automation system and drive
controller. The normal cyclical data communication of the PROFIBUS-
DP is used (Data Exchange). This application is primarily used in the
area of classic drive technology (e.g. materials handling technology). A
PLC is used mainly as the automation system. Clock synchronism and
cross traffic on the bus system are not necessary for this application
class.

Automation

Technology

Control word + main setpoint + ... Status word + main actual-value +

Drive Drive Drive


Speed open/closed speed open/closed Speed open/closed
loop control loop control loop control

M Encoder M Encoder M Encoder


(optional) (optional) (optional)

Fig. 8.2-28 Application class 1

6SE7087-6QX50 (Version AG) Siemens AG


8.2-86 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Application class 4
Positioning with Application class 4 (Figure 2) handles the position control through
central interpolation PROFIBUS-DP. Drive applications for handling equipment and robot
and position control applications often require a coordinated motion cycle by several drives.
(standard telegram 3 The motion control is mainly implemented via a central automation unit
to 6) (NC). These controls calculate special setpoint profiles for each drive,
so that certain tracks can be travelled through the combined action of
several drives (for example for the XYZ axis). The automation system
comprises not only the necessary technology functions for the
automation process but also the functions for interpolation and position
control of the drive. Speed setpoints and actual values and actual
position values are exchanged via PROFIBUS-DP. The drive controller
essentially only comprises the algorithms for speed control and
recording of actual position values. As position control is carried out via
the bus system, this variant places very high demands on the clock
synchronisation of the bus system.
To increase the stiffness and dynamism of the control circuit, the DSC
functionality can be used additionally.

Automation
Technology
Interpolation
pos. control
Clock
pulse

Control word + speed setpoint + ... Status word + pos.act.value + ...

Clock
synchronization
Drive Drive Drive
Closed-loop speed Closed-loop speed Closed-loop speed
control control control

M Encoder M Encoder M Encoder

Fig. 8.2-29 Application class 4

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-87
Communication / PROFIBUS 06.2005

Clock synchronous monomaster operation (main application case)


With this operation the drives make high demands on time synchronism
at the bus. Through an isochronously transmitted global control the
master class-1 (e.g.SIMOTION) passes on clock pulse information to
the slaves (MASTERDRIVES), which synchronise themselves with this
pulse.

DPM1 (DPM2)

PU, OP
PLC, NC, PC

Clock Clock
PROFIBUS-DP
pulse pulse

Pos.
nset nact nact nact nset nact
selectset
Pos.sel.act A E
xact1,2
xact3,4
I/O
D D Slave
R R other I/O
D D I I
R R V V
I I Slave E Slave E
V V
E E
Slave Slave
M M

M M G G

G G
PROFIdrive drives
G
Closed-loop speed Positioning
control
PROFIdrive drives (new)
e.g. synchronous closed-loop speed
control

Fig. 8.2-30 Clock synchronous monomaster operation (DPM1)

The times for the setpoint transfer and actual value recording of the
slaves and the time of the control by the higher-level master can take
place through time parameters. The time parameters relate to the clock
pulse.
In the DP cycle there must be sufficient time for the following
communication elements:
♦ cyclical data exchange with all slaves on the bus
♦ a non-cyclical data channel (DPV1)
♦ telegram repeats
♦ diagnosis request
A local control device (PU, OP) at the DPM1 must communicate with
the slaves via the DPM1 master.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-88 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.9.2 Communication model

Clock synchronous Clock synchronous communication is implemented by the use of an


communication isochronous clock pulse signal on the bus system. This cyclical,
isochronous pulse is transmitted as global control signal by the master
to all bus participants. Master and slave can thus synchronise their
applications to this signal.
Special error mechanisms in every participant permit stable
communication even with sporadic failure of the system pulse.
For drive technology the clock synchronous communication forms the
basis for drive synchronization. For this not only is the telegram traffic
on the bus system implemented in an isochronous time slot, but also
the internal control algorithms, such as the speed and current
controllers in the drive or the contollers in the higher-level automation
system, are synchronized in time.

Controller pulse Controller pulse

DX = Data-Exchange Telegram
Rx = Controller from slave x
Pos. control
Master application R1 R2 R3

Actual pos. Setpoint


sensing transfer

DX DX DX DX DX DX
Clock acycl. Clock
DP cycle Slave Slave Slave Slave Slave Slave
pulse + pulse
1 2 3 1 2 3

Actual pos. Setpoint


sensing transfer

Speed/current
controller pulse:

Slave 1 ... 3-
R1 R1 R1 R1 R1 R1 R1 R1
application:

Actual pos. Setpoint


sensing transfer

Fig. 8.2-31 Clock synchronous communication

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-89
Communication / PROFIBUS 06.2005

8.2.9.3 Drive control

Commands (control words)


Control word 1 Contents of the bits in PROFIdrive control word 1. The existing bits are
contained in MASTERDRIVES control word 1 (see also Chapter 10.1).

Bit Meaning
Operating mode speed control Operating mode positioning
0 ON / OFF 1
1 Operating condition / OFF 2
2 Operating condition / OFF 3
3 Enable operation / disable operation
4 Operating condition / disable ramp-function Operating condition / reject travel task
generator
5 Enable ramp-function generator / stop ramp- Operating condition / pause
function generator
6 Enable setpoint / disable setpoint Activate travel task (edge)
7 Acknowledge / no meaning
8 Inching 1 ON / Inching 1 OFF
9 Inching 2 ON / Inching 2 OFF
10 Control from PLC / no control
11 Device-specific Start referencing / terminate referencing
12 - 15 Device-specific

Explanation: To the left of the forward slash is the meaning for bit value = 1, to
the right that for bit value = 0.

Control word 2 Contents of the bits in PROFIdrive control word 2.

IMPORTANT This is different from the previous MASTERDRIVES control word


2.

Bit Meaning
0 - 11 Device-specific
12 - 15 Master life sign for clock synchronization

6SE7087-6QX50 (Version AG) Siemens AG


8.2-90 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.9.4 Checkback messages (status words)

Status word 1 Contents of the bits of PROFIdrive status word 1. The existing bits are
contained in MASTERDRIVES status word 1 (see also chapter 10.2).

Bit Meaning
Operating mode speed control Operating mode positioning
0 Ready to start / Not ready to start
1 Ready for operation / Not ready for operation
2 Operation enabled / Operation disabled
3 Fault / Fault-free
4 no OFF 2 / OFF 2
5 no OFF 3 / OFF 3
6 Start disabled / start not disabled
7 Warning / no warning
8 Setpoint / actual in tolerance range / no tracking error / tracking error
Setpoint/actual not in tolerance range
9 control required / local operation
10 f or n reached / f or n not reached set position reached / outside set position
11 device-specific Reference point set / no reference point set
12 device-specific setpoint acknowledgment (edge)
13 device-specific drive stationary / drive travelling
14 - 15 device-specific

Explanation: To the left of the forward slash is the meaning for bit value = 1, to
the right that for bit value = 0.

Status word 2 Content of bits in PROFIdrive status word 2.

IMPORTANT This differs from the previous MASTERDRIVES status word 2.

Bit Meaning
0 - 11 Device-specific
12 - 15 Slave life sign for clock synchronization

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-91
Communication / PROFIBUS 06.2005

8.2.9.5 Setpoints / Actual values

Both the setpoints on the drives and the actual values from the drives
are transmitted as PZD (process data). Process data transmission
takes place by means of the Data Exchange Service.
Standard signals All the abbreviations for the standard telegrams are explained below.

Abbreviation Meaning Length Description


[16-/32-Bit]
STW1 Control word 1 16 see section 8.2.9.3
ZSW1 Status word 1 16 see section 8.2.9.4
STW2 Control word 2 16 see section 8.2.9.3
ZSW2 Status word 2 16 see section 8.2.9.4
NSOLL_A Speed setpoint A 16
NIST_A Speed actual value A 16
NSOLL_B Speed setpoint B 32
NIST_B Speed actual value B 32
G1_STW Encoder-1 control word 16 see section 8.2.9.9
G1_ZSW Encoder-1 status word 16 see section 8.2.9.9
G1_XIST1 Encoder-1 position 32 see section 8.2.9.9
actual value-1
G1_XIST2 Encoder-1 position 32 see section 8.2.9.9
actual value-2
G2_STW Encoder-2 control word 16 see section 8.2.9.9
G2_ZSW Encoder-2 status word 16 see section 8.2.9.9
G2_XIST1 Encoder-2 position 32 see section 8.2.9.9
actual value-1
G2_XIST2 Encoder-2 position 32 see section 8.2.9.9
actual value-2
XERR Control error 32
KPC Position controller gain 32
factor

Table 8.2-14 Standard signals– Abbreviations

Standard telegrams, see Subsection 8.2.7.3.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-92 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.9.6 Dynamic Servo Control (DSC)

Features This function improves the dynamic of the position control circuit, in that
it minimizes the dead times which normally occur with a speed setpoint
interface. For this only a relatively simple extension of the transmitted
setpoints and an additional feedback network in the drive are needed.
The function is upwardly compatible with the speed setpoint interface. If
necessary this can be switched to the speed setpoint interface during
operation.
Structure The control circuit based on the speed setpoint interface generally has
the following structure:

Transmission Interpolation
ncmd delay (Tpc) Speed filter Speed control
Path
interpolation nNC nDrive
xcmd –
xact,NC Kpc –

Speed
calculation

Tpc

xact

Zero offset and


compensation

Master Controller (NC) Drive Controller

ncmd : speed command xact : actual position


xcmd : position command Tpc : position controller sampling time (= TMAPC)
xerr : position error command Kpc : position controller gain

Fig. 8.2-32 Structure of the position control circuit based on the speed setpoint
interface without DSC

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-93
Communication / PROFIBUS 06.2005

With DSC the actual position calculated inside the drive is also fed back
directly:

ncmd ncmd

Path Transmission Interpolation Position


Interpolation delay (Tpc) control Speed filter Speed control
nDrive
B

xcmd
– –
xact,NC Kpc

1 2 3
Speed
calculation

xact, Drive

xact,NC
Tpc Tpc Tsc

xact
A
Zero Offset
and
Compensation
Master Controller (NC) Drive Controller

ncmd : speed command Tsc : speed controller sampling time


xcmd : position command Tpc : position controller sampling time (= TMAPC)
xerr : position error command Kpc : position controller gain
xact : actual position

Fig. 8.2-33 Structure of the LR circuit based on the speed setpoint interface with
DSC

For this to be possible, the control error calculated in the master is


transmitted as well as the speed setpoint. The additional feedback
network can use the internal formats in the drive for position
presentation and is thus independent of the position presentation in the
master. The above presentation assumes that the network is calculated
in the speed controller sampling time TSC which will be possible in
many cases. In this way the maximum possible dynamic improvement
is achieved. However, greater clock times T are also possible, if the
calculation time is short
(TSC ≤ T ≤ TPC).
Operation The structure contains a total of three feedback branches for the actual
position value (No. 1, 2 and 3). Feedback branch no. 2 compensates
fully for the action of no. 1 in respect of the actual value transmitted by
the drive xact , so that the dead time in branch no. 1 no longer has to be
considered for the stability of the position control circuit. As a result, the
position control circuit is initially open. Feedback branch no. 3 closes
the circuit again, but with a shorter delay, so that greater gains can be
set.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-94 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

The absolute reference of the position actual value is only created in


the master (addition point "Zero offset and compensation"). The same
absolute reference is contained in the position command xcmd . The
control error calculated in the master xerr thus remains free of zero
points. The drive needs to know nothing about zero points and
reference points.

Interface In the setpoint direction two additional signals are transmitted:


1. Controller error xerr
2. Position controller gain factor kpc
The standard telegrams 5 and 6 defined for the function Dynamic Servo
Control (DSC) are explained further in section 8.2.7.3.
If both signals xerr or kpc are configured, the feedback network in the
drive is activated. If only one of the two signals is projected, it is
assumed that this serves other purposes and the feedback network is
not activated.
The position controller gain KPC transmitted via the Profibus has the
unit 1/1000 1/s.

Operating statuses From the drive point of view there are two operating statuses, which
can be distinguished on the basis of kpc = 0 or kpc ≠ 0 :
1. kpc = 0: feedback network inactive, position control circuit in the
drive opened. The master normally uses this to open the position
control circuit fully, e.g. in spindle operation or with errors. However,
it can also switch back to conventional position control in this way,
without re-configuring the drive. The drive can assume that xerr = 0
is being transmitted. The speed setpoint is entered via ncmd .
2. kpc ≠ 0: feedback network active, position control circuit is enclosed
in the drive. Via ncmd a speed pre-control value is entered, which
may also be zero.
A switch between these two statuses can be made by the master at any
time. The master can also alter the value of kpc at any time, e.g. in
order to make dynamics adjustments in gear changes or compensation
for non-linear gears.

Boundary Feedback branch 2 must exactly simulate the action of feedback


conditions branch 2 between points A and B. Both branches must
1. work with an actual value originating from the same time and
scanned with the same frequency
2. display the same deceleration
3. contain the same fine interpolation
This is indicated by the broken arrows in the structure diagram.
The speed filter shown in the structure diagram is optional and has
nothing to do with the DSC function. It has been drawn in to make the
difference from conventional position control easier to recognize.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-95
8.2-96
Sample application
Communication / PROFIBUS

Fig. 8.2-35
Control word 1 acts on Status word 1 Status word 1 (K0032)
Control word 1 [FD 180] [FD 200]

Fig. 8.2-34
(B3100 to B3115)
Slave life sign (K0256)
telegram 5.

Master life sign (K3004) Monitor life sign


[FD 170] Actual position value scanned in master application cycle (KK0526)
SIMOTION CD:

Receive DSC-Position Xerr (KK3036) DSC core Position setpoint Transmit PROFIBUS-
Position
PROFIBUS Position control gain Kpc (KK3038) (KK0457) Motor signals [FD 125]
control M
signals Speed precontrol value (KK3032) Fig. 8.2-36 [FD 340]
[FD 120]
(KK3032) Mech.
Position act.value coupling
(KK0120)

Position Encoder
Encoder 1 - Control word sensing G
(K3005 to parameter U921) Speed act-value (KK0091)

Compendium Motion Control


Position measurement (KK0122), Position act.value
(KK0120), Reference value G1 (KK0124),
Encoder checkback signals (at U923.x)

Encoder 1 - Position act.value 2


Encoder
(KK0912)
interface
[FD 172a] Encoder 1 - Status word (K0910)
Fig. 8.2-34 shows an overview of the interconnection required for

Block diagram: MASTERDRIVES as PROFIdrive version 3 slave


Linking the MASTERDRIVES MC to SIMOTION using standard

standard telegram 5. This connection is made using the scriptfile on the

SIMOVERT MASTERDRIVES
6SE7087-6QX50 (Version AG) Siemens AG
06.2005
06.2005 Communication / PROFIBUS

In Fig. 8.2-35 you see on the left reception of the setpoints and control
signals from the Profibus, on the right the transmission of actual values
and status data to the Profibus, as is specified in the standard telegram.
In the centre of Fig. 8.2-35 the meaning and softwiring of the individual
bits in control word 1 are presented. At the bottom of Fig. 8.2-35 is the
monitoring of the master life sign, the creation of the binector “master
application pulse“ and the slave life sign.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-97
U950.11 = 4 (4) U950.21 = 4 (4)

PKW words

8.2-98
P554.1
PZD B3100 ON/OFF1 B (3100) Src ON/OFF1
words P555.1
B3100 CB/TB word1 Bit 0 Src 1 OFF2
B3101 OFF2 (electr.) B (3101)
Control P558.1 PKW
word 1
1 Src1 OFF3 (Qstop)
B3102 OFF3 (Qstop) B (3102) words
B3115 CB/TB Word1 Bit 15 P561.1
Src Inv Enable
2 B3103 Inv. Enable B (3103) Transmit
Low
Speed P562.1
Communication / PROFIBUS

KK3032 CB/TB double word 2 Src RFG Enable


setpoint B3104 RFG Enable B (3104)
High Src CB/TB Transmit Data
3 PZD
P563.1 Status word 1 P0734 (0)
Src No RFG Stop .01 (32) words
CB/TB Word 4 B3105 No RFG stop B (3105) [FD200] K0032 K
Master 1
life 4 KK3004 P564.1
Src Setp Enable
sign B3106 Setp.Enable B (3106) .02

Fig. 8.2-35
Speed ActV K 2
Encoder 1 P566.1
KK3005 CB/TB Word 5 Src 2 Acknowl. [FD500a] KK0091
control 5 B3107 Acknowledge B (3107) .03
word K 3
P568.1
B3108 Inch Bit0 B (3108) Src Inch Bit0 Life sign (transmit slave)
6 K0256 K .04
DSC Low P569.1 4
Position KK3036 CB/TB double word 6 B3109 Inch Bit1 B (3109) Src Inch Bit1
Xerr High .05
7 B3110 PZD control to page [180] Enc. status word K0910 K 5
control word 1
r550 Scanned Pos. ActV K .06
6
DSC 8 (Fig. 8.2-36) KK0526
Low
gain Kpc KK3038 CB/TB double word 8 K .07 7
High
9
K .08
8

PROFIBUS communication
Encoder 1
KK0912
ActV 2 .09
K 9
LS Bit Position
0...1 0: Life sign begins with Bit 0 U953.21 = 4 (20)
P814 (0) = 1 1: Life sign begins with Bit12

Compendium Motion Control


Master Life sign
life sign P807 (0)
K3004 K B0243 LS Master tp pulse
Monitor life sign
from PROFIBUS
[FD 170]

SIMOVERT MASTERDRIVES
6SE7087-6QX50 (Version AG) Siemens AG
06.2005
06.2005 Communication / PROFIBUS

Implementation of DSC with free blocks


(see Fig. 8.2-36)

In MASTERDRIVES free calculating blocks are available, with the aid


of which the DSC function is implemented.
The individual elements of this implementation are described below:
Shift multiplier top The shift multiplier is used for conversion of the DSC gain DSC_GAIN
centre from an integer to a percentage value, which in turn is needed as input
for the KP adjustment position controller.
Switch bottom If the master application pulse (MAPC) is a multiple of the Profibus (DP)
centre pulse, the relevant position actual value, which enters the position
controller on the master side, must be stored internally. This is
achieved by scanning the actual position value synchronously with the
life sign of the Profibus master.

Delay element This dead time element delays the scanned actual position value. The
bottom right dead time must be selected according to the action time of a new actual
position value via the master position controller. With the combination
of SIMOTION as bus master and MASTERDRIVES as slave this dead
time in our experience is always 4 DP cycles, so the value 4 should be
entered in U401.

Adder centre right With the aid of this adder the current position setpoint is calculated from
the DSC position Xerr and the delayed actual position value.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-99
Number of shift steps
-31 ... +31
U442.01 (0) U442.01 = 12 Pos.Controller Kv
(1000LU/Min)/LU

8.2-100
from: PROFIBUS n U963.36 = 18 P204.F = 15.728 FD340 (position
FD120 /125 (CBP2) U953.36 = __
4 (20) controller)
n = 0...-31
Sign 31 10
0
Kp-adjustment PosContr
DSC_GAIN (KPC) U443.01 (0) n = 0...+31 231-1 P203.B
x y
KK3038 KK KK0618 K
-231-1
Communication / PROFIBUS

y = x * 2n
Speed setpoint PosReg
N_Setp (precontrol word) P209.B
KK3032 KK
U961.91 = 16
DSC_POS (XErr) U951.91 = __
4 (20) Pos Setp. Pos Cotnroller

Fig. 8.2-36
U097 (0)
KK3036 KK .01 P190.B
KK .02 KK0457 KK
KK .03
Interpolator
<1> Arithmetics in 2nd complement without evaluation Ü = 2 ^P770
of carry and borrow.
No limitation is effected outside the number range P770 (1) = -1
of 32 bits

DSC core
Example 2 32-1(+40000=39999 with Addition).

U960.86 = 13 Deceleration cycles Max. jump for Interpolator


Life sign (LS) 0 ... 32 sampling times Interpolator
Receive LS [FD170] LS MasterApPulse U176 (0) U950.86 = __
4 (20) position
U401 = 4 U401 (0) P771 (0)
K3004 B0234 set on each B0243 B U960.63 = 14 controller
new LS U950.63 = __
4 (20) FD340
T
U177 (0)
.01 0 U400 (0) T T
KK
.02 KK0526 KK KK0600
KK
1

Compendium Motion Control


To: PROFIBUS
KK0120

G1IST1 (ActV)
P734.6
K
K
P734.7

SIMOVERT MASTERDRIVES
6SE7087-6QX50 (Version AG) Siemens AG
06.2005
06.2005 Communication / PROFIBUS

8.2.9.7 Communication interface

Node address P918: Node address


Value range 0 – 125 (126 is reserved for start-up purposes)
The node addresses 0, 1 and 2 are generally occupied by
master and configuration tools and therefore should not be
used for slaves on the PROFIBUS. Address 3 is the first
appropriate node address to be used for a slave on the
PROFIBUS.

8.2.9.8 Clock synchronous application

Course of an isochronous DP cycle


Example (simplest DP cycle, standard case for MASTERDRIVES)
Pos Controller TM = 0
clock time
(TMAPC)

Master R1 R2 R3 R1 R2 R3 R1 R2 R3 R1 R2 R3

DP cycle T S1 S2 S3 MSG Reserve T S1 S2 S3 MSG Reserve T S1 S2 S3 MSG Reserve T S1 S2 S3 MSG Reserve T

Speed/current
controller clock
time

TSAPC
Slave 1...3 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1 R1

TI = 0 TO = 0

Fig. 8.2-37 Example: simplest DP cycle

In this example four DP cycles are needed for a response in the


position control circuit.
♦ 1. Actual value recording (in slave)
♦ 2. Actual value transmission (slave -> master)
♦ 3. Position controller (in master)
♦ 4. Setpoint transmission (master -> slave)

This model makes few demands on the computing output of the master,
but leads to an increase in the control-specific dead time:
Dead time = 4 * TDP.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-101
Communication / PROFIBUS 06.2005

8.2.9.9 Encoder interface (from SW 1.6)

Process data of the encoder interface


The encoder interface consists of the following process data:

G1_STW
G2_STW
DP Master Control signals

Status signals

DP Slave
G1_ZSW G1_XIST1 G1_XIST2 MASTERDRIVES
G2_ZSW G2_XIST1 G2_XIST2

NOTE:
G1_ ... Encoder 1 -> Motor encoder
G2_ ... Encoder 2 -> External enc.

Fig. 8.2-38

NOTES ♦ The process data of the encoder interface can be incorporated in


the telegram via the process data configuration
Encoder 1: Standard telegram 3, 4, 5, 6
Encoder 2: Standard telegram 4, 6
The description of these process data can be obtained from the
literature:
Literature: /PPA/, PROFIDRIVE Profil Antriebstechnik (order no.
3.171) Chapter 4.6.
♦ For operation of a MASTERDRIVES MC on SIMOTION or another
PROFIdrive Master using standard telegrams 3 to 6, the encoder
interface in the frequency converter according to PROFIdrive Profil
Antriebstechnik Version 3 should be used.
♦ The encoder interface uses the basic unit functionality of
MASTERDRIVES MC. The description can be taken from this
Compendium on the basis of the function diagrams.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-102 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Gx_STW x: Place-marker for encoder 1or 2 to control the encoder


Encoder x-control word functionality

Bit Value Meaning Comments


0 1 Functions: Function 1-4:
1 1 Reference marks Request reference marks search (Bit 7 = 0)
Bit 0: Function 1 (Reference mark 1)
2 1 Search
Bit 1: Function 2 (Reference mark 2)
3 1 or Bit 2: Function 3 (Reference mark 3)
flying Bit 3: Function 4 (Reference mark 4)
measurement Request flying measurement (Bit 7 = 1)
Bit 0: Function 1 (Scanner 1 pos. edge)
Bit 1: Function 2 (Scanner 1 neg. edge)
Bit 2: Function 3 (Scanner 2 pos. edge)
Bit 3: Function 4 (Scanner 2 neg. edge)
4-6 1-3 Command:
0: ----
1: Activate function x Bit 4=1
2: Read value x Bit 5=1
3: Terminate function x Bit4 and Bit5 =1
4-7: reserved
7 0/1 Mode:
Bit 7 = 0: Reference marks search (zero mark or zero mark and
BERO)
Bit 7 = 1: Flying measurement (only BERO)
8 reserved
9 reserved
10 reserved
11 0/1 Reference point Reference point mode:
mode Bit 11 = 0: Set reference point
Bit 11 = 1: Shift reference point
12 1 Request to set / Request to set/shift reference point.
shift reference The setting or shift value can be adjusted according to the device.
point Consideration in Gx_XIST1, Gx_XIST2
13 1 Request absolute Request for additional cyclical transmission of the absolute position
value cyclically actual value in Gx_XIST2.
Use e.g. for: - additional measuring system monitoring
- synchronization in run-up

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-103
Communication / PROFIBUS 06.2005

Bit Value Meaning Comments


14 1 Activate parking Request to switch off monitoring of the measuring system and actual
encoder value recording in the drive. It is then possible to remove one encoder
(or motor with encoder) on the machine, without having to change the
drive configuration, or without causing a fault.
NOTE:
Before the encoder is de-parked, an acknowledgement of the
outstanding encoder errors must be carried out (ACKNOWLEDMENT
to the PMU)
WARNING:
Except absolute value encoder P183.1 = xx2x.
Here the parking of the encoder is terminated with error!
(Error code = 1)
Absolute value encoders may never be removed from the frequency
converter while live!
15 1 Acknowledge Request to return a encoder error (Gx_ZSW, Bit15) .
encoder error

Table 8.2-15 Encoder control word

Re function 1 - 4 (BIT 0 to BIT3):


The function bits are forwarded to the binectors B910 to B917 (see also
FP172x) for optional functionalities.
G1STW Bit 0 = B910 G2STW Bit 0 = B914
Bit 1 = B911 Bit 1 = B915
Bit 2 = B912 Bit 2 = B916
Bit 3 = B913 Bit 3 = B917

Applies only to flying measurement (configuration of digital input)


Bit Meaning
0 Function 1 Digital input 4 enabled Scanner positive edge
(B929)
1 Function 2 Digital input 4 enabled Scanner negative edge
(B930)
2 Function 3 Digital input 5 enabled Scanner positive edge
(B926)
3 Function 4 Digital input 5 enabled Scanner negative edge
(B927)

6SE7087-6QX50 (Version AG) Siemens AG


8.2-104 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

NOTE ♦ Bit x = 1 Function active


♦ Bit x = 0 Function inactive
♦ In P647.B for Dig. Inp. 4 or. P648.B for Dig. Inp. 5 it is set whether
there is a configuration of the position measurement memory per
binector.
In that case the P647/P648 must be set to 5 (see also function
diagram 90 terminals / digital inputs).
♦ The use of the configuration of the digital inputs is created per
binector circuit (see also FP172x).

Re function set / shift reference point (BIT 12 ):


♦ Set reference point motor encoder is issued to B920
♦ Shift reference point motor encoder is issued to B922
♦ Set reference point external encoder is issued to B921
♦ Shift reference point external encoder is issued to B923

NOTE The use of this function is created per binector circuit (see also
FD172x).

Input Src measured value valid U923.7 (G1) and U923.8 (G2):
The binector 70 or 71 measured value is validly evaluated.
If a measuring command is generated without valid measured value, it
leads to the error "encoder interface" (status SD3).
The error code 4 to 7 is generated, depending on the status of the
encoder interface.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-105
Communication / PROFIBUS 06.2005

Encoder status word Encoder x-status word:


x: place marker for encoder 1 or 2
-> to indicate statuses, acknowledgements, errors, etc.

Bit Value Meaning Comments


0 1 Functions: Status: Function 1-4 active (Reference marks search / Flying measurement)
1 1 Reference marks – Bit 0: Function 1 (Reference mark 1 / Scanner 1 pos. edge)
2 1 search Bit 1: Function 2 (Reference mark 2 / Scanner 1 neg. edge)
or Bit 2: Function 3 (Reference mark 3 / Scanner 2 pos. edge)
3 1 Bit 3: Function 4 (Reference mark 4 / Scanner 2 neg. edge)
Simultaneous setting of Bit 4-7
-> Terminate function 1-4 (device-specific error code in Gx_XIST2)
4 1 Flying measurement Status: Value 1-4 present (Reference mark / scanner)
5 1 Bit 4: value 1 (Reference mark 1 / scanner 1 pos. edge)
6 1 Bit 5: value 2 (Reference mark 2 / scanner 1 neg. edge)
Bit 6: value 3 (Reference mark 3 / scanner 2 pos. edge)
7 1 Bit 7: value 4 (Reference mark 4 / scanner 2 neg. edge)
Simultaneous setting of Bit 0-3
-> Terminate function 1-4 (device-specific error code in Gx_XIST2)
8 1 Scanner 1 Static status scanner 1 (U923.5)
deflected
9 1 Scanner 2 Static status scanner 2 (U923.6)
deflected
10 reserved, set to zero
11 encoder error acknowledgement in processing
12 1 Set/shift reference Acknowledgement for “Request set / shift reference point”
point executed Gx_STW, Bit 11, 12).
Consideration at Gx_XIST1, Gx_XIST2
13 1 Transmit absolute Acknowledgement for "Request absolute value cyclically" (Gx_STW, Bit 13).
value cyclically Cyclical transmission of the absolute actual position value in Gx_XIST2.
14 1 Parking encoder Acknowledgement for "Activate parking encoder" (Gx_STW, Bit 14).
active
15 1 Encoder error Indicates an error of the encoder or the actual value recording. A device-
specific error code is in Gx_XIST2. If several errors occur, the first one is
displayed.

Table 8.2-16 Encoder status word

6SE7087-6QX50 (Version AG) Siemens AG


8.2-106 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Status diagram,
statuses and
transitions of
encoder interface
Status diagram:

SD12 SD2 TD22 SD3

Park Fault ackn. TD21 Fault

TD20

BD1
TD16
SD11 TD1 SD4

Meas. value in TD17 Ref. value in


XIST2 XIST2

TD15 TD2

TD14 TD3

SD10 TD13 SD1 TD4 SD5

Wait for Wait for


TD12 Normal operation TD5
measured values reference marks

TD19 TD9 TD8 TD18


TD11 TD6

TD10 TD7

SD9 SD6
Check
measurement Check ref. task
task SD8 SD7

Abs. value Set/shift ref. point


cyclical in XIST2 implemented

Fig. 8.2-39 Status diagram of encoder interface showing the statuses and transitions

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-107
Communication / PROFIBUS 06.2005

Statuses Action Explanation Code


SD1 Normal operation None Encoder interface is Gx_ZSW-Bit 0-7 = 0000 0000b,
working normally Gx_ZSW-Bit 10-15 = 00 0000b
SD2 Error Error is Error acknowledge- Gx_ZSW-Bit 11 = 1
acknowledgement acknowledged ment is being
processed.
SD3 Error Error is on An error is on. Gx_ZSW-Bit 15 = 1, Gx_ZSW-Bit
11 = 0
SD4 Reference value in Load reference The reference value in Gx_ZSW-Bit 4-7 <> 000b
XIST2 value in XIST2 XIST2 is loaded.
SD5 Wait for reference Wait for The reference mark is Gx_ZSW-Bit 0-3 <> 0000b
marks reference expected.
marks
SD6 Check reference Check The reference task is None
task reference task checked.
SD7 Set / shift reference Set or shift The reference point is Gx_ZSW-Bit 12 = 1
point executed reference point either set or shifted.
SD8 Absolute value Load absolute An absolute value in Gx_ZSW-Bit 13 = 1
cyclical in XIST2 value cyclically XIST2 is loaded
in XIST2 cyclically.
SD9 Check measure- Check The measurement task None
ment command measurement is checked.
task
SD10 Wait for measured Wait for The measured value is Gx_ZSW-Bit 0-3 <> 0000b
values measured expected.
value
SD11 Measured value in Load measured The measured value in Gx_ZSW-Bit 4-7 <> 000b
XIST2 value in XIST2 XIST2 is loaded.
SD12 Park None The encoder interface Gx_ZSW-Bit 14 = 1
is in a condition in
which it is not reporting
an error and is not
participating in the
bus.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-108 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Change of status:
from to condition
TD1 SD2 (error SD1 (normal operation) Gx_STW-Bit 15 = 0 and error corrected
acknowledgement)
TD2 SD4 SD1 normal operation Gx_STW-Bit 4-6 = 000b
(Reference value in XIST2)
TD3 SD1 (Normal operation) SD4 (reference value in Gx_STW-Bit 7 = 0 and Gx_STW-Bit 4-6
XIST2) = 010b and Gx_STW-Bit 0-3 <> 0000b
and Ref value_X_found = 1
TD4 SD5 (Wait for reference SD1 (normal operation) Gx_STW-Bit 4-6 = 000b and reference
marks) marks found
TD5 SD5 (Wait for reference SD1 (normal operation) Gx_STW-Bit 4-6 = 011b
marks)
TD6 SD1 (Normal operation) SD6 (check reference Gx_STW-Bit 7 = 0 and Gx_STW-Bit 4-6
task) = 001b and Gx_STW-Bit 0-3 <> 0000b
TD7 SD1 (Normal operation) SD7 (set/shift reference Set reference point: Gx_STW-Bit 12 = 1
point) and Gx_STW-Bit 11 = 0 or Shift
reference point: Gx_STW-Bit 12 = 1 and
Gx_STW-Bit 11 = 1
TD8 SD7 (Set/shift reference SD1 (normal operation) Gx_STW-Bit 12 = 0
point)
TD9 SD8 (Absolute value SD1 (normal operation) Gx_STW-Bit 13 = 0
cyclical in XIST2)
TD10 SD1 (Normal operation) SD8 (absolute value Gx_STW-Bit 13 = 1
cyclical in XIST2)
TD11 SD1 (Normal operation) SD9 (check measurement Gx_STW-Bit 7 = 1 and Gx_STW-Bit 4-6
task) = 001b and Gx_STW-Bit 0-3 <> 0000b
TD12 SD10 (Wait for SD1 (normal operation) Gx_STW-Bit 4-6 = 011b
measurement task)
TD13 SD10 (Wait for SD1 (normal operation) Gx_STW-Bit 4-6 = 000b and measured
measurement task) values found
TD14 SD1 (Normal operation) SD11 (measured value in Gx_STW-Bit 7 = 1 and Gx_STW-Bit 4-6
XIST2) = 010b and Gx_STW-Bit 0-3 <> 0000b
and measurement value_X_found = 1
TD15 SD11 (Measured value in SD1 (normal operation) Gx_STW-Bit 4-6 = 000b
XIST2)
TD16 SD1 (Normal operation) SD12 (parking) Gx_STW-Bit 14 = 1
TD17 SD12 (Parking) SD1 (normal operation) Gx_STW-Bit 14 = 0
TD18 SD6 (Check reference SD5 (wait for reference Task permitted
task) marks)
TD19 SD9 (Check measurement SD10 (wait for Command permitted
command) measurement command)
TD20 from any status in BD1 SD3 (error) Error occurred or a command is
inadmissible
TD21 SD3 (error) SD2 (error Gx_STW-Bit 15 = 1
acknowledgement)
TD22 SD2 (error SD3 (error) Gx_STW-Bit 15 = 0 and error still exists
acknowledgement)

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-109
Communication / PROFIBUS 06.2005

Error code in Gx_IST2:

Gx_XIST2 Meaning Possible causes / description


1 Encoder sum error The error description can be taken from the following faults (see
appendix: "Faults and Warnings") (cannot be acknowledged via the
encoder interface):
• Fault F051 Encoder fault
th
See r949 the 100 place for:
0xx: Motor encoder
1xx: External encoder
• Fault F054 Encoder board initialization error
• Internal error encoder interface
• Parking with released absolute value encoder inadmissible
2 Zero mark The error description can be taken from the following faults (see
monitoring appendix: Faults and Warnings):
• Fault F051 r949=x26 or r949=x27 Zero pulse Encoder
th
See r949 the 100 place for:
0xx: Motor encoder
1xx: External encoder
4 Terminate reference • No SBP in the case of the external encoder
mark search • Valid measured values lacking (B0070 or B0071)
• Acknowledge encoder error active
• Parking encoder / axis active
• Request absolute value cyclically active
• Set/shift reference point active
• Mode (BIT 7 = 1) Flying measurement active
• or a reserved bit is used
5 Terminate collect • Valid measured values lacking (B0070 or B0071)
reference value • Acknowledge encoder error active
• Parking encoder / axis active
• Request absolute value cyclically active
• Set/shift reference point active
• Mode (BIT 7 = 1) Flying measurement active
• or a reserved bit is used
6 Terminate flying • No SBP in the case of the external encoder
measurement • Valid measured values lacking (B0070 or B0071)
• Acknowledge encoder error active
• Parking encoder/axis active
• Request absolute value cyclically active
• Set/shift reference point active
• Mode (BIT7=0) Reference marks search active
• or a reserved bit is used

6SE7087-6QX50 (Version AG) Siemens AG


8.2-110 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Gx_XIST2 Meaning Possible causes / description


7 Terminate collect • Valid measured value lacking (B0070 or B0071)
measured value • Acknowledge encoder error active
• Parking encoder/axis active
• Request absolute value cyclically active
• Set/shift reference point active
• Mode (BIT7=0) Reference marks search active
• or a reserved bit is used
8 Terminate absolute • EnDat-encoder (Multiturn) not usable
value transmission parameter P183 is not set to xxx2 enable position recording
on with Multiturn.
A Error in reading • Fault F051 Encoder fault SSI/EnDat
absolute track of the See r949 x30...x60
absolute value 0xx: Motor encoder
encoder (EnDat- 1xx: External encoder
encoder)
Table 8.2-17 Error code in Gx_XIST2

Boundary The following boundary conditions and rules exist:


conditions and rules
for connection of
1. The function "Referencing only with rough pulse" is not supported in
encoder 1 (Motor
the standard interconnections. For this measurement via the
encoder)
measured value memory of the basic unit must be used. If the
measured value memory is to be used both for referencing and for
measurement, corresponding interconnections in the basis unit via
free blocks must be used.
2. The function "Referencing only with zero mark" must be ensured via
corresponding interconnections in the basic unit using B931 "Trigger
rough pulse motor encoder“.
In this a rough pulse is produced as soon as the release of the
reference point recording is switched to enabled. The next zero
pulse is then recognized.

Boundary 1. The functions "Referencing“ and "Measured value memory" is only


conditions and rules supported by the SBP (pulse encoder board) . For this the
for connection of measured value memory should be used via direct input to the SBP
encoder 2 (External (see function diagram 335).
encoder) 2. The rough pulse in the external encoder is only evaluated directly on
the encoder board (see function diagram 255).
3. The "Referencing" function with zero mark only is not supported.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-111
Communication / PROFIBUS 06.2005

8.2.10 Diagnosis and troubleshooting

NOTE With regard to basic parameterization, please note the differences to


the types of unit with the older function classes FC (CU1), VC (CU2)
and SC (CU3). These differences are described below.
In order to make these differences clear, the parameter numbers and
other deviations are either printed in dark gray or have a dark-gray
background.

8.2.10.1 Evaluating the possibilities of hardware diagnosis

LED displays The three LED displays are located on the front of the CBP. These are
as follows:
♦ CBP operating (red)
♦ Data exchange with the basic unit (yellow)
♦ Transfer of useful data via the PROFIBUS (green)
Diagnostic LEDs give the user rapid information on the status of the
CBP at any particular instant.
More detailed diagnostic information can be read out directly from the
diagnostics memory of the CBP by means of a diagnostic parameter.

NOTE During normal operation, all three LEDs light up synchronously and for
the same length of time (flashing)!
The stationary status of an LED (on or off) indicates an unusual
operating status (parameterization phase or fault)!

LED Status Diagnostic information


Red Flashing CBP operating; voltage supply on
Yellow Flashing Fault-free data exchange with the basic unit
Green Flashing Fault-free cyclical useful data traffic with a master,
class 1, via PROFIBUS

Table 8.2-18 LED display of the CBP

LED Status Diagnostic information


Red Flashing No cyclical useful data traffic with a master, class 1,
Yellow Flashing via PROFIBUS –DP
due to e.g. EMC interference, bus connector pulled
Green Off out, polarity reversal of connections, node number
not supplied with useful data by the master.
Acyclical useful data traffic with a master, class 2
(DriveES, SIMOVIS/DriveMonitor, SIMATIC OP)
does not affect the green LED.

Table 8.2-19 Online operation without useful data

6SE7087-6QX50 (Version AG) Siemens AG


8.2-112 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

LED Status Diagnostic information


Red Off/On Voltage supply for CBP cut off; replace CBP or basic
unit
Yellow Off/On Data exchange with the basic unit not possible;
replace CBP or basic unit
Green Off/On No cyclical useful data traffic with a master, class 1,
via PROFIBUS is possible; PROFIBUS cable not
connected or defective

Table 8.2-20 Fault display CBP

In the following, all exceptional operating conditions are listed which are
displayed as such by the CBP.
LED Status Diagnostic information
Red Flashing CBP is waiting for the basic unit to begin initialization
Yellow Off
Green On
Red On CBP is waiting for the basic unit to complete
Yellow Off initialization

Green Flashing
Red Flashing Checksum error in flash EPROM of the CBP
Yellow On (Download firmware again or replace CBP)
Green Off
Red Flashing Error in RAM test of the CBP
Yellow On Replace CBP (external RAM, DPRAM or SPC3-RAM
Green On defective)

Red Flashing Only CBP2


Yellow Off DP slave software detects serious fault
Green Off Note fault number in r732.8 and inform Customer
Service

Table 8.2-21 Exceptional operating conditions

LED Status Diagnostic information


Red Off Only CBP2
Yellow Off USS protocol has been set
Green Flashing

Table 8.2-22 USS

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-113
Communication / PROFIBUS 06.2005

8.2.10.2 Fault and alarm display on the basic unit

If faults occur during communication between the PROFIBUS and the


CBP, corresponding fault or alarm messages are displayed on the PMU
or on the OP of the basic unit.

Alarms Alarm number Meaning


First Second
CB/TB CB
A 081 A 089 The ID byte combinations sent by the DP master in the
configuration telegram do not correspond with the
permitted ID byte combinations (see table 8.2-12)
Consequence:
No connection established with the PROFIBUS-DP
master; new configuration is necessary.
A 082 A 090 No valid PPO type can be established from the
configuration telegram from the DP master.
Consequence:
No connection established with the PROFIBUS-DP
master, new configuration is necessary.
A 083 A 091 No net data or invalid net data (e.g. complete control
word STW1=0) are being received by the DP master.
Consequence:
The process data are not being transferred to the DPR.
If parameter P722 (P695) is not equal to zero, this will
result in fault message F 082 being tripped (see
chapter "Process data monitoring".
A 084 A 092 Telegram traffic between DP master and CBP has
been interrupted (e.g. cable break, bus connector
disconnected or DP master switched off).
Consequence:
If parameter P722 (P695) is not equal to zero, this will
result in fault message F 082 being tripped (see
chapter "Process data monitoring").
A 086 A 094 Failure of heartbeat counter recognized by basic unit.
Consequence:
Interruption of communication to the automation system
A 087 A 095 DP slave software detects serious fault. Fault number
in diagnostic parameter r732.8
Consequence:
Communication no longer possible. Secondary fault
F082

6SE7087-6QX50 (Version AG) Siemens AG


8.2-114 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Alarm number Meaning


First Second
CB/TB CB
A 088 A 096 Only CBP2
At least one configured cross-traffic encoder is not yet
active or has failed. For details, see CBP2 diagnostic
parameters.
Consequence:
If a encoder is still not active, the relevant setpoints are
set to null as a substitute.
If a cross-traffic encoder fails, transmission of the
setpoints to the basic unit may be interrupted,
depending on the setting in P715. Secondary fault
F082.

Table 8.2-23 Alarm display on the basic unit

Assignment The alarm number for the first CB/TB applies to the following
configurations:
♦ Exactly one CBP has been plugged into slots A to G in the
electronics box and no T100/T400 technology board has been
plugged in
♦ If two CBPs have been plugged in, the alarm number applies to the
one which has been plugged into the slot with the lower slot letter.
The alarm number for the second CB applies to the following
configurations:
♦ One T100/400 technology board has been plugged in and the CBP
in the electronics box has been plugged into slots A to C.
♦ If two CBPs have been plugged in, the alarm number applies to the
one which has been plugged into the slot with the higher letter.

NOTE The alarm A 082 / A 090 can also be displayed on the basic unit the
first time the CBP is started as long as telegrams are not being
exchanged with a DP master, e.g. because the bus cable has not yet
been connected.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-115
Communication / PROFIBUS 06.2005

Fault displays Fault number Meaning


First Second
CB/TB CB
F080 F085 Fault in the dual-port RAM
Remedy:
CBP probably defective, i.e. replace CBP
F081 F081 Fault in the heartbeat counter. The heartbeat counter
Fault Fault is no longer being incremented by the CBP due to an
value value internal fault. The CBP is not plugged in correctly or is
(r949) = 0 (r949) = 2 defective
Remedy:
Check the connection. If necessary, replace CBP
F082 F082 Telegram failure in the dual-port-RAM (DPR).
Fault Fault The telegram failure monitoring time set by means of
value value parameter P722 (P695) has expired (see chapter
(r949) = 1 (r949) = 2 "Process data monitoring").
The bus has been interrupted or all net data are
transferred with 0 (see also A083)
Remedy:
Check bus cable incl. connecting plug. In the DP-
master, assign values not equal to zero to control word
STW1.

Table 8.2-24 Fault display on the basic unit

Assignment The fault number for the first CB/TB applies to the following
configurations:
♦ Exactly one CBP has been plugged into slots A to G in the
electronics box and no T100/T300/T400 technology board has been
plugged in.
♦ If two CBPs have been plugged in, the fault number applies to the
one which has been plugged into the slot with the lower slot letter.
The fault number for the second CB applies to the following
configurations:
♦ One T100/T300/T400 technology board has been plugged in and
the CBP in the electronics box has been plugged into slots A to C
♦ If two CBPs have been plugged in, the fault number applies to the
one which has been plugged into the slot with the higher letter.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-116 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.10.3 Evaluating CBP diagnostic parameters

(For CBP2 diagnosis, see section 8.2.8.6)

NOTE Please note that, for types of unit with the older function classes FC
(CU1), VC (CU2) and SC (CU3), indexed parameter r731.i is to be
used appropriately instead of r732.i

In order to support start-up and for service purposes, the CBP stores
diagnostic information in a diagnostics buffer. The diagnostic
information can be read out with the indexed parameter r732.i (CB/TB
diagnosis).

If two CBPs are plugged-in in the electronics box, the diagnostic area
for the second CBP begins in parameter r732 from index 33 onwards,
i.e. in order to read out the diagnostic information of the second CBP,
an offset of 32 must be added to the index of the first CBP as well (see
table 8.2-19).
CBP diagnostic Area of the first CBP
parameters
Meaning Parameter No.
CBP_Status P732.1
SPC3_Status P732.2
SPC3_Global_Controls P732.3
Counter: telegrams received without faults (only DP standard) P732.4 (Low)
Reserved P732.4 (High)
Counter "TIMEOUT" P732.5 (Low)
Reserved P732.5 (High)
Counter "CLEAR DATA" P732.6 (Low)
Reserved P732.6 (High)
The following diagnostic entries are overwritten if PROFIBUS-
DP telegram diagnosis is selected by means of P711 / P696
(CB parameter 1)
Counter: Heartbeat-counter fault P732.7 (Low)
Reserved P732.7 (High)
Number of bytes for special diagnosis P732.8 (Low)
Reserved P732.8 (High)
Mirroring slot Identifier 2 P732.9 (Low)
Mirroring slot Identifier 3 P732.9 (High)
Mirroring P918 (CB bus address), only low part P732.10 (Low)
Reserved P732.10 (High)
Counter re-configuration by CU P732.11 (Low)
Counter initializations P732.11 (High)
Fault detection DPS manager fault (8 bits) P732.12 (Low)
Reserved P732.12 (High)

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-117
Communication / PROFIBUS 06.2005

Area of the first CBP


Meaning Parameter No.
Determined PPO type (8 bits) P732.13 (Low)
Reserved P732.13 (High)
Mirroring "DWORD-Specifier-ref" P732.14
Mirroring "DWORD-Specifier-act" P732.15
Counter DPV1:DS_WRITE, positive acknowledgement P732.16 (Low)
Reserved P732.16 (High)
Counter DPV1: DS_WRITE, negative acknowledgement P732.17 (Low)
Reserved P732.17 (High)
Counter DPV1:DS_READ, positive acknowledgement P732.18 (Low)
Reserved P732.18 (High)
Counter DPV1:DS_READ, negative acknowledgement P732.19 (Low)
Reserved P732.19 (High)
Counter DP/T: GET DB99, positive acknowledgement P732.20 (Low)
Counter DP/T: PUT DB99, positive acknowledgement P732.20 (High)
Counter DP/T: GET DB100, positive acknowledgement P732.21 (Low)
Counter DP/T: PUT DB100, positive acknowledgement P732.21 (High)
Counter DP/T: GET DB101, positive acknowledgement P732.22 (Low)
Counter DP/T: PUT DB101, positive acknowledgement P732.22 (High)
Counter DP/T-service negative acknowledgement P732.23 (Low)
Counter DP/T: application relation, positive acknowledgement P732.23 (High)
Reserved P732.24
Gen-Date: day, month P732.25
Gen-Date: year P732.26
Software version P732.27
Software version P732.28
Software version: flash EPROM checksum P732.29
Reserved :
Reserved P732.31

6SE7087-6QX50 (Version AG) Siemens AG


8.2-118 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Area of the second CBP


Meaning Parameter No.
CBP_Status P732.33
SPC3_Status P732.34
SPC3_Global_Controls P732.35
:
Software-Version: Flash-EPROM-Checksum P732.61
Reserved :
Reserved P732.64

Table 8.2-25 CBP diagnostics buffer

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-119
Communication / PROFIBUS 06.2005

8.2.10.4 Meaning of information in the CBP diagnostic channel

(For CBP2 diagnosis, see section 8.2.8.6)

P732.1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit
(090H, CBP_Status)
♦ Bit 0
"CBP Init": CBP is presently being initialized or is waiting for
initialization from the BASE BOARD
(normal operation: not set)
♦ Bit 1
"CBP Online": CBP selected via board mounting position 2"
(DPRAM Offset Address 0x54) or via board mounting position 3"
(DPRAM Offset Address 0x55) by the BASE BOARD
(normal operation: set)
♦ Bit 2
"CBP Offline": CBP selected neither via board mounting position 2"
(DPRAM Offset Address 0x54) nor via board mounting position 3"
(DPRAM Offset Address 0x55) by the BASE BOARD
(normal operation: not set)
♦ Bit 3
Value range exceeded "CB bus address" (P918) (BASE BOARD).
(normal operation: not set)
♦ Bit 4
Diagnostic mode activated [CB parameter 1 (P711 / P696) <> 0].
(normal operation: not set)
♦ Bit 8
Incorrect identification byte transferred (incorrect configuration
telegram from the PROFIBUS DP master).
(normal operation: not set)
♦ Bit 9
Incorrect PPO type (incorrect configuration telegram from the
PROFIBUS DP master).
(normal operation: not set).
♦ Bit 10
Correct configuration received from the PROFIBUS DP master
(normal operation: set).
♦ Bit 12
Fatal error detected by the DPS manager SW
(normal operation: not set)
♦ Bit 13
Program in endless loop in main c (is only escaped from if a reset is
made)
♦ Bit 15
Program in communications online loop (is only escaped from if re-
initialization is carried out by the BASE BOARD)

6SE7087-6QX50 (Version AG) Siemens AG


8.2-120 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

P732.2 (092H, 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit


SPC3_Status)

♦ Bit 0 Offline/Passive Idle


0 = SPC3 is offline (normal operation)
1 = SPC3 is in passive-idle

♦ Bit 1 Reserved

♦ Bit 2 Diag-Flag
0 = Diagnostics buffer collected by the master
1 = Diagnostics buffer not collected by master

♦ Bit 3 RAM Access Violation, memory accessed > 1.5kByte


0 = No address violation (normal operation)
1 = With addresses >1536 bytes, retreat made from
respective address 1024 and access is made
under this new address

♦ Bits 4,5 DP-State 1..0


00 = Status "Wait_Prm"
01 = Status"Wait_Cfg"
10 = Status"DATA_EX"
11 = Not possible

♦ Bits 6,7 WD-State 1..0


00 = Status"Baud_Search"
01 = Status"Baud_Control"
10 = Status"DP_Control"
11 = Not possible from PROFIBUS DP master

♦ Bits 8,9,10,11 Baud rate 3..0


0000 = 12 mbaud
0001 = 6 mbaud
0010 = 3 mbaud
0011 = 1.5 mbaud
0100 = 500 kbaud
0101 = 187.5 kbaud
0110 = 93.75 kbaud
0111 = 45.45 kbaud
1000 = 19.2 kbaud
1001 = 9.6 kbaud
Rest = Not possible
♦ Bits 12,13, SPC3-Release 3..0:
14,15 0000= Release 0
Rest = Not possible

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-121
Communication / PROFIBUS 06.2005

P732.3 (094H, Bits remain set until the next DP global command.
SPC3_Global_Contr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit
ols)

♦ Bit 0 Reserved
♦ Bit 1 1 = Clear_Data telegram received
♦ Bit 2 1 = Unfreeze telegram received
♦ Bit 3 1 = Freeze telegram received
♦ Bit 4 1 = Unsync telegram received
♦ Bit 5 1 = Sync telegram received
♦ Bits 6,7 Reserved
P732.4 Counter for telegrams received error-free (only DP standard)
(Low-Byte), 096H Counter for received DP net telegrams
P732.5 Counter TIMEOUT
(Low-Byte), 098H Counter is incremented if the "TIMEOUT" signal is identified.
This occurs if, for example, the bus connector is pulled out when
response-monitoring has been activated (at the DP master).
P732.6 Counter CLEAR DATA
(Low-Byte), 09AH Is incremented if the "CLEAR DATA" is identified (see also P732.3).
Occurs, for example, if the IM308B is set in "STOP".
P732.7 Counter Heartbeat-Counter Error
(Low-Byte), 09CH Is incremented if the heartbeat-counter is not changed by the BASE-
/TECH-BOARD within approx. 800 ms.
P732.8 Number of bytes during special diagnosis
(Low-Byte), 09EH Number of bytes entered after P732.9 during special diagnosis selected
by means of CB parameter 1.
732.9 Mirroring slot Identifier 2
(Low-Byte), 0A0H Read out of the DPRAM during run up: Offset Address 054H, with
VC,FC and SC, corresponds to parameter P090.
732.9 Mirroring slot Identifier 3
(High-Byte), 0A1H Read out of the DPRAM during run up: Offset Address 055H, with
VC,FC and SC, corresponds to parameter P091.
P732.10 Mirroring P918
(Low-Byte), 0A2H Read out of the DPRAM during run up: "CB Bus address" (only Low-
byte)
P732.11 Counter Re-configuration by CU
(Low-Byte), 0A4H Re-configuration requested by BASE BOARD in online mode
732.11 Counter Initialization
(High-Byte), 0A5H Is incremented during run through of the initialization routine
P732.12 DPS Manager Error
(Low Byte), 0A6H Error detection in the event of a fatal DPS manager error
P732.13 PPO type
(Low-Byte), 0A8H PPO type detected from configuration telegram
P732.13 Reserved
(High-Byte), 0A9H
P732.14, Mirroring "DWORD-Specifier-ref"
0AAH u. 0ABH Read out of the DPRAM during run up: updated cyclically
P732.15, Mirroring "DWORD-Specifier-act
0ACH u. 0ADH Read out of the DPRAM during run up: updated cyclically

6SE7087-6QX50 (Version AG) Siemens AG


8.2-122 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

732.16 Counter DS_WRITE acknowledgement negatively


(Low-Byte), 0AEH
P732.16 Reserved
(High-Byte), 0AFH
732.17 Counter DS_WRITE acknowledged positively
(Low-Byte), 0B0H
P732.17 Reserved
(High-Byte), 0B1H
732.18 Counter DS_READ acknowledged negatively
(Low-Byte), 0B2H
P732.18 Reserved
(High-Byte), 0B3H
P732.18 reserved
(High-Byte), 0B3H
P732.19 Counter DS_READ acknowledged positively
(Low-Byte), 0B4H
P732.19 reserved
(High-Byte), 0B5H
P732.20 Counter GET DB99 acknowledged positively
(Low-Byte), 0B6H
P732.20 Counter PUT DB99 acknowledged positively
(High-Byte), 0B7H
732.21 Counter GET DB100 acknowledged positively
(Low-Byte), 0B8H
P732.21 Counter PUT DB100 acknowledged positively
(High-Byte), 0B9H
732.22 Counter GET DB101 acknowledged positively
(Low-Byte), 0BAH
P732.22 Counter PUT DB101 acknowledged positively
(High-Byte), 0BBH
732.23 Counter DPT-Service acknowledged negatively
(Low-Byte), 0BCH
P732.23 Counter Applic positively acknowledged
(High-Byte), 0BDH Increment during set-up DPT service application relation
P732.24 reserved
(Low-Byte), 0BEH
P732.24 reserved
(High-Byte), 0BFH
P732.25 Creation date
0C0H and 0C1H Day and month when CBP firmware created
(Display: 0304 = 03.04.)
P732.26 Creation data
0C2H and 0C3H Year when CBP firmware created (Display = Year)
P732.27 Software-Version
0C4H and 0C5H Software version V X.YZ (Display X)
P732.28 Software-Version
0C6H and 0C7H Software version V X.YZ (Display YZ)
P732.29 Flash-EPROM Checksum
0C8H and 0C9H Is read out of the flash EPROM during run-up

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-123
Communication / PROFIBUS 06.2005

8.2.10.5 Additional methods of diagnosis for start-up personnel

(See section 8.2.8.7 for extended CBP2 diagnosis)

NOTE The CB parameters, P711 to P721, have two indices. The following
convention applies to this:
Index 1 is valid for the first CBP
Index 2 is valid for the second CBP
In order to determine which CBP is the first and which the second, see
Section 8.2.4 "Mounting methods / CBP slots".

CB parameter 1 With P711 / P696 (CB parameter 1), special diagnostic entries for the
Telegram diagnosis CBP diagnostics buffer can be selected. If P711 / P696 is set to a value
not equal to zero during parameterization of the CBP by the converter,
telegram contents of the PROFIBUS-DP telegram are cyclically entered
into the CBP diagnostics buffer, depending on the set value.
The entries are made in rising sequence beginning with r732.9
(r732.10, r732.11 etc.) in the same way as the corresponding useful
data are transferred via the PROFIBUS-DP, namely high-byte before
low-byte, high-word before low-word. The original entries (i.e. when
P711 / P696 = "0") are overwritten, beginning with r732.9.
Entries r732.1 to 732.8 retain their meaning.
Detailed knowledge of PROFIBUS-DP telegrams is needed in order to
evaluate these diagnostic entries.
It is only possible to set parameter P711 / P696 when the "Hardware
Configuration" function is being selected (P060 or. P052).

NOTE Parameter P711 / P696 is only to be set to a value other than zero for
diagnostic purposes because continuous transfer of diagnostic
information to the DPRAM reduces the data throughput rate of the
CBP!
The original entries in parameter r732 / r731 are overwritten, beginning
with r732.9 / r731.9.

PMU:
P711 / P696 = 0 Telegram diagnosis = Off
P711 / P696 = 1 to 26 Telegram diagnosis = ON

6SE7087-6QX50 (Version AG) Siemens AG


8.2-124 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Telegram entries

P711 =0 No supplementary diagnosis (default setting)


P696
The following entries apply to cyclical data transfer via MSZY-C1
P711 =1 PPO useful data in the Useful-data telegram Length depends on PPO
P696 CBP receive buffer (master → converter) type
P711 =2 PPO useful data in the Useful-data telegram Length depends on PPO
P696 CBP transmit buffer (converter → master) type
P711 =3 Configuration buffer Useful-data telegram Length = 25 bytes
P696 (master → converter)
P711 =4 Parameterization buffer Parameterization Length = 10 bytes
P696 telegram
(master → converter)
The following entries apply to cyclical data transfer via MSAC-C1
P711 = 10 Useful data of the DS100 Data unit in DS_WRITE Max. 32 bytes
P696 to DS100
P711 = 11 Useful data of the DS100 Data unit in DS_READ to Max. 32 bytes
P696 DS100
The following entries apply to acyclical data transfer via MSAC-C2
P711 = 21 Useful data in the DB99 Data unit in PUT to the Max. 32 bytes
P696 DB99
P711 = 22 Useful data in the DB99 Data unit in GET to DB99 Max. 32 bytes
P696
P711 = 23 Useful data in the DB100 Data unit in PUT to Max. 32 bytes
P696 DB100
P711 = 24 Useful data in the DB100 Data unit in GET to Max. 32 bytes
P696 DB100
P711 = 25 Useful data in the DB101 Data unit in PUT to Max. 32 bytes
P696 DB101
P711 = 26 Useful data in the DB101 Data unit in GET to Max. 32 bytes
P696 DB101

Table 8.2-26 Selection of PROFIBUS-DP telegram entries

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-125
Communication / PROFIBUS 06.2005

Example 1 Parameter P711 / P696 = 1


The useful data (PPO) received from the DP master via the cyclical
standard channel MSCY_C1 are entered in the diagnostics buffer.
PPO type = 1
Four words, PKW part plus control word 1 (STW1) and the main
setpoint (HSW), are received. The PKW part is placed, beginning with
the PKE, in parameter r732.9; STW1 and also the HSW are placed
from parameter r732.13 onwards (high part at the least significant
address).
In the following example, a WRITE request from the DP master is
shown with the value "3002" in parameter P443.
The control word is specified with 9C7EHex in the DP master and
2000Hex is specified as the setpoint.
The values in r732 are displayed in Motorola format, i.e. high-byte and
low-byte are shown inverted in relation to what is displayed in the other
parameters.

Display on the
PMU
(r732.9) PKE’ BB 71

(r732.10) IND’ 00 01

(r732.11) PWE1’ 00 00

(r732.12) PWE2’ 02 30

(r732.13) STW’ 7E 9C

(r732.14) HSW’ 00 20

PKE IND PWE1 PWE2 STW HSW Specified by master


71 BB 01 00 00 00 30 02 9C 7E 20 00 e.g. S5 or S7

Visualization In order to visualize the received process data (PZD), parameter r733
parameter r733 can also be used. In parameter r733, all process data are displayed
normally, i.e. in Intel format, in the same way as they are used in the
MASTERDRIVES.
The PKW interface cannot be visualized by means of parameter r738
and r739.
The index ranges used in parameters r733, r738 and r739 are shown in
the function diagrams in the appendix.

NOTE In the examples and in the following tables, information with an


apostrophe (e.g. PKE') means that, with these values, the high-byte
and the low-byte are swapped round in relation to the original value, as
for example in the programmable controller.

6SE7087-6QX50 (Version AG) Siemens AG


8.2-126 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Example 2 Parameter P711 / P696 = 2


The useful data (PPO) sent to the DP master via the standard cyclical
channel MSCY_C1 are entered into the diagnostics buffer.
PPO-type = 1
Four words are sent, PKW part plus status word 1 (ZSW1) and the
main actual value (HIW). The PKW part is stored, beginning with the
PKE, in parameter r732.9 and ZSW1 as well as the HIW from
parameter r732.13 onwards (high part at the least significant address).
In the following example, the reply (to the DP master) to the WRITE
request in example 1 is shown in parameter P443 with the value
"3002".
The status word is returned by the converter with 4331Hex; 0000Hex is
given as the actual value.
The values in r732 are displayed in Motorola format, i.e. high-byte and
low-byte are shown inverted in relation to what is displayed in the other
parameters.

Display on the
PMU
(r732.9) PKE’ BB 41

(r732.10) IND’ 00 01

(r732.11) PWE1’ 00 00

(r732.12) PWE2’ 02 30

(r732.13) STW’ 31 43

(r732.14) HSW’ 00 00

PKE IND PWE1 PWE2 STW HSW Reply in master


41 BB 01 00 00 00 30 02 43 31 00 00 e.g. S5 or S7

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-127
Communication / PROFIBUS 06.2005

Telegram contents Display When When When When When


(communication in r732 P711 = 1 or 2 P711 = P711 = 4 P711 = P711 =
with Master 1) 3 10 11
PPOs PPOs Different Parameteri
1,2, or5 3 or 4 dependi z. telegram
ng on
PPO
ii 09 PKE’ PZD1’ 00 04 Byte 2 u 1 PKE’ PKE’
ii 10 IND’ PZD2’ AD 00 Byte 4 u 3 IND’’ 2) IND’’ 2)
ii 11 PWE1’ PZD3’ * 04 C4 Ident-No. PWE1’ PWE1’
ii 12 PWE2’ PZD4’ * 00 00 Byte 8 u 7 PWE2’ PWE2’
ii 13 PZD1’ PZD5’ * 40 BB Byte 10 u 9 PWE3’ PWE3’
ii 14 PZD2’ PZD6’ * 00 04 xxx PWE4’ PWE4’
ii 15 PZD3’ * xxx 8F 00 xxx PWE5’ PWE5’
ii 16 PZD4’ * xxx C2 C0 xxx PWE6’ PWE6’
ii 17 PZD5’ * xxx per PPO xxx PWE7’ PWE7’
ii 18 PZD6’ * xxx per PPO xxx PWE8’ PWE8’
ii 19 PZD7’ ** xxx per PPO xxx PWE9’ PWE9’
ii 20 PZD8’ ** xxx per PPO xxx PWE10’ PWE10’
ii 21 PZD9’ ** xxx per PPO xxx PWE11’ PWE11’
ii 22 PZD10’ xxx 1) xxx PWE12’ PWE12’
**

ii 23 xxx xxx xxx xxx PWE13’ PWE13’


ii 24 xxx xxx xxx xxx PWE14’ PWE14’

1) The 25 bytes with slot-oriented S7 type identifications are always entered, even if
the CBP is configured with identification bytes by an S5 or a non-Siemens master.
2) As regards IND’, high-byte and low-byte are inverted in relation to the IND': this is
based on a different definition of the useful data for PPOs and acyclically
transferred sets of data.
* only for PPO2 and 4
** only for PPO5

Structure and content of the parameterization telegram


Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte
1 2 3 4 5 6 7 8 9 10
DP- WD_ WD_ TSDR PNO-Ident- Grou DPV1 DPV1 DPV1
Statu Fac 1 Fac 2 - min No. p- - - -
s Ident Statu Statu Statu
s1 s2 s3

Table 8.2-27 Telegram contents in parameter r732i09 which can be read out
(communication with Master 1)

6SE7087-6QX50 (Version AG) Siemens AG


8.2-128 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Telegram contents Display When When When When When When


(communication im r732 P711 = P711 = P711 = P711 = P711 = P711 =
with SIMOVIS / 21 22 23 24 25 26
DriveMonitor)
ii 09 PZD PZD PKE’ PKE’ PZD1’ PZD1’
rights rights
ii 10 xxx xxx IND’’ IND’’ PZD2’ PZD2’
ii 11 xxx xxx PWE1’ PWE1’ PZD3’ PZD3’
ii 12 xxx xxx PWE2’ PWE2’ PZD4’ PZD4’
ii 13 xxx xxx PWE3’ PWE3’ PZD5’ PZD5’
ii 14 xxx xxx PWE4’ PWE4’ PZD6’ PZD6’
ii 15 xxx xxx PWE5’ PWE5’ PZD7’ PZD7’
ii 16 xxx xxx PWE6’ PWE6’ PZD8’ PZD8’
ii 17 xxx xxx PWE7’ PWE7’ PZD9’ PZD9’
ii 18 xxx xxx PWE8’ PWE8’ PZD10’ PZD10’
ii 19 xxx xxx PWE9’ PWE9’ PZD11’ PZD11’
ii 20 xxx xxx PWE10’ PWE10’ PZD12’ PZD12’
ii 21 xxx xxx PWE11’ PWE11’ PZD13’ PZD13’
ii 22 xxx xxx PWE12’ PWE12’ PZD14’ PZD14’
ii 23 xxx xxx PWE13’ PWE13’ PZD15’ PZD15’
ii 24 xxx xxx PWE14’ PWE14’ PZD16’ PZD16’

Table 8.2-28 Telegram contents in parameter r732i09 which can be read out
(communication with SIMOVIS/DriveMonitor)

CB parameter 3 By means of CB parameter 3, i.e. P713 / P698, a hex monitor can be


(DPRAM monitor) activated with which addresses of the dual-port RAM can be read out
on the CBP.

DANGER Parameter P713 / P698 is to be reserved exclusively for suitably


trained start-up personnel.
In order to use the hex monitor to best effect, appropriate detailed
knowledge of the structure of the dual-port RAM is necessary.
In P713 / P698, only the offset address (decimal) is entered.
If CB Parameter 3 is set to a value other than "0", 12 bytes are
cyclically entered in diagnostic parameter r732 from r732.9 onwards.
This is done from the absolute address set in CB parameter 3 (decimal)
onwards.
CB Parameter 3 has the highest priority and disables entries by CB
parameter 1.
Diagnosis with A Class II master (normally a PG programming unit) can be used for
PROFIBUS Class II start-up and diagnosis. During start-up/testing, the Class II master
Master assumes the function of the Class I master for the selected station. The
exchange of useful data with the slave, however, is not cyclical.

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-129
Communication / PROFIBUS 06.2005

8.2.10.6 CBP2 diagnostic parameters

Meaning of standard diagnosis with P711.x = 0


Parameter Content (high byte) Content (low byte)
No.
r732.1 CBP2 status (same content as CBP)
r732.2 DPC31 status (same content as CBP, SPC3 status)
r732.3 Global control (same content as CBP)
r732.4 Counter: CLEAR DATA Counter: fault-free cyclical telegrams
(alteration if, e.g. SIMATIC in "Stop")
r732.5 Counter: Heartbeat counter fault from basic Counter: Watchdog state changed
unit (alteration during plugging/unplugging of
connector or C1 master is coming/going)
r732.6 Mirroring: Slot identifier 3 Mirroring: Slot identifier 2
r732.7 PNO identification (0x8045)
r732.8 Number of valid bytes in r732.9 to r732.24 when P711.x > 0 (special diagnosis)
or: fault number DP slave software for alarm A087
r732.9 to r732.24 have a different meaning in the case of special CB diagnosis with P711.x > 0
r732.9 Cross traffic: address encoder 1 Encoder 2
r732.10 Encoder 3 Encoder 4
r732.11 Encoder 5 Encoder 6
r732.12 Encoder 7 Cross traffic: address encoder 8
r732.13 CBP2 itself works as a cross-traffic encoder PPO type (0xFF: no PPO)
r732.14 Cross traffic: number of configured encoders Cross traffic: Score Board, one bit per
encoder
(Bit 0 = Encoder 1, ... Bit 7=Encoder 8)
0: Encoder inactive
1: Encoder configured and active
r732.15 Counter: repeated cyclical PKW request Counter: new cyclical PKW task
r732.16 Counter: C1 DS100 Write/Read negative Counter: C1 DS100 Write/Read positive
r732.17 Counter: DriveES Write/Read negative Counter: DriveES Write/Read positive
r732.18 Counter: DriveES Control negative Counter: DriveES Control positive
r732.19 Counter: DriveES Setpoints negative Counter: DriveES Setpoints positive
r732.20 Counter: S7 Protocol negative Counter: S7 Protocol positive
r732.21 Counter: Abort C2 master Counter: Initiate C2 master
r732.22 S7 protocol access fault: For fault number, see following table
r732.23 S7 protocol access fault: Data block number or parameter number
r732.24 S7 protocol access fault: Data block offset or index word

r732.25 Generating date: Day Generating date: Month


r732.26 Generating date: Year
r732.27 Software version
r732.28 Software version
r732.29 Software version: Flash-EPROM checksum

6SE7087-6QX50 (Version AG) Siemens AG


8.2-130 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Fault S7 protocol (r732.22), fault numbers < 150 correspond to PKW


fault numbers:
No. Cause Remedy (e.g. in ProTool)
No. 0 .. 199: S7 task has been changed into a parameter task. Fault detection in the BASE/TECH
BOARD. Additional info in r732.23, r732.24: parameter number, index word.
0 There is no parameter number Check data block number
1 Parameter value cannot be altered -
2 Top or bottom limit exceeded -
3 There is no subindex Check data block offset
4 Access to single value with array identifier Set data block offset = 0
5 Access to word with double word task or vice Use correct type of data
versa (e.g. INT for word, DINT for double word)
6 Setting not allowed (can only be reset) -
7 Description element cannot be altered (should not occur here)
11 No parameter change rights -
12 Keyword missing -
15 There is no text array -
17 Task cannot be executed due to operating -
status
101 Parameter number deactivated at the moment -
102 Channel width too small (should not occur here)
103 PKW number incorrect (should not occur here)
104 Parameter value not permissible -
105 Access to array parameter with single identifier Set data block offset > 0
106 Task not implemented -
No. 200-209: S7 task is formally defective. Error detection in the COM BOARD.
Additional info in r732.23, r732.24: data block number, data block offset
200 Error in variables address (no addiional info) Permissible: range of "Data block"
201 Data block number not permissible Permissible: 1...31999
202 Data block offset not permissible Permissible:
0...116, 10001...10116, 20000...20010
203 Non-permissible "Type" during access to Permissible: CHAR. BYTE, INT, WORD, DINT,
parameter value DWORD, REAL
204 Non-permissible "Number of elements" during Permissible: effective 2 or 4 byte
access to parameter value
205 Non-permissible "Type" during access to text Permissible: CHAR, BYTE
206 Non-permissible "Type" during access to Permissible: CHAR. BYTE, INT, WORD, DINT,
description DWORD, REAL
207 Non-permissible odd "Number of elements" in Correct the "Number of elements"
the case of type CHAR or BYTE
208 Non-permissible change of text/description -
209 Inconsistency in the write task: "Type" and (Defective communications partner)
"Number of elements" does not match "Type of
data" and "Length of data"

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-131
Communication / PROFIBUS 06.2005

No. Cause Remedy (e.g. in ProTool)


No. 220: S7 task has been changed into a parameter task. Reply from BASE/TECH BOARD is
defective. Error detection in the COM BOARD. Additional info in r732.23, r732.24: data block
number, data block offset.
220 Parameter reply does not match task (Defective BASE/TECH BOARD)
No. 240: Fault detection in the COM BOARD; without additional info
240 Reply too long for reply telegram (Defective communications partner)

Diagnosis of clock synchronization with "SIMOLINK" diagnostic


parameter r748 (MASTERDRIVES MC only):
r748.x (Content of SIMOLINK SLB) Content of PROFIBUS CBP2
r748.1 Number of error-free synchronizing telegrams
r748.2 CRC error Internal
r748.3 Number of timeout errors Internal
r748.4 Last bus address signaled Internal
r748.5 Address of the node which sends the special Internal
telegram "Timeout"
r748.6 Active SYNC-interrupt delay Internal
r748.7 Position of the node in the ring Internal
(deviation of pulse period, configured on CU
and set via PROFIBUS)
r748.8 Number of nodes in the ring Maximum permissible deviation of the pulse
period
r748.9 Synchronism deviation (65535: Synchronization not active) should fluctuate between 65515
and 20
r748.10 Corrected pulse period in units of 100 ns
r748.11 T0 counter (0 if synchronization active) Internal
r748.12 Internal Internal
r748.13 Internal Internal
r748.14 Timer Internal
r748.15 Bus cycle time implemented
r748.16 Internal Internal

6SE7087-6QX50 (Version AG) Siemens AG


8.2-132 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

8.2.10.7 Special CBP2 diagnosis for start-up personnel

Special diagnosis with P711.x > 0

Image of the C1 master telegrams


P711.x Display in r732.9..24 (32 bytes)
1 Output: PKW and setpoints from the master Maximum 32 bytes
2 Input: PKW and actual values to the master Maximum 32 bytes
3 Configuring telegram from the master Byte 0 – 31
50 End identifier: 0x5A, 0xA5 Byte 32 - 63
51 Byte 64 - 95
52 Byte 96 - 127
53 Byte 128 - 159
54 Byte 160 - 191
55 Byte 192 - 223
56 Byte 224 - 244
4 Parameterizing telegram from the master Byte 0 – 31
60 End identifier: 0x5A, 0xA5 Byte 32 - 63
61 Byte 64 - 95
62 Byte 96 – 127
63 Byte 128 – 159
64 Byte 160 – 191
65 Byte 192 – 223
66 Byte 224 – 244

Diagnosis of configuration and parameterization


P711.x r732.x
30 r732.9 Result of parameterizing telegram evaluation (see table)
r732.10 Result of evaluating cross-traffic parameterization (see table)
r732.11 Result of configuring telegram evaluation (see table)
r732.12 PPO type 1-5; if free configuration, then 0xff
r732.13 Length of the input data to the master (without PKW) in bytes
r732.14 Length of the output data from the master (without PKW) in bytes
r732.15 Double-word specifier setpoints
r732.16 Double-word specifier actual values
r732.17 Free memory in the multi-port RAM of the DPC31 in bytes

The value output in parameter P732.9 (P711.x = 30) arises due to bit-
by-bit OR linking of the following parameters. In the case of errors in
the block for cross-traffic parameterization, the detailed fault codes are
to be entered in parameter P732.10. Only if P732.10 contains the value
0 can the clear causes of the fault be read out of P732.9. If P732.10 <>
0, the content of P732.9 is falsified and the errors leading to abort
cannot be clearly determined!

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-133
Communication / PROFIBUS 06.2005

Value Meaning
0x0000 Parameterizing telegram is error free
0x0001 Unknown master, length of para. telegram <10 and <>7
0x0002 Unknown para. block. The following are supported:
0xE1 – Equidistance, 0xE2 – Cross traffic
0x0004 It was not possible to fully identify the para. telegram
0x0008 It was not possible to set up the parameter buffer in the DPC31.
(Memory size insufficient!)
0x0010 The block for equidistance parameterization has an incorrect length
(24 + 4 = 28 bytes)
0x0020 The CU has not opened the RCC channel (no CU SW-version with
equidistance capability) or cannot process the RCC channel
0x0040 Non-permissible parameter (e.g. bus cycle time and pulse
frequency do not correlate)
0x0080 Tbase-dp is larger than 16 bits after de-normalization
0x0100 Tdp is larger than 16 bits
0x0200 Tdx is larger than Tdp
0x0400 The free computing time is not sufficient.
(Tdp-Tdx is too small)
0x0800 The para. telegram contains an invalid value for Isochronous Mode
Supported (permissible values 0, 0xE1)
0x1000 Unknown equidistance mode set by the BASEBOARD

Table 8.2-29 Paramter-telegram evaluation r732.9 / P711 = 30

Value Meaning
0x0000 Parameterizing block cross-traffic error-free
0x1001 Default return value
0x1002 The version of the filter table is not supported. Identifier 0xE2 is
supported.
0x1004 The data area of the CBP2 (16 word PZD) is exceeded.
0x1008 The pick-off has an odd number of bytes. Only word-by-word pick-
offs are permitted.
0x1010 The maximum number of pick-offs has been exceeded. (A
maximum of 8 pick-offs are allowed, including pick-off of own data)
0x1020 No links have been configured in the cross-traffic parameterizing
block
0x1040 A pick-off does not indicate the beginning of a process data word
0x1080 The permissible telegram length which is to be read has been
exceeded (maximum 244 bytes).
0x1100 The reserved memory area in the multi-Port RAM has been
exceeded.
0x1200 Non-permissible publisher address 1-125
0x1400 Several links to a publisher are not permissible.

Table 8.2-30 Parameter-telegram evaluation, cross-traffic, r732.10 / P711 = 30

6SE7087-6QX50 (Version AG) Siemens AG


8.2-134 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Diagnosis of the setpoint source (especially during cross traffic)


P711.x r732.x Content High byte Low byte
31 r732.9 Setpoint source: Setpoint 2 Setpoint 1
P732.10 0: Master Setpoint 4 Setpoint 3
1 to 8: cross-traffic encoder
P732.11 Setpoint 6 Setpoint 5
9: -
P732.12 Setpoint 8 Setpoint 7
P732.13 Setpoint 10 Setpoint 9
P732.14 Setpoint 12 Setpoint 11
P732.15 Setpoint 14 Setpoint 13
P732.16 Setpoint 16 Setpoint 15
P732.17 Byte offset of the setpoint within Setpoint 2 Setpoint 1
the setpoint source
P732.18 Setpoint 4 Setpoint 3
(value range 0 to 30)
P732.19 Setpoint 6 Setpoint 5
P732.20 Setpoint 8 Setpoint 7
P732.21 Setpoint 10 Setpoint 9
P732.22 Setpoint 12 Setpoint 11
P732.23 Setpoint 14 Setpoint 13
P732.24 Setpoint 16 Setpoint 15

Diagnosis of clock synchronization


P711.x r732.x Content
32 r732.9 Interrupt enable by BASEBOARD
r732.10 RCC parameter 1
r732.11 RCC parameter 2
r732.12 Synchronization mode from the BASEBOARD

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-135
Communication / PROFIBUS 06.2005

8.2.11 Appendix
Technical data

Order number CBP: 6SE7090-0XX84-0FF0


CBP2: 6SE7090-0XX84-0FF5
Size (length x width) 90 mm x 83 mm
Degree of pollution Degree of pollution 2 acc. to IEC 664-1 (DIN VDE 0110/T1),
Moisture condensation during operation is not permissible
Mechanical strength To DIN IEC 68-2-6 (if board is correctly mounted)
In stationary use
• displacement 0.15 mm in the frequency range 10 Hz to 58 Hz
• acceleration 19.6 m/s2 in the frequency range > 58 Hz to 500 Hz
During transport
• displacement 3.5 mm in the frequency range 5 Hz to 9 Hz
• acceleration 9.8 m/s2 in the frequency range > 9 Hz to 500 Hz
Climatic class Class 3K3 to DIN IEC 721-3-3 (during operation)
Method of cooling Natural air cooling
Permissible ambient or coolant
temperature
• during operation 0° C to +70° C (32° F to 158° F)
• during storage -25° C to +70° C (-13° F to 158° F)
• during transport -25° C to +70° C (-13° F to 158° F)
Permissible moisture stress Relative humidity ≤ 95 % during transport and storage
≤ 85 % during operation (condensation not
permissible)
Supply voltage 5 V ± 5 %, max. 600 mA, internally from the basic unit
Output voltage 5 V ± 10 %, max. 100 mA,
electrically isolated supply (X448/Pin 6)
• for bus termination of the serial interface or
• for supplying an OLP (Optical Link Plug)
Data transfer rate max. 12 MBaud

Table 8.2-31 Technical data

6SE7087-6QX50 (Version AG) Siemens AG


8.2-136 Compendium Motion Control SIMOVERT MASTERDRIVES
06.2005 Communication / PROFIBUS

Block diagram of the 3 LEDs 9-pole SUB-D socket


CBP X448
PBUS_A PBUS_B

RS-485 Driver

DC/DC Transformer Electrical isolation

C501
SPC3
8KB RAM
Monitor connector 128KB Flash-EPROM
for development PAL 16V8

2*DPR 2K*8

X445

Fig. 8.2-40 Block diagram of the CBP

Siemens AG 6SE7087-6QX50 (Version AG)


SIMOVERT MASTERDRIVES Compendium Motion Control 8.2-137

You might also like