Manual
ibaBM-DP
138
Issue 1.7
13.2.10 Mode B – IN-OUT 28 Reals
This mode is used to read / write up to 28 real values and 32 digital signals from / to a
SIMATIC S7 (resp. TDC, SD) as PROFIBUS master. Due to limitations of the SIMATIC
real data type only 28 values can be used (IN 122 Bytes/OUT 122 Bytes).
13.2.10.1 Output data
OUTPUT DATA
Byte no.
Offset
Contents
Remark
1
0
not used
2
1
not used
3
2
not used
4
3
not used
5
4
7 6 5 4 3 2 1 0 Dig. outputs channel 0...7
6
5
15 14 13 12 11 10 9 8 Dig. outputs channel 8...15
7
6
23 22 21 20 19 18 17 16 Dig. outputs channel 16...23
8
7
31 30 29 28 27 26 25 24 Dig. outputs channel 24...31
9
8
MSB
Analog output channel 0
Real (4 byte), Big Endian Motorola
10
11
12
LSB
12
Analog outputs in total:
28 Longs (Real), Big Endian Motorola
117
116
MSB
Analog output channel 27
Real (4 byte), Big Endian Motorola
118
119
120
LSB
121
120
not used
customized functions possible (e.g. status, watchdog etc.)
122
121
not used
13.2.10.2 Input data
INPUT DATA
Byte no.
Offset
Contents
Remark
1
0
FO message counter-A
incremented by each new FO message
2
1
FO reception status
Bit 7
:FO reception OK;
Bit 3
: 0 = integer, 1 = real
3
2
reserved
4
reserved
5
4
7 6 5 4 3 2 1 0 Dig. inputs channel 0...7
6
5
15 14 13 12 11 10 9 8 Dig. inputs channel 8...15
7
6
23 22 21 20 19 18 17 16 Dig. inputs channel 16...23
8
7
31 30 29 28 27 26 25 24 Dig. inputs channel 24...31
9
8
MSB
Analog input channel 0
Real (4 byte), Big Endian Motorola
10
11
12
LSB
12
Analog inputs in total:
28 Longs (Real), Big Endian Motorola
117
116
MSB
Analog input channel 27
Real (4 byte), Big Endian Motorola
LSB
121
120
Device-ID of FO transmitter see list of iba device-IDs
122
121
FO message counter-B
incremented by each new FO message