Data type – Festo Электромотор MTR-DCI User Manual
Page 281

C. The Command Interpreter (CI)
C-7
Festo P.BE-MTR-DCI-DN-EN en 1209a
Syntax
Explanation
“=”, “?”
Initial character for write or read commands
IIII
Index as 4 hexadecimal digits
SS
Subindex as 2 hexadecimal digits
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 as 2 hexadecimal digits (see section C.1.3)
<CR>
End character <Carriage Return> ($0D)
Tab. C/3: Elements of syntax of a CI command/response
Data type
The transmitted value (1, 2 or 4 data bytes as hex digits)
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 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. C/4: Data types