Function
Set the operation of a circular arc interpolation.
Format
Ret = SmcWSetBankArcParam( Id , AxisNo , BankNo , ArcStartDir, AutoEndPointPull)
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.
ArcStartDir
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short
]
The direction of operation is specified.
0 |
Direction of CW |
1 |
Direction of CCW |
ArcEndPointPull
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short
]
Set mode the terminal is automatically drawn in when the circular arc interpolation
operation ends.
0 |
Drawing in operation OFF |
1 |
Drawing in operation ON |
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.
If the device is in operation, the function cannot be performed.
See Also