DVP-15MC Series Motion Controller Operation Manual
11-298
Output Update Timing Chart
Execute
Done
Busy
Error
Error ID
Case1 Case2
Case 1: When Execute changes from FALSE to TRUE, Busy changes to TRUE and one cycle later,
Done changes to TRUE and Busy changes to FALSE.
Case 2: When an error occurs during the instruction execution, Error changes to TRUE and ErrorID
shows corresponding error code. Meanwhile, Busy changes to FALSE. Error changes to FALSE
when Execute changes from TRUE to FALSE.
Function
DMC_ResetMFunction instruction resets the state of M code. When G code execution reaches where
M code set by the intruction is, the output state of M code is TRUE and DMC_ResetMFunction
instruction is executed. The output state of M code is reset to FALSE and G code execution will
continue. The firmware of V1.01 and above supports the function.
Programming Example
1. The variable table and program
RMF_ErrID WORD
REM DMC_ResetMFunction
REM_Done BOOL