Chapter 11 Motion Control Instructions
11-213
DMC_CamSet
FB/FC Explanation
FB
DMC_CamSet is used for making the modified cam point information effective.
DVP15MC11T-
DMC_CamSet
Execute Done
DMC_CamSet_instance
CamTable Busy
Error
ErrorID
Input Parameters
Parameter name Function Data type
Validation timing
Execute
executed when Execute
changes from FALSE to
BOOL
TRUE or FALSE
(FALSE)
-
CamTable
table based on which the
cam relationship between
the master axis and slave
USINT
1~64
(The variable
value must be set)
When Execute
changes from
FALSE to TRUE.
Output Parameters
Function Data type Valid range
Done TRUE when the instruction execution is completed. BOOL TRUE/FALSE
Busy TRUE when the instruction is being executed. BOOL TRUE / FALSE
Error
TRUE when there is an error in the execution of the
instruction.
BOOL TRUE / FALSE
ErrorID
Contains the error code when an error occurs. Please
refer to section 12.2.
WORD
Output Update Timing
Name Timing for changing to TRUE
Timing for changing to FALSE
Done
When the instruction
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.