Siemens SIMATIC S7-GRAPH Manual page 94

For s7-300/400 programming sequential control systems
Table of Contents

Advertisement

Programming Actions and Conditions
Ladder Logic Element
Compare box
CMP
==
IN1
IN2
= =
I N T
>
D I N T
<
> =
R E A L
< =
< >
Coil
Address
-----( )
7-18
Address
Data type
IN1: First
INT/ DINT/
comparison
REAL/
value
TIMER/
CONST
IN2:
INT / DINT /
Second
REAL /
comparison
TIMER /
value
CONST
<address> BOOL
S7-GRAPH for S7 300/400 Programming Sequential Control Systems
Memory
Description
Area
I, Q, M, data
The compare box has the signal
(double)
state "1" when the comparison
word
between the two addresses IN1
and IN2 is true.
INT: 16-bit integer comparator
Parameter: words
DINT: 32-bit integer comparator
and comparator for timers
Parameter: double words, timers
REAL: 32-bit floating-point number
comparator Parameter: double
words
Note:
I, Q, M, data
(double)
When you enter the comparator
word
you only need to specify the data
type D/R/I explicitly when you enter
the 32 bit values without specifying
a type (for example when
accessing absolute addresses in
the double word area). Otherwise
the data type is detected by the
system so that the specification can
be omitted.
I, Q, M, data
You use coils only in the permanent
bit
instructions of a sequencer.
The address contains the result of
the conditions that were
programmed within the permanent
instructions (logic operations with
normally open contacts, normally
closed contacts, compare boxes). It
specifies the bit to which the signal
state is assigned.
C79000-G7076-C526-01

Advertisement

Table of Contents
loading

Table of Contents