DVP-15MC Series Motion Controller Operation Manual
11-214
11
1
Output Update Timing Chart
E xec ute
Done
Bus y
E rror
Error I D
Case 1
Ca se 2
Case 1
:
When
Execute
changes from FALSE to TRUE,
Busy
changes to TRUE. When the instruction
execution is completed,
Done
changes to TRUE and
Busy
changes to FALSE. When
Execute
changes to FALSE,
Done
changes to FALSE.
Case 2
:
When an error occurs,
Error
changes to TRUE and
ErrorID
shows corresponding error code.
When
Execute
changes from TRUE to FALSE,
Error
changes to FALSE and the value of
ErrorID
is cleared to 0.
Functions
DMC_CamSet is used for making the set cam point information effective. At first, use the
DMC_CamWritePoint instruction to set corresponding cam point information in an electronic cam
table. Then execute the DMC_CamSet instruction to make the new cam point information effective.
If the DMC_CamSet instruction is executed after the MC_CamIn instruction is executed, the cam
curve after being modified will be effective in the next cycle.
If the DMC_CamSet instruction is executed before the MC_CamIn instruction is executed, the cam
curve after being modified will take effect immediately.
Precaution
If DMC_CamSet is used for making a modified cam curve effective, make sure that the cam curve is
called for use by one MC_CamIn instruction at most. If the cam curve is called for use by multiple
MC_CamIn instructions, the timing for making the set cam curve effective is not sure after
DMC_CamSet is executed.
Programming Example
1.
The variable table and program
Variable name
Data type
Initial value
CamWr
DMC_CamWritePoint
CamWr_Ex
BOOL
FALSE
CamWr_CT
USINT
1
CamWr_CP
UINT
2
CamWr_MP
LREAL
180.0
CamWr_SP
LREAL
540.0
CamWr_SV
LREAL
0.0
CamWr_SA
LREAL
0.0
CamWr_Done
BOOL
CamWr_Bsy
BOOL
CamWr_Err
BOOL
CamWr_ErrID
WORD
CamSe
DMC_CamSet
CamSe_CT
USINT
1
CamSe_Done
BOOL
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...