TRACK_REF
The data type TRACK_REF contains the parameters of a digital cam track for a digital cam controller MC_DigitalCamSwitch.
TYPE TRACK_REF :
STRUCT
ModuloPositions : BOOL := TRUE; (* all cam positions are interpreted as modulo positions when TRUE *)
ModuloFactor : LREAL := 360; (* e. g. 360 degrees *)
OnCompensation : LREAL; (* compensation time [s] *)
OffCompensation : LREAL; (* compensation time [s] *)
Hysteresis : LREAL; (* distance from last switch position (+ or -) *)
BreakRelease : BOOL; (* allow break to be released when TRUE, break cams will be activated when FALSE *)
Force : BOOL; (* override all digital cams and set track ON *)
Disable : BOOL; (* override all digital cams and set track OFF - overrides Force as well *)
END_STRUCT
END_TYPE
ModuloPositions  | If Modulo TRUE, all positions are interpreted as modulo. The cam function is repeated cyclically. The parameter ModuloFactor is used for calculating the modulo cycle.  | 
ModuloFactor  | ModuloFactor indicates the length of a modulo cycle in the positioning unit of the axis and is only used if Modulo TRUE.  | 
OnCompensation  | Compensation time for the rising edge of the cam in [s]. For negative values of OnCompensation the switching time is brought forward, otherwise it is delayed.  | 
OffCompensation  | Compensation time for the falling edge of the cam in [s]. For negative values of OffCompensation the switching time is brought forward, otherwise it is delayed.  | 
Hysteresis  | not implemented.  | 
BreakRelease  | Brake enable for brake cams on this cam track  | 
Force  | The digital output is activated independent of the cams on this track. Disable has priority over Force.  | 
Disable  | The digital output is deactivated independent of the cams on this track. Disable has priority over Force.  | 
Method of function of the time compensation
