Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Communication Drivers

Data and register types

  • Last UpdatedAug 29, 2024
  • 2 minute read

When a client sends a read/write request to the MBTCP Communication Driver, the Communication Driver needs to know its data type and size. In order to determine this information, the MBTCP Communication Driver parses the item name to get the register number, data type, and size. The Communication Driver builds messages with items sorted by PLC, register type, register number, and topic name, allowing the Communication Driver to optimize the number of registers that can be read in one scan command.

The following table contains the types of data for the Modicon controllers, TSX Quantum, TSX Momentum, TSX Premium, Generic Modbus (4-Digit, 5-Digit, and 6-Digit), Compact 984, and Modicon Micro, supported by the MBTCP Communication Driver.

TSX Quantum/ TSX Momentum/
TSX Premium/ Generic Modbus/
Compact 984/ Modicon Micro Data Type

Range

Discrete (bit/Boolean)

0 (zero), 1 (one)

Signed Short Integer
(signed 16-bit integer)

-32768 to 32767

Unsigned Short Integer
(unsigned 16-bit integer)

0 (zero) to 65535

Signed Long Integer
(signed 32-bit integer)

-2147483648 to
2147483647

Unsigned Long Integer
(unsigned 32-bit integer)

0 (zero) to
4294967295

REAL (32-bit float)

32-bit IEEE

LONG REAL (64 bit float)

64-bit IEEE

Unsigned Long Long Integer
(unsigned 64-bit integer)

0 to
18,446,744,073,709,551,615

Signed Long Long Integer (signed 64-bit integer)

-9,223,372,036,854,775,808 to
9,223,372,036,854,775,807

String (ASCII)

246 characters (Read)

200 characters (Write)

Note: The unsigned integer data type "U" has a valid range of 0 (zero) to 2147483647 when accessed through DDE/SL client; for OPC clients the valid range is from 0 to 4294967295. System-defined types are not supported as block reads. A read on any of these data types returns only the first element.

The following table lists the PLC register types, the data types contained in the registers, and what each is processed as.

PLC Register Type

Data Type Contained in the Register

Processed As

Discrete Output (Coil)

Discrete

Real Time Data

Discrete Input

Discrete

Real Time Data

Holding Register

Discrete, Integer, Float, and String

Real Time Data

Input Register

Discrete, Integer, Float, and String

Real Time Data

Extended Register

Discrete, Integer, Float, and String

Real Time Data

TitleResults for “How to create a CRG?”Also Available in