DVP-15MC Series Motion Controller Operation Manual
11-208
Function Data type Valid range
SlavePos
The position of the slave axis of the selected electronic
cam point.
LREAL
SlaveVel
The velocity of the slave axis of the selected electronic
cam point.
LREAL
SlaveAcc
The acceleration of the slave axis of the selected
electronic cam point.
LREAL
Output Update Timing
Name Timing for changing to TRUE
Timing for changing to FALSE
execution is completed.
When Execute changes to FALSE.
Busy
When Execute is TRUE.
When Done changes to TRUE.
When Error changes to TRUE.
Error
When any of the input
parameters is illegal.
When Execute changes from TRUE to FALSE.
Output Update Timing Chart
Execute
Done
Busy
Error
Error I D
Case 1 Case 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_CamReadPoint reads the information of a cam point in an electronic cam table.
If CamChangedPoint is FALSE, the instruction reads the parameters of a cam point which is before the
cam point information is modified by using DMC_CamSet.
If CamChangedPoint is TRUE, the instruction reads the parameters of a cam point which is after the
cam point information is modified by using DMC_CamSet.
Programming Example
1. The variable table and program
CamWr_CT USINT 1