辅助限位信号设置

 

例) 将第1轴的减速停止限位信号设置成无效。

 

■ C语言

long Ret;

short Id;

 

// 设置减速停止限位信号无效。

Ret = SmcWSetLimitMask( Id, 1, 1, 1 );

 

■ Python

Ret = ctypes.c_long()

Id = ctypes.c_short()

# 设置减速停止限位信号无效。

Ret = csmc.SmcWSetLimitMask( Id, 1, 1, 1 )