Installation manual

Chapter 8 PA Library
8-43
pa_get_cpt
Function
1
st
, 2
nd
and 3
rd
point information are acquired when current point is circle/arc.
Syntax
long pa_get_cpt(ARM armno, PNTNO pno, PNTDATP pntdat)
armno Arm number (No.).
pno Circle/arc Identification number designation.
pntdat Pointer for teach data structure “PNTDAT”.
Explanation
Teach data to obtain by “pa_get_pnt” is only the current point data. Therefore, if
intending to acquire 2
nd
/3
rd
data for circle/arc, use this function.
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference
pa_get_pnt Acquires current point teach point attribution.