Chapter 11 Motion Control Instructions
11-207
DMC_CamReadPoint
FB/FC Explanation
FB
DMC_CamReadPoint reads the information of a cam point.
DVP15MC11T-
Input Parameters
Parameter name Function Data type
Validation timing
Execute
The instruction is executed
when Execute changes from
BOOL
TRUE or FALSE
(FALSE)
-
CamTable
The number of the cam table
based on which the cam
relationship between the
master axis and slave axis is
USINT
1~64
(The variable
value must be set)
When Execute
changes from
FALSE to TRUE.
CamChangedPoint
FALSE, the instruction reads
the cam point information
which is before the cam point
has been modified.
If CamChangedPoint is
TRUE, the instruction reads
the cam point information
which is after the cam point
BOOL TRUE/FALSE
When Execute
changes from
FALSE to TRUE.
CamPointNum
The number of the cam point
which is to be selected.
UINT
1~2048
(0)
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
MasterPos
The position of the master axis of the selected
electronic cam point.
LREAL
0, positive
number
DMC_CamReadPoint
Execute Done
DMC_CamReadPoint_instance
CamTable Busy
Error
ErrorID
MasterPos
SlavePos
SlaveAcc
SlaveVel
CamChangedPoint
CamPointNum