uptown47
Lifetime Supporting Member
Hi all
I'm converting an S7-200 program into S7-300.
There is a Word Increment command INC_W which takes in a VW address and puts it back into the same VW address.
I want to replicate the logic in S7-300 so was going to just use an ADD_I and have it add '1' to the DB address.
However, I wondered if the INC_W increments the count every scan or does it one-shot itself so that if the power remains on it only increments once until the power goes off again?
Thanks for any light you can shed on this.
I'm converting an S7-200 program into S7-300.
There is a Word Increment command INC_W which takes in a VW address and puts it back into the same VW address.
I want to replicate the logic in S7-300 so was going to just use an ADD_I and have it add '1' to the DB address.
However, I wondered if the INC_W increments the count every scan or does it one-shot itself so that if the power remains on it only increments once until the power goes off again?
Thanks for any light you can shed on this.