beautypg.com

Set/reset timer/counter (com = 32 – Sharp Z-336J User Manual

Page 104

background image

9-27

Chapter 9: Message transfers

9

Set/reset timer/counter (COM = 32

(H)

)

[Format]

COM

= 32

(H)

TADR

L, H

= Timer-counter number (0000

(H)

to 03FF

(H)

)

See page 9-21.

DATA

= Set/reset data (00

(H)

: reset, 01

(H)

: set)

[Function]
- Set/reset the timer/counter displayed on TADR.

[Execution condition]
- Write enable mode

: Mode 1 and mode 2

- PC operation status

: Stopping, operating

[Example]
- Set TMR0002.

Ë

Command

Ë

Response

COM TADR

L

TADR

H

DATA

COM

RSLT TADR

L

TADR

H

Ë

Command

Ë

Response

Set

Timer and counter

number 0002

Timer and counter

number 0002

32

02

00

01

32

00

02

00

This manual is related to the following products: