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
Axis
Reference to the axis
Input
Execute
BOOL
Rising edge: Writing is started
ParameterNumber
DINT
Number of the parameter
Value
BOOL
Value to be written
Output
Done
BOOL
The value was written successfully
Busy
BOOL
The FB is not finished and new output values are to be expected
Error
BOOL
An error occurred
ErrorID
The error number