5.
Programming examples
5.1
Basic operations
5.1
.l
Binary logic operations
AND
logic
Original ISTEP
5
representation
Statement
A
I
1.1
A
I
1.3
A
I
1.7
=
a
1.0
A
"1"
signal appears at output
Q
1.0
There are no restrictions imposed
when all the inputs have
"1"
signals
on the number of scans and the pro-
simultaneously. gr ammi ng sequence.
A
"0"
signal appears at output
Q
1.0
if
at least one of the inputs has a
"0"
signal.
OR
logic
Original
l
STEP
5
representation
A
"1"
signal appears at output
Q
1.2
There are no restrictions imposed
if
at least one of the inputs has a
on the number of scans and the pro-
"1"
signal. grammi ng sequence.
I
l.Zl'J.5
.5
Q
1.2
A
"0"
signal appears at output
Q
1.2
when all inputs have
"0"
signals si-
mu1 taneously.
Statement
list
0
I
1.2
0
I
1.7
0
I
1.5
=
a
1.2
L
adder
(
Control system
diagram
flowchart
Q
1.2