SmcWGetBankDecelTime


Function

Retrieves the deceleration time of bank/interpolation operation.

 

Format

Ret = SmcWGetBankDecelTime( Id , AxisNo , BankNo , DecelTime )

 

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.

 

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

Specify bank number.

 

DecelTime [ C, C++: double * ] [ Python: ctypes.POINTER(ctypes.c_double) ]

The address of the variable that stores the deceleration time is specified. The unit is ms.

 

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 "BankNo=1" fixation

The value is corrected by SmcWSetBankStartSpeed and SmcWSetBankTargetSpeed( SmcWSetBankSSpeed when S Rate operation is used ).

 

See Also

SmcWSetBankDecelTime