DOCA0258EN-00

Data Types

The TeSys Tera system supports the following data types:

Name

Description

Range

INT16

16-bit signed integer (1 word)

-32768...+32767

UINT16

16-bit unsigned integer (1 word)

0...65535

UINT32

32-bit unsigned integer (2 words)

0...4 294 967 295

UINT64

64-bit unsigned integer (4 words)

0...18 446 744 073 709 600 000

BOOL

1-bit data

0–1

ASCII

String of 8-bit alphanumeric character

Table of ASCII characters

BITMAP

16-bit field (1 word)

NOTE:

INT16, UINT16, UINT32, UINT64, and ASCII data are transmitted with big-endian coding by default:

  • The most significant byte is transmitted first.

  • The least significant byte is transmitted second.

32-bit variables saved on two 16-bit words (e.g. consumption meters) are in big-endian format:

  • The most significant word is transmitted first, then the least significant.

64-bit variables saved on four 16-bit words (e.g. dates) are in big-endian format:

  • The most significant word is transmitted first, and so on.

Date and Time

The date and time in data records is coded in four UINT16 data.
Data Type Range Description
1 UINT16 0x01–0x1F MSB: Day
0x01–0x0C LSB: Month
2 UINT16 0x00–0x63 MSB: Year

0–99 (0x00–0x63) corresponds to years 2000 to 2099

For example, 0x17 (23) corresponds to year 2023

0x00–0x17 LSB: Hours
3 UINT16 0x00–0x3B MSB: Minutes
0x00–0x3B LSB: Seconds
4 UINT16 0x0000–0x03E7

Milliseconds

For setting date and time, refer to the Date and Time Settings.

Modbus Register

The address of register number n is n-1. The tables detailed in this document provides both register numbers (in decimal format) and corresponding addresses (in hexadecimal format).

For example, the address of register number 20 is shown in the following table:

Data

Address (Decimal)

Address (Hexadecimal)

20

19

0x0013

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?