User`s manual

http://www.adtechcn.com 49
Note The coordinates of any three points in the plane can’t be on the same point or line.
5.12 adt8840a_arc( )
Name int adt8840a_arc(int dev_num,int axis1,int axis2,float cen[])
Definition Arc machining parameter
Input parameter
int dev_num: device number
int axis1: plane axis 1
int axis2: plane axis 2
float cen[]: arc’s parameter structure. cen[0]: coordinate X of center of circle; cen[1]:
coordinate Y of center of circle; cen[2]: included angle of endpoint; cen[3]:
included angle of start point; cen[4]: radius; cen[5]: arcing angle.
Output
parameter
None
Return value 0: arc computation OK; -1: arc computation failure
Note None