SmcWGetBankSSpeed


Function

Retrieves S character section of bank/interpolation operation..

Format

Ret = SmcWGetBankSSpeed( Id , AxisNo , BankNo , SSpeed )

Parameters

Id [ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short ]
SSpecify the Deice ID retrieved by SmcWInit function.

AxisNo [ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short ]
Specify axis number.

BankNo [ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short ]
Specify bank number.

SSpeed [ VB.NET: Double ] [ C, C++: double * ] [ C#: out double ] [ Python: ctypes.POINTER(ctypes.c_double) ]
The address of the variable that stores the value of S character section is specified. The unit is pps.

Return Value

Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ] [ Python: ctypes.c_long ]

0

Terminated normally

Non-zero

Terminated abnormally

See also: Error code details

Remarks

SMC-2/4/8DL series is "BankNo=1" fixation.

The value is corrected by the resolution set with SmcWSetBankResolveSpeed.
405pps in case of Resolution 15pps

This function can be executed even if the axis is in operation.

See Also

SmcWSetBankSSpeed