MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ OriginPositionSet()

void OriginPositionSet ( double  pos)
pure virtual

Set the origin 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
posSet the origin to this value.
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