Instructions

Parameter Data Initialization (Explicit Data) 122
Doc: HMSI-27-314, Rev. 3.10Anybus Communicator EtherNet/IP / Modbus-TCP User Manual
A.4 Mapping Output Parameter Data to EtherNet/IP
Example
Mapping output data is similar to mapping input data; in the following example, a total of 144 bytes of
data will be mapped to the Parameter Data Output Mapping Object. The data is made up of 4 separate
blocks, each associated with a a particular instance attribute.
To achieve this, perform the following steps:
1. Add a new mailbox message to the configuration (see “Add a Mailbox Message” on page 119).
2. Change the ‘Command’-value in the mailbox header to 0085h.
3. Adjust the ‘Data Size’-value in the mailbox header (left column). In this example, the size shall
be set to 16 (0010h), since each mapped attribute occupies 4 bytes of mailbox data.
4. Specify the mapping locations for the attributes in the mailbox data section. As mentioned above,
each mapping entry needs 4 bytes; two bytes specifying the offset
1
of the data block, followed by
two bytes which specify the length of the data block. Note that these values must be entered in big
endian (Motorola) format.
In this example, this gives us the following mailbox data:
As shown in the table above, the attributes are numbered in the order they are mapped, i.e. it is
possible to rearrange the attribute numbering by physically changing the mapping order in the
mailbox data.
5. To save the new mailbox, select ‘Apply changes’ in the ‘File’-menu.
1. The offset is specified from the start of the parameter data, not from the physical memory location in the
Anybus Communicator.
Mailbox Data
Attribute no. Comments
Location Data
0x00 0x00 1 Offset = 0020h
0x01 0x20
0x02 0x00 Size = 16 bytes
0x03 0x10
0x04 0x00 2 Offset = 0050h
0x05 0x50
0x06 0x00 Size = 32 bytes
0x07 0x20
0x08 0x00 3 Offset = 0070h
0x09 0x70
0x0A 0x00 Size = 32 bytes
0x0B 0x20
0x0C 0x00 4 Offset = 00D0h
0x0D 0xD0
0x0E 0x00 Size = 64 bytes
0x0F 0x40