Function
Outputs deviation counter clear signal.
Format
Ret = SmcWSetCountCLR( Id, AxisNo )
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.
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
Execute for clearing deviation counter.
It can not be executed while motor is already in motion.
Set signal width of deviation counter clear in initial setting utility.
Set signal width of deviation counter clear in SmcWSetErcAlmCLRTime
function.
But, it is valid when CtrlTypeOut1 to CtrlTypeOut3 are set to "2 :
Deviation counter clear" in SmcWSetCtrlTypeOut
function.
This function cannot be used for the devices
without motor control function.
This function can be executed even if the axis is in operation.
Example
See Also