TEllipseParameter¶
椭圆插补参数结构体
结构体说明:
typedef struct
{
double endPoint[INTERPOLATIONN_AXIS_MAX];
short plane;
short dir;
short overrideSelect;
short mode;
TEllipseParameterUnion data;
}TEllipseParameter;
endPoint:椭圆插补终点位置。
INTERPOLATIONN_CIRCLE_PLAT_XY(0):XY平面椭圆。
INTERPOLATIONN_CIRCLE_PLAT_YZ(1):YZ平面椭圆。
INTERPOLATIONN_CIRCLE_PLAT_ZX(2):ZX平面椭圆。
overrideSelect:倍率选择,0:第一组倍率,1:第二组倍率。
mode:椭圆描述方式。
data:椭圆描述参数。详情说明请参照TEllipseParameterUnion
TEllipseParameterUnion
typedef union
{
TEllipseAuxPoint auxPoint;
TEllipseStandard standard;
double reserve[60];
}TEllipseParameterUnion;
TEllipseAuxPoint
pos:椭圆上辅助点位置坐标,单位:pulse。TEllipseStandard
typedef struct
{
double centerPoint[INTERPOLATIONN_AXIS_MAX];
double theta;
double a;
double b;
} TEllipseStandard;
theta:椭圆旋转角度。
a:椭圆长轴长度,单位:pulse。
b:椭圆短轴长度,单位:pulse。
调用指令:
注意事项: