Technical data

SINAUT TD7 software package for the CPU
2.5 Data point typicals
Software
System Manual, 07/2009, C79000-G8976-C222-07
289
Range of
values:
P#DBxx.DBX yy.0 DWORD zz
xx : Data block number 1...32767
yy : Byte number
zz : Number of double words 1...12 starting at byte number
yy
Example: P#DB20.DBX 100.0 DWORD 4
Remember the periods and spaces when entering the
pointer!
No parameter specified: Default (null pointer) is valid. This
is, however, not permitted! A pointer >< null pointer must be
specified.
The ANY pointer describes the data area in which the received data will be
stored. This data area must be within a data block and its length can vary
between 1 and 12 data double words.
The content of each double word may be a value in double word format (e.g.
DINT, REAL etc.); it can also be a mixture of other formats which together
form a double word, for example,
4 bytes, or
2 words, or
2 bytes plus 1 word.
FB Dat12D_R stores the received data without further processing in the data
area defined by DataOutput. The user program is responsible for evaluating
and processing received data.
When only changed data is sent by the partner object Dat12D_S, it is
possible that only part of the data output area is newly written, namely, the
area in which the changes were detected at the acquisition end.
How to read out the time stamp received with the data is described in the
section Notes on the SINAUT time stamp.
If the parameter setting is incorrect (null pointer, length greater than 12, data
area not a data block), an error message to this effect is entered in the
diagnostics buffer (event ID B114, [Info2/3] = 4). The CPU does not change
to STOP. The FB is then no longer processed, however, until the parameter
assignment error has been corrected.
Note
When only the changed data area is received, this area consists of the first and the last
double word in which a change was detected and all words located in between, even if these
have not changed.
Example:
The area to be read is 10 double words long. In this case, changes were detected in the 2nd,
5th and 8th double words. The transmitted area is therefore from the 2nd to the 8th double
word inclusive.