beautypg.com

2 smc_camxyva, Smc_camxyva, L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 105

background image

DMS 5.2 EN 03/2011 TD17

L

105

L-force | PLC Designer - SoftMotion

CAM editor

Cam data structures

5.7.2

SMC_CAMXYVA

An XYVA cam consists of an array of SMC_CAMXYVA. Each variable of that array describes

a point on the cam using dX (master position), dY (slave position), dV (first derivative dY/

dX; corresponds to the slave velocity at constant master velocity 1) and dA (second

derivative d²Y/dX²; corresponds to the slave acceleration at constant master velocity 1).

The start and end points of the cam must always be included.

5.7.3

SMC_CAMTable___1

An equidistant cam table is described in this data structure. The individual slave positions

are stored in Table: ARRAY[0..-1] OF . The start and

end points of the cam must always be included.
The variables fEditorMasterMin, fEditorMasterMax, fTableMasterMin, fTableMasterMax

describe an additional scaling of the tables, whereby the range of definitions/values is

stored in SoftMotion units (fEditorMaster, fEditorSlave) and scaled on table units

(fTableMaster, fTableSlave).

5.7.4

SMC_CAMTable___2

A non-equidistant cam table is stored in Table: ARRAY[0..-1] OF

ARRAY[0..1] OF . In contrast to the equidistant format, the first element is

the master position and the second is the slave position.