DVP-15MC Series Motion Controller Operation Manual
8-184
Timing for changing to TRUE
Timing for changing to FALSE
Error
When an error occurs in the
instruction execution or the input
parameters for the instruction are
When Execute changes from
TRUE to FALSE
Output Timing Chart
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
DMC_ReadParameter_CANopen
FALSE
FALSE
ReadPm_C1_ErrID WORD
FALSE
ReadPm_C1_DaTy USINT
2
DMC_WriteParameter_CANopen
Execute
Done
Busy
Active
Error
ErrorID
Case1
Datatype
Case2
Data