Aci_robstat, Aci_robstat -107, Figure 4-97 – ADIC Server User Manual

Page 149: Figure 4-98

Advertising
background image

aci_robstat

4-107

21 Dec 2001

EHICAPINUSE

ECOORDINATE

EDATABASE

ENOTSUPPHCMD

See Figure 4-97 for an example of the aci_robhome function.

Figure 4-97

Example of the aci_robhome Function

aci_robstat

The aci_robstat function starts the robot or gets the status of
the robot. See Figure 4-98.

Figure 4-98

aci_robstat Function Call

See Table 4-43 for a description the parameters for the
aci_robstat function call.

/* Robot Homing */

int rc = 0;

rc =aci_robhome("R1");

if( rc )

{

aci_perror( "Command failed:" );

}

else

{

printf( "robot is now home.\n");

}

#include "aci.h"

int aci_robstat(char *szRobot , char *szAction)

Advertising