beautypg.com

Instructions fun 115 rst device/register reset – Toshiba 6F3B0253 User Manual

Page 199

background image

6F3B0253

Basic Hardware and Function

197

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 if A 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.