Compare Real - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Compare Real

L
A
D
F
B
D
S
LDR=
T
AR=
L
OR=
LDR<>
AR<>
OR<>
LDR<
AR<
OR<
LDR<=
AR<=
OR<=
LDR>
AR>
OR>
LDR>=
AR>=
OR>=
221
222 224
Inputs/Outputs
Inputs
ID, QD, MD,SD, SMD, VD, LD, AC, Constant, *VD, *AC, *LD
Outputs (FBD)
I, Q, M, SM, T, C, V, S, L, Power Flow
S7-200 Programmable Controller System Manual
A5E00066097-02
Compare Real instruction is used to compare two
values: IN1 to IN2. Comparisons include: IN1 = IN2,
IN1
==R
IN1 >= IN2, IN1 <= IN2, IN1 > IN2, IN1 < IN2, or
IN2
IN1 <> IN2.
Real comparisons are signed.
==R
In LAD, the contact is on when the comparison is true.
In FBD, the output is on when the comparison is true.
In STL, the instructions Load, AND, or OR a 1 with the
IN1, IN2
top of stack when the comparison is true.
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
IN1, IN2
226
Operands
SIMATIC Instructions
Data Types
REAL
BOOL
9-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents