McSource
Defines the source of data.
The difference between a commanded and set position is that a commanded position is the target position of a command, and a set position is an interpolated position when an axis is heading to a command's target.
Name | Value | Meaning |
---|---|---|
mcCommandedValue | 0 | The value the application sends to KINGSTAR. |
mcSetValue | 1 | The value sent to the PID. In position mode, it is the value of an interpolated position. |
mcActualValue | 2 | The value read from the motor. |
mcSecondEncoderValue | 3 | The actual value read from the second encoder. |