As I'm new to PLC's and their awful outdated ladder logic, I challenged myself to devise a binary counter using ladder logic. The counter automatically increments at each DS1 time interval, which I set at 500 ms.
The counter works by flip flopping internal variable C3 which triggers the output light Y201. Timers T1 & T2 take turns turning C3 on and off. The remainder of the triggers are based on the negative differential contacts of the bit less significant. Since when the bit before turns off, the next bit must turn on.
I also solved this problem the following day by using a counter, and math functions to convert the integer of the counter into binary variables for output. If you give a damn, just ask and I'll post it.

The counter works by flip flopping internal variable C3 which triggers the output light Y201. Timers T1 & T2 take turns turning C3 on and off. The remainder of the triggers are based on the negative differential contacts of the bit less significant. Since when the bit before turns off, the next bit must turn on.
I also solved this problem the following day by using a counter, and math functions to convert the integer of the counter into binary variables for output. If you give a damn, just ask and I'll post it.
