SmcWGetBankArcParam


Function

Retrieves the operation of a circular arc interpolation.

 

Format

Ret = SmcWGetBankArcParam( Id , AxisNo , BankNo , ArcStartDir, AutoEndPointPull)

 

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.

 

BankNo [ C, C++: short ] [ Python: ctypes.c_short ]

Specify bank number.

 

ArcStartDir [ C, C++: 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 [ C, C++: 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 [ C, C++: long ] [ 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.

If the device is in operation, the function cannot be performed.

 

See Also

SmcWGetBankArcParam.htm