Array of smc_camxyva, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 584

L-force | PLC Designer
General Editors
582
DMS 4.1 EN 03/2011 TD29
byInterpolationQuality : BYTE
(in case of byType=1 or byType=2)
interpolation degree, is 1 in case of linear (default) or 3 in case of
cubic interpolation
pce: POINTER TO BYTE
pointer to actual data element depending on type:
1: SMC_CAMTable_
2: SMC_CAMTable_
3: ARRAY OF SMC_CAMXYVA
nTappets: INT
number of switch actions
pt: POINTER TO SMC_CAMTappet
pointer to ARRAY OF SMC_CAMTappet
strCAMName:STRING
name of the CAM
ARRAY OF SMC_CAMXYVA
A XYVA-CAM is represented by an array of variable of type SMC_CAMXYVA describing
each point of the CAM by means of
dX (master position)
dY (slave position)
dV (first derivative dY/dX; slave velocity)
dA (second derivative d²Y/dX²; slave acceleration).
At a minimum the start and end point of the CAM must be enclosed in the array.
SMC_CAMtable_
This data structure represents an equidistant
curve table. It has the following components:
Table: ARRAY [0..
OF ARRAY[0..1] OF
array of slave positions; the slave positions related to the
start and end position of the master must be enclosed
fEditorMasterMin:
storing of master values in Table is scaled to the range
[fEditorMasterMin, fEditorMasterMax] in SoftMotion
units
fEditorMasterMax:
fEditoSlaverMin:
storing of slave values in Table is scaled to the range
[fEditorSlaveMin, fEditorSLaverMax] in SoftMotion units
fEditorSlaveMax:
fTableMasterMin:
storing of master values in Table is scaled to the range
[fTableMasterMin, fTableMasterMax] in Table units
fTableMasterMax:
fTableSlaveMin:
storing of slave values in Table is scaled to the range
[fTableSlaveMin, fTableSlaveMax] in Table units
fTableSlaveMax: