TAxisMotionConstraint¶
轴运动约束参数结构体
结构体说明:
typedef struct AxisMotionConstraint
{
double velMax;
double accMax;
double decMax;
double jerkMax;
double dvMax;
short reverseLimitMode;
short reserve1[3];
double reserve2[8];
}TAxisMotionConstraint;
#define AXIS_MOTION_CONSTRAINT_RESERVE1_DV_MAX_LIMIT (0)
accMax:轴最大加速度,大于0,单位:mm/s2或度/s2。
decMax:轴最大减速度,大于0,单位:mm/s2或度/s2。
jerkMax:轴最大加加速度,大于0,单位:mm/s2或度/s2。
dvMax:轴最大速度跳变,大于0,单位:mm/s或度/s。
reverseLimitMode:运动反向速度约束模式,在前瞻使能时生效。 reserve1[AXIS_MOTION_CONSTRAINT_RESERVE1_DV_MAX_LIMIT]:用于设置dvmax的约束是否生效。 reserve1:其他为保留参数,必须为0。
reserve2:保留参数,必须为0。
相关指令:
GTN_GetAxisMotionConstraint
GTN_SetAxisMotionConstraint
注意事项: