MC_RemSuperAxis
This function removes the Superimposed Axis from the Axis’s list of assigned superimposed axes. If the value at SuperimposedAxis
is 0 all the assigned superimposed axes will be removed from Axis’s list. The OK
output will go high to indicate that the function executed successfully. If the OK
output does not go high, one of the following errors was detected:
- Axis is not a valid axis
- Axis is not a servo or virtual axis
-
- This function or function block returns cached data. See Programming a Dual Core Controller for more information.
Inputs
En |
Description | Enables Execution |
Data Type | BOOL | |
Range | - | |
Unit | n/a | |
Default | ||
Axis |
Description | Axis whose list of assigned superimposed axes will be updated. |
Data Type | AXIS_REF | |
Range | .AXIS_NUM [1,256] | |
Unit | n/a | |
Default | n/a | |
SuperimposedAxis |
Description | Axis number of the superimposed axis that will be removed from Axis’s list of assigned superimposed axes. A value of 0 will remove all superimposed axes from Axis’s list. |
Data Type | UINT | |
Range | n/a | |
Unit | n/a | |
Default | n/a |
Outputs
OK |
Description | Execution successful |
Data Type | BOOL | |
Range | n/a |
Examples
Structured Text
RemOK := MC_RemSuperAxis(Axis1,3);
Function Block Diagram
Ladder Diagram