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