Siemens SIMATIC S5 Manual page 130

Ip 265 high speed sub control
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

IP 265
Comparison operations (>=<)
Comparison operations make it possible to compare the BI output of a counter function
( Table 9-11) with a constant or input parameter in the IP 265 program.
Comparison value 1
Comparison value 2
Figure 9-6. Basic Structure of "Comparison Operations" Language Elements
Comparison operation
Compare for equal "=":
C1 and C2 are compared for equal.
Compare for not equal "><":
C1 and C2 are compared for not equal.
Compare for greater than or equal "> =":
Comparison to see whether C1 is greater than or
equal to C2.
Compare for greater than ">":
omparison to see whether C1 is greater than C2.
Compare for less than or equal "< =":
Comparison to see whether C1 is less than or equal
to C2.
Compare for less than "<":
Comparison to see whether C1 is less than C2.
Possible options for Comparison functions:
Output Q can be inverted if the Comparison function's output leads direct to the output bar.
Each Comparison function can be converted into another Compare function.
EWA 4NEB 812 6130-02a
xxx
C1
C2
Q
Table 9-12. Comparison Operations
Programming the IP 265 with COM 265
Identifiers for Comparison operations:
Example:
">=":
Compare
than or equal
Output Q:
Shows whether the comparison condition is
true
CSF (example)
Example:
Compare for equal
=CV SETP
#CV BI
Two counts are compared. If they are
equal, output 0.5 is set.
for
greater
=
C1
Q 0.5
C2
Q
9-25

Advertisement

Table of Contents
loading

Table of Contents