dbh6
Lifetime Supporting Member
Hello All,
Recently while trouble shooting some systems i came across some alarm words bits (0 through 16) and and XOR instruction used with another alarm word. Here is the XOR truth table as most of you know:
A B Output
0 0 0
0 1 1
1 0 1
1 1 0
So as an example to make an XOR useful we can use it to compare to alarm words, and if the output is set, we can declare that an alarm is present, however if you noticed on the truth table A is set to 1 and B is set to 1, but the output of that XOR is 0, so how can we make that info useful if say A & B alarms are set but the output is 0? maybe im not using this correctly so feel free to demonstrate how it can be used correctly.
Also same way a XOR can be used to simplify Logic, what others methods can be used in the same manner to simplify logic not just for alarms but anything else in general ex. OR, & AND instructions that you may have used for something specific in logic that proved useful???
Recently while trouble shooting some systems i came across some alarm words bits (0 through 16) and and XOR instruction used with another alarm word. Here is the XOR truth table as most of you know:
A B Output
0 0 0
0 1 1
1 0 1
1 1 0
So as an example to make an XOR useful we can use it to compare to alarm words, and if the output is set, we can declare that an alarm is present, however if you noticed on the truth table A is set to 1 and B is set to 1, but the output of that XOR is 0, so how can we make that info useful if say A & B alarms are set but the output is 0? maybe im not using this correctly so feel free to demonstrate how it can be used correctly.
Also same way a XOR can be used to simplify Logic, what others methods can be used in the same manner to simplify logic not just for alarms but anything else in general ex. OR, & AND instructions that you may have used for something specific in logic that proved useful???