Siemens SIMATIC S5 Manual page 117

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

Advertisement

Programming the IP 265 with COM 265
Binary logic operations (&, >=1, XOR)
Binary logic operation
AND operation "&":
This operation queries whether or not several con-
ditions are all true. An AND operation can evaluate
from 2 to 8 inputs.
Example:
Output Q 0.5 is "1" when all three
inputs are "1". The output is "0" when
at least one input is "0".
OR operation ">=1":
This operation queries whether one of two (or more)
conditions is true. The OR operation can query from 2
to 8 inputs.
Example:
Output Q 0.5 is "1" when at least one of
the inputs is "1". The output is "0"
when all of the inputs are "0".
XOR operation "XOR":
This operation queries whether an odd number of
inputs are "1". XOR can query from 2 to 8 inputs.
Example:
Output Q 0.5 is "1" when an odd num-
ber of inputs are "1". The output is "0"
when an even number of inputs are "1".
In CSFs for IP 265 programming, the XOR operation is an explicit language element. In a STEP 5
CSF, this operation is not an autonomous language element.
Possible options for logic operations ( Section 9.4.3):
Each of the three language elements may encompass as many as 8 inputs.
Each of the three language elements may encompass as few as 2 inputs.
Each of the 2 to 8 inputs may be inverted.
Outputs may be inverted when the output of the relevant language element leads directly to the
output bar of the control system flowchart.
Each of the three binary logic operations can be converted into another binary logic operation or
a Set/Reset operation (prerequisite: binary logic operation with two inputs).
9-12
Table 9-2. Binary Logic Operations
CSF (example)
&
I 0.0
I 0.1
I 0.2
>=1
I 0.0
I 0.1
I 0.2
XOR
I 0.0
I 0.1
I 0.2
EWA 4NEB 812 6130-02a
IP 265
Q 0.5
Q 0.5
Q 0.5

Advertisement

Table of Contents
loading

Table of Contents