MC_WriteParameter (FB)ΒΆ
FUNCTION_BLOCK MC_WriteParameter
MC_WriteParameter writes the value of the SoftMotion parameter specified in ParameterNumber.
- InOut:
Scope
Name
Type
Comment
Inout
AxisReference to axis
Input
ExecuteBOOLRising edge: starts the execution of
MC_WriteParameter.ParameterNumberDINTYou can find a description of the most used parameter numbers in AXIS_REF_SM3. Negative values are fieldbus specific parameters. See SMC_ParameterNumber_CoE and SMC_ParameterNumber_SoE to translate fieldbus object identifiers to parameter numbers.
ValueLREALOutput
DoneBOOLTRUE: Parameter has been written successfully.BusyBOOLTRUE: Execution of the function block has not been finished.ErrorBOOLTRUE: Error has occurred during execution.ErrorIDSMC_ERRORError identification