![]() |
ApossC SDK
V01.15
|
Declaration of the motion movement functions. More...
Go to the source code of this file.
Functions | |
| long | sdkStartContinuousMove (long axis, long vel, long acc) |
| Start a movement in continuous position mode. More... | |
| long | sdkStopContinuousMove (long axis, long dec) |
| Stop a movement in continuous position mode. More... | |
| long sdkStartContinuousMove | ( | long | axis, |
| long | vel, | ||
| long | acc | ||
| ) |
Start a movement in continuous position mode.
The function starts a movement with a given acceleration and speed. The axis must have been switched on before. The specified velocity value will be scaled by the parameters Maximum velocity VELMAX and Velocity Resolution VELRES to determine the final command velocity. See Vel for more information.
| axis | Axis module number |
| vel | Velocity value (negative value for reversing), Range: 1..VELRES, Command Velocity = vel * VELMAX/VELRES |
| acc | Scaled acceleration value. Range: 1..VELRES |
Definition at line 26 of file SDK_Motion_Movement.mc.
| long sdkStopContinuousMove | ( | long | axis, |
| long | dec | ||
| ) |
Stop a movement in continuous position mode.
The function stops a constant velocity movement with a given deceleration.
| axis | Axis module number |
| dec | Scaled deceleration value. Range: 1..VELRES |
Definition at line 45 of file SDK_Motion_Movement.mc.