6F3B0250
160
T1/T1S User’s Manual
7. Instructions
FUN 026
TNOT
Table invert transfer
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
H00FF
D0865
HFF00
D0601
H0000
Bit-invert
D0866
HFFFF
D0602
H1234
and transfer
D0867
HEDCB
5 registers
D0603
H5555
D0868
HAAAA
D0604
H89AB
D0869
H7654
Note
·
The source and destination tables can be overlapped.
T1S only
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: [email protected]