Hi, I've been wondering when DB an M areas of S7 PLC are read during scan loop. I want to block some of the events coming from WinCC ( DB -> M ).
First example
A db102.dbx0.0
R db102.dbx0.0
A db102.dbx0.0
S M10.0
The second statement in this example will never occur.
Second example:
A db102.dbx0.0
S M10.0
A db102.dbx0.0
R db102.dbx0.0
The M10.0 flag will be always set whenever dbx=1.
Are DB and M flags read the same way as PI area, that is on the beginning of the scan ?
Is there any chance of setting the M10.0 in the first example ?
Any help on this would be very appreciated.
Regards.
First example
A db102.dbx0.0
R db102.dbx0.0
A db102.dbx0.0
S M10.0
The second statement in this example will never occur.
Second example:
A db102.dbx0.0
S M10.0
A db102.dbx0.0
R db102.dbx0.0
The M10.0 flag will be always set whenever dbx=1.
Are DB and M flags read the same way as PI area, that is on the beginning of the scan ?
Is there any chance of setting the M10.0 in the first example ?
Any help on this would be very appreciated.
Regards.