Function
Set the number of total banks is used.
Format
Ret = SmcWSetBankNumber( Id , AxisNo , BankNum)
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.
BankNum
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short
]
The number of total banks used when the bank operates is specified.
Valid range:1-1024
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
If the device is in operation, the function
cannot be performed.
It is not bank operation when setting as "BankNum=1".
- SMC-2/4/8DL series
"BankNum=1" fixation.
It is an error excluding "BankNum=1".
- SMC-4/8DF series
1024 banks of each axis can be specified.
See Also