MC_AddSuperAxis
This function will add a Superimposed Axis to the Axis’s list of assigned superimposed axes. While the Superimposed Axis is on this list, its command deltas will be added to the Axis’s command deltas. Up to four different superimposed axes can be on an axis’s list. The Axis
and the SuperimposedAxis
must have the same update rate. 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 and SuperimposedAxis do not have the same update rate
- Four different superimposed axes have already been assigned to Axis
- Axis is not a valid axis - Axis is not a servo or virtual axis
- SuperimposedAxis is not a valid axis number
- SuperimposedAxis is not a servo or virtual axis
- Axis could not acquire PLC"Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events motion engine lock
-
-
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 | N/A | |
Unit | N/A | |
Default | N/A | |
Axis |
Description | Axis to receive the additional superimposed axis’s command delta |
Data Type | AXIS_REF | |
Range | .AXIS_NUM [1,256] | |
Unit | N/A | |
Default | N/A | |
SuperimposedAxis |
Description | Axis number of the superimposed axis whose command delta will be added to delta of Axis |
Data Type | UINT | |
Range | [1,256] | |
Unit | N/A | |
Default | N/A |
Outputs
OK |
Description | Execution successful |
Data Type | BOOL | |
Range | N/A |
Examples
Structured Text
Function Block Diagram
Ladder Diagram