Bit Operation Functions Exclusive Or; Bit Operation Functions Logical Invert (Not) - GE VersaMax PLC User Manual

Table of Contents

Advertisement

I1 (WORD3)
0
0
I2 (WORD3)
0
0
Q (WORD3)
0
0
Input/ Output
enable
I1
ok
Q
Instruction Set Reference
For public disclosure

10.1.4 Bit Operation Functions Exclusive OR

10.1.4.1 Example
In the example, whenever %I0001 is set, the bit string represented by the nickname
WORD3 is cleared (set to all zeros).
%I0001
WORD3
WORD3
0
1
1
1
1
0
1
1
1
1
0
0
0
0
0

10.1.5 Bit Operation Functions Logical Invert (NOT)

The Logical Invert (NOT) function sets the state of each bit in the output bit string Q to
the opposite of the state of the corresponding bit in bit string I1.
All bits are altered on each scan that power is received, making output string Q the logical
complement of I1. The function passes power flow to the right whenever power is
received. A length of 256 words can be selected.
NOT_
Enable
WORD
Input 1
I1 Q
10.1.5.1 Parameters of the Logical Invert Function
Choices
When the function is enabled, the operation is
flow
performed.
I, Q, M, T, S, G, R, AI,
Constant or reference for the word to be
AQ, constant
negated.
The OK output is energized whenever enable is
flow, none
energized.
I, Q, M, T, SA, SB, SC
Output Q contains the result of the operation.
(not S), G, R, AI, AQ
10.1.5.2 Example
In the example, whenever input %I0001 is set, the bit string represented by the nickname
TAC is set to the inverse of bit string CAT.
XOR_
WORD
I1 Q
WORD3
I2
1
1
1
0
1
1
1
0
0
0
0
0
OK
Output
Description
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
GFK-1503E User Manual 127

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents