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
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...