Versions Compared

Key

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

...

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

The Instances Assemblys Member can be decoded as follows:

,,

32,,

,Assem4;


Member SizeMember Reference
First Memberemptyempty
Second Member32empty
Third MemberemptyAssem4

This means, the first Member is reserved, the second one has a size of 4Byte (32Bit) and the third one references to Assem4.

...

Now the total size of Assem127 can be defined:


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




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 23:

Image Added

It can be decoded as follows:

O → T

,0,,

RPISizeFormat
empty0empty

Since the field “O->T size” is not empty, it can directly be read – 0 Byte.

In this case no further evaluation is needed.

In case this field is refered to a Parameter or Assembly, please use the steps memtioned in the example above: "Configure Input assembly length".

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

The cfg #1 data segment is defined field "$ config part 1" of Connection23:

Image Added

Here Assem124 is used to define the format. Go to the definition of Assem124:

Image Added

In this case, both Values ("Member Size" and "Member Reference" have to be evaluated.

The Assemblys Member informations can be read as follows:


Member SizeMember Reference
First Member16Param101
Second Member16empty

The field of the first Member indicated, that it has a data length of 16 bit. It also has a Reference to Param101.

Go to the definition of Param101:

Image Added

The "data size in Byte" has a size of 2 Byte, with a default value of 1.

Image Added

So the default data of Param101 is 0x0001.

The user can also define a value between min. value and max. value.

Go back the definition of Assem124, the Second Member has a length of 16 and has no Reference entry. This means, all data are defined with value 0.


Member SizeMember ReferenceData (Hex)Swap
First Member16Param10101 00

Image AddedImage AddedImage AddedImage AddedImage AddedImage Added01 00

Second Member16empty00 0000 00





Total


01 00 00 00

Configure cfg. #2 data segment

The cfg #1 data segment is defined field "$ config part 1" of Connection23:


Here Assem124 is used to define the format. Go to the definition of Assem124:

Image Added

In this case, both Values ("Member Size" and "Member Reference" have to be evaluated.

The Assemblys Member informations can be read as follows:


Member SizeMember Reference
First Member16Param101
Second Member16empty


Configure 1734-OB8E




example project provided by Stephane in SUPFR-86193