ST_StartEnd

TYPE ST_StartEnd :
STRUCT
  todStartTime   : TOD;
  bStartEvent    : BOOL;
  tDuration      : TIME;
  todEndTime     : TOD;
  bEndEvent      : BOOL;
END_STRUCT
END_TYPE

todStartTime: Start time.

bStartEvent: Start event

tDuration: Switching duration.

todEndTime: End time.

bEndEvent: End event.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4020.32

Tc2_BABasic from v3.1.0.0