Chapter 9: Message transfers

Reading program (COM = 04(H))

[Format]

ËCommand

COM

PSEG

PADRL

PADRH

LL

LH

ËResponse

COM

 

RSLT

PSEG

PADRL

PADRH

LL

 

LH

 

DATA1

......

DATAN

COM

= 04(H)

 

 

 

 

 

 

PSEG

= Program segment (08(H), 09(H))

See page 9-20.

 

 

PADRL,H

= Program address (0000(H) to 7DFF(H))

See page 9-20.

 

 

LL,H

= Data length (number of words)

 

 

 

 

 

 

DATA1 to N = Read data (2 bytes = one step)

[Function]

-Read a program with a length (number of words) shown by L, from address PSEG, PADR.

-Up to 512 words can be read at a time.

[Execution condition]

 

- Write enable mode

: Mode 0, mode 1 and mode 2

- PC operation status

: Stopping, operating

[Example]

-Read the contents of the program address 000000 to 000002 (file number 8).

ËCommand

9

 

04

08

00

00

 

 

03

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Top program

 

 

 

Data length

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

address

ËResponse

04

00

08

00

00

 

 

03

00

 

 

00

80

 

00

91

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Top program

 

 

 

 

 

 

 

 

 

 

 

Data length

 

 

Address

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

address

 

 

 

 

 

 

 

 

 

 

000000 contents

 

 

 

 

 

 

 

 

 

 

000001 contents

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

08

B8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address 000002 contents

Note: Inquiries concerning the bit configuration of programs cannot be accepted.

9-34