MC_ReadBoolParameter

Function block MC_ReadBoolParameter
Reads the value of a vendor-specific parameter from an axis. The parameters are defined in the MC_AxisParameter type.
VAR_IN_OUT
B AxisIn AXIS_REF Reference to an axis.
VAR_INPUT
B Enable BOOL Gets the value of the parameter continuously while enabled.
B ParameterNumber INT A parameter in the MC_AxisParameter type. You can use the parameter name or its corresponding number.
VAR_OUTPUT
B Valid BOOL A valid output is available at the function block.
E Busy BOOL The function block is not finished and new output values are to be expected.
B Error BOOL Signals that an error has occurred within the function block.
E ErrorID MC_Error Error identification.
B Value BOOL Reads the value (TRUE or FALSE) of the parameter you picked from the MC_AxisParameter type.

 

  MC_ReadBoolParameter  
AXIS_REF   AxisIn   Axis   AXIS_REF
BOOL   Enable   Valid   BOOL
INT   ParameterNumber   Busy   BOOL
        Error   BOOL
        ErrorID   MC_Error
        Value   BOOL