Вы находитесь на странице: 1из 28

Configuring steps for PROFIBUS DP

(example MASTERDRIVES connected to S5)


Configuring / engineering Start-up

Bus structure / node Cable,


Check the hardware connection
screen,
Clarification of the neta data visual check
connector
contents PPO definition
Physically => OK
Configure bus system with LEDs
Check communications /
COM ET 200 IM 308
telegram transfer
CB1
S5 COM ET 200 => OK
Drive
VAR control
Check data transfer
display
VAR control
parameters
CPU program Parameterization DVA_S5 => OK
with DVA_S5 MASTERDRIVES
Visualize
(Baud rate) Test S5 program PAR display

KOM_33E.ppt/Foil 1/1999
Peripheral addr. Slave addr. P918 parameter
Data words (PPO type)
Send buffer Setpoints User program => OK
Drive parameter. => OK Drive
Receive buffer Actual values responses
Monitoring

Overall function OK
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Configuring steps for PROFIBUS DP
(example MASTERDRIVES connected to S5)
Configuring / engineering Start-up

Bus structure / node Cable,


Check the hardware connection
screen,
Clarification of the neta data visual check
connector
contents PPO definition
Physically => OK
Configure bus system with LEDs
Check communications /
COM ET 200 IM 308
telegram transfer
CB1
S5 COM ET 200 => OK
Drive
VAR control
Check data transfer
display
VAR control
parameters
CPU program Parameterization DVA_S5 => OK
with DVA_S5 MASTERDRIVES
Visualize
(Baud rate) Test S5 program PAR display

KOM_33E.ppt/Foil 1/1999
Peripheral addr. Slave addr. P918 parameter
Data words (PPO type)
Send buffer Setpoints User program => OK
Drive parameter. => OK Drive
Receive buffer Actual values responses
Monitoring

Overall function OK
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

Configuring/engineering steps
Define the hardware
Define data levels CPU program
Drive parameterization
Define the interface

VAR control: Check data transfer manually online


Visualization VAR: Data transfer is controlled from the
user program!

3.3-1
Configuring example for PROFIBUS DP
1 STW STW
2 HSW HSW
Set 3 Suppl. setpoint Suppl. setpoints
4 STW 2 STW 2
5
Process 6
quantities PZD 1 ZSW ZSW
2 HIW HIW
Act. 3 Current Current
4 Status 2 Status 2
5
Master: 6

IM Node No.:
SIMATIC 308 Bl. 2
B/C
CB1 CB1 CB24 CB24 CB1 CB24

Baud rate:

M M M M M M

KOM_33E.ppt/Foil 2/1999
~ ~ = = ~ =

Parameter values
PKW
PPO type:
PPO type:
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Configuring example for PROFIBUS DP
1 STW STW
2 HSW HSW
Set 3 Suppl. setpoint Suppl. setpoints
4 STW 2 STW 2
5
Process 6
quantities PZD 1 ZSW ZSW
2 HIW HIW
Act. 3 Current Current
4 Status 2 Status 2
5
Master: 6

IM Node No.:
SIMATIC 308 Bl. 2
B/C
CB1 CB1 CB24 CB24 CB1 CB24

Baud rate:

M M M M M M

KOM_33E.ppt/Foil 2/1999
~ ~ = = ~ =

Parameter values
PKW
PPO type:
PPO type:
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

PPO type: If possible, select uniform PPO types


Important: Define the assignment of the SIMATIC-peripheral
addresses to the individual nodes (missing in the
example!)
Example of a possible configuring datasheet for PROFIBUS DP
(paper plant Hunsfoss, Norway).

3.3-2
Configuring PROFIBUS DP -
communication with drives (1)
SIMATIC S5 - Master Drive slave

SIMATIC-CPU S5 periphery IM 308-B/C Basic drive conv.


CB1 /
Send PROFIBUS DP CB24
Dual MASTERDRIVES
DVA_S5 Port MICROMASTER
RAM Receive OPmP SIMOREG

