X90 mobile modules
X90 mobile system User's manual V 1.20 - Translation of the original manual
221
Large segments
Segments are limited to a maximum of 63 bytes. This means they can be larger than the active MTU. These large
segments are divided among several sequences when transferred. It is possible for sequences to be completely
filled with payload data and not have a control byte.
Information:
It is still possible to subdivide a message into several segments so that the size of a data packet does
not also have to be limited to 63 bytes.
Example
3 autonomous messages (7 bytes, 2 bytes and 9 bytes) are being transmitted using an MTU with a width of 7 bytes.
The configuration allows the transfer of large segments.
Message 1:
A1
A2
A3
A4
A5
A6
A7
B1
B2
D1
D2
D3
D4
D5
D6
D7
D8
No more data to transmit
-
-
...
-
Message 2:
Message 3:
Sequence for bus cycle 1
Sequence for bus cycle 2
Sequence for bus cycle 3
Sequence for bus cycle 4
Sequence for bus cycle 5
Sequence for bus cycle 6
D9
A2
A3
A4
A1
A7
A5
A6
C1
B1
B2
C2
C3
D1
D2
D3
D4
D5
D6
D7
D8
-
-
-
-
-
-
-
-
-
-
-
-
-
C0
-
-
-
-
-
-
Large segments
-
D9
Transmit/Receive array
With 7 USINT elements according to
the configurable MTU size
Figure 56: Transmit/receive array (large segments)
First, the messages must be split into segments. The ability to form large segments means that messages are split
up less frequently, which results in fewer control bytes generated.
Large segments allowed → Max. segment length = 63 bytes
•
Message 1 (7 bytes)
➯
First segment = Control byte + 7 bytes of data
•
Message 2 (2 bytes)
➯
First segment = Control byte + 2 bytes of data
•
Message 3 (9 bytes)
➯
First segment = Control byte + 9 bytes of data
•
No more messages
➯
C0 control byte
A unique control byte must be generated for each segment. In addition, the C0 control byte is generated to keep
communication on standby.
C1 (control byte 1)
C2 (control byte 2)
C3 (control byte 3)
- SegmentLength (7)
=
7 - SegmentLength (2)
=
2 - SegmentLength (9)
=
9
- nextCBPos (0)
=
0 - nextCBPos (0)
=
0 - nextCBPos (0)
=
0
- MessageEndBit (1)
=
128 - MessageEndBit (1)
=
128 - MessageEndBit (1)
=
128
Control byte
Σ
135 Control byte
Σ
130 Control byte
Σ
137
Table 25: Flatstream determination of the control bytes for the large segment example