Technical data

Communication
9.2 Communication according to PROFIdrive
Function Manual
618 Function Manual, 06/2012, 6SL3097-4AB10-0BP4
9.2.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 and r0102:
1. The value of parameter r0102 ("Number of drive objects") for drive object/axis 1 is read
via a read request.
Drive object 1 is the Control Unit (CU), which is a minimum requirement for each drive
system.
2. Depending on the result of the initial read request, further read requests for drive object 1
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.
9.2.4.4 Example 1: read parameters
Requirements
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.
2. Invoke the request.
3. Evaluate the response.