6F3B0253

7. Instructions

FUN 018

MOV

Data transfer

Expression

Input [ A MOV B ]Output

Function

When the input is ON, the data of A is stored in B.

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

Source

 

 

 

 

 

 

 

 

 

B

Destination

 

 

 

 

 

 

 

 

 

 

 

Example 1 (constant to register)

When R010 is ON, a constant data (12345) is stored in D0100 and the output is turned ON.

Example 2 (register to register)

When X005 is ON, the data of SW30 is stored in RW45 and the output is turned ON. If SW30 is 500, the data 500 is stored in RW45.

Example 3 (index modification)

When R050 is changed from OFF to ON, the data of RW08 is stored in the index register I and the data of D(0000+I) is stored in YW10. If RW08 is 300, the data of D0300 is stored in YW10.

136 T1-16S User’s Manual

Page 138
Image 138
Toshiba 6F3B0253 user manual Fun, Mov, Data transfer