KEYENCE Visual KV Series User Manual
Page 211

2.4 Instruction Details
1
2
3-187
Chapter 2 Instructions
Change in status of special utility relays (arithmetic flags) by arithmetic
instructions (2/3)
Instruction
Mnemonic
Operand
A < 0
A = 0
A > 0
Error
2009
2010
2011
2012
OR A
ORA
Data memory No.
—
5
—
—
➮ 3-161
[FUN31]
$,# constant
—
5
—
—
# TM
—
5
—
H
EXCLUSIVE
EORA
Data memory No.
—
5
—
—
OR A
[FUN15]
$,# constant
—
5
—
—
➮ 3-164
# TM
—
5
—
H
SHIFT
SRA
Number of shifts
0
5
—
—
RIGHT A
[FUN41]
➮ 3-166
SHIFT
SLA
Number of shift
0
5
—
—
LEFT A
[FUN40]
➮ 3-166
ROTATE
RRA
Number of rotations
0
5
—
—
RIGHT A
[FUN37]
➮ 3-169
ROTATE
RLA
Number of rotations
0
5
—
—
LEFT A
[FUN40]
➮ 3-169
COMPLE-
COM
—
5
—
—
MENT
[FUN05]
➮ 3-171
INCREMENT
INC
Data memory No.
A
5
—
—
MEMORY
[FUN19]
➮ 3-172
DECRE-
MENT
DEC
Data memory No.
B
5
—
—
MEMORY
[FUN07]
➮ 3-172
MULTI-
MPX
Digit No.
—
—
—
—
PLEXER
[FUN27]
➮ 3-176
DEMULTI-
DMX
—
—
—
C
PLEXER
[FUN12]
➮ 3-176
TRANSFER
TBCD
—
—
—
D
BCD
[FUN47]
➮ 3-180
TRANSFER
TBIN
—
—
—
E
BIN
[FUN48]
➮ 3-180
ASCII
ASC
—
—
—
—
CONVERT
[FUN02]
➮ 3-183
REVERSE
ASCII
RASC
—
—
—
F
CONVERT
[FUN32]
➮ 3-183
SQUARE
ROOT
—
5
—
—
ROOT
[FUN36]
➮ 3-185
TRIMMER
TMIN
—
G
—
—
SETTING
[FUN50]
➮ 3-138
—: No change in arithmetic flag
Refer to the description of each instruction for details of the operating conditions of the flag.
KVNKA Chap 02_4dP.p65
08.3.11, 0:04 PM
187