Showing results 1 to 2 of 2

Thread: Reading Values from data archive or generated report

  1. #1
    Join Date
    25.07.2020
    Posts
    4

    Default Reading Values from data archive or generated report

    Hello everyone,

    I need help to write back a value from a generated report to Scada internal variable. Can anyone guide me on the same?  

    Thank you.

  2. #2

    Default AW: Reading Values from data archive or generated report

    Please see some other Threads

    https://forum.copadata.com/showthread.php?9002-Vairablerw-function-in-Report-Generator-is-not-writing-the-value-to-the-designated-variable
    https://forum.copadata.com/showthread.php?8986-How-to-assign-a-certain-entry-in-an-archive-to-a-variable
    https://forum.copadata.com/showthread.php?8605-Subtraction-of-current-variable-value-and-value-of-the-same-variable-from-one-hour-ago

    Short steps:
    Functions: Report Generator: execute

    1: Create report
    Cell A1: =archive(1, "value", "bottom")
    Cell B1: =variablerw("variable name", "value",A1)

    2: Create function [Report Generator: execute] (relative time e.g. 10 sec)
    3: Call the function at the required interval using the time control.




Similar Threads

  1. Report Generator - the last few values of archive.
    By IgorZamora in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 3
    Last Post: 11th August 2020, 10:29
  2. Reading Values with the DDE-Driver from Excel
    By Acrobxo in forum Drivers
    Replies: 2
    Last Post: 3rd June 2019, 09:21
  3. Reading archive data
    By DavidMarek in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 8
    Last Post: 3rd May 2016, 09:58
  4. Status: INVALID , NT_870 but reading values
    By geleto021 in forum zenon Energy Edition
    Replies: 1
    Last Post: 1st April 2014, 09:46
  5. problem with archive values in report
    By shahramkh59 in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 1
    Last Post: 20th October 2009, 13:40

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •