6F3B0253

7. Instructions

FUN 115

RST

Device/register reset

Expression

Input [ RST A ]Output

Function

When the input is ON, the device A is reset to OFF ifA is a device, or the data 0 is stored in the register A if A is a register.

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

 

 

A

Device or

 

 

 

 

 

 

 

 

 

register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example 1 (device reset)

When R011 is ON, R005 is reset to OFF. The state of R025 is remained even if R011 comes OFF.

Example 2 (register reset)

When R011 is ON, the data 0 is stored in RW20. (R200 to R20F are reset to OFF) The state of RW20 is remained even if R011 comes OFF.

Basic Hardware and Function 197

Page 199
Image 199
Toshiba 6F3B0253 user manual Rst, Device/register reset, Example 1 device reset, Example 2 register reset