Delta Electronics DVP15MC11T Operation Manual page 454

Table of Contents

Advertisement

and BufferMode. The master axis can be a real axis, virtual axis or encoder axis. The salve axis can
be a real axis or virtual axis.
2.
In the instruction execution, the slave axis need be enabled and the master axis can be enabled or
disabled.
3.
If the MC_GearIn instruction is executed when the e-gear relationship between two axes has not
been built yet, the velocity of the slave axis will reach the target velocity according to the values of
RatioNumerator, RatioDenomenator, Acceleration, Deceleration and Jerk specified by the
instruction.
Ac c elera ti on (or D ec eler ation)o f Sl av e axi s Ac ce lerati on (or D ec eler ati on) of M aster a xi s
After the e-gear relationship between two axes has been built (when InGear of the instruction
changes to TRUE), the relationship among the velocity of the slave axis, gear ratio numerator, gear
ratio denominator and the velocity of the master axis is shown as below.
Target veloc it y of Slave axis
4.
E-gear ratio
If the e-gear ratio is a positive number, the motion directions of the slave axis and master axis are
same.
If the e-gear ratio is a negative number, the motion directions of the slave axis and master axis are
opposite.
Programming Example
Below is the example of execution of MC_GearIn instructions.
1.
The variable table and program
Variable name
Vel
Axis1
Axis2
Vel_Ex
Vel_Dir
Vel_BM
Vel_Invel
Vel_Bsy
Vel_Act
Vel_Abt
Vel_Err
Vel_ErrID
GearIn1
GearIn1_Ex
GearIn1_BM
GearIn1_InGear
GearIn1_Bsy
GearIn1_Act
GearIn1_Abt
GearIn1_Err
GearIn1_ErrID
=
=
Veloc ity of Mast er axis
Ra tio Num er ato r
-
=
E g ea r r ati o
Ra tio Den o min ato r
Data type
MC_MoveVelocity
USINT
USINT
BOOL
MC_DIRECTION
MC_Buffer_Mode
BOOL
BOOL
BOOL
BOOL
BOOL
WORD
MC_GearIn
BOOL
MC_Buffer_Mode
BOOL
BOOL
BOOL
BOOL
BOOL
WORD
Chapter 12 Troubleshooting
RatioNumerator
x
R atioD enom inator
G ear rat io n umeberat or
x
G ear rati o denomi nat or
Initial value
1
2
FALSE
1
0
FALSE
0
11
11-131

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents