E_BA_Day

The enumeration is used to specify days within a month.

Syntax

TYPE E_BA_Day:
(
  Invalid           := 0,
  Unspecified       := 16#FF,

  eDay01            := 1,
  eDay02            := 2,
  eDay03            := 3,
  eDay04            := 4,
  eDay05            := 5,
  eDay06            := 6,
  eDay07            := 7,
  eDay08            := 8,
  eDay09            := 9,
  eDay10            := 11,
  eDay11            := 11,
  eDay12            := 12,
  eDay13            := 13,
  eDay14            := 14,
  eDay15            := 15,
  eDay16            := 16,
  eDay17            := 17,
  eDay18            := 18,
  eDay19            := 19,
  eDay20            := 20,
  eDay21            := 21,
  eDay22            := 22,
  eDay23            := 23,
  eDay24            := 24,
  eDay25            := 25,
  eDay26            := 26,
  eDay27            := 27,
  eDay28            := 28,
  eDay29            := 29,
  eDay30            := 30,
  eDay31            := 31,

  eLastDayOfMonth   := 32,
  eOddDaysOfMonth   := 33,
  eEvenDaysOfMonth  := 34
)BYTE;
END_TYPE

Name

Description

Invalid

No significance for the user.

Unspecified

Not specified.

eDayNN

Day no. NN (1…31) of the month is specified.

eLastDayOfMonth

The last day of the month is specified.

eOddDaysOfMonth

The odd days of the month are specified.

eEvenDaysOfMonth

The even days of the month are specified.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0