The RMP Motion Controller APIs

◆ OriginPositionSet()

void OriginPositionSet ( double position)
Description:
OriginPositionSet sets the origin position of an axis. The origin position will effect both the Command and Actual positions of an axis. It is typically used in homing.
Parameters
positionSet the origin to this value.
Remarks
This function is also available in RapidSequencer.
Sample Code:
// set the origin position to 100000
axis.OriginPositionSet(100000);
Note
It is better to Set the origin position, rather than the command and actual positions. Setting the origin wil set the HomeState to FALSE. This value is not set in Axis XML.
Topics:
Position Methods
See also
OriginPositionGet
Examples
Homing.cs.