...
The instance "20 04 24 7B 2C 22 2C 2C" can also be decoded manually as follows:
20 04 | 24 67 | 2C 22 | 2C 2C |
---|---|---|---|
Logical Segment, Class ID 0x04(4) | Configuration path, instance ID 0x7B (123) | O2T Connection Point, output Assembly instance ID 0xBE (34) | T2O Connection Point, input Assembly instance ID 0x04 (44). |
Configure Input assembly length
The input assembly length is defined in the field “T->O size” and field “T->O format” of Connection 9:
It can be decoded as follows:
T → O
, , Assem127
RPI | Size | Format |
---|---|---|
empty | empty | Assem127 |
When the "Size" of the T=>O default description is empty, the format has to be evaluated.
In this case, Assem127 is used to define the format. Go to the definition of Assem127, in the EDS:
Since the field for the length is empty ($ Length in bytes), the Membe fields fields should be evaluated:
The Assemblys Member can be decoded as follows:
,,
32,,
,Assem44;
Member Size | Member Reference | |
---|---|---|
First Member | empty | empty |
Second Member | 32 | empty |
Third Member | empty | Assem44 |
This means, the first Member is reserved, the second one has a size of 4Byte (32Bit) and the third one references to Assem44.
Go to Assem44:
The "total length in bytes" is defined as "1".
Now the total size of Assem127 can be defined:
Member Size | Member Reference | Size in Byte | |
---|---|---|---|
First Member | empty | empty | |
Second Member | 32 | empty | 4 (32Bit) |
Third Member | empty | Assem44 | 1 |
Total length of Input Assembly Assem127 | 5 |
Configure Output assembly length
The output assembly length is defined in the field “O->T size” and field “O->T format” of Connection 9:
It can be decoded as follows:
O → T
,,Assem126,
RPI | Size | Format |
---|---|---|
empty | empty | Assem126 |
When the "Size" of the O=>T default description is empty, the format has to be evaluated.
In this case, Assem126 is used to define the format. Go to the definition of Assem126, in the EDS:
Since the field for the length is empty ($ Length in bytes), the Membe fields fields should be evaluated:
The Assemblys Member can be decoded as follows:
,,
,Assem34;
Member Size | Member Reference | |
---|---|---|
First Member | empty | empty |
Second Member | empty | Assem34 |
This means, the first Member is reserved, the second one references to Assem34.
Go to Assem34:
The "total length in bytes" is defined as "1".
Now the total size of Assem126 can be defined:
Member Size | Member Reference | Size in Byte | |
---|---|---|---|
First Member | empty | empty | |
Second Member | empty | Assem34 | 1 |
Total length of Input Assembly Assem127 | 1 |
Configure configuration assembly length
The configuration assembly length is automatically calculated by the data length of cfg. #1 and cfg. #2 data segment.
The user is not allowed to directly edit this length.
Configure cfg. #1 data segment
example project provided by Stephane in SUPFR-86193