beautypg.com

Instructions fun 235 i/o direct i/o – Toshiba 6F3B0253 User Manual

Page 241

background image

6F3B0253

Basic Hardware and Function

239

7. Instructions

FUN 235

I/O

Direct I/O

Expression

Input

[ I/O (n) A ]

Output

Function

When the input is ON, this instruction immediately updates the external input (XW) and output
(YW) registers which are in the range of n registers starting with A.

For XW register ... reads the data from corresponding input circuit

For YW register ... writes the data into corresponding output circuit

Execution condition

Input

Operation

Output

OFF

No execution

OFF

ON

Execution

ON

Operand

Name

Device

Register

Constant Index

X

Y

R

S

T.

C. XW YW RW SW T

C

D

I

J

K

n Register size

1 - 32

A Start of

registers

Example

When R010 is ON, the 4 registers starting with XW00 (XW00 to YW03) are updated
immediately.

XW00

Input

XW01

circuit

YW02

Output

YW03

circuit