Motion Vector Mode

The “Motion – Vector Mode” dialog allows you to program 2D paths described through a series of linear and circular segments. Vector speed and acceleration can be also specified. Each segment is split in PVT (Position, Velocity and Time) points by the motion controller and sent to the slave axes. On receiving the PVT points the slaves rebuild the path using 3rd order interpolation.

In Vector Mode the slave axes control the load/motor in position. The path must begin when load/motor is not moving and must complete with an end segment – a segment with zero increment.

The Vector Mode can be used together with a host, which sends the path segments via communication channel.

Upon reception, each segment is stored in a reception buffer. The reference generator empties the buffer as the segments are executed. The motion controller automatically sends warning messages when the buffer is full, low or empty. The buffer full condition occurs when the number of segments in the buffer is equal with the buffer size. The buffer low condition occurs when the number of segments in the buffer is less or equal with a programmable value. The buffer empty condition occurs when the buffer is empty and the execution of the last segment is over.

Remarks:

The buffer size is programmable and if needed can be substantially increased. By default it is set to 4 segments.
The buffer low condition is set by default when the last segment from the buffer is read and starts to be executed
The Vector Mode requires the slave drives/motors to be setup for position control. Otherwise, the slaves will not be available for X, Y and tangent axes selection.

motionvectormode

Check Set X, Y and tangent axes option to define the coordinate plane where the 2D path will be executed. The coordinate plane is defined with X-Axis, Y-Axis and Tangent Axis. The X-Axis, Y-Axis and Tangent Axis lists are populated with the slave axes selected in the Axis Selection Axis Selection view.

The end of the 2D path is signaled with a segment having the position increment equal with zero. If the current path is completely defined in the current motion sequence then check Insert End Segment to add the end segment in the 2D path list.

You can introduce the path segments in 2 ways:

One by one, by setting the Position increment on axis X and Position increment on axis Y for Linear segments or Radius, Initial Angle and Angle Increment for Circular segments. Additionally you can specify a vector speed and/or acceleration for each segment. Check Vector acceleration and Vector speed and set the values their values. For each parameter select the measuring unit from the list on the right. Use buttons: Insert Above, Insert Below, Update, Remove, Previous, Next, Move Up and Move Down to navigate between the segments and modify them.
With Import From File to insert a set of segments previously defined. The file format is a simple text with 6 columns separated by space or tabs representing from left to right: segment type, position increment for X axis or radius, position increment for Y axis or initial angle, acceleration and velocity. The number of rows gives the number of segments

Remarks:

Zero angle for a circular segment corresponds to the positive horizontal direction.
Positive values for Angle Increment mean counter-clockwise rotation, while negative values mean clockwise rotation.
The default value for Vector Acceleration and Vector Speed is zero. The Vector Mode requires that at least once the Vector Acceleration and Vector Speed are set in order to execute the profile properly.

Check Clear Buffer to erase all the previously stored segments from the buffer. Use this option each time when you initiate a new vector motion. Uncheck this option if the execution of the segments was interrupted and you want to resume the execution of the remaining segments.

Choose Execute Immediate to start the programmed motion immediately when the motion sequence is executed. Check Then wait until motion is completed if you want to postpone the start of the following motion until this motion sequence is completed.

Remark: The motion complete condition on the slave axes is set when their reference generator is completing the trajectory received from the motion controller.

Choose Execute On event to start this new motion when a programmable event occurs. Click Change Event to select the event type or Edit Event to modify the parameters of the selected event (see Events for details). Select Setup motion data, but don’t start execution if you want only to set the motion parameters without starting the execution.

 

OK: Close this dialogue and save the motion sequence in your motion sequence list.

Cancel: Close this dialogue without saving the motion sequence in your motion sequence list.

Help: Open this help page.

 

See also:

Vector Mode– TML Programming Details

Vector Mode– Related TML Instructions and Data

Motion Programming

Internal Units and Scaling Factors