Module, I-O module consisting of counters and comparators