EasyManua.ls Logo

Delta DVP-15MC Series - Page 511

Delta DVP-15MC Series
972 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 11 Motion Control Instructions
11-41
Programming Example 1
The programming example is as follows when one MC_MoveRelative instruction is used.
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
Rel
MC_MoveRelative
Rel _Ex
BOOL
FALSE
Rel _BM
MC_Buffer_Mode
0
Rel _Done
BOOL
Rel _Bsy
BOOL
Rel _Act
BOOL
Rel _Abt
BOOL
Rel _Err
BOOL
Rel _ErrID
WORD
Position
20000
10000
Distance=10000 Distance=-10000
Position
20000
10000
Start Position
Distance>0 Distance<0
Star t Po sition
Target Position
Target Position
Time Time
0

Table of Contents

Related product manuals