DVP-15MC Series Motion Controller Operation Manual
11-298
11
1
Output Update Timing Chart
E xec ute
Done
Bus y
E rror
Error I D
Case 1
Ca se2
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
Variable name
Data type
Initial value
RMF
DMC_ReadMFunction
Axes1
USINT
1
RMF_En
BOOL
FALSE
RMF_MID
USINT
0
RMF_Va
BOOL
RMF_Bsy
BOOL
RMF_Err
BOOL
RMF_ErrID
WORD
RMF_MF
BOOL
RMF_MFV
LREAL
REM
DMC_ResetMFunction
REM_Ex
BOOL
FALSE
REM_MID
USINT
0
REM_Done
BOOL
REM_Bsy
BOOL
REM_Err
BOOL
REM_ErrID
WORD
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...