MDI_ReadDriveParameter (FB)
FUNCTION_BLOCK MDI_ReadDriveParameter
This function block can be used to read parameters from the connected ACS or E530 drive product. The parameters from the drive products each belong to a group and have a number within that group. These parameters can be used here to read that value.
- InOut:
Scope
Name
Type
Initial
Comment
Input
ExecuteBOOLFALSE
Executes the read of the parameter one time.
ParGroupUINTAllows the user to select the group from which the parameter belongs.
ParIndexUINTAllows the user to select the parameter from the group which will be read.
ParScalingREAL1
Depends on the data type of drive, for example, parameter 46.01 which has two decimal places in drive, this value must be 0.01.
TimeoutDINT2000
Read timeout [ms] - Default value is 2000 ms.
Inout
AxisReference to the axis structure.
Output
DoneBOOLRead completed without an error.
ErrorBOOLSignals that an error has occurred within function block.
ErrorIDContains the error code when there is an error.
ValueREALOutput value from source parameter (multiplied by ParScaling).
Structure: