Delta Electronics DVP15MC11T Operation Manual page 250

Table of Contents

Advertisement

Output Timing Chart
E xec ut e
Don e
Bus y
Ac tiv e
Error
E rrorID
Dat aty pe
Dat a
Case 1: Busy and Active change to TRUE when Execute changes from FALSE to TRUE and one
period later, Done changes to TRUE and Datatype and Data show corresponding data. When
Done changes to TRUE, Busy and Active change to FALSE. When Execute changes from
TRUE to FALSE, Done changes from TRUE to FALSE and Datatype and Data retain original
values.
Case 2: Before DMC_ReadParameter_CANopen is executed, the input parameter value such as axis
No: 0 is illegal. When Execute changes from FALSE to TRUE, Error changes from FALSE to
TRUE, the values of Datatype and Data are cleared to 0 and ErrorID shows corresponding
error codes. As Execute changes from TRUE to FALSE, Error changes from TRUE to FALSE
and the content of ErrorID is cleared to 0.
Functions
DMC_ReadParameter_CANopen is used to read the parameter value of a slave. Users can specify the index
and subindex of the parameter to be read.
Programming Example
Below is an example of DMC_ReadParameter_CANopen instruction execution.
The variable table and program
Variable name
ReadPm_C1
Axis1
ReadPm_C1_Ex
ReadPm_C1_Done
ReadPm_C1_Bsy
ReadPm_C1_Act
ReadPm_C1_Err
ReadPm_C1_ErrID
ReadPm_C1_DaTy
ReadPm_C1_Dat
WritePm_C
WritePm_C_Done
WritePm_C_Bsy
Cas e1
Data type
DMC_ReadParameter_CANopen
USINT
BOOL
BOOL
BOOL
BOOL
BOOL
WORD
USINT
UDINT
DMC_WriteParameter_CANopen
BOOL
BOOL
Chapter 8 Logic Instructions
Cas e2
Current value
1
TRUE
TRUE
FALSE
FALSE
FALSE
FALSE
2
5000
TRUE
FALSE
8_
8-179

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents