SmcWGetBankArcParam


Function

Retrieves the operation of a circular arc interpolation.

Format

Ret = SmcWGetBankArcParam( 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#: out short ] [ Python: ctypes.POINTER(ctypes.c_short) ]
The address of the variable that stores the direction of operation is specified.

0

Direction of CW

1

Direction of CCW

ArcEndPointPull [ VB.NET: Short ] [ C, C++: short * ] [ C#: out short ] [ Python: ctypes.POINTER(ctypes.c_short) ]
The address of the variable that stores the mode the terminal is automatically drawn in when the circular arc interpolation operation ends is specified.

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

Initial value

ArcStartDir

0:Direction of CW

ArcEndPointPull

1:Drawing in operation ON

Remarks

It is not possible to use it with SMC-2/4/8DL series.

This function can be executed even if the axis is in operation.

See Also

SmcWGetBankArcParam.htm