跳转至

TCountConfig

编码器配置参数结构体

结构体说明:

typedef struct CountConfig
{
    short active;
    short reverse;
    short filterType;
    short captureSource;
    short captureHomeSense;
    short captureIndexSense;
} TCountConfig;
active:axis资源是否有效,0:无效。1:有效
reverse:取反标志位。0:不取反。1:取反。
filterType:滤波器选择,默认为0。
0:增量超过设置的极限值时用上次的增量预估。
1:增量超过设置的极限值时增量清0。
captureSource:编码器数据来源。0:编码器。1:脉冲计数器。
captureHomeSense:Home捕获的触发沿。
captureIndexSense:Index捕获的触发沿。

相关指令:

GTN_GetCountConfig
GTN_SetCountConfig
注意事项: