Toshiba SX 2000 User Manual

Page 103

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Chapt.2 Specifications

(2) Mode selection registers

These registers are accessed by the special module data write instruction (WRITE instruction

in S2T, MWRITE instruction in S2)

Address

Description

0

Rising edge detection select register

1

Falling edge detection select register

2

Change detection enable register

[Rising edge detection select register bit assignment;

Bit

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

UE

UE

UE

UE

UE

UE

UE

UE

UE

UE

UE

UE

UE

UE

UE

UE

UE: When ’T, the interrupt is generated at the time of corresponding input is changed OFF to

ON. (¡Initial value is all’T)

[Falling edge detection select register bit assignment]

Bit

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

LE

LE

LE

LE

LE

LE

LE

LE

LE

LE

LE

LE

LE

LE

LE

LE

[Change detection enable register bit assignment]

Bit

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

DE

DE: When ’T, change detection is enabled.

When ’O’, change detection is disabled and change detection status is cleared. (Initial

value is ’T)

[Caution]

I/O interrupt is not generated when the bit DE is ’O’.

After power on initializing, the change detection mode of all bits is set only rising edge

detection is enabled.

In order to change the mode of change detection, write data in the mode register by the

special module data write instruction (WRITE instruction in S2T, MWRITE instruction in S2)

in the user program.

Refer to the instruction manual for details of the special module data write instruction.

86

Sequence Controller S2T

Advertising