2) memory address expression format, 2) memory address expression format -20 – Sharp Z-336J User Manual

Page 97

Advertising
background image

9-20

Chapter 9: Message transfers

9

(2) Memory address expression format

The format expressing memory address contained in the command (command text/response text) is
as shown below. ( For more details, refer to "[3] Descriptions of each command.")

PSEG

: Program segment (corresponds to the file number.)

- Memory capacity varies with type of control module and memory module used. The

values above are the maximum values.

PADR

: Program address

- Memory capacity varies with type of control module and memory module used. The

values above are the maximum values.

The program address is to be designated using PSEG and PADR.

Address 000000 to 076777

(8)

: PSEG = 8, PADR is the address expressed in hexa-

decimal notation.

Address 100000 to 176777

(8)

: PSEG = 9, PADR is the value in hexadecimal nota-

tion obtained by subtracting 100000

(8)

from the ad

dress.

[Example] Address 043256

(8)

: PSEG = 08

(H)

, PADR= 46AE

(H)

Address 153762

(8)

: PSEG= 09

(H)

, PADR = 57F2

(H)

DSEG

: Data memory segment (corresponds to the file number.)

- Memory capacity varies with type of control module and memory module used. The

values above are the maximum values.

DADR

: Data memory address (corresponds to the file number.)

- Memory capacity varies with type of control module and memory module used. The values above

are the maximum values.

JW20H
J-board (Z-300 series)

JW30H
J-board (Z-500 series)

JW50H/70H/100H

PSEG

08

(H)

08

(H)

, 09

(H)

08

(H)

, 09

(H)

JW20H
J-board (Z-300 series)

JW30H
J-board (Z-500 series)

JW50H/70H/100H

PADR

0000 to 1DFF

(H)

0000 to 7DFF

(H)

0000 to 7DFF

(H)

JW20H
J-board (Z-300 series)

JW30H
J-board (Z-500 series)

JW50H/70H/100H

DSEG

00

(H)

00

(H)

to 03

(H)

, 10 to 2C

(H)

00

(H)

to 07

(H)

JW20H
J-board (Z-300 series)

JW30H
J-board (Z-500 series)

JW50H/70H/100H

DADR

0000 to 1FFF

(H)

(Setting value

of the DSEG)

00

(H)

0000 to 3BFF

(H)

(Setting value

of the DSEG)

00

(H)

0000 to 1FFF

(H)

01

(H)

0000 to 3FFF

(H)

01 to 07

(H)

0000 to FFFF

(H)

02 to 03

(H)

0000 to FFFF

(H)

10 to 2C

(H)

0000 to FFFF

(H)

Advertising
This manual is related to the following products: