Chapter 11 Motion Control Instructions
11-333
11
Output Update Timing Chart
Ex ecu te
Done
Bu sy
A ct iv e
Co mma ndAbo rt
E rro r
Error I D
Ca se1
Case 2
Case 3
Case 1
:
When
Execute
changes from FALSE to TRUE,
Busy
changes to TRUE. Two cycles later,
Active
changes to TRUE. When the axes group reaches the end position,
Done
changes to TRUE,
Busy and Active
change to FALSE.
Case 2
:
When
Execute
changes from FALSE to TRUE and an error occurs (such as error in state
machine of the axes group),
Error
changes to TRUE and
ErrorID
shows corresponding error
codes and meanwhile
Active
and
Busy
change to FALSE. When
Execute
changes from TRUE
to FALSE,
Error
changes to FALSE.
Case 3
:
After
Execute
changes from TRUE to FALSE in the instruction execution,
Done
changes to
TRUE when the instruction execution is completed. Meantime
Busy
and
Active
change to
FALSE. One cycle later,
Done
changes to FALSE.
Function
DMC_MoveDirectAbsolute is used for an axes group to conduct quick positioning and one or more axes
in the axes group can be controlled. The firmware of V1.01 and above supports the function.
Axes are relatively independent with each other during the motion. The velocities, accelerations,
decelerations and jerks of axes depend on the input values of DMC_GroupEnable: MoveDirectVelocity,
MoveDirectAcceleration, MoveDirectDeceleration and MoveDirectJerk.
Programming Example
The example in which one DMC_MoveDirectAbsolute instruction is executed is as follows.
1. The variable table and program
Variable name
Data type
Initial value
ADDAXIS1
DMC_AddAxisToGroup
ADDAXIS1_Ex
BOOL
ADDAXIS1_Done
BOOL
ADDAXIS1_Bsy
BOOL
ADDAXIS1_Err
BOOL
ADDAXIS1_ErrID
WORD
ADDAXIS2
DMC_AddAxisToGroup
ADDAXIS2_Done
BOOL
ADDAXIS2_Bsy
BOOL
ADDAXIS2_Err
BOOL
ADDAXIS2_ErrID
WORD
DMC_GroupEnable0
DMC_GroupEnable
GE_En
BOOL
GE_Vel
ARRAY [1..8] OF LREAL
GE_Acc
ARRAY [1..8] OF LREAL
GE_Dec
ARRAY [1..8] OF LREAL
Содержание 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...