AX-Series Motion Controller Instructions Manual Chapter 2
362
2.3.2.21 DMC_CamKeyPointWrite
Supported Devices: AX-308E, AX-364E
DMC_CamKeyPointWrite writes key cam points by selecting a curve type and generating corresponding cam curve based on
related parameters. After the new cam curve is generated, the selected cam table will be changed accordingly.
FB/FC Instruction Graphic Expression
FB DMC_CamKeyPointWrite
DMC_CamKeyPointWrite_instance(
CAM : =,
bExecute : =,
lrKeyPointX : =,
lrKeyPointY : =,
CamCurveType : =,
bVelocityEnable : =,
lrVelocity : =,
bAccelerationEnable : =,
lrAcceleration : =,
wWriteAmount : =,
bDone =>,
bBusy =>,
bError =>,
ErrorID =>);
Inputs
Name
Function
Data
Type
Setting Value
Timing to Take Effect
bExecute
The instruction is run
when bExecute changes
BOOL
True/False
(False)
-
lrKeyPointX
The master axis positions
of key points which are
set
LREAL
[0..63]
Negative, Positive or 0
(0)
When bExecute is True
and the output bBusy is
False.
lrKeyPointY
The slave axis positions of
key points which are set.
(Unit: user unit)
LREAL
[0..63]
Negative, Positive or 0
(0)
When bExecute is True
and the output bBusy is
False.