SmcWSetBankNumber


Function

Set the number of total banks is used.

 

Format

Ret = SmcWSetBankNumber( Id , AxisNo , BankNum)

 

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.
 

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

SmcWGetBankNumber