Set PROFIBUS parameters

Configuring Station address


Slave parameters (Baud rate,
Master system net data structure)
DPxxx-E

KOM_33E.ppt/Foil 3/1999
DPxxx-S
Operator control panel on the
basic drive converter
SIMATIC S5 - COM ET 200 or SIMOVIS
Block package "DVA_S5" parameterizing software Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Configuring PROFIBUS DP -
communication with drives (1)
SIMATIC S5 - Master Drive slave

SIMATIC-CPU S5 periphery IM 308-B/C Basic drive conv.


CB1 /
Send PROFIBUS DP CB24
Dual MASTERDRIVES
DVA_S5 Port MICROMASTER
RAM Receive OPmP SIMOREG

Set PROFIBUS parameters

Configuring Station address


Slave parameters (Baud rate,
Master system net data structure)
DPxxx-E

KOM_33E.ppt/Foil 3/1999
DPxxx-S
Operator control panel on the
basic drive converter
SIMATIC S5 - COM ET 200 or SIMOVIS
Block package "DVA_S5" parameterizing software Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

DP configuration for S7 with STEP 7/ "hardware configuration".


Procedure for COM ET 200
Master system: Define the master parameters (addressing
type, QVZ...)
Slave parameters: Communication parameters from the type file
Configuring: 2 steps, Reference configuration = PPO type
Configuring = peripheral addresses

3.3-3
Hardware- and software components of the
PROFIBUS DP master

COM ET 200
COM ET 200

Memory Card
COM ET 200
+ +
E

for Windows
for Windows
+ from V 4.0 + E
P

+ from V2.0
from V2.0 R
O
M

IM 308-C IM 308-B

AG 95U/
DP-Master AG 115U...155U AG 115U...155U
(EEPROM
remains
inserted)

KOM_33E.ppt/Foil 4/1999
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Hardware- and software components of the
PROFIBUS DP master

COM ET 200
COM ET 200

Memory Card
COM ET 200
+ +
E

for Windows
for Windows
+ from V 4.0 + E
P

+ from V2.0
from V2.0 R
O
M

IM 308-C IM 308-B

AG 95U/
DP-Master AG 115U...155U AG 115U...155U
(EEPROM
remains
inserted)

KOM_33E.ppt/Foil 4/1999
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

For IM 308-B: COM ET 200, V4.0 required


EEPROM for 95U / DP-M is programmed via the bus !
Presently IM 308-B/C EEPROM programming is offline, but in the future it
will also be possible via the bus!

3.3-4
Functions of the COM ET 200 software package
 Setting the system parameters
Setting the baud rate, CPU type, behavior when the station fails
 Configuring
The ET 200 U/B/C devices, drives with PPOs etc.
 E(E)PROM functions
Writing, reading and comparing the contents of memory modules
 Plant/system documentation and address assignments
Information about system parameters, assigning station numbers, assigning the
addresses of areas, stations and print function
 Start-up / test
STATUS / CONTROL test functions
Up- and download for open master interfaces (CP5480 DP)

KOM_33E.ppt/Foil 5/1999
 Diagnostics
Listing of all the devices/units with diagnostic data and within a unit/device the
faulty I/O (also plain text).
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Functions of the COM ET 200 software package
 Setting the system parameters
Setting the baud rate, CPU type, behavior when the station fails
 Configuring
The ET 200 U/B/C devices, drives with PPOs etc.
 E(E)PROM functions
Writing, reading and comparing the contents of memory modules
 Plant/system documentation and address assignments
Information about system parameters, assigning station numbers, assigning the
addresses of areas, stations and print function
 Start-up / test
STATUS / CONTROL test functions
Up- and download for open master interfaces (CP5480 DP)

KOM_33E.ppt/Foil 5/1999
 Diagnostics
Listing of all the devices/units with diagnostic data and within a unit/device the
faulty I/O (also plain text).
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

