E_BA_ToggleMode

The enumeration is used to interpret the function of a boolean change.

Syntax

TYPE E_BA_ToggleMode:
(
  Invalid        := 0,

  eSwitch        := 1,
  ePushButton    := 2
)BYTE;
END_TYPE

Name

Description

Invalid

Invalid, has no meaning.

eSwitch

The output value retains its value when changed. The object has assumed the function of a switch.

ePushButton

The output value changes its value for one cycle and then automatically restores the old state. The object has assumed the function of a push button.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc2_BA2_Common from V2.1.20.0