Function
Set S Speed section of bank/interpolation operation.
Format
Ret = SmcWSetBankSSpeed( 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.
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.
SSpeed
[ VB.NET: Double ] [ C, C++: double ] [ 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 [ 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 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