Specifications
94/201
BscHostPutVarData
FUNCTION: Sets variables.
FORMAT: _declspec( dllexport ) short APIENTRY BscHostPutVarData(short
nCid,short type,short varno,double *p,char *str);
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
type Variable type
varno Variable number
*p Head pointer to the numeric variable storage area
*str Head pointer to the character variable storage area
OUT(Return)
None
Return Value
0:Normal completion
Others:Error codes
REMARKS: Restrictions
This function is effective only for transmission with the NX100/XRC/MRC (NX100/XRC/MRC
transmission function). String variables can only be used with the NX100 ver3.0 or later.
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)
7:String type