Example) Get the motor stop factor of axis number 1.
■ Visual Basic
Dim Ret As Integer
Dim StopSts As Short
' Get the motor stop factor
Ret = SmcWGetStopStatus( Id , 1, StopSts )
■ C
long Ret;
short StopSts ;
// Get the motor stop factor
Ret = SmcWGetStopStatus( Id , 1, &StopSts );
■ C#
int Ret;
short StopSts ;
// Get the motor stop factor
Ret = Smc.WGetStopStatus( Id , 1, out StopSts );
■ Python
Ret = ctypes.c_long()
StopSts = ctypes.c_short()
# Get the motor stop factor
Ret.value = csmc.SmcWGetStopStatus( Id , 1, ctypes.byref(StopSts) )