MCA_AxisManualControl (FB)
FUNCTION_BLOCK MCA_AxisManualControl
This function block consists of commonly used function blocks for motion control applications.It is used for the testing and commissioning of an axis.
Direction of the motion is having three options for this block i.e. positive , Negative and Shortest. Default direction is “positive” in the function block. There are some extra options to choose the direction which are available with other function blocks.
Please note, that there is a compatible “MCA_VISU_FB_AxisManualControl” visualization template to this function block in the visualization section.
Features of this function block can be accessed only when “Take Manual Control” button from the visualization template is enabled, else control buttons shall be disabled.
Please note, that Axis must be disabled from the visualization template by pressing “ENABLE” button, before disabling the manual control button, else it will not be disabled.
All the buttons are configured as toggle on the visualization template. Let’s consider a scenario where if any button is pressed or operated except “ENABLE” button will be released if another button is pressed next.
The Error and ErrorID of the function blocks are shown in the visualization with respect to the button pressed. For example, if “AbsoluteMovement” is pressed, then it will show the Error and ErrorID related to “AbsoluteMovement”.
If there is any error on MC_Power, it will be considered a high priority to display the Error and ErrorID on the visualization screen.
If “ENABLE”= False, Other buttons will be reset and inaccessible except Reset and SetPosition button.
Visualization template has different control elements to handle the axis in different modes for example, Absolute movement, Relative movement, SetPosition, Velocity movement.
- InOut:
Scope
Name
Type
Comment
Output
FbErrorCodeError code of the function block
FbErrorBOOLFunction block error when TRUE
ActiveBOOLIt shows the status of the function block
Inout
AxisIt refers to the axis used in the program
Structure: