SmcWGetZCountMotion


Function

Retrieves the setting of the each mode of Z-phase count motion.

 

Format

Ret = SmcWGetZCountMotion( Id, AxisNo, ZMoveCount, ZLog )

 

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 the axis number.

 

ZMoveCount [ C, C++: short * ] [ Python: ctypes.POINTER(ctypes.c_short) ]

Specify the address of a variable to store the number of Z-phase.

 

ZLog [ C, C++: short * ] [ Python: ctypes.POINTER(ctypes.c_short) ]

Specify the address of a variable to store the logic of origin input.
 0:Falling edge
 1:Rising edge

 

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 by the SMC-2/4/8DL series.