Example) Get the limit status of axis number 1.
■ Visual Basic
Dim Ret As Integer
Dim LimitSts As Short
' Get the limit status
Ret = SmcWGetLimitStatus( Id , 1, LimitSts )
■ C
long Ret;
long CountPulse ;
// Get the number of encoder count pulses
Ret = SmcWGetCountPulse( Id , 1, &CountPulse );
■ C#
int Ret;
int CountPulse ;
// Get the number of encoder count pulses
Ret = Smc.WGetCountPulse( Id , 1, out CountPulse );
■ Python
Ret = ctypes.c_long()
LimitSts = ctypes.c_short()
# Get the limit status
Ret.value = csmc.SmcWGetLimitStatus( Id , 1, ctypes.byref(LimitSts) )