Technical data
SINAUT TD7 software package for the CPU
2.5 Data point typicals
Software
266 System Manual, 07/2009, C79000-G8976-C222-07
Name: NewData
Refer to
Parameters you require often (Page 223).
Explanation
of the
typical-
specific
outputs
Whenever the FB has received a new setpoint from the partner object and
has output it to SetpointOutput, the NewData output is set to TRUE for one
OB1 cycle. This also applies when there is new local input when Local = 1.
2.5.12 ST7 parameter typical FB Par12D_S
Function
Send 1 to 12 parameter values (each 1 double word) and receive back the current, locally
valid parameter values.
Note
With FB Par12D_S, data can only be transmitted when FC Safe is included at the end of the
cyclic SINAUT program.
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.
The data area to be sent is defined for the ParameterInput parameter in the form of an Any
pointer. This data area must be within a data block and its length can vary between 1 and 12
data double words. The data area sent to the partner or the parameter values entered locally
at the partner are returned from there and output here at ReturnedParameter. This output
area (defined by an Any pointer) must also be within a data block and its length must match
that defined for ParameterInput.
Separate data areas are normally specified for ParameterInput and ReturnedParameter.
This makes it easy to recognize the most recently entered values and the current, locally
valid values. However, it is also possible to specify the same data area for both parameters.
The two areas then overlap 100% and therefore always match. In this case, you can no
longer distinguish the difference between what has been entered most recently and what is
locally valid. When returned values are not needed, there is no need to specify a data area
for ReturnedParameter.
Even when separate areas are specified for ParameterInput and ReturnedParameter, it is
still possible to ensure that the ParameterInput area and the ReturnedParameter value
always match. This be done manually from case to case with the ApplyRemoteParamMan
input or automatically by setting the ApplyRemoteParamAuto parameter to TRUE.










