SmcWSetBankSSpeed


Function

Set S Speed section of bank/interpolation operation.

 

Format

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

 

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.

 

SSpeed [ C, C++: double ] [ Python: ctypes.c_double ]

S Speed section is set. The unit is pps.
S Speed without a straight line section operates when 0 is specified.
When set to -1, the default value is made effective.
Valid range: -1, 0, Range of S Speed section setting

 

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 400 pps.

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

When S Speed acceleration is set by the SmcWSetSAccelType function, "1: Use it", the SmcWSetBankSSpeed function is effective.

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

 

See Also

SmcWGetBankSSpeed