MC_AddSuperAxis
Function Block - Adds a Superimposed Axis to the Axis’s list of assigned superimposed axes.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
En |
BOOL |
N/A |
N/A |
N/A |
Enables execution. |
Axis |
AXIS_REF |
AXIS_NUM 1 to 256 |
N/A |
N/A |
Axis to receive the additional superimposed axis’s command delta. |
SuperimposedAxis |
UINT |
1 to 256 |
N/A |
N/A |
Axis number of the superimposed axis whose command delta is added to delta of |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
BOOL |
No range |
N/A |
Execution successful. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
This feature allows the application program to superimpose the moves of multiple axes ("Superimposed Axes") on top of the move of another axis ("Receiving Axis").
- This is performed internally by adding the command deltas of the Superimposed Axes to the command delta of the Receiving Axis.
- A maximum of four different Superimposed Axes can be superimposed upon a Receiving Axis.
- While the Superimposed Axis is on this list, its command deltas are added to the Axis’s command deltas.
- The Axis and the SuperimposedAxis must have the same update rate.
- The OK output goes high to indicate the function executed successfully.
- If the OK output does not go high, one of these errors is detected:
- Axis and SuperimposedAxis do not have the same update rate.
- Four different superimposed axes have already been assigned to Axis.
- The axis is not a valid axis.
- The axis is not a servo or virtual axis.
- SuperimposedAxis is not:
- A valid axis number.
- A servo or virtual axis.
- Axis could not acquire PLC motion engine lock.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
AddOKST := MC_AddSuperAxis( Axis1, 3);
See Also