E_StartEnd

TYPE E_StartEnd :
(
  eSTARTTIME_ENDTIME    := 1,
  eSTARTTIME_DURATION   := 2,
  eSTARTTIME_ENDEVENT   := 3,
  eSTARTEVENT_ENDTIME   := 4,
  eSTARTEVENT_DURATION  := 5,
  eSTARTEVENT_ENDEVENT  := 6
) INT := Undefined;
END_TYPE

eSTARTTIME_ENDTIME: Selection of start/end time. If the start time is equal or greater the end time, the end is allocated to the next day.

eSTARTTIME_DURATION: Selection of start time/duration.

eSTARTTIME_ENDEVENT: Selection of start time/end event.

eSTARTEVENT_ENDTIME: Selection of start event/end time. If the start time is equal or greater the end time, the end is allocated to the next day.

eSTARTEVENT_DURATION: Selection of start event/duration.

eSTARTEVENT_ENDEVENT: Selection of start event/end event.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4020.32

Tc2_BABasic from v3.1.0.0