DVP-15MC Series Motion Controller Operation Manual 
11-308 
 Programming Example 
1.  The variable table and program 
SSP  DMC_SetStartPosition   
SSP_ErrID  WORD   
1
DMC_SetStartPosition
AxesGroup Done
Execute
X_StartPos
Busy
Error
ErrorID
Y_StartPos
Z_StartPos
A_StartPos
SSP
Axes1
SSP_Ex
SSP_X
SSP_Y
SSP_Z
SSP_A
SSP_Done
SSP_Bsy
SSP_Err
SSP_ErrID
B_StartPos
C_StartPos
P_StartPos
Q_StartPos
SSP_B
SSP_C
SSP_P
SSP_Q
 
2.  Timing Chart 
 
SSP_Ex
SSP_Done
SSP_Bsy
SSP_Err
SSP_ErrID
Case
 
  When SSP_Ex changes from FALSE to TRUE, DMC_SetStartPosition instruction is executed. 
In the same cycle, SSP_Bsy changes from FALSE to TRUE. In the second cycle, SSP_Done 
changes from FALSE to TRUE and meanwhile SSP_Bsy changes from TRUE to FALSE. So the 
start positions of axes in G codes for the motion is the start positions set by the instruction. 
  When SSP_Ex changes from TRUE to FALSE, SSP_Done changes from TRUE to FALSE.