Delta Electronics DVP15MC11T Operation Manual page 421

Table of Contents

Advertisement

DVP15MC11T Operation Manual
The Impact of MC_SetPosition on Actual Position
The actual position that MC_ReadActualPosition reads should also include the position offset
caused by MC_SetPosition after MC_SetPosition is executed.
The conversion formula is shown as below.
11
1
Programming Example
This example shows the impact that MC_SetPosition has on the execution of MC_ReadActualPosition.
1.
The variable table and program
Rel
Axis1
Rel_Ex
Rel_Done
Rel_Bsy
Rel_Act
Rel_Abt
Rel_Err
Rel_ErrID
TON1
SR1
SetPos
SetPos_Ex
SetPos_RefTp
SetPos_Done
SetPos_Bsy
SetPos_Err
SetPos_ErrID
ReadAtPos
ReadAtPos_Vald
ReadAtPos_Bsy
ReadAtPos_Err
ReadAtPos_ErrID
ReadAtPos_Pst
11-98
Pos it ion off set
A ct ualPos ition =
caus ed by
MC_S etPo sition
Variable name
Units per ou tput rot ation
+
/
The number of pulses rot ation)
* mechanic al gear ratio
Data type
MC_MoveRelative
USINT
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
WORD
TON
SR
SetPosition
BOOL
MC_REFERECNETYPE
BOOL
BOOL
BOOL
WORD
ReadActualPosition
BOOL
BOOL
BOOL
WORD
LREAL
The number of se rv o pos it ion
*
feeddbac k puls es
Initial value
1
FALSE
FALSE
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents