Function
Retrieves the speed and the coordinates position of a circular arc interpolation.
Format
Ret = SmcWSetReady( Id, AxisNo, MotionType, StartDir )
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.
BankNo
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short
]
Specify bank number.
ArcSpeed
[ VB.NET: Double ] [ C, C++: double * ] [ C#: out double ] [ Python: ctypes.POINTER(ctypes.c_double)
]
The address of the variable that stores the circular arc interpolation
speed value is specified.
Center_X
[ VB.NET: Integer ] [ C, C++: long * ] [ C#: out int ] [ Python: ctypes.POINTER(ctypes.c_long)
]
The address of the variable where X coordinates at a circular arc center
position are stored by relative coordinates is specified.
Center_Y
[ VB.NET: Integer ] [ C, C++: long * ] [ C#: out int ] [ Python: ctypes.POINTER(ctypes.c_long)
]
The address of the variable where Y coordinates at a circular arc center
position are stored by relative coordinates is specified.
End_X
[ VB.NET: Integer ] [ C, C++: long * ] [ C#: out int ] [ Python: ctypes.POINTER(ctypes.c_long)
]
The address of the variable where X coordinates at the circular arc interpolation
end position are stored by relative coordinates is specified.
End_Y
[ VB.NET: Integer ] [ C, C++: long * ] [ C#: out int ] [ Python: ctypes.POINTER(ctypes.c_long)
]
The address of the variable where Y coordinates at the circular arc interpolation
end position are stored by relative coordinates is specified.
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
It is not possible to use it with SMC-2/4/8DL series.
As for the circular arc interpolation speed value, the value is corrected to the multiple of the resolution set with SmcWSetBankResolveSpeed.
This function can be executed even if the axis is in operation.
See Also