You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


If the Cam table is stored as a point array (byType = 1 or 2), then these values could be used to define a scaling of the range of values of the table to values used by MC_CamIn.

The master values are only scaled for non-equidistant tables, byType = 2.

The CODESYS Cam-Editor will set the fTable* values equal to the fEditor* values, so no scaling is done.

Example

fTableMasterMin = 0, fTableMasterMax = 1
fEditorMasterMin = 2, fEditorMasterMax = 4

Then the master positions in the Cam-table will be shifted by 2 units and scaled by a factor of two.
A master Position of 0 results in the master value 2, a master position of 0.5 results in the master value 3 etc. 



See also....

  • No labels