CAD to develop sequential control system, use data also to test