Chapter 11 Motion Control Instructions
11-225
DMC_CamWriteTappetValue
FB/FC
Explanation Applicable model
FB
DMC_CamWriteTappetValue is used for setting the parameters for a
tappet point.
DMC_CamWriteTappetValue
Execute
DMC_CamWriteTappetValue_instance
CamTable
Done
Busy
Error
ErrorID
TappetNum
MasterPos
PositiveMode
NegativeMode
Input Parameters
Parameter name Function Data type
Validation timing
Execute
executed when E
changes from FALSE
BOOL
TRUE or FALSE
(FALSE)
-
CamTable
table based on which the
between the master axis
USINT
1~64
(The variable value
must be set)
When Execute
changes from
FALSE to TRUE.
TappetNum
The number of the
tappet point
UINT
(The variable value
changes from
MasterPos
Master position of the
tappet point
LREAL 0, positive number
changes from
PositiveMode
The mode of the tappet
point when the axis runs
forward and passes it.
PositiveMode
_Type
0:PositiveDisable
1:PositiveOn
2:PositiveOff
3:PositiveInvert
When Execute
changes from
FALSE to TRUE.
NegativeMode
The mode of the tappet
point when the axis runs
backward and passes it.
NegativeMode
_Type
0:NegativeDisable
1:NegativeOn
2:NegativeOff
3:NegativeInvert
When Execute
changes from
FALSE to TRUE.
Output Parameters
Parameter name
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