例)读取第1轴的限位信号状态。
■ C语言
long Ret;
short LimitSts ;
// 读取限位信号状态
Ret = SmcWGetLimitStatus( Id , 1, &LimitSts );
■ Python
Ret = ctypes.c_long()
LimitSts = ctypes.c_short()
# 读取限位信号状态
Ret.value = csmc.SmcGetLimitSts( Id , 1, ctypes.byref(LimitSts) )