PTRobot API
Page 19 of 41
© 2005, Primera Technology, Inc. Primera is a registered trademark and Bravo is a trademark of Primera Technology, Inc. All other trademarks are the property of
their respective companies.
//
LOCATION_AUTO = Automatically choose the bin
//
1 = Bin1 (right-most bin)
//
2
=
Bin2
//
...
//
LOCATION_REJECT
=
Reject
//
// Notes:
// Return:
//
PTROBOT_OK if Successful
//
PTROBOT_SEQUENCE if this command is called out of sequence
//
PTROBOT_INTERNAL if an internal error occurred
//
PTROBOT_INVALID_ROBOT if the robot handle is invalid
//
PTROBOT_INVALID_DRIVE if the drive handle is invalid
//
PTROBOT_INVALID_LOCATION if the location is invalid
//
///////////////////////////
DWORD WINAPI
PTRobot_UnLoadDrive
(HANDLE hRobot, HANDLE hDrive, DWORD dwToLocation);
2.3.5
PTRobot_UnLoadPrinter
///////////////////////////
//
// PTRobot_UnLoadPrinter
//
// Description:
//
Function to unload the printer to an output position.
// Params:
//
hRobot
Handle to the robot (from EnumRobots)
//
dwToLocation
DWORD containing the "to" location
//
LOCATION_AUTO = Automatically choose the bin
//
1 = Bin1 (right-most bin)
//
2
=
Bin2
//
...
//
LOCATION_REJECT
=
Reject
//
// Notes:
// Return:
//
PTROBOT_OK if Successful
//
PTROBOT_SEQUENCE if this command is called out of sequence
//
PTROBOT_INTERNAL if an internal error occurred
//
PTROBOT_INVALID_ROBOT if the robot handle is invalid
//
PTROBOT_NO_PRINTER if the robot doesn't have a printer
//
PTROBOT_INVALID_LOCATION if the location is invalid
//
//
///////////////////////////
DWORD WINAPI
PTRobot_UnLoadPrinter
(HANDLE hRobot, DWORD dwToLocation);
2.3.6
PTRobot_MoveDiscBetweenLocations
///////////////////////////
//
// PTRobot_MoveDiscBetweenLocations