MC_WriteBoolParameter_SML (FB)ΒΆ
FUNCTION_BLOCK FINAL MC_WriteBoolParameter_SML
Writes the value of a boolean SoftMotion or axis specific parameter. For the list of all SoftMotion parameter numbers see Axis_REF_SML.
See MC_WriteParameter_SML for a description of axis specific parameters.
Note
If the parameter is not of type BOOL, the behavior is undefined.
- InOut:
Scope
Name
Type
Comment
Inout
AxisReference to the axis
Input
ExecuteBOOLRising edge: Writing is started
ParameterNumberDINTNumber of the parameter
ValueBOOLValue to be written
Output
DoneBOOLThe value was written successfully
BusyBOOLThe FB is not finished and new output values are to be expected
ErrorBOOLAn error occurred
ErrorIDThe error number