logRewrite (Functionblock) |
Top Previous Next |
logRewrite is used for changing an entry in the Datalogger. logRewrite will change both the tag and values of the record currently pointed to by the read pointer.
Caution must be taken when using logRewrite() and logRewriteTag() as it will reduce the number of possible write operations to the Datalogger. Please read the Datalogger introductory section for more information. To change entries in file- or memory-based Dataloggers, please use logRewriteRaw.
Input: tag : SINT The new tag value for the record.
value : ARRAY [1..8] OF DINT The new values for each of the up to 8 separate values logged in each record.
Output: None
Declaration: FUNCTION_BLOCK logRewrite;
Example: INCLUDE rtcu.inc |