Technical data

Technology functions
CPU 317T: Technology Functions
6-244 A5E00251798-03
6.6.8 FB 455 MC_ReadDriveParameter - Reading drive parameters
Valid for firmware version V3.1.x of the integrated technology
Purpose
The "MC_ReadDriveParameter" technology function allows the user program
to read the parameters of a drive connected to DP(DRIVE).
Applicable to
Profidrive-compliant drives on DP(DRIVE)
Requirements
The drive is configured for operation on DP(DRIVE).
The drive must support data record communication.
The drive must support the parameter number and the index.
Overriding commands
An MC_ReadDriveParameter command can not be canceled by any other
command.
An MC_ReadDriveParameter command does not cancel any other commands.
Input parameters
Parameter Data
type
Start value Description
Execute BOOL FALSE Start of the command at the positive edge
InOut BOOL FALSE
I/O assignment of the logical base address of
the drive
FALSE: input address
TRUE: output address
Address INT 0 Definition of the logical base address of the module
ParameterNumber DINT 0 Specification of the parameter number, from where the
data should be read - Range of values: 0 to 65535
SubIndex DINT 0 Definition of the parameter index used to address the
first array element of an array parameter (only when
NumberOfElements > 0, otherwise the value is set
internally to zero) - Range of values: 0 to 65535
NumberOfElements DINT 0 Number of sub-parameters to be read:
Value > 0: Parameter with subindex, range of values
0 to 234 (according to the max. length
of the data area at
input parameter Data)
Value = 0: Parameter without subindex
Value < 0: Not permitted