In the previous lesson you learned how you can build a customized counter by combining two counters to extend the amount that an S7 counter is able to count. As I previously explained, the basic idea here is since each of these counters can only count up to 999, I will combine them in a way that every time the first counter reaches the maximum amount, the counters accumulated value for the second counter is going to increment by one. Now the question that I brought up in the previous lesson was that, when you have these two counters working together to form a customized counter how you can calculate the total amount counted by the two counters? In this lesson you're going to figure that out by adding some additional code to the existing logic.
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 sti...
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?