Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The instance "20 04 24 7B 2C 22 2C 2C" can also be decoded manually as follows:

20 0424 672C 222C 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:

Image Added

It can be decoded as follows:

T → O 

, , Assem127

RPISizeFormat
emptyemptyAssem127

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:

Image Added

Since the field for the length is empty ($ Length in bytes), the Membe fields fields should be evaluated:

Image Added

The Assemblys Member can be decoded as follows:

,,

32,,

,Assem44;


Member SizeMember Reference
First Memberemptyempty
Second Member32empty
Third MemberemptyAssem44

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:

Image Added

The "total length in bytes" is defined as "1".

Now the total size of Assem127 can be defined:


Member SizeMember ReferenceSize in Byte
First Memberemptyempty
Second Member32empty4 (32Bit)
Third MemberemptyAssem441




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:

Image Added

It can be decoded as follows:

O → T

,,Assem126,

RPISizeFormat
emptyemptyAssem126

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:

Image Added

Since the field for the length is empty ($ Length in bytes), the Membe fields fields should be evaluated:

Image Added

The Assemblys Member can be decoded as follows:

,,

,Assem34;


Member SizeMember Reference
First Memberemptyempty
Second MemberemptyAssem34

This means, the first Member is reserved, the second one references to Assem34.

Go to Assem34:

Image Added

The "total length in bytes" is defined as "1".

Now the total size of Assem126 can be defined:


Member SizeMember ReferenceSize in Byte
First Memberemptyempty
Second MemberemptyAssem341




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