. |
Configuration of IN_POSITION and DONE Events Two fields, settleOnStop and settleOnEstop are incorporated into the MPIAxisInPosition{} structure. These fields control the generation and use of IN_FINE_POSITION, and DONE status bits and events. A value of FALSE in these fields causes the IN_FINE_POSITION to be held false after STOP (or E-STOP) events and DONE to be based solely on command velocity (i.e. DONE is true as soon as the command velocity reaches 0). A value of TRUE in these fields causes IN_FINE_POSITION and DONE to be calculated in the same manner as that for normal motion, except that the position where the command velocity reaches zero is used for a target rather than the original Target Position. The following table shows the generation of these status bits with settleOnStop (settleOnEstop) = FALSE (the default value):
The following table shows the generation of these status bits with settleOnStop (settleOnEstop) = TRUE:
NOTE 1: IN_FINE_POSITION is based on four criteria:
NOTE 2: The reference to "TC" above refers to TRAJECTORY_COMPLETE, an internal status that is set when all of the current motion segments (frames) have completed. NOTE 3: The criteria used for calculation of IN_FINE_POSITION after s-curve or trapezoidal motion has changed to the following: (This is the same as the MPI-1 criteria.)
Return to MPIAxisInPosition.
|
| | Copyright © 2001-2021 Motion Engineering |