Block library TeleControl ST7
5.7 Master copies
TIM 1531 IRC
Operating Instructions, 02/2018, C79000-G8976-C468-02
155
Table 5- 6 The bit assignment of the half byte "time status" (low nibble of byte 3 of Rec-
TimeStamp_2)
0
1 Time is valid
1
The time double words occupy different addresses depending on the typical. Look in the
instance DB or in the declaration header of the FB to find the absolute address of both
double words.
It is more convenient to give the instance DBs symbolic names. You can then use the
symbolic addresses to read out the information. In this case, you do not need to worry about
the actual absolute addresses. These are used automatically by STEP 7. The following
example clarifies this procedure.
Symbolic name of instance DB:
ObjectDB27
The STEP 7 program for reading the date and time of day and for saving in DB20 beginning
with data byte 100 may appear as follows programmed in STL:
L "ObjectDB27".RecTimeStamp_1
T DB 20.DBD 100
L "ObjectDB27".RecTimeStamp_2
T DB 20.DBD 104
Analog value typical Ana04R_S
Validity
S7-1500 only
Send 4 analog values as 32-bit floating-point number
Ana04R_S transfers the 4 analog values as instantaneous values. At the time of the transfer,
the currently pending analog value is acquired and transferred to the partner.
Note
Common processing of the four analog values
The processing parameters such as threshold, smoothing factor etc. exist only once in a
typical. These parameters apply to all 4 analog values in common; in other words, it is not
po
ssible to set the parameters for the individual analog values. For this reason, each typical
should only acquire analog values that should be processed in the same way.