Gets the position and orientation offset for the base of the robot that was set when the controller was restarted.
... Robot.RestartBase ( robot )
Prerequisites
None
Parameters
robot
An optional numeric expression that specifies the robot to be accessed (1-n). If this value is 0 or unspecified, the Selected robot will be accessed.
Remarks
As a convenience, when the controller is restarted, the "base" for each robot is automatically set equal to the position and orientation offset defined by its "Base set at restart" (DataID 16052) value. Since many applications utilize the same base offset each day, this ensures that the Base dimensions are correctly set when the system is restarted. This property returns a Cartesian Location value that is equal to the Base dimensions that were set the last time that the system was restarted. Once set, these Base dimensions can be easily modified using the Robot.Base property. See that property for additional information on the use and benefits of the Base property.
Examples
Robot.Attached = 1
Robot.Base = Robot.RestartBase() ' Set base back to default
See Also