Festo Электромотор MTR-DCI User Manual

Page 266

Advertising
background image

B. Supplementary information

B-60

Festo P.BE-MTR-DCI-PB-EN en 1209a

Syntax

Explanation

“= ”, “?”

Initial character for write or read commands

IIII

Index in 4 hexadecimal digits (4H)

SS

Subindex in 2 hexadecimal digits (2H)
If the addressed object does not have an indexed para-
meter, subindex <00> will be specified.

“:”

Separating character

<value>

Data in a format determined by the data type

<PS>

Checksum in 2 hexadecimal digits (2H)

<CR>

End character <Carriage Return> ($0D)

Tab. B/11: Elements of syntax of a CI command/response

<value>

The transferred value (1, 2 or 4 data bytes as a hex number)
depends on the data type of the object to be read or written
(see section B.1 or B.2.4).

The following data types are supported:

Type

Hex

Format

UINT8

2H

8 bits without plus/minus sign: 0...255

INT8

8 bits with plus/minus sign: -128 ... 127

UINT16

4H

16 bits without plus/minus sign:
0 ... 65535

INT16

16 bits with plus/minus sign:
-32768 ... 32767

UINT32

8H

32 bits without plus/minus sign:
0 ... (2

32

-1)

INT32

32 bits with plus/minus sign:
-2

31

... +(2

31

-1)

V-string

corresponds to the preset string

Tab. B/12: Data types

Advertising