Chapter 11 Motion Control Instructions
11-41
11
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
Pos ition
20000
10000
Dis tanc e= 10000
Dist ance =-1000 0
P osit io n
200 00
100 00
S ta rt P osi ti on
Dista nce>0
D istance <0
Star t Po sitio n
Tar g et P osi tio n
Ta rg et Po siti on
Time
Time
0
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...