Chapter 9: Message transfers

Monitoring relay (COM = 20(H))

[Format]

ËCommand

COM DSEG DADRL DADRH BLOC

ËResponse

COM RSLT DSEG DADRL DADRH BLOC DATA

COM

= 20(H)

 

DSED

= Segment (00 to 07, 10 to 2C(H))

See page 9-20.

DADRL, H

= Byte address (0000(H) to FFFF(H))

See page 9-20.

BLOC

= Bit position (00(H) to 07(H))

 

DATA

= Read data (00(H): OFF, 01(H): ON)

 

[Function]

- Read the bit data (relay) shown in DSEG, DADR, and BLOC.

[Execution condition]

-Write enable mode : Mode 0, mode 1 and mode 2

-PC operation status : Stopping, operating

[Example]

-Monitor the ON/OFF status of relay number 04033.

ËCommand

 

20

00

 

03

 

01

 

 

03

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

File 0

 

 

File

address

 

 

 

 

 

 

Bit 3

 

 

 

 

 

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

000403(8) = 0103(H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Relay number 04033

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ë Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

20

00

 

00

 

03

 

 

01

 

 

 

03

 

01

 

 

 

 

 

 

 

 

 

 

 

 

 

File address

 

 

 

 

 

Bit 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

File 0

 

 

 

 

 

 

 

 

 

 

 

 

 

000403(8)

= 0103(H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Relay number 04033

9-25