IC-Module for EtherNet/IP
80 / 137
7.3 Register for the Mapping
In the following Memory registers you have the option to define the
data mapping of the Data Broker for the input and output areas of the
interfaces.
For each consumer (target register) there is a register area, in which
all sources ("producers") are listed from which it obtains data. The
data of the source areas is stored in the target area continuously in
succession ("consumer") as well as the entries for this consumer. A
maximum of entries per consumer are possible. Each entry
occupiess 2 Memory Register. In the first memory register you can
specify the base number of the register area from which the data is
copied. This number must be specified in the internal representation,
i.e. um 1 reduced. (For example, s 0x1800 must be specified for the
base number of the fieldbus input area. If you configure this mapping
via the CDI Menu [
}
105], you have to enter 0x1801.)
In the second Memory Register you determine the number of values
you want to copy. Here, you can also exchange the High Byte and
Low Byte (swap). To do this, add 0x8000 to the register number.
In the event of an invalid mapping, an error message flag is set in the
status register 0x0002.
In section " Data Broker [
}
14]" we will explain how a mapping works.
You will also find an example of a mapping.
0x0e01-0x0e08 Output Data
Mapping SSC
Modbus Register
0x0e01 – 0x0e08
Value Range
-
Default Value
0x00
Number of bytes avail-
able
16
Permanently stored
Yes
Access
Read/Write
0x0e21-0x0e28 Output Data
Mapping SDI
Modbus Register
0x0e21 – 0x0e28
Value Range
-
Default Value
0x00
Number of bytes avail-
able
16
Permanently stored
Yes
Access
Read/Write
Memory Register