跳转至

TDifferentStepCalibration

调高器变步距线性标定参数联合体

结构体说明:

typedef struct DifferentStepCalibration
{
    short heightFbIndex;                    
    short motorEncoder;                     
    short pad[2];
    double homeVel;                         
    double homeDir;                         
    long frqMutationStopValue;              
    long offset;                            
    double distance;                        
    double calibrationVel;                  
    double calibrationStepCount;            
    double calibrationCountPerStep[CALIBRATION_STEP_MAX];   
    short tableId;                  
}TDifferentStepCalibration;

#define CALIBRATION_STEP_MAX            (50)
heightFbIndex:第几路频率输入。
motorEncoder:第几路编码器。
pad:保留参数,必须为0。
homeVel:碰板的速度,大于0,单位为pulse/ms。
homeDir:碰板的运动方向。小于等于0:负向。大于0:正向。
frqMutationStopValue:碰板时频率突变停止阈值,大于0。
offset:碰板后反向停靠偏置。从停靠位置开始标定,大于0。
distance:标定距离,单位:pulse,大于0。
calibrationVel:标定速度,大于0。
calibrationStepCoun:标定段数,取值范围(0,50]。
calibrationCountPerStep:每段标定点数,取值范围(0,4000]。
tableId:标定后数据表下载索引。

相关指令:

GTN_SetAxisHeightCalibration

注意事项: