IAI America XSEL-S User Manual

Page 33

Advertising
background image

3. XSEL-R/S/RX/SX/RXD/SXD

27

�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 EtherCAT® master side and XSEL

controller side.

[EtherCAT® 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

EtherCAT®

Output bit address

15

14

13

12

11

10

9

8

EtherCAT®

Output word address

0

(host byte)

XSEL Input Port Number

315

314

313

312

311

310

309

308

EtherCAT®

Output bit address

7

6

5

4

3

2

1

0

EtherCAT®

Output word address

0

(lower-order byte)

XSEL Input Port Number

323

322

321

320

319

318

317

316

EtherCAT®

Output bit address

31

30

29

28

27

26

25

24

EtherCAT®

Output word address

1

(host byte)

XSEL Input Port Number

331

330

329

328

327

326

325

324

EtherCAT®

Output bit address

23

22

21

20

19

18

17

16

EtherCAT®

Output word address

1

(lower-order byte)

• •

� Example Data (1234h) from EtherCAT® master is changed to 3412h in XSEL.

HEX

1

2

3

4

EtherCAT® Master

BIN

0001

0010

0011

0100

HEX

3

4

1

2

XSEL

BIN

0011

0100

0001

0010

Advertising
This manual is related to the following products: