Specifications
147/201
BscDCIPutVarData
FUNCTION: Sets a variable with DCI instruction.
FORMAT: _declspec( dllexport ) short APIENTRY BscDCIPutVarData(short nCid,short
*type,short *rconf,double *p,char *str);
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
*type Variable type number (pointer)
*rconf Form data (pointer)
*p Head pointer to the numeric variable storage area
*str Head pointer to the character variable storage area
OUT(Return)
None
Return Value
-1:Failed to send
Others:Variable type number
REMARKS: Restrictions
String variables can only be used with the NX100 ver3.0 or later.
Variable Type Number
The variable type number is represented as follows.
Variable
Contents
NX100 (v3.0
and after)
NX100 (before
v3.0)/XRC/MRC
ERC
1 Byte type Byte type
2 Integer type Integer type
3 Double-precision type Double-precision type
4 Real type Real type
5 Robot axis position type (pulse) Robot axis position type (pulse)
6 Robot axis position type (XYZ) Robot axis position type (XYZ)
7 Base axis position type (pulse) External axis position type (pulse)
8 Base axis position type (XYZ) External axis position type (XYZ)
9 Station axis position type (pulse) -
10 String type - -