Reading The Drive Parameters; Example: Reading Several Parameters Using "Mc_Readdriveparameter - Siemens SIMATIC S7-300 Product Information

Connection of the sinamics s120 to the technology cpu
Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

Expert Functions

5.5 Reading the drive parameters

5.5
Reading the drive parameters
5.5.1

Example: Reading several parameters using "MC_ReadDriveParameter"

General
The configuration and status data are stored as parameter lists in SINAMICS S120.
Additional information about the parameter lists is contained in the SINAMICS S List Manual.
Various applications require specific parameters to be fetched from these parameter lists
and further processed in the user program. A typical application could be the reading out of
the drive motor temperature to display it in the visualization system and monitor it in the
S7 user program.
The "MC_ReadDriveParameter" function block can be used for this purpose in the S7 user
program. Note, however, that only one simultaneous call per control unit is possible.
The following example application is intended to illustrate how several different parameters
can be read from the parameter lists in order to process them further in the S7 user program.
Example application for reading several parameters
The example application described here shows a solution for reading the
following parameters:
Drive_1
Drive_1
TM17
The call of the "MC_ReadDriveParameter" blocks requires the PROFIBUS IO start
addresses of the Drive_1 and TM17 objects as input information. Open the "Message frame
configuration" dialog for this purpose. You can read the required PROFIBUS I/O start
addresses of the Drive_1 and TM17 objects in the "PROFIdrive message frame" tab.
150
Object
Kp
Temperature
Status IO
Parameter
Parameter 1460
Parameter 35
Parameter 4304
Connection of the SINAMICS S120 to the Technology CPU
Product Information, 09/2011, A5E00480378-04
Parameter number

Advertisement

Table of Contents
loading

Table of Contents