跳转至

TPosCompareInfo

位置比较信息参数结构体

结构体说明:

typedef struct
{
    unsigned short config;
    unsigned short fifoEmpty;
    unsigned short head;
    unsigned short tail;
    unsigned long commandReceive;
    unsigned long commandSend;
    long posX;
    long posY;
} TPosCompareInfo;

config:位置比较配置寄存器值。
fifoEmpty:位置比较fifo跑空状态,0:没跑空,1:跑空。
head:位置比较fifo头指针位置。
tail:位置比较fifo尾指针位置。
commandReceive:控制器已经收到的fifo数据个数。
commandSend:控制器已经发送到轴模块的fifo数据个数。
posX:位置比较x轴触发位置。
posY:位置比较y轴触发位置。

调用指令:

GTN_PosCompareInfo

注意事项: