Delta Electronics DVP15MC11T Operation Manual page 439

Table of Contents

Advertisement

DVP15MC11T Operation Manual
Output Update Timing
Parameter Name
Done
11
1
Busy
Active
Error
Output Update Timing Chart
Case 1: When Execute changes from FALSE to TRUE, Busy and Active change to TRUE. One cycle
later, Done changes to TRUE. After Done changes to TRUE, Busy and Active change to
FALSE in the same cycle. When Execute changes from TRUE to FALSE, Done changes from
TRUE to FALSE.
Case 2: The input parameter value is illegal such as axis number: 0 before the
DMC_WriteParameter_Motion instruction is executed. When Execute changes from FALSE to
TRUE, Error changes to from FALSE to TRUE and ErrorID shows corresponding error code.
When Execute changes from TRUE to FALSE, Error changes from TRUE to FALSE and the
content of ErrorID is cleared to 0.
Function
DMC_WriteParameter_Motion sets a slave parameter value. Users can specify the index and subindex
of the parameter which is to be set.
Programming Example
The example of executing the DMC_WriteParameter_ Motion instruction is described as follows.
1.
The variable table and program
Variable name
ReadPm_M1
Axis1
ReadPm_M1_Ex
ReadPm_M1_Done
ReadPm_M1_Bsy
11-116
Timing for changing to TRUE
 When the writing is completed.
 When Execute changes to TRUE.
 When the instruction starts to
control the axis.
 When an error occurs in the
instruction execution or the input
parameters for the instruction are
illegal.
Case 1
E xec ute
Done
Bus y
Ac tive
Error
E rro rID
DMC_ReadParameter_Motion
Timing for changing to FALSE
 When Execute changes from TRUE to
FALSE after the instruction execution is
completed.
 When Error changes to TRUE.
 When Done changes from FALSE to
TRUE.
 When Error changes to TRUE.
 When Done changes from FALSE to
TRUE.
 When Execute changes from TRUE to
FALSE.
Cas e 2
Data type
USINT
BOOL
BOOL
BOOL
Initial value
1
TRUE
TRUE
FALSE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents