MC_TRACK_TR (STRUCT)

 

TYPE MC_TRACK_TR : STRUCT

Part of the MC_TRACK_REF data structure.

InOut:

Name

Type

Comment

OnCompensation

LREAL

A delay (value positive) or an early switch-on (value negative) can be set. The time is given in seconds. May affect whether the switch is inverted or not. See the output SwitchCorrupted of MC_DigitalCamSwitch. Always used for switching ON, regardless the direction of the axis.

OffCompensation

LREAL

A delay (value positive) or an early switch-off (value negative) can be set. The time is given in seconds. May affect whether the switch is inverted or not. See the output SwitchCorrupted of MC_DigitalCamSwitch. Not used in time-based mode. Always used for switching OFF, regardless the direction of the axis.

Hysteresis

LREAL

Additionally, a hysteresis can be set, which avoids a permanent switching of the output, which might occur e.g. if the servo-controller is exactly in switch-position and slightly swinging around that position due to the position control. A track won't switch if the distance to the last switching position is smaller than this variable.