7 i/o port and data reading and writing – IAI America XSEL-S User Manual

Page 32

Advertising
background image

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

26

3.7 I/O Port and Data Reading and Writing

The initial setting of SEL language commands for the operation of I/O (input and output) ports

of XSEL Controller is set to execute reading and writing without the data being exchanged.

Shown below is an example for the assignments on the EtherCAT® master side and XSEL

controller side.

[XSEL side output domain � EtherCAT® master side input domain]

Address

Bit 7

(MSB)

6

5

4

3

2

1

0

(LSB)

XSEL Output Port Number

307

306

305

304

303

302

301

300

EtherCAT®

Input word address

0

(lower-order byte)

XSEL Output Port Number

315

314

313

312

311

310

309

308

EtherCAT®

Input word address

0

(host byte)

XSEL Output Port Number

323

322

321

320

319

318

317

316

EtherCAT®

Input word address

1

(lower-order byte)

XSEL Output Port Number

331

330

329

328

327

326

325

324

EtherCAT®

Input word address

1

(host byte)

• •

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

HEX

1

2

3

4

XSEL

BIN

0001

0010

0011

0100

HEX

1

2

3

4

Ether CAT® Master

BIN

0001

0010

0011

0100

[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

7

6

5

4

3

2

1

0

EtherCAT®

Output word address

0

(lower-order byte)

XSEL Input Port Number

15

14

13

12

11

10

9

8

EtherCAT®

Output word address

0

(host byte)

XSEL Input Port Number

23

22

21

20

19

18

17

16

EtherCAT®

Output word address

1

(lower-order byte)

XSEL Input Port Number

31

30

29

28

27

26

25

24

EtherCAT®

Output word address

1

(host byte)

• •

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

HEX

1

2

3

4

EtherCAT® Master

BIN

0001

0010

0011

0100

HEX

1

2

3

4

XSEL

BIN

0001

0010

0011

0100

Advertising
This manual is related to the following products: