Determining The Drive Object Numbers; Example 1: Read Parameters - Siemens SINAMICS S120 Function Manual

Hide thumbs Also See for SINAMICS S120:
Table of Contents

Advertisement

10.1.4.3

Determining the drive object numbers

Further information about the drive system (e.g. drive object numbers) can be determined as
follows using parameters p0101, r0102, and p0107/r0107:
1. The value of parameter r0102 ("Number of drive objects") for drive object/axis 1 is read
2. Depending on the result of the initial read request, further read requests for drive object 1
3. Following this, parameter r0107/p0107 ("Drive object type") is read for each drive
4. From here, refer to the parameter list for each drive object.
10.1.4.4

Example 1: read parameters

Prerequisites
1. The PROFIdrive controller has been commissioned and is fully operational.
2. PROFIdrive communication between the controller and the device is operational.
3. The controller can read and write data sets in conformance with PROFIdrive DPV1.
Task description
Following the occurrence of at least one fault (ZSW1.3 = "1") on drive 2 (also drive object
number 2), the active fault codes must be read from the fault buffer r0945[0] ... r0945[7].
The request is to be handled using a request and response data block.
Basic procedure
1. Create a request to read the parameters.
Drive Functions
Function Manual, (FH1), 07/2007 Edition, 6SL3097-2AB00-0BP4
via a read request.
Drive object 1 is the Control Unit (CU), which is a minimum requirement for each drive
system.
are used to read the indices for parameter p0101 ("Drive object numbers"), as specified
by parameter r0102.
Example:
If the number of drive objects is "5", the values for indices 0 to 4 for parameter p0101 are
read. Of course, the relevant indexes can also be read at once.
Note
The first two points provide you with the following information:
• How many drive objects exist in the drive system?
• The numbers of the existing drive objects
object/axis (indicated by the drive object number).
Depending on the drive object, parameter 107 can be either an adjustable or visualization
parameter.
The value in parameter r0107/p0107 indicates the drive object type. The coding for the
drive object type is specified in the parameter list.
Communication PROFIBUS DP/PROFINET IO
10.1 Communications according to PROFIdrive
399

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents