DVP-15MC Series Motion Controller Operation Manual
8-184
_8
Parameter Name
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
illegal.
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
Variable name
Data type
Current value
ReadPm_C1
DMC_ReadParameter_CANopen
Axis1
USINT
1
ReadPm_C1_Ex
BOOL
TRUE
ReadPm_C1_Done
BOOL
TRUE
ReadPm_C1_Bsy
BOOL
FALSE
ReadPm_C1_Act
BOOL
FALSE
ReadPm_C1_Err
BOOL
FALSE
ReadPm_C1_ErrID
WORD
FALSE
ReadPm_C1_DaTy
USINT
2
ReadPm_C1_Dat
UDINT
5000
WritePm_C
DMC_WriteParameter_CANopen
WritePm_C_Done
BOOL
TRUE
WritePm_C_Bsy
BOOL
FALSE
E xec ut e
Don e
Bus y
Ac tiv e
Error
E rrorID
Cas e1
Dat aty pe
Cas e2
Dat a
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...