Versions Compared

Key

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

Table of Contents

Introduction

This Application note explanes, how to configure a generic modular adapter, when the entry for "ProxyConnect" is not described in the Ethernet/IP Slave Device Description (EDS).

...

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.

...

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.

...

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

...

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.

...

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.

...

Now the total size of Assem126 can be defined:


Member SizeMember ReferenceSize in Byte
First Memberemptyempty
Second MemberemptyAssem341




Total length of Input Assembly
Assem127
Assem126

1

Configure configuration assembly length

...

The user is not allowed to directly edit this length.

Configure cfg. #1 data segment

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

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 Member16Param121
Second Member16empty

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

Go to the definition of Param121:

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 Param121 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

01 00

Second Member16empty00 0000 00





Total


01 00 00 00

Configure cfg. #2 data segment

The cfg #2 data segment is defined in field "$ config part 2" of Connection9:

Image Added

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

Image Added

This Assembly has a few more Members.

Please repeate the procedure mentioned in the first data segment for each Member.

For example the first Member:

Image Added

The Size of this Member is definded with 1Bit and has a Reference to Param43:

Image Added

The Size is defined with 1 Byte, the Default Value is 0 (Hex 0000):

Image Added


When analyzing all Members and Parameters, the following table can be created:

MemberMember SizeMember ReferenceData (Hex)Swap
11Param4303 E8E8 03
21Param4503 E8E8 03
31Param4703 E8E8 03
41Param4903 E8E8 03
51Param5103 E8E8 03
61Param5303 E8E8 03
71Param5503 E8E8 03
816Param5703 E8E8 03





916Param4403 E8E8 03
1016Param4603 E8E8 03
1116Param4803 E8E8 03
1216Param5003 E8E8 03
1316Param5203 E8E8 03
1416Param5403 E8E8 03
1516Param5603 E8E8 03
1616Param5803 E8E8 03

Therefore the cfg #2 data segment results in:

E803 E803 E803 E803 E803 E803 E803 E803 E803 E803 E803 E803 E803 E803 E803 E803

Final assembly configuration of 1734-IB8

Image Added

example project provided by Stephane in SUPFR-86193