Data type – Festo Контроллеры двигателя SFC-LAC User Manual

Page 170

Advertising
background image

B. Supplementary information

B−8

Festo GDCP−SFC−LACI−IO−EN en 0812NH

Data type

The transmitted value (1, 2 or 4 data bytes as hex number)
depends on the data type of the object to be read or written.
The following data types are supported:

Type

Hex

Format

UINT8

2H

8 bits without sign: 0...255

INT8

8 bits with sign: −128 ... 127

UINT16

4H

16 bits without sign: 0 ... 65535

INT16

16 bits with sign: −32768 ... 32767

UINT32

8H

32 bits without sign: 0 ... (2

32

−1)

INT32

32 bits with sign: −2

31

... +(2

31

−1)

V−string

Corresponds to the preset string

Tab. B/4: Data types

All values are transferred in hexadecimal figures; one
character represents 4 bits; and is known as a tetrad <Tn>.
The first tetrad transferred contains the higher−value bits
of the value. Generally: Tetrad <Tn> contains the bits b

n

...b

n+3

Example: UINT8

Dec

26

Hex

1

A

Bin

0

0

0

1

1

0

1

0

b

7

b

6

b

5

b

4

b

3

b

2

b

1

b

0

Tetrad T

4

Tetrad T

0

Advertising