BECKHOFF Fieldbus Components: Mapping

Mapping

Type: ETHERNET-MODULE Generic Ethernet Module
Comm Format: SINT, INT or DINT
Assembly Instance:
- Input: 101                    Size: 4 x SINT (BYTE) + terminals (2 x INT + terminals or 1 x DINT + terminals)
- Output: 102                 Size: 4 x SINT (BYTE) + terminals (2 x INT + terminals or 1 x DINT + terminals)
- Configuration: 100    Size 0

Mapping rules

Complex terminals* (see documentation terminals)
- Word Alignment
- complex mapping

Comm Format: SINT
Offset Inputs Outputs
0 Status Byte 0 Control Byte 0
1 Status Byte 1 Control Byte 1
2 Status Byte 2 Control Byte 2
3 Status Byte 3 Control Byte 3
4...x complex terminals* complex terminals*
x...y digital terminals** digital terminals**

* complex terminals, example IE15xx, IE3xxx, IE4xxx, IE25xx, IE2808, IE5xxx, IE6xxx
** digital terminals, example IE1xxx, IE20xx, IE23xx, IE24xx

Comm Format: INT
Offset Inputs Outputs
0 Status Word 0 Control Word 0
1 Status Word 1 Control Word 1
2...x complex terminals* complex terminals*
x...y digital terminals** digital terminals**

* complex terminals, example IE15xx, IE3xxx, IE4xxx, IE25xx, IE2808, IE5xxx, IE6xxx
** digital terminals, example IE1xxx, IE20xx, IE23xx, IE24xx

Comm Format: DINT
Offset Inputs Outputs
0 Status DWord 0 Control DWord 0
1...x complex terminals* complex terminals*
x...y digital terminals** digital terminals**

* complex terminals, example IE15xx, IE3xxx, IE4xxx, IE25xx, IE2808, IE5xxx, IE6xxx
** digital terminals, example IE1xxx, IE20xx, IE23xx, IE24xx

Mapping terminals

Example:
Comm Format DINT
Size: 7 x Input, 7 x Output
1 x IL2301-B905
1 x IE3312
1 x IE1001
1 x IE2001

Offset Name Inputs Outputs
0 Control/Status Word 0 DeviceName:I.data[0] DeviceName:O.data[0]
1 IE3312 Channel 0 Control/Status, Data DeviceName:I.data[1] (Bit 0..7= Status,
8 ..15 unused,16 ..31 = Data)
DeviceName:O.data[1] (Bit 0..7 = Control, 8..15 unused)
2 IE3312 Channel 0 Control/Status, Data DeviceName:I.data[2] (Bit 0..7= Status,
8 ..15 unused,16 ..31 = Data)
DeviceName:O.data[2] (Bit 0..7 = Control, 8..15 unused)
3 IE3312 Channel 0 Control/Status, Data DeviceName:I.data[3] (Bit 0..7= Status,
8 ..15 unused,16 ..31 = Data)
DeviceName:O.data[3] (Bit 0..7 = Control, 8..15 unused)
4 IE3312 Channel 0 Control/Status, Data DeviceName:I.data[4] (Bit 0..7= Status,
8 ..15 unused,16 ..31 = Data)
DeviceName:O.data[4] (Bit 0..7 = Control, 8..15 unused)
5 digital channels DeviceName:I.data[5] (Bit 0..3 = IL2301, 4..11 = IE1001, 12..31 unused) DeviceName:O.data[5]  (Bit 0..3 = IL2301, 4..11 = IE2001, 12..31 unused)

B905 Control and Status

Status Bits 0..31

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16-23 24-31
K1 - - - - - - - - - - - - - - - IP-Link Error Code IP-Link Error argument

K1 - if K1 = TRUE, IP-Link error, Error Code bit 16-31 (see IP-Link Error LED)

Control Bits 0..31

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16-23 24-31
K1 R1 - - - - - - - - - - - - - - - -

K1 - 0->1 rising Trig IP-Link Reset
R1 - 1->0 falling Trig Reboot IL230x-B905