AX-Series Motion Controller Instructions Manual Chapter 2
494
2.4.1.5 DMC_SP_CamCurveWrite
Supported Devices: AX-308E, AX-8
Servo Press industry-specific Function block, the purpose is to generate an electronic cam table according to the input key point
information, and calculate the SPM upper limit value and the Master Axis speed according to the user input motor speed and
gear ratio. At the same time, it provides a function of detecting curve reversal. Once a reversal is detected, a warning will appear
to prevent the curve from reversing after processing.
FB/FC Instruction Graphic Expression ST LANGUAGE
FB DMC_SP_CamCurveWrite
DMC_SP_CamCurveWrite(
CamTable: = _parameter,
bExecute: = _parameter,
MachParameters: = _parameter,
lrMasterPoint: = _parameter,
lrSlavePoint: = _parameter,
CamCurveType: = _parameter,
bVelEnable: = _parameter,
lrVelValue: = _parameter,
bAccEnable: = _parameter,
lrAccValue: = _parameter,
wWriteAmount: = _parameter,
bDetectMotionInvert: = _parameter,
lrTolerenceOfDegree: =
_parameter,
bDone=> _parameter,
bBusy=> _parameter,
bError=> _parameter,
dwErrorID=> _parameter,
lrSPMbound=> _parameter,
lrMasterSpeed=> _parameter);
Inputs
Name Function Data Type
Setting Value
(Default)
Timing to Take Effect
bExecute
Run the function block control
bit
BOOL False/True (False)
Start to run with rising-
edge signal, only one
MachParameters
ServoPress machine
electromechanical parameters
ReferenceDMC_
SP_MACHINE_
PARAMETERS*
3
-
bBusy=FALSE &
bExecute is at rising-edge
lrMasterPoint
Key-points of master axis
[0..63] LREAL
0~360(0.0)
bBusy=FALSE &
bExecute is at rising-edge
lrSlavePoint
Key-points of slave axis for
DMC_CamKeyPointWrite
[0..63] LREAL
Array
0~360(0.0)
bBusy=FALSE &
bExecute is at rising-edge
CamCurveType
Curve Type Setup for
DFB_CamKeyPointWrite
DMC_CamCuryv
eType
Array[0..62]
0~9*
2
(0)
bBusy=FALSE &
bExecute is at rising-edge
bVelEnable
Velocity Enable Configurations
WORD Array
False/True (False)
bBusy=FALSE &
bExecute is at rising-edge
lrVelValue
LREAL*
1
(0)