Specifications

139/201
BscDCIGetPos2
FUNCTION: Gets a variable with DCI instruction. ( 7axes or more )
FORMAT: _declspec( dllexport ) short APIENTRY BscDCIGetPos2(short nCid,short
*type,short *rconf,double *p,short *axisNum);
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
*type Variable type number
*rconf Form data storage pointer
*p Variable storage pointer
*axisNum Axis storage pointer
OUT(Return)
*rconf Form data storage pointer
*p Variable storage pointer
Return Value
-1:Failed to send
Others:Variable type number
REMARKS: Variable Type Number
The variable type number is represented as follows.
Variable
Contents
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) -
Form
The form data are represented by bit data in decimals.