Chapter 11 Motion Control Instructions
11-291
11
7. Before the instruction controls axes motion, axes should be adjusted with single-axis instructions to
the position where G code execution starts first. Then DMC_ AddAxisToGroup is used to add
individual axes to the axes group. Afterwards, DMC_SetG0Para and DMC_SetG1Para are used to
set relevant parameters of G0 and G1/G2/G3. Finally the DMC_CartesianCoordinate instruction is
executed to control axes for interpolation along the path planned via G codes.
Programming Example
1.
The variable table and program
Variable name
Data type
Initial value
Pwr
MC_Power
Axis1
USINT
1
Pwr_En
BOOL
FALSE
Pwr_BM
MC_Buffer_Mode
0
Pwr_Sta
BOOL
Pwr_Bsy
BOOL
Pwr_Act
BOOL
Pwr_Err
BOOL
Pwr_ErrID
WORD
Pwr1
MC_Power
Axis2
USINT
2
Pwr1_BM
MC_Buffer_Mode
0
Pwr1_Sta
BOOL
Pwr1_Bsy
BOOL
Pwr1_Act
BOOL
Pwr1_Err
BOOL
Pwr1_ErrID
WORD
ATG
DMC_AddAxisToGroup
Axes1
USINT
1
ATG_Ex
BOOL
FALSE
ATG_Done
BOOL
ATG_Bsy
BOOL
ATG_Err
BOOL
ATG_ErrID
WORD
ATG1
DMC_AddAxisToGroup
ATG1_Ex
BOOL
FALSE
ATG1_Done
BOOL
ATG1_Bsy
BOOL
ATG1_Err
BOOL
ATG1_ErrID
WORD
SG1
DMC_SetG1Para
SG1_AG
USINT
1
SG1_Ex
BOOL
FALSE
SG1_Vel
LREAL
10000
SG1_Acc
LREAL
5000
SG1_Dec
LREAL
5000
SG1_Jer
LREAL
5000
SG1_Done
BOOL
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...