DVP-15MC Series Motion Controller Operation Manual
11-294
11.6.5.2 DMC_ReadMFunction
FB/FC Explanation Applicable model
FB DMC_ReadMFunction is used for ResetMFunction
DMC_ReadMFunction
AxesGroup Valid
DMC_ReadMFunction_instance
Enable
MFunctionID
Busy
Error
ErrorID
MFunctionValue
unctionMF
Input Parameters
Parameter name Function Data type
Validation timing
AxesGroup
The number of the axes
group
USINT
(The variable value
When Enable
changes to TRUE
Enable
executed when Enable
changes from FALSE to
BOOL
TRUE or FALSE
(FALSE)
-
MFunctionID
The number of a M
code
USINT
(The variable value
When Enable
changes to TRUE
Output Parameters
Parameter name Function Data type Valid range
Valid TRUE when the output of the instruction is valid.
BOOL TRUE / FALSE
Busy TRUE when the instruction is being executed. BOOL TRUE / FALSE
Error
TRUE when an error occurs in execution of the
instruction.
BOOL TRUE / FALSE
ErrorID
Contains the error code when an error occurs.
Please refer to section 12.2.
WORD -
MFunction
TRUE when the M code is reached during G
code execution.
BOOL TRUE / FALSE
MFunctionValue
The value of M code parameter is output here
when the output MFunction is TRUE.
LREAL
Output Update Timing
Name Timing for changing to TRUE Timing for changing to FALSE
Valid
When the instruction reads
the state of M code.
When Enable changes from TRUE to FALSE.
Busy
TRUE.
When Valid changes to TRUE
When Error changes to TRUE
Error
When an input parameter is
illegal or an error occurs
during
the instruction
execution.
When Enable changes from TRUE to FALSE
Output Update Timing Chart