Synchronized Attributes
The motion of each axis is defined with separate arguments, with individual speeds, accelerations etc. These arguments for the Trapezoidal, SCurve, and Velocity methods may require an array of speeds or a specifying of the speeds for each axis. If any of these arguments are omitted then the default values are read from the default motion properties (DefaultSpeed, DefaultAccel, DefaultDecel, DefaultJerkPercent) of the connected axes.
Use of the MoveAttribute.SyncEnd attribute is not allowed for Velocity moves.
|
Sync
Start
‡ |
Sync
End ‡‡ |
Trajectory
Parameter
Data Types
‡‡‡ |
Defaults from |
Description |
|
|
Double |
motion object |
A new axis (labeled
x' in the diagram below) is defined by the start and end point
of the motion. A Cartesian coordinate system is assumed. All
trajectory parameters (speed, accel, decel, ...) are used to
produce motion on this axis. That is why only one value is needed
for each trajectory parameter. |
Yes |
|
Array of Double |
axis objects |
All the axes start at the same
time. |
|
Yes |
Array of Double |
axis objects |
All the axes stop at the same
time. |
Yes |
Yes |
Array of Double |
axis objects |
All the axes start and stop
at the same time; the faster axes are slowed down to match the
time of the slowest axis. Axes whose motion completes too quickly
are slowed down so that all axes will complete their motion
at the same time. |
|
|
|
‡
- MoveAttrribute.SynqStart
‡‡
- MoveAttribute.SynqEnd
‡‡‡
- include Speed, Accel, Decel, JerkPercent |
|
Trajectory Examples
Visual Basic Example
The following code will move axes 3 and 4 to position
1000,2000.
Visual Basic
controller.Motion(3).AxesClear
controller.Motion(3).AxisAdd(3)
controller.Motion(3).AxisAdd(4)
controller.Motion(3).Trapezoidal(New Int32() {1000,2000}, Mpx.MoveAttribute.SyncStart) |
C#
controller.Motion[3].AxesClear
controller.Motion[3].AxisAdd(3)
controller.Motion[3].AxisAdd(4)
controller.Motion[3].Trapezoidal(new int[] {1000,2000}, Mpx.MoveAttribute.SyncStart); |
|