Hehe i meant the ladder function, but i will check that later... Until then here is a image of how i would connect severel counters to gain higher values than 999 !
Your posted ladder will not work - you have M bits clashing for the count value and the count bits, as well as using MW1 with MW2 which will also overlap.
If you resolve these minor issues the code will work but note that this code will increment the second counter when the first count transitions from 998 to 999 so the second counter will be a count of 999's not 1000's. As long as you know this, you can combine the two counts to give a count greater than 999
Why are we using standard counters if there is a simpler way, like that? I understand timers not easy to implement because it uses interrupts, but what is the special with counters?
If you don't want a count reset, an in-built edge store, a bcd output or the counter to stop counting when it reaches 999 then use another implementation.
I am not strong on Step7 therfore I am somewhat confused on the question.
I know it has SFB0 count up which goes from 0-32767 plus other functions (Siemens call them functions but others would say instructions, at least that is how I think about it).
It has SFB1 count down, SFB2 CTUD, and the one I have used the most is SFB38 high speed counter. All of these can be used in ladder.