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

Page 584

Advertising
background image

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_<VarType>_<nElements>_1
2: SMC_CAMTable_<VarType>_<nElements>_2
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_<variable_type>_<number_of_elements>_1

This data structure represents an equidistant
curve table. It has the following components:
Table: ARRAY [0..<number of elements>-1]
OF ARRAY[0..1] OF <type of variables>

array of slave positions; the slave positions related to the
start and end position of the master must be enclosed

fEditorMasterMin: <type of variables>

storing of master values in Table is scaled to the range
[fEditorMasterMin, fEditorMasterMax] in SoftMotion
units

fEditorMasterMax: <type of variables>

fEditoSlaverMin: <type of variables>

storing of slave values in Table is scaled to the range
[fEditorSlaveMin, fEditorSLaverMax] in SoftMotion units

fEditorSlaveMax: <type of variables>

fTableMasterMin: <type of variables>

storing of master values in Table is scaled to the range
[fTableMasterMin, fTableMasterMax] in Table units

fTableMasterMax: <type of variables>

fTableSlaveMin: <type of variables>

storing of slave values in Table is scaled to the range
[fTableSlaveMin, fTableSlaveMax] in Table units

fTableSlaveMax: <type of variables>

Advertising