MC_ReadBoolParameter_SML (FB)ΒΆ
FUNCTION_BLOCK FINAL MC_ReadBoolParameter_SML
Reads the value of a boolean SoftMotion or axis specific parameter. For the list of all SoftMotion parameter numbers see Axis_REF_SML.
See MC_ReadParameter_SML (FB) for a description of axis specific parameters.
Note
If the parameter is not of type
BOOL, the returned value is undefined.
- InOut:
Scope
Name
Type
Comment
Inout
AxisReference to the axis
Input
EnableBOOLGet value is updated continuously while enabled
ParameterNumberDINTNumber of the parameter
Output
ValueBOOLThe value of the parameter
ValidBOOLThe value is valid
BusyBOOLThe FB is not finished and new output values are to be expected
ErrorBOOLAn error occurred
ErrorIDThe error number