SmcWGetBankNumber


Function

Retrieves the number of total banks is used.

 

Format

Ret = SmcWGetBankNumber( 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.

 

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

The address of the variable that stores the acquired number of total banks is specified.

 

Return Value

Ret [ C, C++: long ] [ Python: ctypes.c_long ]

0

Terminated normally

Non-zero

Terminated abnormally

See also: Error code details

 

Remarks

SMC-2/4/8DL series is "BankNum=1" fixation.

 

See Also

SmcWSetBankReady