CamTrackData

The data structure for the cam switch (ST_CamTrackData) contains the windows and their activation direction as well as a minimum switching time of the output. The following applies:

  • The data does not have to be stored in sorted order in the array.
  • The array does not have to be filled completely.
  • The set windows may overlap.

 

Variable name

Description

lrLimitLeft

Data type – LREAL

Left limit of the cam window

lrLimitRight

Data type – LREAL

Right limit of the cam window

eDirection

Data type – E_Direction

  • Off – The window is not evaluated.
  • Left – The window is activated from the ascending direction of the data source value.
  • Right – The window is activated from the descending direction of the data source value.
  • Both – The window is activated from the ascending and descending direction of the data source value.

lrSwitchTime

Data type – LREAL

Minimum switching time of the output in [ms] or switching time of a time cam in [ms] if the left limit is also equal to the right limit.