Set/reset relay (com = 30 – Sharp Z-336J User Manual

Page 103

Advertising
background image

9-26

Chapter 9: Message transfers

9

Set/reset relay (COM = 30

(H)

)

[Format]

COM

= 30

(H)

DSED

= Segment (00 to 07, 10 to 2C

(H)

)

See page 9-20.

DADR

L, H

= Byte address (0000

(H)

to FFFF

(H)

)

See page 9-20.

BLOC

= Bit position (00

(H)

to 07

(H)

)

DATA

= Set/reset data (00

(H)

: reset, 01

(H)

: set)

[Function]
- Set/reset the relays shown in DSEG, DADR, and BLOC.

[Execution condition]
- Write enable mode : Mode 1 and mode 2
- PC operation status : Stopping, operating

[Example]
- Set relay number 07001.

Ë

Command

Ë

Response

COM

DSEG DADR

L

DADR

H

BLOC

DATA

COM

RSLT

DSEG DADR

L

DADR

H

BLOC

Set

Bit 1

Bit 1

File 0

File 0

Ë

Command

Ë

Response

File address

000700

(8)

= 01C0

(H)

File address

000700

(8)

= 01C0

(H)

Relay number 07001

Relay number 07001

30

00

C0

01

01

01

30

00

00

C0

01

01

Advertising
This manual is related to the following products: