SmcWSetBankArcParam


Function

Set the operation of a circular arc interpolation.

 

Format

Ret = SmcWSetBankArcParam( 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.c_short ]

The direction of operation is specified.

0

Direction of CW

1

Direction of CCW

 

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

SmcWGetBankArcParam