Configures the positive and negative software position limits. The controller monitors the actual position and compares it to the positive and negative software position limits.
If the positive limit is exceeded the controller will generate a MPIEventTypeLIMIT_SW_POS event.
If the negative limit is exceeded the controller will generate a MPIEventTypeLIMIT_SW_NEG event.
MPI version 03.04.xx (and newer)
If the actual position value minus the negative limit value is greater than 263 counts, then the negative limit will trip.
Similarly, if the actual position value minus the positive limit value is less than -263 counts, then the positive limit will trip.
This is a result of a wraparound with the 64-bit signed value. When these conditions occur, the comparisons will not work correctly.
MPI version 03.03.xx (and older)
If the actual position value minus the negative limit value is greater than 231 counts, then the negative limit will trip.
Similarly, if the actual position value minus the positive limit value is less than -231 counts, then the positive limit will trip.
This is a result of a wraparound with the 32-bit signed value. When these conditions occur, the comparisons will not work correctly.
|