A.1.4 bit array, A.1.5 integer32, A.1.4 – Festo Кабели и принадлежности User Manual
Page 141: Bit array, A.1.5, Integer32
A. Technical appendix
A−5
Festo P.BE−SPC200−COM−PDP−E N en 0901c
A.1.4 Bit array
Data type
Coding
Value range
Resolution
Length
Bit array
35
Ĉ
Ĉ
2 bytes
A bit sequence is a grouping of 16 Boolean variables in two
bytes.
Bit
8
7
6
5
4
3
2
1
Byte 1
15
14
13
12
11
10
9
8
Byte 2
7
6
5
4
3
2
1
0
A.1.5 Integer32
Data type
Coding
Value range
Resolution
Length
Integer32
42
−214.748,3648 ...
+214.748,3647
10
−4
=0.0001
4 bytes
An integer32 value is a 32−bit signed whole number. Coding is
in complement of two. The resolution is 0.0001. That means,
the value is interpreted as 0.1 Ģm, 0.0001 Kg etc.
Bit
8
7
6
5
4
3
2
1
Byte 1
SN
2
30
2
29
2
28
2
27
2
26
2
25
2
24
Byte 2
2
23
2
22
2
21
2
20
2
19
2
18
2
17
2
16
Byte 3
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
Byte 4
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
SN (sign): 0 = positive numbers or zero; 1 = negative numbers
The highest−value bit (MSB) is the bit after the sign bit (SN) in
the first byte.