MDI_WriteDriveParameter (FB)
FUNCTION_BLOCK MDI_WriteDriveParameter
This function block can be used to write parameters to 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 set a value to that parameter.
- InOut:
Scope
Name
Type
Initial
Comment
Input
ExecuteBOOLFALSE
Executes the write 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 written.
ParScalingREAL1
Depends on the data type of drive, for example, parameter 46.01 which has two decimal places in drive, this value must be 100.
TimeOutDINT2000
Write timeout [ms] - Default value is 2000 ms.
ValueREALInput value to write to source parameter (multiplied by ParScaling).
Inout
AxisReference to the axis structure.
Output
DoneBOOLWrite completed without an error.
ErrorBOOLSignals that an error has occurred within function block.
ErrorIDContains the error code when there is an error.
Structure: