6 Application example: XNE gateway with an Allen Bradley PLC
6.6 Examples for I/O data mapping
XI/ON: XNE-GWBR-2ETH-IP
09/2011 MN05002007Z-EN
www.eaton.com
169
According to the I/O data widths of the modules in the example station (see Table 63: Example
station, Page 168), the I/O data mapping for the example station is the following:
Table 64:
Data mapping
for the example
station
A
I.Data [0]
= Byte 0 of
mapped input
data
Module
I/O data word in RSLogix
GW
XNE-GWBR-2ETH-IP
– Input data:
A
XNE_1:
I.Data [0]
;
Status Word
– Output data:
XNE_1:
O.Data [0]
;
Command Word
0
XN-2AI-I(0/4...20MA)
– Input data:
XNE_1:
I.Data [1]
; ch. 0
XNE_1:
I.Data [2]
; ch. 1
1
XN-2DI-24VDC-P
– Input data:
XNE_1:
I.Data [3]
;
Bits 0 and 1 for ch. 0 and 1.
2
XN-2DO-24VDC-0.5A-P
– Output data:
XNE_1:
O.Data [1]
;
Bits 0 and 1 for ch. 0 and 1.
3
XN-2AI-THERMO-PI
– Input data:
XNE_1:
I.Data [4]
; ch. 0:
XNE_1:
I.Data [5]
; ch. 1:
4
XN-4DI-24VDC-P
– Input data
XNE_1:
I.Data [6]
;
Bits 2 to 5 for ch. 0 to 3.
5
empty slot
-
6
XN-1AI-U(-10/0...+10VDC)
– Output data:
XNE_1:
I.Data [7]
; ch. 0
7
XN-2AO-I(0/4...20MA)
– Output data:
XNE_1:
O.Data [2]
; ch. 0
XNE_1:
O.Data [3]
; ch. 1
8
XN-4DI-24VDC-P
– Input data
XNE_1:
I.Data [8]
;
Bits 0 to 3 for ch. 0 to 3.
9
XN-1SSI
– Input data
XNE_1:
I.Data [9 - 12]
– Output data
XNE_1:
O.Data [4 - 7]