6F3B0250

7. Instructions

FUN 026

TNOT

Table invert transfer

T1S only

Expression

Input -[ A TNOT (n) B ]- Output

Function

When the input is ON, the data of n registers starting with A are bit-inverted and transferred to n registers starting with B in a block. The allowable range of the table size n is 1 to 1024 words.

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

Start of source

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

Ö

 

 

 

 

 

n

Table size

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 - 1024

 

B

Start of

 

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

 

 

 

 

 

 

destination

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example

When R010 is ON, the data of D0600 to D0604 (5 registers) are bit-inverted and transferred to D0865 to D0869, and the output is turned ON.

D0600

D0601

D0602

D0603

D0604

H00FF

H0000

H1234

H5555

H89AB

 

D0865

Bit-invert

D0866

and transfer

D0867

 

D0868

 

 

D0869

HFF00

HFFFF

HEDCB

HAAAA

H7654

5 registers

Note

·The source and destination tables can be overlapped.

160 T1/T1S User’s Manual

CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Page 162
Image 162
Toshiba PROSEC T1 T1S, 6F3B0250 user manual Tnot, Table invert transfer T1S only