IAI America XSEL-S User Manual
Page 35
![background image](/manuals/350296/35/background.png)
3. XSEL-R/S/RX/SX/RXD/SXD
29
ƔReference How to Read and Write with Swapping Host 8 Bits with Lower 8 Bits
for Every 16-Bit Data
When conducting reading and writing with swapping the host 8 bits with lower 8 bits for every
16-bit data, set Format Type to 1 (Swap host 8 bits with lower 8 bits for every 16-bit data) with
FMIO Command before executing an input and output port operation command such as IN
Command and OUT Command in XSEL Controller.
[Refer to XSEL Controller Operation Manual.]
Shown below is an example for the assignments on EtherNet/IP master side and XSEL
controller side.
[EtherNet/IP master side output domain XSEL side input domain]
Address
Bit 7
(MSB)
6
5
4
3
2
1
0
(LSB)
XSEL Input Port Number
307
306
305
304
303
302
301
300
EtherNet/IP
Output bit address
15
14
13
12
11
10
9
8
EtherNet/IP
Output word address
0
(host byte)
XSEL Input Port Number
315
314
313
312
311
310
309
308
EtherNet/IP
Output bit address
7
6
5
4
3
2
1
0
EtherNet/IP
Output word address
0
(lower-order byte)
XSEL Input Port Number
323
322
321
320
319
318
317
316
EtherNet/IP
Output bit address
31
30
29
28
27
26
25
24
EtherNet/IP
Output word address
1
(host byte)
XSEL Input Port Number
331
330
329
328
327
326
325
324
EtherNet/IP
Output bit address
23
22
21
20
19
18
17
16
EtherNet/IP
Output word address
1
(lower-order byte)
• •
•
Ɣ Example Data (1234h) from EtherNet/IP master is changed to 3412h in XSEL.
HEX
1
2
3
4
EtherNet/IP Master
BIN
0001
0010
0011
0100
HEX
3
4
1
2
XSEL
BIN
0011
0100
0001
0010