KUNBUS-COM EtherCAT
75 / 135
6.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 8 entries per consumer are possible. Each entry
occupies 2 Memory Register. In the first Memory Register you can
specify the base number of the Memory Register from which the data
is copied. 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).
In the event of an invalid mapping, an error message flag is set in the
status register 0x0002.
In section " Data Broker [
}
20]" we will explain how a mapping works.
You will also find an example of a mapping.
0x0e01-0x0e10 Output Data
Mapping SSC
Modbus Register
0x0e01 – 0x0e10
Value Range
-
Default Value
0x00
Number of bytes available
32
Permanently stored
Yes
Access
Read/Write
Meaning
Register 0,2,4,6,8,10,12,14
Base register number
Register 1,3,5,7,9,11,13,15
Bit 0-14: Number of registers to be copied.
Bit 15: generated when setting a change
from high and low byte (swap)
0x0e21-0x0e30 Output Data
Mapping SDI
Modbus Register
0x0e21 – 0x0e30
Value Range
-
Default Value
0x00
Number of bytes available
32
Permanently stored
Yes
Access
Read/Write
Meaning
Register 0,2,4,6,8,10,12,14
Base register number
Register 1,3,5,7,9,11,13,15
Bit 0-14: Number of registers to be copied.
Bit 15: generated when setting a change
from high and low byte (swap)
Memory Register