跳转至

TDigitalOutputProByMoveDistance

执行下一条插补指令时,按照设定的距离,段前延迟输出或者段末提前输出参数结构体

结构体说明:

typedef struct TDigitalOutputProByMoveDistance
{
    short type; 
    short motionType;   
    long delayTime; 
    double distance;
}TDigitalOutputProByMoveDistance;

type:模式。

0:距离起点distance后Do输出。
1:距离终点distance时Do输出。
motionType:保留参数,必须为0,目前只支持插补运动指令。
reserve1:保留参数,必须为0。
distance:运动distance后Do输出,单位mm。

调用指令:

GTN_WriteDigitalOutputPro

注意事项: