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
RPI | Size | Format |
---|---|---|
empty | empty | Assem127 |
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 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.
...
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
...
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.
...
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.
...
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 |
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:
Here Assem124 is used to define the format. Go to the definition of Assem124:
In this case, both Values ("Member Size" and "Member Reference" have to be evaluated.
The Assemblys Member informations can be read as follows:
Member Size | Member Reference | |
---|---|---|
First Member | 16 | Param121 |
Second Member | 16 | empty |
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:
The "data size in Byte" has a size of 2 Byte, with a default value of 1.
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 Size | Member Reference | Data (Hex) | Swap | |
---|---|---|---|---|
First Member | 16 | Param101 | 01 00 | 01 00 |
Second Member | 16 | empty | 00 00 | 00 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:
Here Assem123 is used to define the format. Go to the definition of Assem123:
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:
The Size of this Member is definded with 1Bit and has a Reference to Param43:
The Size is defined with 1 Byte, the Default Value is 0 (Hex 0000):
When analyzing all Members and Parameters, the following table can be created:
Member | Member Size | Member Reference | Data (Hex) | Swap |
---|---|---|---|---|
1 | 1 | Param43 | 03 E8 | E8 03 |
2 | 1 | Param45 | 03 E8 | E8 03 |
3 | 1 | Param47 | 03 E8 | E8 03 |
4 | 1 | Param49 | 03 E8 | E8 03 |
5 | 1 | Param51 | 03 E8 | E8 03 |
6 | 1 | Param53 | 03 E8 | E8 03 |
7 | 1 | Param55 | 03 E8 | E8 03 |
8 | 16 | Param57 | 03 E8 | E8 03 |
9 | 16 | Param44 | 03 E8 | E8 03 |
10 | 16 | Param46 | 03 E8 | E8 03 |
11 | 16 | Param48 | 03 E8 | E8 03 |
12 | 16 | Param50 | 03 E8 | E8 03 |
13 | 16 | Param52 | 03 E8 | E8 03 |
14 | 16 | Param54 | 03 E8 | E8 03 |
15 | 16 | Param56 | 03 E8 | E8 03 |
16 | 16 | Param58 | 03 E8 | E8 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
example project provided by Stephane in SUPFR-86193