In the first two parts of this series you learned how you can combine two S7 counters and build a customized counter that is able to count amounts higher than 999. As you saw in the previous lesson I tested the software and everything seemed to work fine but believe it or not, the program has still a major flaw. In this lesson you're first going to learn what this flaw is and then you'll learn how you can solve of it.
It's clear for me now that the limitation that I have here is because the data type for the instructions are defined as integer so what do you think of changing the data type for the multiply instruction to double integer or long integer?
4 Comments