|
<< Click to Display Table of Contents >> Navigation: Components > Control, logic & time > Graphical logic > Component list > Comperator |
A comparator has two inputs and one output. It compares two input values with an adjustable comparison operator with another. When the comparison condition is true, it sends to the output an
on-signal, if it is not fulfilled, it sends an off-signal. Mostly input 1 is for values and input 2 is used for reference purposes.
Options
Less A < B |
The value on input 1 (A) is less than the value on input 2 (B). |
Greater A > B |
The value on input 1 (A) is greater than the value on input 2 (B). |
Equal A = B |
The value on input 1 (A) is the same as the value on input 2 (B). |
Less or equal A <= B |
The value on input 1 (A) is less or equal to the value at input 2 (B). |
Greater or equal A >= B |
The value on input 1 (A) is greater or equal to the value at input 2 (B). |
Inequal A< >B |
The value on input 1 (A) is not the same as the value on input 2 (B). |
The inputs are marked with an A and B, and are left at the element. The output is marked with an O, is top right of the element.
The name of the gate can be chosen freely.
Note: For input and output, all data types are allowed.
