Chapter 12 Troubleshooting
11
Programming Example
The execution effect of the MC_CamOut instruction is described in the following
example. The cam curve is planned as below.
The key points of the cam curve
No.
Master axis
position
Slave axis
position
Velocity
Acceleration
1
0
0
0
0
2
90
100
0
0
3
180
300
0
0
4
360
0
0
0
Explanation:
Cam period of the master
axis and slave axis
360
MasterScaling and
SlaveScaling
1
MasterOffset and
SlaveOffset
0
MasterAbsolute
Relative
SlaveAbsolute
Relative
Periodic
Periodic
ActivationPosition
Relative axis position: 100
StartMode
The shortest way
The variable table and program
Variable name
Data type
Initial value
CamIn
MC_CamIn
CamIn_Ex
BOOL
CamIn_InSync
BOOL
CamIn_EndOP
BOOL
CamIn_Bsy
BOOL
CamIn_Act
BOOL
CamIn_Abt
BOOL
11-171
Summary of Contents for DVP15MC11T
Page 9: ...Memo viii...
Page 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Page 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Page 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Page 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Page 249: ...DVP15MC11T Operation Manual _8 8 178...
Page 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Page 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Page 549: ...DVP15MC11T Operation Manual A MEMO A 16...