Technical data

SINAUT TD7 software package for the CPU
2.5 Data point typicals
Software
System Manual, 07/2009, C79000-G8976-C222-07
251
Note
[Cnt04D_R]
Although all 4 counted values in the message have their own validity bit, only the validity bit
A of the first counted value in the last received message is evaluated for the status at the
CntValInvalid output. This status, however, applies to all 4 counted values, since all the
counted values in the message always have the same validity status.
Note
When evaluating CntValInvalid, you should take into account the fact that it might only be
possible for this bit to be set for one OB1 cycle.
Name: RestoreStatus
Declaration: OUTPUT
Data type BOOL
Default: FALSE
Explanation Current status of the restore bit US in the received counted value.
Output
Bit memory
Data bit
Q 0.0 ... Q n.7
M 0.0 ... M n.7
L 0.0 ... L n.7
DBm.DBX 0.0 ... n.7
Range of
values:
No parameter specified: Default value FALSE is valid.
At the RestoreStatus output, the FB indicates the current status of the
restore bit US from the last received counted value message.
The output is intended for user-specific further processing. For example, the
user may only wish to access the information at CountedValueOutput_...
when a change has been detected at the RestoreStatus output; in other
words, when the counted value has been received due to a restore, such as
a local time-driven restore.
If you do not require the parameter, simply leave it open.
Note
[Cnt04D_R]
Although all 4 counted values in the message have their own restore bit, only the restore bit
US of the first counted value in the last received message is evaluated for the status at the
RestoreStatus output. This status, however, applies to all 4 counted values since they are
always restored together.