The objective of this paper was to demonstrate how Boolean algebra algorithms (Quine-McCluskey procedure) can be applied on deducing the complex logical problems of Condition-Sequence control switching circuits. A Matlab program was developed to resolve and simplify the Boolean relations between input and output variables. The results were then verified by an Excel program. In practical applications, the Boolean relations can be easily transformed to switching circuits and used in Programmable Logical Controller (PLC). A manual-driven robot, hand-made for the 4th Annual Contest of Creative Design among Technological Colleges” and controlled by a PLC, was finally presented to show how the idea works. The example can also serve as a case study for Condition-Sequence control course in mechatronics.