ST_GENIbusMValue

Structure with the contents of a read device value, e.g. flow rate or rotational speed.

TYPE ST_GENIbusMValue :
STRUCT
  lrValue      : LREAL;
  lrPrefix     : LREAL;
  sUnit        : STRING(8);
  eDataSize    : E_GENIBusMDataSize;
  byValueH     : BYTE;
  byValueL1    : BYTE;
  byValueL2    : BYTE;
  byValueL3    : BYTE;
  byInfoHead   : BYTE;
  byUnitIndex  : BYTE;
  byZeroH      : BYTE;
  byRangeZeroL : BYTE;
END_STRUCT
END_TYPE

Name

Type

Description

lrValue

LREAL

Final value determined from the raw data.

lrPrefix

LREAL

Sign and division (+/- and e.g. 0.1).

sUnit

STRING

Unit.

eDataSize

E_GENIBusMDataSize

Size of the measured value (8, 16, 24 or 32 bytes).

byValueH

BYTE

High-byte of the measured value.

byValueL1

BYTE

Low-Byte

byValueL2

BYTE

Low-Byte

byValueL3

BYTE

Low-Byte

byInfoHead

BYTE

Scaling information

byUnitIndex

BYTE

Sign and unit – coded.

byZeroH

BYTE

Zero point in the case of normal range zero-point scaling OR high-byte zero point in the case of extended scaling.

byRangeZeroL

BYTE

Range in the case of normal range zero-point scaling OR low-byte zero point in the case of extended scaling.

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_GENIbus from v3.3.0.0