SmcWSetBankResolveSpeed


Function

Set the value of the speed resolution of bank/interpolation operation.

Format

Ret = SmcWSetBankResolveSpeed( Id , AxisNo , BankNo , ResolveSpeed )

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.
When the interpolation (Or, interpolate it the bank) operates, the interpolation control axis is specified for an axis number.

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

ResolveSpeed [ VB.NET: Double ] [ C, C++: double ] [ C#: double ] [ Python: ctypes.c_double ]
Set the value of speed resolution.
The default becomes valid when -1 is specified.
Valid range: -1, Setting range of resolve speed

Setting range of resolve speed
SMC-2/4/8DL series : -1, 0.29296875-600
SMC-4/8DF series : -1, 0.0732421875-100

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

The default value is resolution: It is 1 pps.

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

If the device is in operation, the function cannot be performed.

See Also

SmcWGetBankResolveSpeed