Function
Retrieves the beginning preparation and the motor operation type of bank/interpolation operation.
Format
Ret = SmcWGetBankReady( Id , AxisNo , MotionType)
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.
MotionType [ C, C++: short * ] [ Python: ctypes.POINTER(ctypes.c_short) ]
The address of the variable that stores the motor operation type is specified.
4 |
Bank operation(single) |
5 |
Bank operation(loop) |
8 |
Bank operation(single) (Correction at the target speed, Corrected without changing the acceleration and deceleration) |
9 |
Bank operation(loop) (Correction at the target speed, Corrected without changing the acceleration and deceleration) |
Return Value
Ret [ C, C++: long ] [ Python: ctypes.c_long ]
0 |
Terminated normally |
Non-zero |
Terminated abnormally |
See also: Error code details
Remarks
It is possible to execute it while the device is working.
See Also