The following is an example of a ladder logic system to count in binary.
Colors:
• Red: 0
• Orange: 1
• Yellow: 2
• Green: 3, etc.