Delta Electronics DVP15MC11T Operation Manual page 436

Table of Contents

Advertisement

Case 3: When Execute changes from FALSE to TRUE, Busy and Active change to TRUE. One cycle
later, Done changes to TRUE and DataType and Data show corresponding data values. 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 and DataType and Data
retain original values. If Error changes to TRUE, the values of DataType and Data will be
cleared to 0.
Case 4: The input parameter value is illegal such as axis number: 0 before the
DMC_ReadParameter_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_ReadParameter_Motion reads a slave parameter value. Users can specify the index and subindex
of the parameter which is to be read.
Programming Example
The example of executing the DMC_ReadParameter_ 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
ReadPm_M1_Act
ReadPm_M1_Err
ReadPm_M1_ErrID
ReadPm_M1_DaTy
ReadPm_M1_Dat
WritePm_M
WritePm_M_Done
WritePm_M_Bsy
WritePm_M_Act
WritePm_M_Err
WritePm_M_ErrID
ReadPm_M2
ReadPm_M2_Done
ReadPm_M2_Bsy
ReadPm_M2_Act
ReadPm_M2_Err
ReadPm_M2_ErrID
ReadPm_M2_DaTy
ReadPm_M2_Dat
Data type
DMC_ReadParameter_ Motion
USINT
BOOL
BOOL
BOOL
BOOL
BOOL
WORD
USINT
UDINT
DMC_WriteParameter_Motion
BOOL
BOOL
BOOL
BOOL
WORD
DMC_ReadParameter_ Motion
BOOL
BOOL
BOOL
BOOL
WORD
USINT
UDINT
Chapter 12 Troubleshooting
Initial value
1
TRUE
TRUE
FALSE
FALSE
FALSE
FALSE
2
5000
TRUE
FALSE
FALSE
FALSE
FALSE
TRUE
FALSE
FALSE
FALSE
FALSE
2
1000
11-113
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents