SmcWSetBankResolveSpeed


Function

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

 

Format

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

 

Parameters

Id [ C, C++: short ] [ Python: ctypes.c_short ]

Specify the device ID retrieved by SmcWInit function.

 

AxisNo [ C, 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 [ C, C++: short ] [ Python: ctypes.c_short ]

Specify bank number.

 

ResolveSpeed [ C, 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 [ C, C++: long ] [ 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