mc166 - Kompend - Kap082 - e - CBP PROFIBUS
mc166 - Kompend - Kap082 - e - CBP PROFIBUS
mc166 - Kompend - Kap082 - e - CBP 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.
LED (red)
LED (yellow)
LED (green)
Fixing screw
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!
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.
Other
nodes
PROFIBUS DP
Acyclical Acyclical
Cyclical
channel channel CBP
channel
(only S7) (only SIMOVIS)
MASTERDRIVES - CU MASTER-
DRIVES
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
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.
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:
PPO
1) PKW: Parameter identifier value
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
Dividing the useful data into parameter identifier values and process
data enables different tasks to be carried out.
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.
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
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
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).
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
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.
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".
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
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
PKW data
1 2 3 4 5 6 7 8 205 206
NOTE Process data (PZDs) cannot be stipulated via this acyclical MSAC_C1
channel.
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:
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
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.
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)
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
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).
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.
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.
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.] *)
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 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.
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
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.
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.
+1
[1..n] Drive
PKW client (V2)
(V2)
[1..n]
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
10
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
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
8.2.4.5 Example of "Change parameter value", more than one array element
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
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
Value2
220
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
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 (-): 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
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
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
... ...
6 + des-
cription
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
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.
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.
SIE MENS
Slot A
A
Rear wall
S1
Right-hand side wall open
X101 B Slot B
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.
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)
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
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
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.
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
Fig. 8.2-10 Electronics box with free slots (+1.B2 and +1.B3) and adaptation board
with CBP
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.
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
8.2.6.2 Connecting up the bus cable by means of the RS485 bus connecting
system
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
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
Installing the bus Bus cable connection for first Bus cable connection for
and last nodes on the bus1 other nodes on the bus
cable
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.
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)
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
Fig. 8.2-14 Bus segment in linear structure (max. 32 stations per segment)
8.2.6.3 Connecting the bus cable with the fiber-optic cable system
OLM/P3
or
Siemens OLM/P4
PROFIBUS
Master
BFOC connector
PROFIBUS PROFIBUS
Slave Slave
CBP HP Simplex CBP
connector
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.
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.
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
PE3
−
+
SIEMEN S
X100
A
S1
Slot A
X101 B
Slot B
X103 C
If so many control cables are used that two shield clamps are
insufficient, the "EMC shielded housing" option is to be used.
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
P713.1 = Reserved
. .
P721.1 = Reserved
Basic
parameterization for
FC (CU1), VC (CU2) yes Possible optional boards:
and SC (CU3) Optional SCB, TSY, CBP, TB
boards?
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
P052 = 0 Leave
"Hardware configuration"
NOTE All grayed out parameters are only valid for units with the functions FC
(CU1), VC (CU2) and SC (CU3).
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".
P060 P052
Function selection "Hardware setting"
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.
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").
no yes
See section
Other relevant CBP
"Process-data monitoring"
parameters
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).
Examples The following pages contain examples of how the transferred data are
allocated in the units by means of process data interconnection.
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
S ta te s
PZD10 P734.10 A ctu a l
va lu e s
Fig. 8.2-21 Example of process data interconnection of the first CB board in function
classes Motion Control Compact PLUS, CUMC and CUVC
e. g. P554.1 = 3001
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
Fig. 8.2-22 Example of process data interconnection for function classes FC (CU1),
VC (CU2) and SC (CU3)
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).
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).
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)
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.
Example for the PZD interconnection for status word 1 (ZSW1), the main actual value
actual-value channel (HIW) and status word 2 (ZSW2).
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.
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).
Telegram selection Process data can be interconnected for standard telegrams by means
of a Script file.
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
... ... 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.
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
... ... 10 11 12 13 14
... ... G2_ZSW G2_XIST1 G2_XIST2
Signals:
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.
Table 8.2-10 Process data monitoring depending on P722.1/P695 and the response
monitor tWD
P722.1
tWD or
P695
DP-Master CBP Basic unit
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)!
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!
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
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.
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.
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.
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.
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.
DP master (class 1)
Parameterizing master,
active station
Outputs Inputs
Cross-traffic relationships
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).
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".
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
Clock Clock
DP cycle
CBP2 processing
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:
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
Takt Takt
DP cycle
CBP2 processing
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.
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.
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.
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
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
Clock
synchronization
Drive Drive Drive
Closed-loop speed Closed-loop speed Closed-loop speed
control control control
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
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.
DX = Data-Exchange Telegram
Rx = Controller from slave x
Pos. control
Master application R1 R2 R3
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
Speed/current
controller pulse:
Slave 1 ... 3-
R1 R1 R1 R1 R1 R1 R1 R1
application:
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.
Bit Meaning
0 - 11 Device-specific
12 - 15 Master life sign for clock synchronization
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.
Bit Meaning
0 - 11 Device-specific
12 - 15 Slave life sign for clock synchronization
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.
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
Fig. 8.2-32 Structure of the position control circuit based on the speed setpoint
interface without DSC
With DSC the actual position calculated inside the drive is also fed back
directly:
ncmd ncmd
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
Fig. 8.2-33 Structure of the LR circuit based on the speed setpoint interface with
DSC
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.
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.
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)
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.
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
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
SIMOVERT MASTERDRIVES
6SE7087-6QX50 (Version AG) Siemens AG
06.2005
06.2005 Communication / PROFIBUS
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.
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).
G1IST1 (ActV)
P734.6
K
K
P734.7
SIMOVERT MASTERDRIVES
6SE7087-6QX50 (Version AG) Siemens AG
06.2005
06.2005 Communication / PROFIBUS
Master R1 R2 R3 R1 R2 R3 R1 R2 R3 R1 R2 R3
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
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.
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
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.
Status diagram,
statuses and
transitions of
encoder interface
Status diagram:
TD20
BD1
TD16
SD11 TD1 SD4
TD15 TD2
TD14 TD3
TD10 TD7
SD9 SD6
Check
measurement Check ref. task
task SD8 SD7
Fig. 8.2-39 Status diagram of encoder interface showing the statuses and transitions
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)
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)!
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)
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.
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.
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)
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)
♦ Bit 1 Reserved
♦ Bit 2 Diag-Flag
0 = Diagnostics buffer collected by the master
1 = Diagnostics buffer not collected by master
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
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
Telegram entries
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
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.
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
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
Table 8.2-27 Telegram contents in parameter r732i09 which can be read out
(communication with Master 1)
Table 8.2-28 Telegram contents in parameter r732i09 which can be read out
(communication with SIMOVIS/DriveMonitor)
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!
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
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.
8.2.11 Appendix
Technical data
RS-485 Driver
C501
SPC3
8KB RAM
Monitor connector 128KB Flash-EPROM
for development PAL 16V8
2*DPR 2K*8
X445