Function
The operation of the axis of the synchronous start waiting state for a synchronous control begins.
Format
Ret = SmcWSyncMotionStart( Id, AxisNo )
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.
Return Value
Ret [ C, C++: long ] [ Python: ctypes.c_long ]
0 |
Terminated normally |
Non-zero |
Terminated abnormally |
See also: Error code details
Remarks
It becomes a synchronous
start waiting state by executing the SmcWMotionStart
for the axis for the same period control after the SmcWSetSync
is executed.
It doesn't become a synchronous start waiting state only by executing the
SmcWSetSync.
If the SmcWGetPulseStatus
is executed by the synchronous start waiting state, it becomes PulseSts=3
(synchronous start waiting).
Please execute the SmcWMotionStop
to release the synchronous start waiting state.
Moreover, the synchronous start waiting state is released as for the axis
besides the synchronous start waiting state when releasing it.
Operation doesn't begin even if this function is executed as for the released
axis.
Either of axis that synchronizes
stops and other axes stop when coming in contact or stopping Limit.
Therefore, when the starting point resume operation by synchronization
is done by this function, it is necessary to note the record operation
further.
When you do the starting point resume operation synchronously two axes:
If the other axis is not
completed according to timing that one of axes completed the starting
point return, the axis not completed continues the starting point resume
operation as it is.
Therefore, when the starting point returns by the device done to operate
by two axes, it is necessary to arrange the position of the starting point
sensor.