In the previous lesson you learned that you can assign a variable, like a memory address, as the time value for the timer instead of fixed amount. But you saw that, in this case, when you enter a value greater than 9, a "BCD conversion error" happens and that causes the CPU to stop working and the system fault LED to turn on. In this lesson you're going to learn exactly how that error happens and how you can avoid getting such an error in your PLC program.
When you're using S7 or SIMATIC counters in your PLC program, one of the things that might be limiting in some projects is that these counters can only count up to 999 and not beyond that. That means, for instance, when you're using an S7 counter to count the number of the products passing on a c...
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 ...
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...
20 Comments