Technical data
6.19 OB 191/OB 193: Transferring Data Fields to a Flag Area
Application
With the organization blocks OB 191 and OB 193 you can transfer
data from a data block to the flag area. With this function, you can, for
example, write flag bytes you have saved in a data block back to the
flag area.
The only difference between OBs 191/193 and OBs 190/192, is that
the source and destination are reversed:
Note
Before you call OB 191/193, a data block of sufficient length
(DB/DX) must be opened.
OBs 191/193 transfer from the data block only to the
F flag area
and not to the S flag area.
Function
After OB 191/193 is called, data words starting from the data word
address specified are read out of the opened data block and transferred
to the flag area.
OBs 191 and 193 are identical, except for the way in which they
transfer data.
OB 191 transfers data words
in bytes
OB 193 transfers data words in words.
The figure on the next page illustrates this difference.
OB 190/192: Flag area Data block
OB 191/193: Flag area Data block
6
OB 191/OB 193: Transferring Data Fields to a Flag Area
CPU 928B Programming Guide
C79000-B8576-C898-01
6 - 71