Start-up diagnostics are integrated online functions

COM ET 200 Windows V3.0 (Autumn `96)


❍ Online parameterization
❍ Online diagnostics (messages in plain text !)
❍ Integrated bus monitor
❍ DP + FMS configuring (CP5431)

3.3-5
Configuring with COM ET 200 (1)

KOM_33E.ppt/Foil 6/1999
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Configuring with COM ET 200 (1)

KOM_33E.ppt/Foil 6/1999
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

QVZ: Acknowledgement delay


Host assignment: In a SIMATIC e.g. several CPUs

3.3-6
Configuring with COM ET 200 (2)

KOM_33E.ppt/Foil 7/1999
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Configuring with COM ET 200 (2)

KOM_33E.ppt/Foil 7/1999
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

The diagram corresponds to COM ET 200 Windows V2.0 !


P128 means: Byte 128 of the P-peripheral range
Slave parameters: COM ET 200 takes these from the slave type file.
Important: The peripheral initial address is required for
DVA_S5. It must always be identical!

3.3-7
Configuring with COM ET 200 (3)

KOM_33E.ppt/Foil 8/1999
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Configuring with COM ET 200 (3)

KOM_33E.ppt/Foil 8/1999
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

Stationstyp = Station type


Stationsnummer = Station number
Stationsbezeichnung = Station designation

3.3-8
Configuring PROFIBUS DP -
communications with the drives (2)
SIMATIC S5 - Master Drive slave

SIMATIC-CPU S5 periphery IM 308-B/C Basic drive conv.


CB1 /
Send PROFIBUS DP CB24
Dual MASTERDRIVES
DVA_S5 Port MICROMASTER
RAM Receive OPmP SIMOREG

Set PROFIBUS parameters

Configuring
Station address
Slave parameters (Baud rate,
Master system net data structure)
DPxxx-E

KOM_33E.ppt/Foil 9/1999
DPxxx-S
Operator control panel on the
basic drive converter
SIMATIC S5 - COM ET 200 or SIMOVIS
Block package "DVA_S5" parameterizing software Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Configuring PROFIBUS DP -
communications with the drives (2)
SIMATIC S5 - Master Drive slave

SIMATIC-CPU S5 periphery IM 308-B/C Basic drive conv.


CB1 /
Send PROFIBUS DP CB24
Dual MASTERDRIVES
DVA_S5 Port MICROMASTER
RAM Receive OPmP SIMOREG

Set PROFIBUS parameters

Configuring
Station address
Slave parameters (Baud rate,
Master system net data structure)
DPxxx-E

KOM_33E.ppt/Foil 9/1999
DPxxx-S
Operator control panel on the
basic drive converter
SIMATIC S5 - COM ET 200 or SIMOVIS
Block package "DVA_S5" parameterizing software Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

3.3-9
Performance features of the block package
"DVA_S5" for PROFIBUS DP
Net data transfer according to the PROFIBUS profile "variable-speed drives":
 Fast, cyclic process data transfer (control/status data, setpoint/actual values)
 Handling parameterizing tasks
Communication functions:
 Providing a send/receive interface for the net data per slave
 Connecting slaves acc. to the DP standard (CB1, CB24) or DP - SIEMENS (CS51/61)
 Supplying the send peripherals in SIMATIC S5
 Retrieving data from the receive peripherals in SIMATIC S5
 Selecting the addressing type for the S5 periphery
 Monitoring the complete system and fault/error handling

KOM_33E.ppt/Foil 10/1999
Application examples for SYNC - function and IM 308-C diagnostics
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Performance features of the block package
"DVA_S5" for PROFIBUS DP

Net data transfer according to the PROFIBUS profile "variable-speed drives":


 Fast, cyclic process data transfer (control/status data, setpoint/actual values)
 Handling parameterizing tasks
Communication functions:
 Providing a send/receive interface for the net data per slave
 Connecting slaves acc. to the DP standard (CB1, CB24) or DP - SIEMENS (CS51/61)
 Supplying the send peripherals in SIMATIC S5
 Retrieving data from the receive peripherals in SIMATIC S5
 Selecting the addressing type for the S5 periphery
 Monitoring the complete system and fault/error handling

KOM_33E.ppt/Foil 10/1999
Application examples for SYNC - function and IM 308-C diagnostics
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

DVA_S7 availability is scheduled for 2/97


CB1, CB24 PROFIBUS DP acc. to EN 50170
CS51 / CS61 SINEC L2 DP acc. to the Siemens Standard

3.3-10
Block structure of DVA_S5 for PROFIBUS DP
OB start FB : DPxxxV DB parameter sets
SANZ pre-assign
TNU1 System
PPO parameters
DBND
DBPA
ADRA
Communications
WDH
parameter set
DIAG
slave
DPNO
PANF
ANZ

OB user DB net data


FB: DPxxx-S Control info
Communications
BTYP Displays control, slave 1
SYPA
SLPA Net data Send,

KOM_33E.ppt/Foil 11/1999
slave 1

Receive,
FB: DPxxx-E
slave 1
BTYP
SYPA Net data :
SLPA
Excellence in
Call 1 x for each drive Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Block structure of DVA_S5 for PROFIBUS DP
OB start FB : DPxxxV DB parameter sets
SANZ pre-assign
TNU1 System
PPO parameters
DBND
DBPA
ADRA
Communications
WDH
parameter set
DIAG
slave
DPNO
PANF
ANZ

OB user DB net data


FB: DPxxx-S Control info
Communications
BTYP Displays control, slave 1
SYPA
SLPA Net data Send,

KOM_33E.ppt/Foil 11/1999
slave 1

Receive,
FB: DPxxx-E
slave 1
BTYP
SYPA :
Net data
SLPA
Excellence in
Call 1 x for each drive Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

OB: Organizational blocks


FB: Function blocks
DB: Data blocks

Different blocks FB21, 22, 23 are required for various CPUs!

3.3-11
Advantages and customer benefits provided by
“DVA_S5” for PROFIBUS DP
Advantages:
 Communication function is parameterized, not programmed
 SIMATIC- specific details (e.g. data consistency) are not taken into account
by the software
 Complex programming of the parameter interface is not required
 Pre-configured data blocks with comments can be directly transferred
 Examples of programs allow fast start-up
Customer benefits:
 Lower programming- and test costs

KOM_33E.ppt/Foil 12/1999
 Less detailed knowledge required
===> Time- and cost saving

Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Advantages and customer benefits provided by
“DVA_S5” for PROFIBUS DP
Advantages:
 Communication function is parameterized, not programmed
 SIMATIC- specific details (e.g. data consistency) are not taken into account
by the software
 Complex programming of the parameter interface is not required
 Pre-configured data blocks with comments can be directly transferred
 Examples of programs allow fast start-up
Customer benefits:
 Lower programming- and test costs

KOM_33E.ppt/Foil 12/1999
 Less detailed knowledge required
===> Time- and cost saving

Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

3.3-12
Configuring PROFIBUS DP
communications with drives (3)
SIMATIC S5 - Master Drive slave

SIMATIC-CPU S5 periphery IM 308-B/C Basic drive conv.


CB1 /
Send PROFIBUS DP CB24
Dual MASTERDRIVES
DVA_S5 Port MICROMASTER
RAM Receive OPmP SIMOREG

Set PROFIBUS parameters

Configuring Station address


Slave parameters (Baud rate,
Master system
net data structure)

KOM_33E.ppt/Foil 13/1999
DPxxx-E

DPxxx-S Operator control panel on the


basic drive converter
SIMATIC S5 - COM ET 200 or SIMOVIS
Block package "DVA_S5" parameterizing software Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Configuring PROFIBUS DP
communications with drives (3)
SIMATIC S5 - Master Drive slave

SIMATIC-CPU S5 periphery IM 308-B/C Basic drive conv.


CB1 /
Send PROFIBUS DP CB24
Dual MASTERDRIVES
DVA_S5 Port MICROMASTER
RAM Receive OPmP SIMOREG

Set PROFIBUS parameters

Configuring Station address


Slave parameters (Baud rate,
Master system
net data structure)

KOM_33E.ppt/Foil 13/1999
DPxxx-E

DPxxx-S Operator control panel on the


basic drive converter
COM ET 200 or SIMOVIS
SIMATIC S5 -
Block package "DVA_S5" parameterizing software Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

3.3-13
Parameterizing the drive for PROFIBUS DP
CB1 / CB24 Basic drive converter
PROFIBUS DP
Receive
DUAL PORT SIMOVERT MASTERDRIVES
RAM SIMOREG K 6RA24
Send

CB1 CB24
Significance
Param.-No. Value range Param.-No. Value range
Protocol -- P902 = SINEC L2 - DP
Communication parameters

Node address P918 = 3 ... 126 P904 = 3 ... 124


Baud rate -- P905 = 10 (automatically)
Parameterized via P053 = 7 P910 = 4 ( SST 1 )
Process control / Can be freely configured using
P911 = 4 or 5 ( automatically )
operator control rights the process data connection!
PPO type - P697 = Irrelevant for SIMATIC S5 P924 = 2 / 6 / 10 ( PZD )
pre-selection with IM 30-C P925 = 0/4 ( PKW )

KOM_33E.ppt/Foil 14/1999
Process data monitoring P695 = 10 ms P926 = 1s
parameters

Control word wiring P554 to P575 = 3001 P640 = 52


User

Main setpoint wiring P443 = 3002 P628.00 = 53


Status word wiring P694, i001 = 968 P916.00 = 325
Main act. value connection P694, i002 = 218 P916.01 = 167
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2
Parameterizing the drive for PROFIBUS DP
CB1 / CB24 Basic drive converter
PROFIBUS DP
Receive
DUAL PORT SIMOVERT MASTERDRIVES
RAM SIMOREG K 6RA24
Send

CB1 CB24
Significance
Param.-No. Value range Param.-No. Value range
Protocol -- P902 = SINEC L2 - DP
Communication parameters

Node address P918 = 3 ... 126 P904 = 3 ... 124


Baud rate -- P905 = 10 (automatically)
Parameterized via P053 = 7 P910 = 4 ( SST 1 )
Process control / Can be freely configured using
P911 = 4 or 5 ( automatically )
operator control rights the process data connection!
PPO type - P697 = Irrelevant for SIMATIC S5 P924 = 2 / 6 / 10 ( PZD )
pre-selection with IM 30-C P925 = 0/4 ( PKW )

KOM_33E.ppt/Foil 14/1999
Process data monitoring P695 = 10 ms P926 = 1s
parameters

Control word wiring P554 to P575 = 3001 P640 = 52


User

Main setpoint wiring P443 = 3002 P628.00 = 53


Status word wiring P694, i001 = 968 P916.00 = 325
Main act. value connection P694, i002 = 218 P916.01 = 167
Excellence in
Automation & Drives:
Siemens
Automation & Drives
A&D MC PM 2

PROFIBUS Standard permits 126 DP slaves


IM 308-C can operate 122 DP slaves.
For CB1 the board must also log-on with the basic drive converter (P090 or
P091)
Setting the baud rate:
CB1: Automatic baud rate search without parameter setting
CB24: Automatic baud rate search for the appropriate
parameterization
PPO type selection:
CB1: Accepts the PPO type from the master, if it sends this in the
configuring telegram (e.g. IM 308-C), otherwise, selected
via P697
CB24: Pre-setting in P924/P925 is overwritten if a configuring
telegram from the master contains another PPO type.

3.3-14

Вам также может понравиться