
Manual – MOVITOOLS® - Connection to SIMATIC S7 via MPI
11
3
Structure of the hardware data block
Configuration of SIMATIC S7
DPV1 communication also requires two instance data blocks for the S7 system function
blocks SFB52 (RDREC) and SFB53 (WRREC). You can either copy these blocks from
the SEW-EURODRIVE sample project for DPV1 or create new ones in your project.
3.3 Structure of the hardware data block
Use the hardware data block (HDB) to indicate the number of inverters from
SEW-EURODRIVE you are planning to configure via MOVITOOLS
®
. Following this
step, you define the logical I/O address (periphery address) for each drive as well as its
device type (access via DPV1 or the parameter channel). Use the DPV1 mechanism for
parameter setting to have access to all MOVITOOLS
®
applications.
Parameter name Type Description
Header STRING [98] Unique version string that must match MOVITOOLS
®
and is
not to be changed!
Number_of_drives INT Number of SEW-EURODRIVE drives defined below. You can
define up to 90 drives.
SEW_drive1 STRUCT You will have to define the following structure elements for each
drive from SEW-EURODRIVE.
I/O_address INT Periphery address (decimal) from hardware configuration
•For
DPV1_device = FALSE
enter the first periphery address
of the parameter channel from the hardware configuration.
Note the valid configuration of the parameter channel in the
STEP 7 hardware configuration as described in section
"Configuration of drives via MPI."
•For
DPV1_device = TRUE
enter the first periphery address
of the process data from the hardware configuration.
The input and output range of the parameter channel have
to be at the same address in the hardware configuration!
DPV1_device BOOL FALSE:
The drive does not support DPV1. Configuration takes place in
the parameter channel set in the hardware configuration. You will
not have access to all MOVITOOLS
®
applications in this operat-
ing mode.
TRUE (recommended):
The drive supports DPV1. Parameter setting takes place via S7
system function blocks SFB52 and SFB53.
SEW-EURODRIVE recommends this operating mode because
all MOVITOOLS
®
applications are accessible via DPV1 only.
END_STRUCT
SEW_drive2 ...
Make sure to enter the same information in the declaration and data view when entering
information in the hardware data block. For a simpler approach, you enter the informa-
tion into the data block in declaration view of STEP7 to then change to data view and
use the menu item [Edit] / [Initialize data block] to start data view.
Komentáře k této Příručce