Function
Retrieves the beginning preparation and the motor operation type of bank/interpolation operation.
Format
Ret = SmcWGetBankReady( Id , AxisNo , MotionType)
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.
MotionType
[ VB.NET: Short ] [ C, C++: short * ] [ C#: out 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 [ 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
This function can be executed even if the axis is in operation.
See Also