Technical data
6.18 OB 190/OB 192: Transferring Flags to a Data Block
Application
With organization blocks OB 190 and OB 192, you can transfer a
selected number of flag bytes to a data block.
This can, for example, be an advantage before block calls, in error
organization blocks or when cyclic program execution is interrupted
by a time or process interrupt.
Using OB 191 and OB 193, you can then write these flag bytes back
from the data block.
Note
Use OB 190 and OB 191 to save and read back flag bytes, since
the time required is extremely short.
Before you call OB 190/192, a data block (DB/DX) must already
be open.
OBs 190/192 only transfer flag bytes
from the F flag area to a
data block, they
cannot transfer flag bytes from the S flag area.
Function
After you call OB 190/192, the flag bytes are written to the open data
block from the specified data word address. OBs 190/192 take the flag
area to be saved from ACCU 2.
OBs 190 and 192 are identical except for the way in which they
transfer the flag bytes:
OB 190 transfers the flags
in bytes
OB 192 transfers the flags in words.
This difference is significant, when the data transferred to the data
block are intended for processing and you are not simply using the
data block as a buffer.
OB 190/OB 192: Transferring Flags to a Data Block
CPU 928B Programming Guide
6 - 68 C79000-B8576-C898-01