Orr: Compare Floating Point Number Instruction - INVT IVC2H Programming Manual

Small plc
Table of Contents

Advertisement

Programming manual of IVC series small PLC

6.16.9 ORR: Compare floating point number instruction

LAD:
IL: ORR=
(S1)
ORR<
ORR>
ORR<>
ORR>=
ORR<=
Operand Type
S1
REAL Constant
S2
REAL Constant
Operand description
S1: comparison parameter 1
S2: comparison parameter 2
Function description
Compare elements S1 and S2, and
use the comparison result in parallel
connection with other nodes to drive
the following operation.
(S2)
(S1)
(S2)
(S1)
(S2)
(S1)
(S2)
(S1)
(S2)
(S1)
(S2)
Example
Compare (D0, D1) and (D2, D3), and use the comparison result in parallel
connection with other nodes to determine the output status of the following
element.
Chapter 6 Application instructions
Applicable to
Influenced flag bit
Program steps
Applicable elements
D
D
IVC2L IVC1 IVC2H IVC1L
7
addressing
V
R
V
R
LD
ORR=
D2
OUT
LD
ORR<
D2
OUT
LD
ORR>
OUT
LD
ORR<>
OUT
LD
ORR>=
OUT
LD
ORR<=
OUT
197
Indexed
X0
D0
Y0
X1
D0
Y1
X2
D0 D2
Y2
X3
D0 D2
Y3
X4
D0 D2
Y4
X5
D0 D2
Y5

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IVC2H and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ivc seriesIvc1sIvc2lIvc1Ivc1l

Table of Contents