Chapter 9: Message transfers

BLOC : Bit location on the data memory

The register (file register) is to be designated using DSEG and DADR.

[Example] Register 09000 : DSEG = 00(H), DADR = 0800(H) 030000 of the file 1 : DSEG = 01(H), DADR = 3000(H)

The relay address is to be designated using DSEG, DADR, and BLOC.

The destination is made by the combination of the file address and the bit location. [Example] Relay 07252: DSEG = 00(H), DADR = 01D5(H), BLOC = 02(H)

(bit 2 of the file address 000725 (]0725))

TADR

: Timer/counter number

 

 

 

To assign a timer/counter number, use TADR. (Hexadecimal notation)

 

 

 

 

 

 

 

 

 

JW20H

JW30H

JW50H/70H/100H

 

 

 

J-board (Z-300 series)

J-board (Z-500 series)

 

 

 

 

 

 

 

 

 

 

 

 

TADR

0000 to 01FF(H)

0000 to 03FF(H)

0000 to 03FF(H)

 

 

 

 

 

 

SADR

: System memory address

 

 

 

To assign a system memory address, use SADR. (Hexadecimal notation)

 

SEG should be assigned in the command. Always specify 08(H).

 

 

 

 

JW20H

JW30H

JW50H/70H/100H

 

 

 

J-board (Z-300 series)

J-board (Z-500 series)

 

 

 

 

 

 

 

 

 

 

 

 

SADR

0000 to 00FF(H)

0000 to 047F(H)

0000 to 047F(H)

 

 

 

 

 

 

(3)Execution condition

1 Write enable mode

Each command will be executed or depending on the current status of the write enable mode.

Write enable mode

Details

 

 

Mode 0

Writing to all of memory is prohibited

 

 

9

Mode 1

Writing is only enabled to data memory

 

Mode 2

Writing is enabled to all of memory

 

 

 

When the power is first applied, the module is in "mode 0." Therefore, if you want to write data from the host computer, change to "mode 1 or "mode 2" using the setting command (command code F9(H)). The current status can be read using the reading command (command code E9(H)) for the write enable command.

2PC operation status

Some commands can be executed when the PC halts operation (writing programs: Command code 14(H) etc.). Other commands can be executed whether the PC is halted or is running (read- ing programs: Command code 04(H) etc.)

9-21