U_BA_ClassValue

Structure for entering object values. The UNION data type allows a meaningful value to be written to one of its members. All other elements start at the same address in the memory area and are thus also written to.

Syntax

TYPE U_BA_ClassValue :
UNION
  bVal      : BOOL;
  rVal      : REAL; 
  udiVal    : UDINT;
END_UNION
END_TYPE

Name

Type

Description

bVal

BOOL

Binary values.

rVal

REAL

Analog floating point values.

udiVal

UDINT

Multistate values as UDINT.