beautypg.com

User data – Toshiba T2N User Manual

Page 166

background image

3.User Data

User's manual

153

Codes

Direct input registers ... IW
Direct input devices ... I

Addresses

Direct input registers ... 000-127 (correspond to input registers (XW))
Direct input devices ... 0000-127F (correspond to input devices (X))

Functions

Direct input registers/direct input devices do not themselves indicate
specific memories. When the instruction word which uses these
registers/ devices is executed, they operate and read data directly from
the input module corresponding to the address. These registers/devices
are used when using the T2N by the direct input/output system (direct
system) and not the batch input/output system (refresh system).
Example)

I0000

NO contact instruction of I0000

When executing the instruction, the bit data corresponding to X0000 is
read from the input module corresponding to XW000, and the
instruction is executed by this data. (The X0000 data is not affected)

–[ IW005 MOV RW100 ]– Transfer instruction from IW005 to RW100

When executing the instruction, the word data corresponding to XW005
is read from the input module corresponding to XW005 and is
transferred to RW100.
(The XW005 data is not affected)

Codes

Direct output registers ... OW
Direct output devices ... O

Addresses

Direct input registers ... 000-127 (correspond to input registers (YW))
Direct input devices ... 0000-127F (correspond to input devices (Y))

Functions

When instructions are executed using direct output registers/direct
output devices, data is stored in the corresponding output
registers/output devices (YW/Y). Then, this output register (YW) data is
written directly to the corresponding output module. These
registers/devices are used when using the T2N by the direct
input/output system (direct system) and not the batch intput/output
system (refresh system).
Example)

O0020

Coil O0020

When the instruction is executed, the data (ON/OFF data)
corresponding to the left link state is stored in Y0020. Then the 16-bit
data of YW002 is written to the corresponding output module.

Direct Input Registers

and Direct Input Devices

Direct Output Registers

and Direct Output Devices