RMA
Member
While examining the STL code generated by an S7-GRAPH program I noticed the following code for handling the Supervisions.
As you can see, after testing the Supervision criterion, if it's not satisfied, the number of the supervision is loaded, but then the program just carries on and loads the data for the next criterion. This carries on all the way down the supervision list.
In a four accumulator CPU, this would mean that in AKKU3 you could find the number of the last Supervision which was not satisfied, but in a two accumulator machine, like most of the 300s (I assume the 318 is an exception) you would have lost this value.
Or is there something clever you can do to retrieve it, which I don't know about?
As you can see, after testing the Supervision criterion, if it's not satisfied, the number of the supervision is loaded, but then the program just carries on and loads the data for the next criterion. This carries on all the way down the supervision list.
In a four accumulator CPU, this would mean that in AKKU3 you could find the number of the last Supervision which was not satisfied, but in a two accumulator machine, like most of the 300s (I assume the 318 is an exception) you would have lost this value.
Or is there something clever you can do to retrieve it, which I don't know about?