Specifications
117/201
BscPutVarData2
FUNCTION: Sets variable data. ( 7axes or more )
FORMAT: _declspec( dllexport) short APIENTRY BscPutVarData2(short nCid,short
type,short varno,double *p);
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
type Variable type
varno Variable number
*p Variable storage pointer
OUT(Return)
None
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
number
2nd base axis pulse
number
2nd station axis
pulse number