MC_WriteParameter

Function block MC_WriteParameter
Writes the value of a vendor-specific parameter into 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 Execute BOOL Writes a value of the parameter at rising edge.
B ParameterNumber INT A parameter in the MC_AxisParameter type. You can use the parameter name or its corresponding number.
B Value LREAL Writes a value to the parameter you picked from the MC_AxisParameter type.
E ExecutionMode MC_ExecutionMode Defines how to blend the velocity of two function blocks.
VAR_OUTPUT
B Done BOOL Parameter successfully written.
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.

 

  MC_WriteParameter  
AXIS_REF   AxisIn   Axis   AXIS_REF
BOOL   Execute   Done   BOOL
INT   ParameterNumber   Busy   BOOL
LREAL   Value   Error   BOOL
MC_ExecutionMode   ExecutionMode   ErrorID   MC_Error