Chapter 11 Motion Control Instructions
11-51
11
When Addt_Ex
changes from FALSE to TRUE, the motion controller controls the motion
of the servo motor by taking current position as the reference point. Meanwhile,
Addt_Bsy
changes to TRUE and one period later, Addt_Act
changes to TRUE. After the
set distance is reached by the servo motor, Addt_Done changes from FALSE to TRUE
and meanwhile Addt_Bsy and Addt_Act change from TRUE to FALSE.
When Addt_Ex changes from TURE to FALSE, Addt_Done is reset.
When Addt_Ex changes from FALSE to TRUE again after the servo motor reaches the
set distance, the motion controller controls the motion of the servo motor and
Addt_Done changes from FALSE to TRUE once again after the servo motor reaches
the set distance.
Programming Example 2
Below is an example on the execution of two MC_MoveAdditive instructions in the same task list.
1.
The variables 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
Addt1
MC_MoveAdditive
Addt1_Ex
BOOL
FALSE
Addt1_BM
MC_Buffer_Mode
0
Addt1_Done
BOOL
Addt1_Bsy
BOOL
Addt1_Act
BOOL
Addt1_Abt
BOOL
Addt1_Err
BOOL
Addt1_ErrID
WORD
Addt2
MC_MoveAdditive
Addt2_Ex
BOOL
FALSE
Addt2_BM
MC_Buffer_Mode
0
Addt2_Done
BOOL
Addt2_Bsy
BOOL
Addt2_Act
BOOL
Addt2_Abt
BOOL
Addt2_Err
BOOL
Addt2_ErrID
WORD
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...