Technical data

SINAUT TD7 software package for the CPU
2.5 Data point typicals
Software
System Manual, 07/2009, C79000-G8976-C222-07
271
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 defines the data area in which the parameter values to be
acquired are located. 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.
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] = 11). The CPU does not change
to STOP. The FB is then no longer processed, however, until the parameter
assignment error has been corrected.
How the parameters at ParameterInput are processed depends on whether
they are "hardware" or "software" entries and how the transmission of this
data area is triggered. For more information refer to the detailed description
of in Function.
Note
When only changed data is transmitted and the data area contains values in double word
format, the user is responsible for ensuring that these double word values are actually
located in one of the maximum 12 double words of the data area to be acquired. Distribution
over two consecutive data double words could otherwise lead to the transmission of only one
word of the double word value (high or low word) because a change has occurred in only
that particular word. The missing word could lead to processing problems on the partner that
receives this value.
Name: ReturnedParameter
Declaration: INPUT
Data type ANY
Default: P#P 0.0 VOID 0 (null pointer)