The TOD instruction can be located in the Compute/Math group of instructions in the Edit Panel. If correctly entered, the TOD (To BCD) instruction will take the integer value in the counters accumulator, convert it to Binary Coded Decimal, and then move (copy) this BCD value to the control panel LED display (O:4). To make it a little easier to see what is happening with the counter, you might want to add the following rung to the end of your program.
The pulses generated by Flowmeter 1 should be used to increment a counter. When the Start switch (I:1/0) is pressed, pump P1 will be energized and the tank will start to fill.Using your knowledge of PLC counters, design a program to meet the following requirements: From the Simulations Menu at the top of the screen, Select the Batch Mixing Simulation.Exercise #1 - Filling the Batch Mixing Tank