With the method IF_MoveDirectly - Start, the carrier is moved to a given target position without considering other carriers. The carrier is moved to the target with the velocity, the acceleration and the jerk that have been defined with the method SetMotionParameter.
With the move command MoveDirectly, the carrier moves directly to the target position without considering the other carriers. Take this into account during path planning.
CAUTION | |
---|---|
With an open track, the carriers could leave the track at the ends. Therefore, mechanical hard stops must be mounted at both ends of an open track.
WARNING | |
---|---|
Input |
Data type |
Value range |
Unit |
Description |
---|---|---|---|---|
i_lrTarget |
LREAL |
0.0 ≤ i_lrTarget ≤ lrTrackLength (1) |
mm |
Specifies the travel distance to the target. The travel distance to the target depends on the positioning mode defined by the parameter i_etPosMode. |
i_etPosMode |
ET_PosMode |
– |
– |
For the positioning modes available, refer to the enumeration ET_PosMode. |
(1) In the positioning modes Relative and Absolute, i_lrTarget is not limited to the track length as specified by the parameter lrTrackLength when the track in question is a closed track. For more information on the track length, refer to lrTrackLength. |
Output |
Data type |
Description |
---|---|---|
q_xError |
BOOL |
Indicates TRUE if an error has been detected. For details, refer to q_etResult and q_sResultMsg. |
q_etResult |
Provides diagnostic and status information as a numeric value. |
|
q_sResultMsg |
STRING [255] |
Provides additional diagnostic and status information as a text message. |
Before executing the method IF_MoveDirectly - Start, the method SetMotionParameter must be called at least once.
Example 1:
...ifMotion.SetMotionParameter(...)
...ifMoveDirectly.Start(...)
Example 2:
...ifMotion.SetMotionParameter(...)
...ifMoveDirectly.Start(...)
...ifMoveDirectly.Start(...)