We are going to go through the two counter instructions.

In ladder logic you have the CTU Count Up Counter and the CTD Count Down Counter

Start your hands-on training: Studio 5000 PLC Trainer