Specifications
55/201
BscGetVarData
FUNCTION: Receives variables.
FORMAT: _declspec( dllexport ) short APIENTRY BscGetVarData(short nCid,short
type,short varno,double *p);
ARGUMENTS: IN(Transfer)
nCid Communicaion handler ID number
type Variable type
varno Variable number
*p Variable storage pointer
OUT(Return)
*p Variable storage pointer
Return Value
0:Normal completion
Others:Error codes
REMARKS: Variable Types
The variable types are represented as follows.
0:Byte type
1:Integer type
2:Double-precision type
3:Real type
4:Robot axis position type
5:Base axis position type
6:Station axis position type (pulse type only)
Details of Variables
Byte
type
Integer
type
Double-
precision
type
Real
type
Robot axis
position type
Base axis position
type
Station axis position
type
P[0] Value Value Value Value 0 0 0
P[1] - - - - S-axis pulse
number
1st base axis pulse
number
1st station axis pulse
number
P[2] - - - - L-axis pulse 2nd base axis pulse 2nd station axis