跳转至

TTaskStopCommandList

停止的指令流任务的参数结构体

结构体说明:

typedef struct  
{
    short stopList;
    short stopMode;
    short triggerSource;
    short reserve[5];
    TCommandListStopParameter prm;
} TTaskStopCommandList;
stopList: 指令流序号,正整数,取值范围请参照指令流序号参数范围一栏。 stopMode:停止模式。0:平滑停止, 1:紧急停止,2:停在段末。
triggerSource:捕获源。
    MC_PROFILE(31):规划器。
    MC_ENCODER(23):编码器。
prm:停止参数。详情说明请参照TCommandListStopParameter

TCommandListStopParameter
typedef struct
{
    short halt;
    short reserve1[15];
} TCommandListStopParameter;
halt:停止过程中是否允许再次启动,0:不允许,1:允许。
条件触发后,再次调用启动指令流无效,只有清除指令流数据时后,重新压数据才允许再次启动指令流。
reserve1:保留参数,必须为0。

调用指令:

GTN_ConditionStopCommandList

注意事项: