AX-Series Motion Controller Instructions Manual Chapter 2
490
2.4.1.4 DMC_SP_CamCrankCurve
Supported Devices: AX-308E, AX-8
Servo Press industry-specific FB, generates cam key point information according to the crankshaft curve algorithm, and
generates an electronic cam table through DMC_SP_CamCurveWrite FB. Users can use the electronic cam table for Servo
Press processing.
FB/FC Instruction Graphic Expression ST Language
FB DMC_SP_CamCrankCurve
DMC_SP_CamCrankCurve(
bExecute: = _parameter,
bDone=> _parameter,
bBusy=> _parameter,
bError=> _parameter,
dwErrorID=> _parameter,
lrMasterPoint=> _parameter,
lrSlavePoint=> _parameter,
CamCurveType=> _parameter,
bVelEnable=> _parameter,
lrVelValue=> _parameter,
bAccEnable=> _parameter,
lrAccValue=> _parameter,
wWriteAmount=> _parameter);
Inputs
Name Function Data Type
Setting Range
(Default)
Timing to Take Effect
bExecute
Run the function block
BOOL False/True (False) -
Outputs
Output Range (Default Value)
bDone
Status when FB finish
generating coin key-points
BOOL False/True (False)
bBusy
Status when FB is busy to
generate key-points
BOOL False/True (False)
bError
Status when FB has problems
generating key-points
BOOL False/True (False)
dwErrorID Error Code when running FB DWORD DWORD(0)
lrMasterPoint
Master positions for
DMC_SP_CamCurveWrite
[0..63] LREAL Array 0.0 ~ 360.0(0.0)
lrSlavePoint
Slave positions for
DMC_SP_CamCurveWrite
[0..63] LREAL Array 0.0 ~ 360.0(0.0)