Arithmetic Test
The arithmetic and comparison blocks are tested in this section. For this test, a CTU counter was added to each one of the four inputs. The CV variable for each CTU was wired to arithmetic blocks to perform the following equation:
The result of the arithmetic expression goes to two Comparator blocks. If the result is greater than 3 or less than -3, the output is set to true. The ladder diagram for this test segment is shown below.